mirror of
https://github.com/migatu/conjurer.git
synced 2026-07-19 08:12:09 +00:00
Tag: 1.24
Intermediate commits (oldest → newest): - Merge branch 'main' of https://github.com/migatu/conjurer - Merge branch 'main' of https://github.com/migatu/conjurer - BGFX - Function for idv3 and bugfix - Merge branch 'main' of https://github.com/migatu/conjurer - Logs additional - LGFIX - FIXED! - Arguments added to the utility. - Fix old bug - add exception handling - Literowka - Hej hoppsan! - Add comment - Fixc Fixc - Fixit - Inside joke very boomer much wow - Fixing logging issues in music_functions.py and other_functions.py - Maybe this will fix - test - test - another attempt to fix the bug - Maybe this is the fix ? - Maybe fix
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
tmic = buffer(input.pulseaudio()) # Microphone
|
||||
|
||||
if tmic.is_active() then
|
||||
log.info("Buffer active")
|
||||
end
|
||||
|
||||
if tmic.is_ready() then
|
||||
log.info("Buffer ready")
|
||||
end
|
||||
if tmic.is_up() then
|
||||
log.info("Buffer up")
|
||||
end
|
||||
|
||||
interactive.harbor(port = 9999)
|
||||
|
||||
mic_gain = interactive.float("mic_volume", min=0., max=20., 6.)
|
||||
|
||||
mic = amplify(mic_gain, tmic)
|
||||
#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)
|
||||
|
||||
output.pulseaudio(mic)
|
||||
Reference in New Issue
Block a user