Agent skill · Documentation

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.

matlabgithub.com/matlabGitHub ↗
claude-codecodexcopilotNOASSERTION
Install
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.

Facts
Files in the skill folder: 7
SKILL.md size: 10 KB
Bundled scripts: none
Version: 1.0
Declared author: MathWorks
Path: skills-catalog/signal-processing/matlab-write-audio-plugin/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 868
Language: MATLAB

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# 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

What's inside
Steps it walks through
  1. When To Use
  2. When NOT To Use
  3. Structure
  4. Plugin Lifecycle
  5. Codegen Requirements
  6. Buffers and State
  7. Enum Parameters (Different-Length Values)
  8. Derived Values from Parameters
  9. Switch Completeness
  10. Sub-Objects
  11. External Data and Runtime-Only Calls
  12. Validation
  13. Generation
  14. References
Ships with 6 files
  • manifest.yaml
  • references/advanced-patterns.md
  • references/available-functions.md
  • references/deep-learning.md
  • references/grid-layout.md
  • references/parameters.md
More from matlab-agentic-toolkit
All skills →
About this skill
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.

Keep going