Skip to content

MarquisdeGeek/EEG

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EEG

Code to read EEG data via a soundcard or Arduino.

NOTE: This code is no longer being updated. Feel free to make whatever changes you want to it, but don't report back with errors.

A note from Marquis de Geek

I thought I'd spend a few moments making the READ_EEG code compile, and work. I've only tested with microphone input as (of yet) I've not had time to build the EEG module. But, it samples the input and displays it properly.

The configurable parts of interest are:

Line 54: final int timeLength = 240;
Size of the sampling buffer, when used.

Line 93 : int readDataFrom = INPUT_FROM_BUFFERED_AUDIO;
Determines whether to read directly from the audio input (default), a buffered version, or from the serial port (for when the Arduino passes the data across the serial)

Line 104: int serialIndex = 0;
Which of your serial ports is used

Line 152: int mixerID = 3;
Which of the audio input devices is to be used

About

Code to read EEG data via a soundcard or Arduino

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Processing 97.0%
  • Other 3.0%