This commit is contained in:
2024-11-10 19:48:47 +01:00
parent c225a3e252
commit 3d02d06862
3 changed files with 17 additions and 8 deletions
+10 -3
View File
@@ -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