Page 1 of 1

design a scenario

Posted: Sun Jan 29, 2012 5:51 pm
by mana
I want to write a program that play two sound, in random order. That
is, every second one of the two sounds were palyed.

I use Stream Swich (trigger key stimulator,matrix clock stimulaor,
output(sound palayer) but it has a problem and couldnt run..?

is it possibile for you to help me to desine this scenario????
Thank so so much for your helping

Re: design a scenario

Posted: Sun Jan 29, 2012 7:36 pm
by yrenard
Dear Mana,

you'd better generate a stimulation sequence with a Lua Stimulator box and connect two Sound Player boxes to this stim generator.

Hope this helps,
Regards,
Yann

Re: design a scenario

Posted: Mon Jan 30, 2012 12:48 am
by mana
is it possible foy you to describe more????
with more detailes...??
thanks so much

Re: design a scenario

Posted: Mon Jan 30, 2012 1:58 pm
by yrenard
Dear mana,

the Lua stimulator box can be used to generate appropriate stimulation codes. Lua is a very simple programming language. The box will let you program a stimulation sequence that will be sent to later boxes. The documentation includes HOWTO samples to show you haw to use such box.

Once you have the stimulation sequence defined, you can connect several sound player boxes to the Lua stimulator. These sound player boxes will handle specific stimulation codes to actually play the sound when needed.

Please, read the Lua stimulator documentation or look at existing scenarios that use such box (for instance the P300 speller scenarios use this box), you'll get the real use case and quickly understand how it should be used

Hope this helps,
Regards,
Yann