OSC Streaming on MindMonitor

Post Reply
mindmonitorquestions
Posts: 3
Joined: Wed Jun 05, 2024 12:27 pm

OSC Streaming on MindMonitor

Post by mindmonitorquestions »

I'm working as a research assistant and helping use the Muse as part of a study. Any help on the following two questions would be appreciated!:

1. I'm trying to modify the OSC receiver (https://github.com/Enigma644/MindMonitorPython) to output the alpha band FFT for each individual electrode as well as blink artifacts. Is there code that does this? Right now I'm only getting raw eeg data for each electrode.

2. Is there a way to pause the streaming so that I don't need to reconnect the OSC each time I press marker 2?

Thanks
User avatar
James
Site Admin
Posts: 1103
Joined: Wed Jan 02, 2013 9:06 pm

Re: OSC Streaming on MindMonitor

Post by James »

For the simple example this line controls the dispatch handler:
dispatcher.map("/muse/eeg", eeg_handler)

You can change the osc path to "/muse/elements/alpha_absolute" to get Alpha. Also look at the audio feedback example as that does all the absolute waves.

You can pause streaming in Mind Monitor by just pressing the stream button again to toggle it off, or just taking out the marker handler if you don't want it to pause on #2.
mindmonitorquestions
Posts: 3
Joined: Wed Jun 05, 2024 12:27 pm

Re: OSC Streaming on MindMonitor

Post by mindmonitorquestions »

thank you! The pausing with streaming works great.

However, when I dispatch /muse/elements/alpha_absolute (using the same code as eeg_handler) I only get one value out. Is that because /muse/elements/alpha_absolute only passes one argument? In the archived museio available data page it's unclear but makes it seem like there are four floats for the alpha absolute element.

Thanks
User avatar
James
Site Admin
Posts: 1103
Joined: Wed Jan 02, 2013 9:06 pm

Re: OSC Streaming on MindMonitor

Post by James »

You can toggle it between sending an average or one value for each electrode in Mind Monitor settings.
mindmonitorquestions
Posts: 3
Joined: Wed Jun 05, 2024 12:27 pm

Re: OSC Streaming on MindMonitor

Post by mindmonitorquestions »

It worked! Thanks
Post Reply