Re: Help with jack-volume please

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx> 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@xxxxxx> 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@xxxxxxxxxxxxxxxxxxxx
https://lists.linuxaudio.org/listinfo/linux-audio-user


--
Enjoy the Paradise Island Cam playing
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@xxxxxxxxxxxxxxxxxxxx
https://lists.linuxaudio.org/listinfo/linux-audio-user
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@xxxxxxxxxxxxxxxxxxxx
https://lists.linuxaudio.org/listinfo/linux-audio-user

[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux