Re: [linux-audio-dev] +momentary, consolidated (ladspa.h.diff)

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [linux-audio-dev] +momentary, consolidated (ladspa.h.diff)
From: Steve Harris (S.W.Harris_AT_ecs.soton.ac.uk)
Date: Tue Mar 09 2004 - 15:55:45 EET


On Tue, Mar 09, 2004 at 01:51:56 +0100, Alfons Adriaensen wrote:
> On Tue, Mar 09, 2004 at 08:43:18AM +0000, Steve Harris wrote:
>
> > I disagree: if I have a control thats "wave, INTEGER where 1=sin, 2=tri,
> > 3=sqa, 4=saw" and one which is the same less the INTEGER hint (ie. it
> > crossfades) then the enumeration points are no less importanti in the
> > non-INTEGER case.
>
> OK, then we allow HINT_ENUMERATED for float ports as well, and provide
> a string (or NULL pointer) for each integer in the range. I proposed this
> before IIRC.
>
> I think that in a case like this, you will always be able to map the
> 'important points' to integers.

When your dealing with phases or angles, it will be inconvienent. Even if
you use degrees, it will be anoying to have 360 (or 400, i18n :) points,
only 4 of which have labels.

Ditto for tape simulations, the speeds are 76, 38, 19 and 9.5 cm/s (30,
15, 7.5 and 3.75 inches/s).

Tim sent a mail a few days ago with some other examples where integers are
not the significnat points.

- Steve


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Tue Mar 09 2004 - 15:53:52 EET