[linux-audio-dev] LADSPA2: logarithmic hint

Dave Robillard drobilla at connect.carleton.ca
Sat Apr 29 16:32:06 UTC 2006


On Sat, 2006-04-29 at 10:50 +0100, Steve Harris wrote:
> On Sat, Apr 29, 2006 at 01:00:04 +0000, carmen wrote:
> > > It's not possible for a host to know how to scale a port from just the unit
> > > labeling.  Unit labeling and input value scaling are independent,  in fact
> > > are completely orthogonal except in certain conventional cases like
> > > IEC for some (not all!) dB ranges.
> > 
> > ++. there definitely needs to be a 'logarithmic' hint. maybe even log(10) vs log(2).
> 
> Errm, you you really need to think about that harder. The hint that "this
> should be scaled logarithmically" isn't enough information to do anything
> useful - try it. If you try to define an operation that hosts can apply
> generally then you will find there are lots of cases where it can't
> be applied. Either because it can't be computed, or because it does
> something unhelpful.

It's information with which you can do something a LOT more useful than
without...

-DR- 




More information about the Linux-audio-dev mailing list