Page 1 of 1

Sending Event Markers from Unity/Oculus into OpenVibe for Signal Processing

Posted: Sat Apr 01, 2023 6:35 am
by Jedi_monk
Newbie here and needs help!
I am working on a visual imagery BCI 2-class classification experiment. The goal is to classify imagery based on visual stimuli (steady light and blinking light) scenes displayed in the unity/Oculus. I am using an Emotiv Insight EEG headset. There seem to be limited resources on the internet showing how one can send markers to OpenVibe acuisition - designer from Unity or Oculus. Trying to send markers through Emotiv was also not possible for me as I could net get the virtual serial COM port marking to work on the EmotivPRO I would appreciate any help I can get.

Thanks,

Re: Sending Event Markers from Unity/Oculus into OpenVibe for Signal Processing

Posted: Mon Apr 03, 2023 7:10 am
by Thomas
Hi Jedi_monk,

You can send markers from Unity to the OpenViBE designer using the LabStreamingLayer library (LSL).
There is a wrapper around it called LSL4Unity, and an OpenViBE fork for it.

You can see how it is used here to send markers to OpenViBE in this exemple project

The scenario that interacts with it comes with OpenViBE, in the folder box-tutorials/Games/hello-sender-game.xml

Hope this helps, let us know how you get on.

Cheers,
Thomas