-remove crossfade function from ls scripts since it wasn't doing anything.

This commit is contained in:
Martin Konecny 2012-03-27 15:16:58 -04:00
parent 9c52b2ee1f
commit d83267e6dc
2 changed files with 0 additions and 11 deletions

View File

@ -23,15 +23,6 @@ def transition(a,b) =
fade.final(duration=!default_dj_fade, a) ])
end
def crossfade(s)
#duration is automatically overwritten by metadata fields passed in
#with audio
s = fade.in(type="log", duration=0., s)
s = fade.out(type="log", duration=0., s)
fader = fun (a,b) -> add(normalize=false,[b,a])
cross(fader,s)
end
# Define a transition that fades out the
# old source, adds a single, and then
# plays the new source

View File

@ -151,8 +151,6 @@ end
s = switch(id="default_switch", track_sensitive=false, transitions=[transition, transition], [({!scheduled_play_enabled},queue),({true},default)])
s = append_dj_inputs(master_live_stream_port, master_live_stream_mp, dj_live_stream_port, dj_live_stream_mp, s)
s = crossfade(s)
# Attach a skip command to the source s:
#web_stream_source = input.http(id="web_stream", autostart = false, buffer=0.5, max=20., "")