[linux-audio-dev] TAP-plugins reverb presets

Alfons Adriaensen fons.adriaensen at alcatel.be
Fri Mar 5 16:06:19 UTC 2004


On Fri, Mar 05, 2004 at 04:11:35PM +0100, Matthias Nagorni wrote:
> On Fri, 5 Mar 2004, Steve Harris wrote:
> 
> > OK, thats a reasonable definition for enumerations, but its missing the
> > non-ionteger eqivalent, "scale points" or whatever you want to callthem,
> > eg in ringmod_2i1o(1188) "Modulation depth (0=none, 1=AM, 2=RM)" input,
> > control, 0 to 2, default 0.  its not an integer control, its a continuous
> > valued control with specific meanings at specific points. Another example
> > is an oscilator control knob in LFO modules with contiunous varition
> > through sine, tri, saw, square.
> > 
> > I'l grant you that this case is less common, but its still one of the
> > "neccesary" control types.
> 
> First: In general I don't understand why the difficulties to fix problem 2 
> (continuos controls with certain meanings) should prevent us from solving 
> problem 1 (the enumerations) where Fons already suggested a perfect solution.
> Moreover, as you already granted, problem 2 is less severe. 
> Usually the meaning of certain points is displayed in the port name (as in 
> the examples you mentioned). I don't know of any plugin where there are 
> more than 3 defined points, so the string won't be too long for this and 
> using just a slider control seems fine. 

Provided the scale points for a continuous control correspond to the integer
values, then we could use HINT_ENUMERATED without HINT_INTEGER. There would
be a string for each integer value in the port range. Some could be NULL
if required.

-- 
Fons



More information about the Linux-audio-dev mailing list