OS Win10
PsychoPy version 2023.2.1
**Standard Standalone? Y
What are you trying to achieve?: play sound if sound not currently playing
What did you try to make it work?:
if sound.AudioDeviceStatus().active==0:
clip.play()
What specifically went wrong when you tried that?:
nothing happened, and print(sound.AudioDeviceStatus()) clearly shows that audiodevicestats always shows that a sound is not playing. Is this just for microphones or does it need a list of device parameters? is there a way to tell if a sound is currently playing yet?