Update audioseqq.js

parent 4af46601
......@@ -747,7 +747,7 @@ function vssoundRoutineEachFrame(snapshot) {
sound_2.status = PsychoJS.Status.STARTED;
}
frameRemains = start[x] + numtosec(vslist[z][x]) - psychoJS.window.monitorFramePeriod * 0.75; // most of one frame period left
if ((sound_2.status === PsychoJS.Status.STARTED && t >= frameRemains) {
if (sound_2.status === PsychoJS.Status.STARTED && t >= frameRemains) {
//if (numtosec(vslist[z][x]) > 0.5) {
sound_2.stop(); // stop the sound (if longer than duration)
sound_2.status = PsychoJS.Status.FINISHED;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment