Re: [O] Mindwave Emacs. EEG reading and Data gathering in an org-mode buffer.
Hey Kyle Right now I am working with the course-grained (1/sec) data sets from the Mindwave. They provide their eSense(tm) measurements as well as the "eegPower", which seems to give a general overview of the different brainwave levels in relation to each-other (but not much else). This actually works out really well, because you can dump the data to an org table, and then as Nick said, use babel/calc/R to dow hat you need to do with it. There is a function inside of the data-gathering package that handles that pretty nicely (albeit slowly) with calc. Of course, this is all very course grained, but it is working nicely for my current experiments! My intention is to eventually connect to the lower level serial Neurosky interface for the raw EEG wave data with emacs, and send the both the EEG data and a timestamp straight to a file. This might be a blind alley however. The idea of quantified coding sounds awesome! The question is, how does one marry up a line of code, with a particular neurological state, especially since a given line of code isn't a static entity that one can easily refer to? __ Jonathan Arkell Sr. Developer Inspired By Drum & Bass, Scheme, Kawaii p. 403.206.4377 1011 9th Ave SE, Suite 300 Calgary, AB, Canada T2G 0Y4 jonath...@criticalmass.com criticalmass.com On 5/09/12 12:30 PM, "Kyle Machulis" wrote: >Something this thread might be interested in. I proposed a project a >couple of years ago called the Quantified Coder, basically looking at >hooking as many biometrics as possible into emacs. There's a small >presentation on it at > >http://www.openyou.org/2011/05/13/the-quantified-coder/ > >Unfortunately it never got off the ground due to lots of reasons, but >I'd still love to get it going sometime. If anyone needs help with >getting devices talking (whether they have open drivers or not :) ), >that's pretty much what I do. :D > >I still wonder if org is the right medium for this. Most of the >devices are going to give you a TON of data (the neurosky raw stream >is ~500hz update, emotiv is ~128hz, etc...). Pedometers and blood >pressure monitors that do one-time large dumps might be somewhat more >feasible. The information contained in this message is confidential. It is intended to be read only by the individual or entity named above or their designee. If the reader of this message is not the intended recipient, you are hereby notified that any distribution of this message, in any form, is strictly prohibited. If you have received this message in error, please immediately notify the sender and delete or destroy any copy of this message.
Re: [O] Mindwave Emacs. EEG reading and Data gathering in an org-mode buffer.
Kyle Machulis wrote: > I still wonder if org is the right medium for this. Most of the > devices are going to give you a TON of data (the neurosky raw stream > is ~500hz update, emotiv is ~128hz, etc...). Pedometers and blood > pressure monitors that do one-time large dumps might be somewhat more > feasible. > You can use a process that samples for a given amount of time and produces a summary of the results (or perhaps a table, which then can be summarized using babel/calc/R/etc.) That might be better suited to org's MO. Nick
Re: [O] Mindwave Emacs. EEG reading and Data gathering in an org-mode buffer.
Something this thread might be interested in. I proposed a project a couple of years ago called the Quantified Coder, basically looking at hooking as many biometrics as possible into emacs. There's a small presentation on it at http://www.openyou.org/2011/05/13/the-quantified-coder/ Unfortunately it never got off the ground due to lots of reasons, but I'd still love to get it going sometime. If anyone needs help with getting devices talking (whether they have open drivers or not :) ), that's pretty much what I do. :D I still wonder if org is the right medium for this. Most of the devices are going to give you a TON of data (the neurosky raw stream is ~500hz update, emotiv is ~128hz, etc...). Pedometers and blood pressure monitors that do one-time large dumps might be somewhat more feasible. On Wed, Sep 5, 2012 at 6:45 AM, wrote: > Jonathan Arkell writes: > >> Hi Orgers! >> >> I recently picked up a Neruosky Mindwave, a consumer level EEG device (it >> reads brainwaves). Unfortunately, the software bundle doesn't include a >> way to log the EEG levels. Since I am fairly decent at Elisp, I thought I >> would write a little library to interface with the mindwave, and store the >> results. Naturally I thought of using an org-mode buffer for this. >> >> So I present, mindwave-emacs: >> https://raw.github.com/jonnay/emagicians-starter-kit/master/extra/mindwave-emacs.org >> >> Mindwave-emacs.el really is just a low-level interface for emacs. Inside >> of the org file are 2 examples (actually, fully working programs) that >> show you how to work with it. >> >> - gather-into-org.el :: allows you to write data into an org-mode file >> - solarized-mind.el :: uses the "eSense" Attention and Meditation >> measurements to provide feedback to the user on their brian state. >> >> I am also working on a lower-level serial/binary connection to retrieve >> data from the mindwave to help facilitate raw EEG logging. >> >> I don't know if this is going to be useful to anyone, but I figured some >> people may be interested. > > Cool! > > I did some Neurosky Mindset integration for my zen.el package: > https://github.com/jave/zen-mode > > Maybe I can integrate your package and mine, I'll have a look! > > >> >> Cheers! >> __ >> >> >> Jonathan Arkell >> Sr. Developer >> Inspired By Drum & Bass, Scheme, Kawaii >> >> p. 403.206.4377 >> 1011 9th Ave SE, Suite 300 >> >> Calgary, AB, Canada T2G 0Y4 >> >> jonath...@criticalmass.com >> criticalmass.com >> >> >> >> >> >> >> The information contained in this message is confidential. It is intended to >> be read only by the individual or entity named above or their designee. If >> the reader of this message is not the intended recipient, you are hereby >> notified that any distribution of this message, in any form, is strictly >> prohibited. If you have received this message in error, please immediately >> notify the sender and delete or destroy any copy of this message. >> >> > > -- > Joakim Verona > >
Re: [O] Mindwave Emacs. EEG reading and Data gathering in an org-mode buffer.
Jonathan Arkell writes: > Hi Orgers! > > I recently picked up a Neruosky Mindwave, a consumer level EEG device (it > reads brainwaves). Unfortunately, the software bundle doesn't include a > way to log the EEG levels. Since I am fairly decent at Elisp, I thought I > would write a little library to interface with the mindwave, and store the > results. Naturally I thought of using an org-mode buffer for this. > > So I present, mindwave-emacs: > https://raw.github.com/jonnay/emagicians-starter-kit/master/extra/mindwave-emacs.org > > Mindwave-emacs.el really is just a low-level interface for emacs. Inside > of the org file are 2 examples (actually, fully working programs) that > show you how to work with it. > > - gather-into-org.el :: allows you to write data into an org-mode file > - solarized-mind.el :: uses the "eSense" Attention and Meditation > measurements to provide feedback to the user on their brian state. > > I am also working on a lower-level serial/binary connection to retrieve > data from the mindwave to help facilitate raw EEG logging. > > I don't know if this is going to be useful to anyone, but I figured some > people may be interested. Cool! I did some Neurosky Mindset integration for my zen.el package: https://github.com/jave/zen-mode Maybe I can integrate your package and mine, I'll have a look! > > Cheers! > __ > > > Jonathan Arkell > Sr. Developer > Inspired By Drum & Bass, Scheme, Kawaii > > p. 403.206.4377 > 1011 9th Ave SE, Suite 300 > > Calgary, AB, Canada T2G 0Y4 > > jonath...@criticalmass.com > criticalmass.com > > > > > > > The information contained in this message is confidential. It is intended to > be read only by the individual or entity named above or their designee. If > the reader of this message is not the intended recipient, you are hereby > notified that any distribution of this message, in any form, is strictly > prohibited. If you have received this message in error, please immediately > notify the sender and delete or destroy any copy of this message. > > -- Joakim Verona
Re: [O] Mindwave Emacs. EEG reading and Data gathering in an org-mode buffer.
Hi Jonathan, does that mean we can mark the point * TODO org-mode should read my mind from the requested org-mode feature list ;) I think your example is great but frighten to be very specific to really get attention. However, it might make a nice example for presentations etc. Similar like the emacs coffee maker stuff. On the other hand it might be very interesting to get a general idea how to add data from devices to org-mode. Many measurement devices utilize USB, RS232 or even network interfaces to communicate (beside of the industrial standards). It would be great to have infos how e.g. to read data from a serial port and add them to org-mode. The internet-famous Arduino board could serve as an example. Communication would be even more awesome. Once I tried to use org-babel talking to a device connected via USB (emulated serial port). The protocol was rather simple but could be lengthy to type in over and over again. I was hopping to define babel blocks which serve as macro containers and combine them into bigger scripts. However, this did not work as well, I guess partially because of the bridge of org->shell->terminal->command If you could help to describe e.g. a raw communication port for babel that might be interesting. #+begin_src: raw :port /dev/tty1 :serpar 115200,8,1,N :results output #+end_src #+result With the right set of parameters one could fetch real world data directly into org-mode files. Best regards Torsten On 5 September 2012 02:06, Jonathan Arkell wrote: > Hi Orgers! > > I recently picked up a Neruosky Mindwave, a consumer level EEG device (it > reads brainwaves). Unfortunately, the software bundle doesn't include a > way to log the EEG levels. Since I am fairly decent at Elisp, I thought I > would write a little library to interface with the mindwave, and store the > results. Naturally I thought of using an org-mode buffer for this. > > So I present, mindwave-emacs: > > > Mindwave-emacs.el really is just a low-level interface for emacs. Inside > of the org file are 2 examples (actually, fully working programs) that > show you how to work with it. > > - gather-into-org.el :: allows you to write data into an org-mode file > - solarized-mind.el :: uses the "eSense" Attention and Meditation > measurements to provide feedback to the user on their brian state. > > I am also working on a lower-level serial/binary connection to retrieve > data from the mindwave to help facilitate raw EEG logging. > > I don't know if this is going to be useful to anyone, but I figured some > people may be interested. > > Cheers! > __ > > > Jonathan Arkell > Sr. Developer > Inspired By Drum & Bass, Scheme, Kawaii > > p. 403.206.4377 > 1011 9th Ave SE, Suite 300 > > Calgary, AB, Canada T2G 0Y4 > > jonath...@criticalmass.com > criticalmass.com > > > > > > > The information contained in this message is confidential. It is intended to > be read only by the individual or entity named above or their designee. If > the reader of this message is not the intended recipient, you are hereby > notified that any distribution of this message, in any form, is strictly > prohibited. If you have received this message in error, please immediately > notify the sender and delete or destroy any copy of this message. >
[O] Mindwave Emacs. EEG reading and Data gathering in an org-mode buffer.
Hi Orgers! I recently picked up a Neruosky Mindwave, a consumer level EEG device (it reads brainwaves). Unfortunately, the software bundle doesn't include a way to log the EEG levels. Since I am fairly decent at Elisp, I thought I would write a little library to interface with the mindwave, and store the results. Naturally I thought of using an org-mode buffer for this. So I present, mindwave-emacs: https://raw.github.com/jonnay/emagicians-starter-kit/master/extra/mindwave- emacs.org Mindwave-emacs.el really is just a low-level interface for emacs. Inside of the org file are 2 examples (actually, fully working programs) that show you how to work with it. - gather-into-org.el :: allows you to write data into an org-mode file - solarized-mind.el :: uses the "eSense" Attention and Meditation measurements to provide feedback to the user on their brian state. I am also working on a lower-level serial/binary connection to retrieve data from the mindwave to help facilitate raw EEG logging. I don't know if this is going to be useful to anyone, but I figured some people may be interested. Cheers! __ Jonathan Arkell Sr. Developer Inspired By Drum & Bass, Scheme, Kawaii p. 403.206.4377 1011 9th Ave SE, Suite 300 Calgary, AB, Canada T2G 0Y4 jonath...@criticalmass.com criticalmass.com The information contained in this message is confidential. It is intended to be read only by the individual or entity named above or their designee. If the reader of this message is not the intended recipient, you are hereby notified that any distribution of this message, in any form, is strictly prohibited. If you have received this message in error, please immediately notify the sender and delete or destroy any copy of this message.