Install any skill in seconds. Free to start, no credit card required.
Get Started Free →matlab/matlab-write-audio-plugin
Guide authoring of Audio Toolbox plugins (audioPlugin, audioPluginSource) that pass validateAudioPlugin and generate deployable VST/AU code.
Passed 20 of 22 test cases with the skill, and 10 of 22 without it.
and 7 more in the full report
10 fixed10 passed either way2 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 10 test cases the skill fixed. Same model, same prompt, with and without the skill.
My audio plugin calculates normalized filter cutoff frequency as wn = Cutoff / (SampleRate / 2). During validateAudioPlugin sweeps at high sample rates or extreme parameter values, butter() fails with out-of-bounds error. How should wn be bounded?
| Checked | Without skill | With skill |
|---|---|---|
| clamps wn within the open interval (0, 1) using eps and 1 - eps | Missed | Passed |
The instructions your model reads when the skill loads.
audioPlugin or audioPluginSource)validateAudioPlugin or generateAudioPlugin failuresaudioDatastore, audioFeatureExtractor)Every audio plugin is a classdef with %#codegen, public tunable properties, a Constant PluginInterface, and methods process + reset.
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}), ...
test cases passed, vs 10 / 22 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.