Logo de Validate Audiounit

Validate Audiounit

Organização
iPlug3
validate-audiounit

Validate AudioUnit v2/v3 plugins (.component bundles and .appex app extensions) using Apple's auval tool. Use when user says "validate AU", "run auval", "test AudioUnit", "check the .component", "check the .appex", "validate AUv3", or needs to check AudioUnit compatibility. For .vst3 use validate-vst3; for .clap use validate-clap.

Visão geral

Publicado poriPlug3
Repositórioaudio-plugin-dev-skills
Nome da habilidadevalidate-audiounit
Estrelas
100
Forks
4
Arquivos incluídos
Somente instruções
LicençaMIT
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    Habilidades de IA são Markdown simples, não código específico de um provedor, por isso funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • Completa em si mesma

    Tudo de que o modelo precisa está nas instruções — sem arquivos extras para sincronizar.

  • Código aberto

    Publicada por iPlug3 no GitHub. Leia o conteúdo-fonte antes de instalar.

Instalação

Instale a habilidade de IA Validate Audiounit no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL da pasta da habilidade exibida abaixo e confirme.
    https://github.com/iPlug3/audio-plugin-dev-skills/tree/main/plugins/audio-plugin-validators/skills/validate-audiounit
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Nova habilidade → Via URL GitHub, depois cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/iPlug3/audio-plugin-dev-skills.git /tmp/audio-plugin-dev-skills
mkdir -p .claude/skills
cp -r /tmp/audio-plugin-dev-skills/plugins/audio-plugin-validators/skills/validate-audiounit .claude/skills/validate-audiounit
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Validate Audiounit em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Validate Audiounit automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Validate Audiounit não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo seguirá.

AudioUnit Validation (auval)

Plugin Install Locations

AudioUnits must be registered with the system for auval to find them — it does not accept a file path.

AUv2 (.component)

LocationScope
~/Library/Audio/Plug-Ins/Components/Current user only
/Library/Audio/Plug-Ins/Components/All users (requires admin)

After installing or rebuilding, force a rescan: killall -9 AudioComponentRegistrar

AUv3 (.appex)

AUv3 AudioUnits are app extensions (.appex) embedded inside a host .app bundle (e.g., MyApp.app/Contents/PlugIns/MyAU.appex). The host app must be run at least once to register the extension with the system via pluginkit.

bash
# Check if an AUv3 is registered (match by bundle ID)
pluginkit -m -v -p <bundle-id>

# List all registered AudioUnit extensions
pluginkit -m -v -A

# Manually register an appex
pluginkit -a <path-to-appex>

# Unregister an appex
pluginkit -r <path-to-appex>

# Dump full extension info for debugging
pluginkit -e -v -i <bundle-id>

After rebuilding, re-run the host app or use pluginkit -a to re-register the updated extension.

Instructions

  1. Register the plugin with the system:
    • AUv2: Install the .component in a standard Components location (see above)
    • AUv3: Run the host .app at least once, or manually register with pluginkit -a <path-to-appex>
  2. Identify the plugin's AU type (aufx, aumu, etc.), four-character subtype, and manufacturer code
  3. Force a rescan if the plugin was just built: killall -9 AudioComponentRegistrar
  4. Run: auval -v <type> <subtype> <manufacturer> — this works the same for both AUv2 and AUv3 once registered
  5. Check the final line — * * * * * * * * means all tests passed
  6. If tests fail, see Common Issues below

Basic Usage

bash
# Validate an effect (aufx)
auval -v aufx <subtype> <manufacturer>

# Validate an instrument (aumu)
auval -v aumu <subtype> <manufacturer>

# Validate a MIDI-controlled effect (aumf)
auval -v aumf <subtype> <manufacturer>

# Validate a MIDI processor (aumi)
auval -v aumi <subtype> <manufacturer>

Listing AudioUnits

bash
# List all registered AudioUnits
auval -a

# List all AUs with their file locations
auval -al

# List AUs without instantiating them (faster)
auval -l

# List all effects
auval -s aufx

# List all instruments
auval -s aumu

AudioUnit Types

TypeDescriptionExample
aufxEffectGain, EQ, Reverb
aumuMusic Device (Instrument)Synth, Sampler
aumfMusic Effect (MIDI-controlled)Arpeggiator with audio
aumiMIDI ProcessorMIDI filter, transposer
aufcFormat ConverterSample rate converter
auouOutputAudio output
aupnPannerSurround panner
augnGeneratorNoise generator

Validation Options

bash
# Basic open/initialize test only (fast, good for debugging)
auval -o -v aufx <subtype> <manufacturer>

# Run with stress test (multi-thread test for race conditions, default 600s)
auval -stress -v aufx <subtype> <manufacturer>

# Run stress test with custom duration (in simulated seconds)
auval -stress 120 -v aufx <subtype> <manufacturer>

# Run with real-time safety test (requires sudo, uses dtrace)
sudo auval -real-time-safety -v aufx <subtype> <manufacturer>

# Repeat validation N times (catches open/init bugs)
auval -r 5 -v aufx <subtype> <manufacturer>

# Stop on first error (useful for debugging)
auval -de -v aufx <subtype> <manufacturer>

# Stop on first warning (stricter)
auval -dw -v aufx <subtype> <manufacturer>

# Quiet mode (errors/warnings only)
auval -q -v aufx <subtype> <manufacturer>

# Quiet mode suppressing parameter/factory preset info
auval -qp -v aufx <subtype> <manufacturer>

# Wait after finish (for memory profiling with 'leaks' tool)
auval -w -v aufx <subtype> <manufacturer>

# Load AudioUnit out-of-process
auval -oop -v aufx <subtype> <manufacturer>

# Open as component (not plugin)
auval -comp -v aufx <subtype> <manufacturer>

Strict Options

Strict options enforce checks that would otherwise only produce warnings. Use -strict to enable all strict checks — this should be used by default for thorough validation.

bash
# Enable all strict checks (recommended)
auval -strict -v aufx <subtype> <manufacturer>

# Individual strict options:
# Enforce AudioUnitScheduleParameter output check (always enforced since Leopard)
auval -strict_SP -v aufx <subtype> <manufacturer>

# Enforce parameter default values fall between min and max
auval -strict_DefP -v aufx <subtype> <manufacturer>

# Require conformant kAudioUnitProperty_CPULoad implementation (if in use)
auval -strict_CPUL -v aufx <subtype> <manufacturer>

Batch Validation

bash
# Validate all AUs of a given type from one manufacturer
auval -vt aufx <manufacturer>

# Continue on error in batch/repeat mode (don't stop at first failure)
auval -c -vt aufx <manufacturer>

# Run commands from a file (one command per line)
auval -f /path/to/commands.txt

If no options are given, auval looks for a file called auv-autorun.txt in the launch directory or /tmp/ and runs commands from it.

Component ID Formats

Component IDs can be specified as 4-char codes or 8-digit hex values. These are equivalent:

bash
auval -v aufx bpas appl
auval -v 61756678 62706173 6170706C

The two formats can be mixed freely.

Return Codes

CodeMeaning
0OK — all tests passed
-1AU failed validation
1General error
2Fatal error
4Unauthorized (open)
5Unauthorized (init)

Memory Leak Testing

bash
# Start auval with leak detection
export MallocStackLogging=1
auval -v aufx <subtype> <manufacturer> -w -q

# In another terminal, find the PID and check for leaks
ps axc | awk '{if ($5=="auvaltool") print $1}'
leaks <PID>

AUv2 vs AUv3 Conflicts

AudioUnit v2 and v3 plugins are identified by their type+subtype+manufacturer code. If both formats are registered with the same codes, the system will prefer one (typically AUv3), which can cause confusion during development.

Best Practice: Use different subtypes for AUv2 and AUv3 during development. Most build systems (JUCE, iPlug2, iPlug3, etc.) provide separate configuration fields for AUv2 and AUv3 subtypes.

To temporarily remove an AUv3 so the AUv2 is used instead: pluginkit -r <path-to-appex>

Force AU Rescan

bash
# Kill the registration daemon to force rescan
killall -9 AudioComponentRegistrar

# Wait a moment, then list AUs
sleep 2
auval -a

Common Issues

AU Not Found

FATAL ERROR: didn't find the component
  • Verify plugin is in a standard location (see Plugin Install Locations above)
  • Rescan: killall -9 AudioComponentRegistrar
  • Check Info.plist for correct type/subtype/manufacturer
  • AUv3: Ensure the host app was run at least once, verify registration with pluginkit -m -v -p <bundle-id>, and re-register with pluginkit -a <path-to-appex> if needed

Class Collision Warning

objc: Class XYZ is implemented in both...
  • Each plugin must have unique Objective-C class names
  • Use your build system's support for unique class name prefixes

Perguntas frequentes

O que a habilidade de IA Validate Audiounit faz?

Validate AudioUnit v2/v3 plugins (.component bundles and .appex app extensions) using Apple's auval tool. Use when user says "validate AU", "run auval", "test AudioUnit", "check the .component", "check the .appex", "validate AUv3", or needs to check AudioUnit compatibility. For .vst3 use validate-vst3; for .clap use validate-clap.

Por que usar Validate Audiounit no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. Validate Audiounit é escrito em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. O TypingMind usa suas próprias chaves de API, então o pagamento é feito diretamente aos provedores, em vez de uma assinatura por licença de usuário, e suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Validate Audiounit no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/iPlug3/audio-plugin-dev-skills/tree/main/plugins/audio-plugin-validators/skills/validate-audiounit. O TypingMind lê o arquivo SKILL.md e instala a habilidade para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Validate Audiounit?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Validate Audiounit?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Validate Audiounit com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Validate Audiounit é gratuita?

Sim. A habilidade é publicada no GitHub por iPlug3 sob a licença MIT. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, modelos de documento ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas para chamar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA fornece conhecimento e um processo ao modelo: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver todos

Crie seu próprio espaço de IA agora

Inscreva-se na nossa newsletter para receber novidades sobre recursos e futuros sorteios 👇