mirror of
https://github.com/migatu/conjurer.git
synced 2026-07-14 21:38:38 +00:00
Fixed live
This commit is contained in:
@@ -76,7 +76,7 @@ mic = gate(threshold=-80., range=-120., mic)
|
|||||||
mic = compress(threshold=0., ratio=2.,mic)
|
mic = compress(threshold=0., ratio=2.,mic)
|
||||||
mic = nrj(normalize(mic))
|
mic = nrj(normalize(mic))
|
||||||
mic = blank.strip(max_blank=15., min_noise=.1, threshold=-30., mic)
|
mic = blank.strip(max_blank=15., min_noise=.1, threshold=-30., mic)
|
||||||
s = add([s, mic])
|
mic = fallback(id="switcher2", track_sensitive=false, [mic, blank()])
|
||||||
|
|
||||||
# Apply audio processing effects
|
# Apply audio processing effects
|
||||||
s = nrj(normalize(s))
|
s = nrj(normalize(s))
|
||||||
@@ -87,12 +87,11 @@ 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 = add([mic,s])
|
||||||
switch(track_sensitive=false,
|
s=switch(track_sensitive=false,
|
||||||
[(live_enabled, mic),
|
[(live_enabled, mic),
|
||||||
({true}, s)])
|
({true}, s)])
|
||||||
|
|
||||||
|
|
||||||
# Configure logging settings
|
# Configure logging settings
|
||||||
log_to_stdout = true
|
log_to_stdout = true
|
||||||
log_to_file = true
|
log_to_file = true
|
||||||
|
|||||||
+8
-1
@@ -1,4 +1,11 @@
|
|||||||
let json.parse credentials = file.contents("/home/pi/Conjurer/icecast_credentials.json")
|
let json.parse credentials = file.contents("/home/pi/Conjurer/icecast_credentials.json")
|
||||||
|
|
||||||
output.icecast(%mp3, host="retropie", port=8000, password=credentials.password, icy_metadata="true", mount="mp3-stream",input.pulseaudio())
|
mic = buffer(input.pulseaudio())
|
||||||
|
emergency = blank()
|
||||||
|
mic = blank.strip(max_blank=10., min_noise=0.2, threshold=-30., mic)
|
||||||
|
|
||||||
|
|
||||||
|
radio = fallback(id="switcher2", track_sensitive=false, [mic, emergency])
|
||||||
|
|
||||||
|
output.icecast(%mp3, host="retropie", port=8000, password=credentials.password, icy_metadata="true", mount="mp3-stream",radio)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user