matlab-write-audio-plugin
Guide authoring of Audio Toolbox plugins (audioPlugin, audioPluginSource) that pass validateAudioPlugin and generate deployable VST/AU code. Use when creating audio effect or generator plugins, writing classdef files inheriting from audioPlugin, or troubleshooting validateAudioPlugin failures.
npx skills add matlab/matlab-agentic-toolkit --skill matlab-write-audio-plugin --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Writing Audio Plugins in MATLAB ## When To Use - Creating audio effect or generator plugins (classdef inheriting from `audioPlugin` or `audioPluginSource`) - Troubleshooting `validateAudioPlugin` or `generateAudioPlugin` failures - Converting a MATLAB audio algorithm into a deployable VST/AU plugin - Integrating deep learning inference into a real-time audio plugin ## When NOT To Use - General MATLAB class authoring unrelated to audio plugins - Audio file I/O, feature extraction, or analysis (no plugin involved) - Simulink audio processing blocks - Writing Audio Toolbox functions that are not plugins (e.g., `audioDatastore`, `audioFeatureExtractor`) ## Structure Every audio plugin is a classdef with `%#codegen`, public tunable properties, a Constant `PluginInterface`, and methods `process` + `reset`. ```matlab classdef MyPlugin < audioPlugin %#codegen properties Gain = 0.5 Cutoff = 1000 end properties (Access = private) pSR = 44100 pB = [1 0 0] pA = [1 0 0] pState = zeros(2, 2) % (filterOrder, numChannels) end properties (Constant) PluginInterface = audioPluginInterface( ... audioPluginParameter('Gain', ... DisplayName='Gain', Label='dB', Mapping={'lin', 0, 1}), ... audioPluginPa
- When To Use
- When NOT To Use
- Structure
- Plugin Lifecycle
- Codegen Requirements
- Buffers and State
- Enum Parameters (Different-Length Values)
- Derived Values from Parameters
- Switch Completeness
- Sub-Objects
- External Data and Runtime-Only Calls
- Validation
- Generation
- References
What does the matlab-write-audio-plugin skill do?
Guide authoring of Audio Toolbox plugins (audioPlugin, audioPluginSource) that pass validateAudioPlugin and generate deployable VST/AU code. Use when creating audio effect or generator plugins, writing classdef files inheriting from audioPlugin, or troubleshooting validateAudioPlugin failures.
How do I install it?
Run `npx skills add matlab/matlab-agentic-toolkit --skill matlab-write-audio-plugin --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From matlab/matlab-agentic-toolkit, a repository with 868 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
