A simple question about stimulus & signals in OpenViBE

About the GUI application to design signal processing pipelines
Post Reply
roberto
Posts: 16
Joined: Fri Jan 03, 2014 4:41 pm

A simple question about stimulus & signals in OpenViBE

Post 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

jtlindgren
Posts: 778
Joined: Tue Dec 04, 2012 3:53 pm
Location: INRIA Rennes, FRANCE

Re: A simple question about stimulus & signals in OpenViBE

Post 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

roberto
Posts: 16
Joined: Fri Jan 03, 2014 4:41 pm

Re: A simple question about stimulus & signals in OpenViBE

Post by roberto »

Thank you so much for your reply.

Roberto

roberto
Posts: 16
Joined: Fri Jan 03, 2014 4:41 pm

Re: A simple question about stimulus & signals in OpenViBE

Post 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


Post Reply