mirror of
https://github.com/migatu/conjurer.git
synced 2026-07-14 21:38:38 +00:00
b8df466e6f
Intermediate commits (oldest → newest): - moving api key to netrc - New stuff incoming - Manual external audition - Let's get this effin party started - test mic - tst - Test - Test - fix - fx - test - Refactoring step one - Deploy script for after refactor - Fix and upgrade - bg fx - fx - fx - fx - Main refactoring - Deploy script refactor - fx - fx2 - bgfx
24 lines
528 B
Plaintext
24 lines
528 B
Plaintext
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)
|