Hi,
I would like to record EMG from two muscles (mastiod and upper sternum) before and after a stimulus (tone pip produced by a head phone). For this reason, I have created a program with two time loops (plz see the attachment). In the second time loop, I want to produce a tone after 30 ms (duration 6-10 ms) of the ongoing voluntary EMG ( so the second time loop will be used to see the tone pip at a particular time only) and In the first time loop, I want to see the ongoing voluntary EMG activity and to monitor the effect of the tone after the stimulus .
I can hear the tone in my program and can change the frequency of the tone but could not get the tone at 30 ms (at a particular time in the window). I made offset 30 ms in the second time loop but could not get the stimulus at 30 ms.
Is there any way to get the tone pip stimulus after 30 ms of the ongoing EMG?
please see the attached program.
Thanks in advance for your kind help
regards
Milly