Re: [LAD] swh plugins problem/addition

From: Steve Harris <steve@email-addr-hidden>
Date: Sun Jul 29 2007 - 20:12:22 EEST

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
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo.cgi/linux-audio-dev
Received on Sun Jul 29 20:15:02 2007

This archive was generated by hypermail 2.1.8 : Sun Jul 29 2007 - 20:15:03 EEST