[LAD] sliders/fans

Fons Adriaensen fons at linuxaudio.org
Thu Nov 24 23:20:09 UTC 2011


On Thu, Nov 24, 2011 at 03:12:12PM -0800, Jeff Koftinoff wrote:
> 
> On 2011-11-24, at 12:45 PM, Fons Adriaensen wrote:
> 
> > Not always. Consider the case of 'VCA' groups for faders. That
> > is: you have a slider that controls the gain of a group of 
> > channels (without those being mixed). The effective channel
> > gain (in dB) is the sum of the per channel fader value and
> > the one from the group fader. The model sees only this sum.
>
> This is the mistake. In Model View Controller, your VCA group
> fader would have an associated value in the model.  The view
> edits this. The controller calculates the resultant effective
> channel gains.

Not always. Consider the case of a mixer application that has
full OSC remote control. The VCA fader could be an implementation
detail of the remote interface, unknown to the model.

Ciao,

-- 
FA

Vor uns liegt ein weites Tal, die Sonne scheint - ein Glitzerstrahl.




More information about the Linux-audio-dev mailing list