Use of voice onset key - Problems of vocal onset detection

If this template helps then use it. If not then just delete and start from scratch.

OS (e.g. Win10): OSX 10
PsychoPy version (e.g. 1.84.x): 1.84.2
Hi everyone, I am completely new to Psychopy but it is helping me a lot for my master 1 thesis. I implemented (by using the builder and mainly based on the demo of the word_naming task) an experiment in which participants have to say aloud the total number of a set of dots. The vocal answer is recorded and the onset time is registered. The programme works perfectly well, the answers are recorded and the vocal onset is saved in the output cvs file; however, I am encountering some problems:

  • the sound recorded is noisier compared to the sound I normally get when I record my voice by using other programmes but the same microphone (I am using professional headphones used in my lab for analogous psychological experiments).
  • the vocal onset that is registered does not correspond (sometimes not even close to it) to the one I get myself if I visually check the wav.files.

Thank you for your attention, attached you can find my code! (65.6 KB)

I don’t know if this answer helps but regarding Q1 I find that the quality of the saved sound is much better when using windows media player than when using VLC.