https://github.com/jajcayn/eeg-pd-sonification
sonification of EEG signal using pure data and Python
https://github.com/jajcayn/eeg-pd-sonification
Last synced: 4 months ago
JSON representation
sonification of EEG signal using pure data and Python
- Host: GitHub
- URL: https://github.com/jajcayn/eeg-pd-sonification
- Owner: jajcayn
- Created: 2016-12-01T01:06:53.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-12-04T11:31:35.000Z (over 8 years ago)
- Last Synced: 2025-01-08T04:53:49.485Z (5 months ago)
- Language: Pure Data
- Homepage:
- Size: 927 KB
- Stars: 8
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# EEG-pd-sonification
## Description
Provides analysis tools to sonificate EEG signal.Consists of python class able to read offline data (txt, edf, [more to come]) or read online data from Emotiv Epoc device and pure data patch for generating sounds. After preprocessing and computing statistical measures of the provided signal, sends indices via OSC protocol to pure data for real-time analysis.
At this point following preprocessing techniques are available:
* transformation to average reference
* bandpass filtering
* computation of spectral centroid
* Hjorth analysis (activity, mobility and complexity)The patch for generating sounds (in pure data) is very primitive at this moment.
## Dependencies
### Python
* numpy - `pip install numpy`
* pyOSC - `pip install pyOSC`
* keypy - `pip install keypy` -- throws error on import - need to edit source and rewrite all `from scipy import nanmean` to `from numpy import nanmean`
* emokit - `pip install emokit`
* mne - for reading offline data in *.edf format - `pip install mne`
* scipy - if detrening data before filtering - `pip install scipy`### pure data
* iemnet - [puredata.info/downloads/iemnet](https://puredata.info/downloads/iemnet)
* OSC - [puredata.info/downloads/osc](https://puredata.info/downloads/osc)