I am sure that there is a simple fix for this. I am trying to find onset times of previously recorded audio files using psychopy.voicekey.OnsetVoiceKey but the value is always 0 while the audio file has a clear recording. The current code is:
from psychopy import voicekey as vk
onset = vk.OnsetVoiceKey(file_in=“1_9.wav”)
Does anybody know why this is the case and how I can adjust for this?