Controlled Visual Feedback implementation

General information about brain-computer interfaces
Post Reply
bcilab
Posts: 10
Joined: 02 May 2024, 12:23

Controlled Visual Feedback implementation

Post by bcilab » 02 May 2024, 12:30

Hi,
I'm trying to implement a BCI protocol with visual feedback controlled by Mu rhythms. I want to control the filling of a bar.
The experiment will be like the cursor task, but I want to replace the cursor with the filling of the bar, similar to a progress bar.
What is the easier way to do this?
Is the BCPy2000 the best option to do that? Or I need to use Unity?
Thanks in advance.

mellinger
Posts: 1341
Joined: 12 Feb 2003, 11:06

Re: Controlled Visual Feedback implementation

Post by mellinger » 02 May 2024, 17:24

The answer depends on which language you are most proficient in.
You can code this in C++ (BCI2000 native), C# (Unity), or Python (BCPy2000).

In C++, you can just combine a few RectangularShape objects to obtain what you need:
https://www.bci2000.org/mediawiki/index ... hape_Class

bcilab
Posts: 10
Joined: 02 May 2024, 12:23

Re: Controlled Visual Feedback implementation

Post by bcilab » 16 May 2024, 16:44

Thank you very much for the help.
For Unity, how can I add the control of the bar ? Can I add it directly to the cursor task batch?

mellinger
Posts: 1341
Joined: 12 Feb 2003, 11:06

Re: Controlled Visual Feedback implementation

Post by mellinger » 17 May 2024, 11:11

You may use the UnityBCI2000 project for your purpose:
https://www.bci2000.org/mediawiki/index ... I2000Unity
https://github.com/neurotechcenter/UnityBCI2000

In Unity, you will get the so-called "Control Signal" of BCI2000, and can use it to control a bar.
You will control all aspects of BCI2000 from Unity, so you will not need to worry about batch files.

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests