mirror of
https://github.com/migatu/conjurer.git
synced 2026-07-14 13:34:40 +00:00
FX
This commit is contained in:
@@ -56,7 +56,7 @@ s = crossfade(fade_out=2., fade_in=2., duration=4., fallback(id="switcher", trac
|
||||
|
||||
# Set up an interactive harbor for controlling the stream
|
||||
interactive.harbor(port = 9999)
|
||||
|
||||
harbor.input(buffer=30.0)
|
||||
# Set up interactive controls for bass boost
|
||||
f = interactive.float("f", description="Frequency", min=0., max=1000., unit="Hz", 200.)
|
||||
g = interactive.float("g", description="Gain", min=0., max=20., unit="dB", 8.)
|
||||
@@ -82,8 +82,15 @@ s = amplify(a, s)
|
||||
s = blank.skip(max_blank=10., s)192
|
||||
|
||||
#Manual audition override
|
||||
source_control = interactive.bool("Source control", true)
|
||||
s = switch(track_sensitive=false, [(source_control,mic),({true},s)])
|
||||
live_enabled = interactive.bool("Going Live!", true)
|
||||
s = switch(track_sensitive=false,
|
||||
[({!live_enabled}, live),
|
||||
({true}, radio)])
|
||||
|
||||
|
||||
def fading_transition(a,b)
|
||||
sequence([fade.out(a.source),fade.in(b.source)])
|
||||
end
|
||||
|
||||
# Configure logging settings
|
||||
log_to_stdout = true
|
||||
|
||||
Reference in New Issue
Block a user