Page 1 of 1

A simple question about stimulus & signals in OpenViBE

Posted: Mon Jan 27, 2014 5:33 pm
by roberto
I am involved in a simple issue: I would like to translate the stimulus output of the Classifier Processor Block in a signal. Any rapid solution to do it? I seemed it simple in theory, but practically I don't know how I could implement it.

Es.:

OVTK_StimulationId_Label_01 >>translate in>> constant signal=1
OVTK_StimulationId_Label_02 >>translate in>> constant signal=2

Thanks,

regards

Roberto

Re: A simple question about stimulus & signals in OpenViBE

Posted: Tue Jan 28, 2014 8:30 am
by jtlindgren
Hi Roberto,

I'm not sure if it can be easily achieved without doing a new box in C++, or modding an old one. One non-coding alternative you could try is to take the raw output of the classifier (second output) and threshold it with simple DSP box.


Happy hacking,
Jussi

Re: A simple question about stimulus & signals in OpenViBE

Posted: Tue Jan 28, 2014 11:24 am
by roberto
Thank you so much for your reply.

Roberto

Re: A simple question about stimulus & signals in OpenViBE

Posted: Tue Jan 28, 2014 12:38 pm
by roberto
For the community: finally i found a very nice solution. To translate stimulus in signals you can use the Stream Switch box: you have in input your stimulus and whatever signal/streamed matrix, and then you can filter your outputs with DSP (simply transforming outputs in different constants).

Hope this help will be useful :-)

Roberto

Re: A simple question about stimulus & signals in OpenViBE

Posted: Wed Jan 29, 2014 6:12 am
by yrenard
that's smart !