Re: [LAD] sliders/fans

From: Jeff McClintock <jef@email-addr-hidden>
Date: Fri Nov 25 2011 - 10:50:53 EET

> In other words, you'd expect such a system to behave as if you
> had two faders in series.
>
> Now if the DSP code only sees the sum of the two values (as it
> should, having a VCA group is just a user interface issue),

Ah, You just contradicted yourself. If you expect the system to behave like
two sliders, then the model must represent 2 sliders. The user widgets
should not embody decision making, that implies intelligence in the GUI,
which is not strictly model-view-controller.
 Imagine your device supplemented with a 'dumb' pair of MIDI controllers
complementing the two GUI sliders, they could not correctly implement the
complex interaction between the two gain settings, therefore you need to go
back and move that 'intelligence' into the model.

Best Regards,
Jeff

> Message: 18
> Date: Thu, 24 Nov 2011 20:45:09 +0000
> From: Fons Adriaensen <fons@email-addr-hidden>
> Subject: Re: [LAD] sliders/fans
> To: linux-audio-dev@email-addr-hidden
> Message-ID: <20111124204509.GA14316@email-addr-hidden>
> Content-Type: text/plain; charset=us-ascii
>
> On Thu, Nov 24, 2011 at 02:21:25PM -0500, David Robillard wrote:
>
> > Agreed. Everything here is about the *view*. How that maps to
> actual
> > parameter values is an underlying model issue.
>
> 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.
>
> Now a fader has to go down to zero gain (-inf dB). So you would
> map the lowest possible (finite) value of the widget to something
> that the model (the DSP code) would translate to 'off'.
>
> The question is then: is this exception handled by the widget and
> the DSP code, or by the DSP code only ?
>
> Suppose the minimum value of the widget would correspond to say
> -100 dB if not handled specially. If you just have a single fader
> per channel, you could arrange for the model or the DSP code to
> translate that to 'off'. That is no longer the case if you have
> 'VCA' faders.
>
> There are two thing you'd expect from such a system:
>
> * If either the channel or the group fader is at minimum, then
> the channel must be off (zero gain).
>
> * If the channel fader is at -50 dB, and the group at -60 dB
> you don't want zero gain, but -110 dB. Becaus either fader is
> still in a position where you'd expect that moving it makes a
> difference.
>
> In other words, you'd expect such a system to behave as if you
> had two faders in series.
>
> Now if the DSP code only sees the sum of the two values (as it
> should, having a VCA group is just a user interface issue), then
> that implies that the mapping of the minimum fader position (e.g.
> -100 dB) to something that would be interpreted as 'off' by the
> DSP code (e.g. -9999999 dB) _must be done by each individual
> fader_.
>
>
> Ciao,
>
>
> --
> FA
>
> Vor uns liegt ein weites Tal, die Sonne scheint - ein Glitzerstrahl.
>
>
>

_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-dev
Received on Fri Nov 25 12:15:02 2011

This archive was generated by hypermail 2.1.8 : Fri Nov 25 2011 - 12:15:02 EET