The plugin is a generic jMax plugin that searches for all the jMax files in the directories contained in the LADSPA_PATH environment variable and defines a plugin for each patch.
For instance, here is the output of analyseplugin:
$ analyseplugin ~/lib/ladspa/jmaxladspa.so
Plugin Name: "sine.jmax"
Plugin Label: "sine.jmax"
Plugin Unique ID: 42
Maker: "toto"
Copyright: "GNU Lesser General Public License"
Must Run Real-Time: No
Has activate() Function: Yes
Has deativate() Function: No
Has run_adding() Function: No
Environment: Normal or Hard Real-Time
Ports: "Left Input" input, audio
"Right Input" input, audio
"Left Output" output, audio
"Right Output" output, audio
"dummy port" input, control, 0 to ..., logarithmic
For instance:
$ applyplugin /data/dechelle/silence.wav /var/tmp/out.wav ~/lib/ladspa/jmaxladspa.so sine.jmax 1
The sine.jmax patch contains only an "osc 220" object connected to the audio ouput.
How to create a "freq" control port to your plug-in: