Device Macbook Pro
OS Mac OSX Mojave 10.14
Psychopy version Standalone version 3.0.5 (OSX)
Audio Library [‘pyo’]
Problem encountered Running a sample script to record audio clip, resulting in empty (blank) WAV files.
- Printed out
- Located the current selected audio input device and the respective channel index
- When calling
microphone.AdvAudioCapture, I pass in chnl=0
- The code went through with no exception, however the final .WAV file generated have no audio.
- I have tried portaudio or coreaudio, neither worked.
I have tried the above methods in bootcamp mode (Windows) and audio recording works (after customizing the channel according to the selected input device).
Attached is the sample audio recording script.
pyo-sound-test.py (608 Bytes)
Is anyone else experiencing this issue?
I know OSX have recently introduced a privacy setting in audio recording, even though I had permitted PsychoPy3 to access the audio input, it doesn’t really make any difference. Would the additional security setting have cause this?