Just another "ReferenceError: Can't find variable: os"

Hi @wakecarter, thank you for your suggestion! I have checked your crib sheet and tried to implement what you are saying here, but when I try to run the code locally this error pops up:

NameError: name ‘thisSoundCondition’ is not defined

I am attaching the .psyexp file below, in case it helps. (In the settings of the sound component I replaced $thisSound with $audio, as it is the name of the condition in the conditions files.

Thanks!
aldt_pilot.psyexp (37.4 KB)