[LAU] Help with jack-volume please

Athanasios Silis athanasios.silis at gmail.com
Mon Feb 22 21:58:51 CET 2021


Just for completeness I will also add here the possibility to use
jack-mixer. Yes it is python based and has a gui but the core is a  C
application that you can use directly. So mixing can be done there.
To control the input channels you will need to use midi signals, but it is
possible to generate those from a bash script (this may give you some ideas
http://linux-audio.4202.n7.nabble.com/how-can-I-send-a-midi-command-from-bash-through-jack-to-my-HW-controller-td104387.html
).
So bash could then be used to orchestrate the channel volume fading and
triggering the sound files. At the end of playing the stream execution in
the script will continue to increase the volume again or unmute the AES
channel.

Best regards,
Athanasios

On Wed, Feb 17, 2021 at 10:25 PM drew Roberts <zotzbro at gmail.com> wrote:

> Jannis,
>
> I am experimenting a bit with the guts of this.
>
> If I have rewired my jack graph correctly, I have liquidsoap taking in the
> soundcard audio and sending it out as normal, at specified times, the same
> liquidsoap instance plays the files and sends it to the jack graph as alert.
>
> I have normal audio going into the main inputs of the compressor, I have
> alert audio going into the sidechain inputs of the compressor. I have the
> compressor outputs and the alert audio going out to the soundcard.
>
> It seems to be working as well as what I was doing before and seems much
> more simple...
>
> More experimenting to come.
>
> Thanks for the help everyone.
>
> all the best,
>
> drew
>
> On Wed, Feb 17, 2021 at 12:53 PM Jannis Achstetter <
> jannis_achstetter at web.de> wrote:
>
>> Am 17.02.21 um 18:39 schrieb Jannis Achstetter:
>> >
>> > Only drawback: you cannot do it sequentially like:
>> > - Fade down volume
>> > - Wait a second
>> > - Play files
>> >
>> > since the fading-down of the volume will be an effect of the files being
>> > played.
>>
>>
>> Thinking about it, it's possible:
>> Make the audio files go to the compressor's side chain input directly
>> and to a delay. That delay's output goes to the speakers.
>> This way, the audio from AES will fade out before the files' sound gets
>> to the speakers.
>>
>> Making the audio files fade in some time after the audio files have
>> ended can be achieved by a reverb with long tail before the
>> sideband-input of the compressor.
>>
>> This way, you could solve your requirements with one
>> sideband-compressor, one delay, one reverb, a command-line-player for
>> your audio files (mplayer, mpv, ...) and a cron-job that triggers it.
>>
>> Best regards,
>>         Jannis
>> _______________________________________________
>> Linux-audio-user mailing list
>> Linux-audio-user at lists.linuxaudio.org
>> https://lists.linuxaudio.org/listinfo/linux-audio-user
>>
>
>
> --
> Enjoy the *Paradise Island Cam* playing
> *Bahamian Or Nuttin* - https://www.paradiseislandcam.com/
> _______________________________________________
> Linux-audio-user mailing list
> Linux-audio-user at lists.linuxaudio.org
> https://lists.linuxaudio.org/listinfo/linux-audio-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.linuxaudio.org/archives/linux-audio-user/attachments/20210222/6859b861/attachment.html>


More information about the Linux-audio-user mailing list