[linux-audio-dev] TAP-plugins reverb presets (was: TAP-plugins news)
Steve Harris
S.W.Harris at ecs.soton.ac.uk
Thu Mar 4 11:47:47 UTC 2004
On Thu, Mar 04, 2004 at 12:27:42 +0100, Dr. Matthias Nagorni wrote:
> On Wed, 3 Mar 2004, Tom Szilagyi wrote:
>
> > > * Fixed yet another crashing bug in TAP Reverberator (which appears
> > > to be introduced upon fixing the previous crashing bug).
> > > Hopefully no more crashing in my favorite plugin :)
>
> This plugin looks very interesting. I am considering to modify the LADSPA
> host module of AlsaModularSynth so that the presets would appear in a
> combobox selector. However it's even more complicated than I thougt:
> If I print out the parameter name, I get:
That information is also available in RDF, via the liblrdf library (or any
other RDF implementation of your choice):
defs = lrdf_get_scale_values(plugin_id, port_number);
for (i = 0; defs && i < defs->count; i++) {
printf("%f = '%s'\n", defs->items[i].value, defs->items[i].label);
}
lrdf_free_setting_values(defs);
defs->items[i].value contains the value number (e.g. 1.0) and
defs->items[i].label contains the corresponding label (e.g. "AfterBurn (Long)")
- Steve
> <LADSPA parameter name>
> Presets
>
> AfterBurn (Short) :0 1: AfterBurn (Long)
> Drum Chamber :2 3: Garage
> Garage (Bright) :4 5: Gymnasium
> Gymnasium (Bright) :6 7: Gymnasium (Bright) - HD
> Hall (Small) :8 9: Hall (Medium)
> Hall (Large) :10 11: Hall (Large) - HD
> Plate (Small) :12 13: Plate (Medium)
> Plate (Large) :14 15: Plate (Large) - HD
> Pulse Chamber :16 17: Pulse Chamber (Reverse)
> Resonator (96 ms) :18 19: Resonator (152 ms)
> Resonator (208 ms) :20 21: Room (Small)
> Room (Medium) :22 23: Room (Large)
> Room (Large) - HD :24 25: Slap Chamber
> Slap Chamber - HD :26 27: Slap Chamber (Bright)
> Slap Chamber (Bright) - HD :28 29: Smooth Hall (Small)
> Smooth Hall (Medium) :30 31: Smooth Hall (Large)
> Smooth Hall (Large) - HD :32 33: Vocal Plate
> Vocal Plate - HD :34 35: Warble Chamber
> Warehouse :36 37: Warehouse - HD
> </LADSPA parameter name>
More information about the Linux-audio-dev
mailing list