Hello,
I have an autodj playilst which plays fine by crossfading every track of it.
Now what I want to do is add jingles to play every half an hour from a
playlist of jingles. But in this case I want the jingles to play unmixed.
In particular, I would like to do the following:
1. wait for the track before the jingle to finish.
2. play 1 or more jingles from the playlist of jingles without mixing
them with anything
3. play the next track from the playlist of tracks without mixing it's
beginning with the end of the previous jingle
So far I have tried something that partially works.
In my following test I play a jingle every 1 minute interrupting the
current auto_dj.
The problem with that is that it just stops the current music playing
very violently.
I wish I at least knew how to fade out the previous_track but I could
not make if fade out whatever I tried:
[...]
def fallback.skip(spots, auto_dj)
timed_spots = switch([
({0s}, spots)
])
def transition(previous_track, next_track) =
source.skip(previous_track)
sequence([previous_track, next_track])
end
fallback(track_sensitive=false, transitions=[transition,
transition], [timed_spots, auto_dj])
end
radio = fallback.skip(spots, auto_dj)
[...]
Now if I try the above by waiting for the track to finish, setting the
track_sensitive to true, the spot won't play at all.
I would appreciate your help to either fadeout the previous track before
the jingle, or wait for it to finish and play the spot.
Any help appreciated.
George
------------------------------------------------------------------------------
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users