work ongoing

This commit is contained in:
2024-11-10 18:25:12 +01:00
parent 73f184b263
commit 63366f7ea1
2 changed files with 15 additions and 6 deletions
+2 -3
View File
@@ -67,7 +67,7 @@ s = add([s, b])
a = interactive.float("main_volume", min=0., max=20., 0.4)
s = compress.multiband.interactive(bands=7, s)
mic_gain = interactive.float("mic_volume", min=0., max=20., 6.)
mic_gain = interactive.float("mic_volume", min=0., max=120., 6.)
# Apply audio processing effects
tmic = buffer(input.pulseaudio()) # Microphone
mic = amplify(mic_gain, tmic)
@@ -75,12 +75,11 @@ mic = gate(threshold=-80., range=-120., mic)
mic = compress(threshold=0., ratio=2.,mic)
mic = blank.strip(max_blank=10., min_noise=.1, threshold=-20., mic)
s = add([s, mic])
# Apply audio processing effects
s = nrj(normalize(s))
s = amplify(a, s)
# Skip blank sections in the stream
s = blank.skip(max_blank=10., s)
s = blank.skip(max_blank=10., s)192
#Manual audition override
source_control = interactive.bool("Source control", true)