Re: [LAU] Help with jack-volume please

From: Fons Adriaensen <fons@email-addr-hidden>
Date: Wed Feb 17 2021 - 11:12:09 EET

On Tue, Feb 16, 2021 at 02:48:00PM -0500, drew Roberts wrote:
 
> I need to be able to use jack-volume:

As an alternative you could look at zita-jacktools:

class JackGainctl(JackClient):

    """
    Multichannel dezippered audio gain control.

    The 'gain' and 'mute' settings are independent. A gain
    less than -120 dB is equivalent to 'off' (-inf dB).
    The initial gain is 'off', not muted.

    Gain changes are dezippered as follows:
    'off' -> 'on' : 10 ms fade in.
    'on' -> 'off' : 10 ms fade out.
    otherwise : gain changes by max 6 dB for each 10 ms.
    """

or

class JackMatrix(JackClient):

    """
    Audio matrix with gain and delay controls for each input,
    output, and input-output pair.

    Gains are linear and can be negative to invert a signal.
    Use db2lin() to set gains in dB. Delays are in seconds.
    Absolute gain values lower than 1e-15 are set to zero.
    Gain and delay changes are crossfaded over one Jack period.
    """

With a few lines of Python you interface these to whatever
you need.

Ciao,

-- 
FA
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@lists.linuxaudio.org
https://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Thu Feb 18 04:15:01 2021

This archive was generated by hypermail 2.1.8 : Thu Feb 18 2021 - 04:15:01 EET