[LAD] swh plugins problem/addition

Tim Goetze tim at quitte.de
Sun Jul 29 15:46:59 UTC 2007


[Steven Chamberlain]
>Unfortunately jack-rack doesn't clamp the minimum frequency, so it goes
>right down to zero, and 0-20Hz takes up three-quarters of the slider's
>adjustable range (which is rather tedious).
>
>According to the XML file the minimum frequency is set as 0.0 * sample
>rate.  Why does Ardour clamp at about 3Hz, is this an added 'feature' of
>Ardour? (it is certainly useful to me)

It's quite sensible for a host to clamp a port value hinted 
'logarithmic' this way.  After all, log(0) doesn't compute.

About the 'sample rate' hint: I've removed all references to it from 
my own plugins.  It just doesn't work as expected in all hosts, and 
that's no surprise to anyone who has examined ladspa.h's attempts at 
describing its operation.  Just do 'logarithmic' instead and clamp in 
the plugin code -- not as nice but good enough, and consistent.

Tim



More information about the Linux-audio-dev mailing list