[LAD] swh plugins problem/addition
Steve Harris
steve at plugin.org.uk
Sun Jul 29 17:12:22 UTC 2007
On 29 Jul 2007, at 16:46, Tim Goetze wrote:
> [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.
My preferred solution would be if host authors fixed their sample-
rate-hint implementations, but it's not perfect even when it does work.
In general I want to be able to say something like minimum 10Hz,
maximum 0.45 x samplerate.
- Steve
More information about the Linux-audio-dev
mailing list