# Partially apply next to give it a jingle source.
# It will fade out the old source, then play the jingle.
# At the same time it fades in the new source.
def next(j,a,b)
add(normalize=false,
[ sequence(merge=true,
[ blank(duration=3.),
fade.initial(duration=6.,b) ]),
sequence([fade.final(duration=9.,a),
j,fallback([])]) ])
end
j = jingle
a = source 1
b = source 2
It looks like you're new here. If you want to get involved, click one of these buttons!