randome metronome in OS timing task
In my experiment, participants have to press the space key of the laptop repeatedly in 1-s intervals after listening to 10 beats of that 1-s interval. I now want to implement a distraction by having a random metronome (M = 800, SD = 200) playing in the background of this task.
Since I do not really have a good starting point here, my question is: Is it possible to implement such a metronome distraction within the experiment I created (so playing after the 10 sounds of the 1-s interval for each the practice and experimental trial) or do I have to create a new OS-experiment with only the metronome and play that from a different device? Further, do you have any ideas on how to create such a randome metronome?
Thanks in advance!:)