Hi,
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 !
_______________________________________________
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users