Welcome!

Sign in with your CogSci, Facebook, Google, or Twitter account.

Or register to create a new account.

We'll use your information only for signing in to this forum.

Supported by

sound synchronization with triggers

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

  • eduardeduard Posts: 1,115

    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

Sign In or Register to comment.