psychopy.microphone
- Capture and analyze sound¶(Available as of version 1.74.00; Advanced features available as of 1.77.00)
Deprecated Use Microphone
for new projects.
AudioCapture() allows easy audio recording and saving of arbitrary sounds to a file (wav format). AudioCapture will likely be replaced entirely by AdvAudioCapture in the near future.
AdvAudioCapture() can do everything AudioCapture does, and also allows onset-marker sound insertion and detection, loudness computation (RMS audio “power”), and lossless file compression (flac). The Builder microphone component now uses AdvAudioCapture by default.
Google’s speech to text API is no longer available. AT&T, IBM, and Wit.ai have a similar (paid) service.
Functions for file-oriented Discrete Fourier Transform and RMS computation are also provided.