(I got dmarc errors while sending this message to the mailing list, reposting 
in case it got lost) 

I'm doing a live radio. One of the requirements is to be able to play the voice 
input with a playlist running in the background. When the voice is active, the 
playlist should be at a lower volume, otherwise it should be at full volume. 

For an example, you can listen the start of 
https://www.radiokawa.com/episode/les-tauliers-85/. It starts with a 
pre-recorded track, followed by the live voice at 00:20. The background track 
fades out after a few minutes. The same goes in reverse at the end. Note that 
some shows don't do that and simply wait for the end of the track to start the 
voice, without negative gain. 

Current simplified setup : 
``` 
voice = switch([(interactive.bool("voice_active"), in()]) 
tracks = request.queue() 
out(add([voice, tracks])) 
``` 
I use a python controller to set voice_active and push tracks to the queue when 
needed using on_end. 

- How can I do the amplification transition? 
- Should I use request.dynamic instead ? My main concern is how to handle the 
case where there is no track to play. Maybe return `fail()` at the end of the 
playlist + use `source.skip` when I want to start the next track? 

BTW, I'm doing the new live broadcast system for radiokawa.com, first public 
test in weeks. I couldn't have done that without liquidsoap. I can ping you if 
you want ! 

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/savonet/liquidsoap/issues/753
_______________________________________________
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to