support for different type of sound cards
This commit is contained in:
@@ -4,8 +4,8 @@ from datetime import datetime
|
||||
import subprocess
|
||||
import sys
|
||||
|
||||
PLAY_DEVICE = "my_usb_sound_device_with_converter" # as defined in '~/.asoundrc'
|
||||
REC_DEVICE = "my_usb_sound_device" # as defined in '~/.asoundrc'
|
||||
PLAY_DEVICE = "my_sound_device_with_converter" # as defined in '~/.asoundrc'
|
||||
REC_DEVICE = "my_sound_device" # as defined in '~/.asoundrc'
|
||||
MAX_RECORDING_TIME = 30 # limit recordings to only e.g. 30 seconds long
|
||||
TRIM_RECORDING_END = 0.8 # remove the clicking noise from the end of recordings
|
||||
RECORD_BUTTON_PRESS_TIME = 2 # pressing and holding a button longer then e.g. 2 seconds triggers recording otherwise playing
|
||||
|
||||
Reference in New Issue
Block a user