design a scenario

About BCI and box tutorial/demo scenarios bundled with OpenViBE.
Post Reply
mana
Posts: 2
Joined: Sun Jan 29, 2012 5:45 pm

design a scenario

Post 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

yrenard
Site Admin
Posts: 645
Joined: Fri Sep 01, 2006 3:39 pm
Contact:

Re: design a scenario

Post 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

mana
Posts: 2
Joined: Sun Jan 29, 2012 5:45 pm

Re: design a scenario

Post by mana »

is it possible foy you to describe more????
with more detailes...??
thanks so much

yrenard
Site Admin
Posts: 645
Joined: Fri Sep 01, 2006 3:39 pm
Contact:

Re: design a scenario

Post 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

Post Reply