A Unity package for development of BCI applications. This environment needs BCI-essentials-Python to work properly.
- Wiki – More detailed installation instructions and tutorials.
- API documentation
Follow these instructions to install BCI Essentials as a package to an existing Unity project. For instructions on how to add packages hosted on Github using Unity's Package Manager click here
- Install LSL4Unity Package using git URL:
https://github.com/labstreaminglayer/LSL4Unity.git
- Install BCI Essentials package using git URL:
https://github.com/kirtonBCIlab/bci-essentials-unity.git?path=/Packages/com.bci4kids.bciessentials
Note - tested with Uniy version 2021.3.15.f1, other editor versions might work but they have not been tested.
- Using Package Manager, select the BCI Essentials package and import the sample named
Original P300 Controller
- Open the test scene located in:
Assets > Samples > BCI Essentials > 1.0.0 > Original P300 Controller > Scenes > P300Training.Unity
- Select the
P300
object in the Hierarchy menu on the left hand side. This will open the inspector on the right hand side. Here you can modify the settings for the P300 controller. - Select the
play
button at the top-middle of the window. - You are now running a P300 BCI paradigm. You can use the keys detailed below to control the interface.
Key | Action |
---|---|
T | Begin training sequence |
S | Start/stop stimulus |
I | Begin interactive training (MI paradigm only) |
U | Do user training, stimulus without BCI |
0-9 | Select objects from 0-9 when stimulus is on |