Skip to content
LuciaHrrr edited this page Dec 4, 2016 · 3 revisions

Requirements

i.e. what you need to get it to work

  • working version of Unity
  • OpenViBE installed and working
  • if using the EMOTIV Epoc headset: the EMOTIV Epoc research SDK to be able to get raw EEG from the headset
  • if using a different device: set up your own version of channel selection and acquisition server in OpenViBE. (The Unity part is headset independent.)

Unity

You need to download and start the Unity project here You need to configure the brv_listener port in the intro scene.

OpenViBE

Then you need to download and configure OpenViBE setup files as here. Modify it to your liking.

Connecting

In OpenViBE setup OSC senders to the IP address of the Unity runnign device. In case you are creating new features, you need to add appropriate events and such in the unity EegOscReceiver class. If you have modified some of the features, you have to bind appropriate events in the Unity brv_listener class.

Setup

The EMOTIV Epoc headset is connected wirelessly and setup using EPOC software. Data is recorded and processed with OpenViBE. Using OpenViBE allows us to train various characteristics of the signal using machine learning and to do preprocessing on the data before passing it on. Preprocessed data from OpenViBE are packed in OSC packets and sent through UDP protocol over wifi to a target listening device. We coded custom .NET dll which listens to this communication and binds its events to methods in Unity. Unity is interpreting these EEG features and decoding gyroscopic data to control camera movement and various parameters in order to modify visuals and audio in the scene.

Image of the setup

Clone this wiki locally