chaosparrot / parrot.py

Computer interaction using audio and speechrecognition
MIT License
139 stars 36 forks source link

[Bug/Error] Can't use backspace to delete last three seconds of recording with multiple microphones #44

Open AndrewDant opened 8 months ago

AndrewDant commented 8 months ago

Currently if you are recording with multiple microphones and hit backspace to delete the last three seconds of recording the following error is generated and the recording stops. `----------- ERROR DURING RECORDING --------------

Traceback (most recent call last): File "C:\Users\andrew.dant\Documents\Github\parrot.py\lib\record_data.py", line 328, in record_consumer record_controls( key_poller, recordQueue ) File "C:\Users\andrew.dant\Documents\Github\parrot.py\lib\record_data.py", line 66, in record_controls secondary_states[index - 1] = secondary_states[index - 1].get_detection_state() AttributeError: 'DetectionState' object has no attribute 'get_detection_state'`

I tried to reproduce with a single microphone and could not, but I'm consistently able to reproduce with two microphones on Windows 10.