Create a sound object, from one of many ways.
| Parameters: |
secs: duration (only relevant if the value is a note name or a frequency value)
|
|---|
Starts playing the sound on an available channel. If no sound channels are available, it will not play and return None.
This runs off a separate thread i.e. your code won’t wait for the sound to finish before continuing. You need to use a psychopy.core.wait() command if you want things to pause. If you call play() whiles something is already playing the sounds will be played over each other.