I’m programming an experiment which requires participants to perform a simple choice reaction time task whilst performing a distractor task (foot tapping or articulatory suppression) to the beat of a metronome (100 beats per minute).
I create my experiments in Builder and was originally planning on inserting an audio file of a ticking metronome, but now I think it might be easier & neater to insert a “code component” (Python command) which basically simulates a metronome (100 ticks/beeps per minute) throughout the entire experiment.
Can I get Psychopy to present such a timed sound using python commands? I don’t actually care whether it’s a tick or a beep, etc., as long as it’s 100 beats per minute.
Then ideally I would also be able to suppress the ticking during certain conditions, though is not totally essential (if it just beeps throughout that’s fine too!).
I’d be really grateful for any advice!