SuperCollider Forum
May 19, 2013, 10:35:38 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: The SuperCollider forum is currently experiencing a rash of spambot registrations. New user requests may not be approved quickly as a result -- and if your email address looks like spam, it might not be approved at all. We are working to improve the security of the registration process, and to provide alternate means to contact the administrators to get a new account. Thanks for your patience.
 
   Home   Help Search Calendar Login Register  
Pages: [1]
  Print  
Author Topic: EEG - bluetooth - to SC  (Read 3941 times)
0 Members and 1 Guest are viewing this topic.
tedor2
Newbie
*

Karma: 0
Posts: 42


View Profile
« on: June 09, 2008, 08:44:14 AM »

Dear Reader,

I wonder whether someone could give me a tip, how to get receive a raw data signal (from an EEG - http://www.ibva.co.uk/) in SC?

I received a Max/Msp external, but the object already distinguishes the sidebands (using FFT). As I received an Xcode package with it I started to get familiar with coding externals.

My goal is to get the raw data, so I can use different filters on it. (Like here: http://cmr.soc.plymouth.ac.uk/publications.htm)

Please let me know if I should try working on SC on this EEG issue.

All the best,
Krisztian
Logged
dewdrop_world
AdminGroup
Full Member
*

Karma: 9
Posts: 193



View Profile WWW
« Reply #1 on: June 10, 2008, 07:37:46 PM »

I can't find anything specific to bluetooth and SC. But, I searched for bluetooth and HID (one of the ways SC can receive information) and it looked to me like certain bluetooth devices present themselves to the OS as HID units, which SC could read.

I can't see on ibva's website how the device presents itself. Maybe talk to ibva to find out what kind of access protocols are available?

James
Logged

joshp
AdminGroup
Full Member
*

Karma: 5
Posts: 121



View Profile WWW
« Reply #2 on: June 11, 2008, 06:37:21 PM »

Actually... SerialPort will find Bluetooth devices. I use it to connect to the SHAKE device. Once you register your EEG with your computer's Blutetooth browser, you will find it listed under the devices that SerialPort finds.

Best,

josh

Logged
tedor2
Newbie
*

Karma: 0
Posts: 42


View Profile
« Reply #3 on: June 17, 2008, 02:19:39 AM »

hi guys,
thank you for the responses, I am going to investigate these options asap:)
all the best.

krisztian
Logged
tedor2
Newbie
*

Karma: 0
Posts: 42


View Profile
« Reply #4 on: June 17, 2008, 07:28:43 AM »

ok...

I think I could set up the device :
(
p = SerialPort(
   "/dev/tty.BlueVAS_H-Data-1",
   baudrate: 230400,
   crtscts: true);
)

was not difficult, but the help file gives me only one command I can use:

p.next;         

This gives me random (I guess depending on the EEG data) numbers.

How is it possible to make this numbers into wave.... So I could use scope for instance to see the actual brainwave pattern?

Any help appreciated!
all the best,

Krisztian
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!