Re: [linux-audio-dev] LADSPA2: logarithmic hint

From: Dave Robillard <drobilla@email-addr-hidden>
Date: Sat Apr 29 2006 - 19:32:06 EEST

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-
Received on Sat Apr 29 20:15:10 2006

This archive was generated by hypermail 2.1.8 : Sat Apr 29 2006 - 20:15:10 EEST