On Thu, Nov 15, 2018 at 02:24:14PM -0800, Pascal wrote:
 
> ```
> # radio is a playlist, news a single source
> radio = fallback(track_sensitive = false, [switch([ ( {0m0s} , news) ]), 
> radio ])
> ```
> This plays the file at the given time and stops the music. **But** it just 
> cuts off the playing track, instead of fading it out. 
> 
> So, is there an option to achieve that the currently playing music is faded 
> off before the news start?
> 

I did some more experimienting this morning with your issue. This might be 
close to what you are looking for.

        out.s = fallback(track_sensitive = false, [ switch([({0m-5m} ,news), 
({6m-59m}, radio)]) ])

This will play the news file at the top of the hour after last track from the 
radio stream stops, as long as your radio stream stops in the 0m-5m window.  
The radio stream should pick up at the end of the news stream as long as your 
news stream is longer than the 5 minute window.  Else you will have silence 
till the news window passes.

I'm not sure there is a simple way to achive what you want to do, cut the radio 
stream at exactly the top of the hour and have it fade away.  






_______________________________________________
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to