mirror of
https://github.com/migatu/conjurer.git
synced 2026-07-14 21:38:38 +00:00
Fade in/out for live
This commit is contained in:
+4
-6
@@ -86,14 +86,12 @@ s = blank.skip(max_blank=10., s)
|
|||||||
|
|
||||||
#Manual audition override
|
#Manual audition override
|
||||||
live_enabled = interactive.bool("Going Live!", true)
|
live_enabled = interactive.bool("Going Live!", true)
|
||||||
s = switch(track_sensitive=false,
|
|
||||||
|
|
||||||
|
s = crossfade(fade_out=10., fade_in=5., duration=15., switch(track_sensitive=false,
|
||||||
[(live_enabled, mic),
|
[(live_enabled, mic),
|
||||||
({true}, s)])
|
({true}, s)])
|
||||||
|
)
|
||||||
|
|
||||||
def fading_transition(a,b)
|
|
||||||
sequence([fade.out(a.source),fade.in(b.source)])
|
|
||||||
end
|
|
||||||
|
|
||||||
# Configure logging settings
|
# Configure logging settings
|
||||||
log_to_stdout = true
|
log_to_stdout = true
|
||||||
|
|||||||
Reference in New Issue
Block a user