I’m trying to play a sound at key press. The trial consists of displaying an image for 15s. I’m trying to get an audio file (screenshot sound effect) to play after a key press response (spacebar), and the response can happen anytime during this 15 seconds. But I also do not want to end trial until the 15 seconds of viewing the image is over. For example, if I were to hit the spacebar and trigger the screenshot sound effect in the middle of the 15 seconds, I still want the remaining image display time to continue.
I’m still very new to PsychoPy, and I’m not sure if I can do this just using builder, but am unaware of any code I could insert either.
If anyone can please provide some assistance, that would be greatly greatly appreciated!