Re: [LAU] Help with jack-volume please

From: Athanasios Silis <athanasios.silis@email-addr-hidden>
Date: Mon Feb 22 2021 - 22:58:51 EET

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@email-addr-hidden> 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@email-addr-hidden> 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@email-addr-hidden
>> 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@email-addr-hidden
> https://lists.linuxaudio.org/listinfo/linux-audio-user
>

_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@lists.linuxaudio.org
https://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Tue Feb 23 04:15:02 2021

This archive was generated by hypermail 2.1.8 : Tue Feb 23 2021 - 04:15:02 EET