Sound demo not working - are demos generally out of date?

I’ve been out of the loop for a while, and have noticed that running the soundStimuli.py demo, whether I run it in the old Psychopy Standalone, or if we run it via VSCode, we get errors that seem to indicate that psychopy.sound no longer has audioLib or audioDriver as variables.

To deal with this in a minimal example, in the attached I’ve added a try, except so you can see the code still works, but that one line that refers to audioLib or audioDriver seems out of date.

Can someone shed any light on this specific sound issue or the status of demos more generally? I noticed that there is no Demos menu item anymore in Psychopy Studio…

soundStimuliWithoutError.py (1.3 KB)

1 Like

So few people hand-write code these days that I can imagine some demos are indeed out of date. We’ll try and have a run through all of them and see where things fall down