sound synchronization with triggers
in OpenSesame
Hi all ,
Im having a problem with synchronizing sound and sending trigger to biosemi
Im using a sampler object with duration 0 and afterwards im sending tigger with io.DlPortWritePortUchar and then sleep for 120 ms
I check with oscilloscop and the sound has a delay between the sound and the trigger
am I using the sampler right ?
what could be the probelm ?
I saw that I can play sound with pygame , will it be better to control the sound from an inline ?
Comments
Hi Ariel,
My bet is that the delay will be somewhat smaller if you use the
inline_script. About how much delay are we talking here actually? And is it consistent or is there also some jitter. maybe it would help if you would turn it around and first send the trigger and only then play the sound.Eduard