| Reference | Downloads | Github

Voicekey error 'Baseline period is TOO quiet' (3.0 KB)
Hi! I’m trying to run the attached code (I’ve tried simplifying it as much as possible for repex purposes) and I’m running into the error

Traceback (most recent call last):
File “/private/var/folders/b8/v2895yyj5nv3bz_404fgwkf40000gn/T/AppTranslocation/95BED026-4EEF-4317-9C67-A4F976B90B71/d/”, line 768, in __call__
return self.method(, *args, **kwargs)
File “/private/var/folders/b8/v2895yyj5nv3bz_404fgwkf40000gn/T/AppTranslocation/95BED026-4EEF-4317-9C67-A4F976B90B71/d/”, line 262, in _set_baseline
raise ValueError(msg)
ValueError: Baseline period is TOO quiet
wrong input channel selected? device-related initial delay?

I’ve read through the voicekey documentation on Github (and kind of slaved away at this for countless hours) but I’m still not sure what I should change. I should note—the code still runs, but it’s not recording an RT/ the OnsetVoiceKey() is seemingly detecting sound from the very first moment even when I don’t talk into the mic. Thanks in advance!