Hello!
I have set liquidsoap up to crossfade between tracks, which works well. I
also have a fallback white noise source for when no track is playing.
However, I have a problem combining the two. When fading into the white
noise fallback, the track suddenly cuts out about 5 seconds before the end
and when another track is queued later on, you first hear the last few
seconds of the last track fading out. Here is the relevant part of the
setup script:
def create_queue(name) =
log("Create queue #{name}")
s = request.equeue(id=name^"_q",conservative=true)
s = on_track(track_notification, s)
s = on_end(delay=0.5, end_notification, s)
s = smart_crossfade(conservative=true,s)
s = fallback(track_sensitive=false,[s, white_noise])
def add_output(output) =
encoder = fst(output)
suffix = snd(output)
out = ice(encoder,mount=name^suffix,s)
(name,out)
end
new_sources = list.map(add_output, outputs)
new_sources = list.append([(name,s)], new_sources)
dyn_sources := list.append(new_sources, !dyn_sources)
"OK"
end
Am I doing something wrong here?
Edward
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users