OS (e.g. Win10): Win11
PsychoPy version (e.g. 2024.2.4 Py 3.8): 2025.1.1
Standard Standalone Installation? (y/n) If not then what?: Y
Do you want it to also run online? (y/n) N
What are you trying to achieve?:
I am trying to use the microphone component during the course of a Serial Reaction Task and a Sustained Attention to Response Task. Each of these tasks have their own loops that produce infinite trials and finish based on a countdown timer set to 15 minutes. These two tasks are counterbalanced using an outer loop with a condition file. I want to have two 15-minute audio recordings collected during these tasks.
What did you try to make it work?:
I have tried starting the microphone inside the counterbalancing loop but outside the trial loop, then end the microphone with the countdown timer inside the trial routine. But because I use the microphone component in the builder, I have to specify its duration or leave it as blank, so it never proceeds to the trials. I tried to start the microphone with a custom code at the same spot too but kept failing at it for days. I was just wondering if there is any way around this so that I can use the Builder instead of coding all microphone related events.