Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 1.1 KB

File metadata and controls

26 lines (18 loc) · 1.1 KB

Playing pong using EEG

Pong_screen

Getting started

Requirements

Runs only on python 2.7 32-bit.

  1. Kivy (1.10.0) or later. Follow the instruction on their website to install kivy.
  2. Python Lab Streaming Layer. TL;DR pip install pylsl. Follow this repo.
  3. OpenVibe
  4. Headset software from the vendor.

Running

  1. Connect your EEG headset and stream the EEG signals as an LSL stream. Checkout this repo for more details.
  2. Start OpenVibe Acquisition server and connect to the desired LSL stream. Ensure that you know the port its streaming to.
  3. Start OpenVibe Designer and run the provided xml files under the OpenVibe_scenarios folder. This processes the EEG signal and extracts the alpha power which is later streamed using LSL. Ensure the port number in the Acquisition stream box matches the one in OpenVibe acquisition.
  4. Run play_pong.py to start the game.

Have fun!