How Can I receive OSC Streaming and analyze that?

Post Reply
lyctg4620
Posts: 2
Joined: Sun Aug 28, 2022 12:43 am

How Can I receive OSC Streaming and analyze that?

Post by lyctg4620 »

1. I can work mind monitor app in Android well , but I cant receive OSC in my computer. It doesn't work in Muse Lab and I can't download Muse Direct program. I wonder how I can receive OSC data in my computer.

2. And also I want to analyze EEG data. In my university, I make volume controller via EEG. So I really need Beta Graph or real data in real time. Please let me know how to do that.

cf) I use muse 2 . Thank you so much
User avatar
James
Site Admin
Posts: 1103
Joined: Wed Jan 02, 2013 9:06 pm

Re: How Can I receive OSC Streaming and analyze that?

Post by James »

The OSC section of the FAQ on the website includes a link to my GitHub where you will find a number of code examples for receiving OSC:
https://mind-monitor.com/FAQ.php#oscspec
https://github.com/Enigma644

These samples show you how to get the data into a program and then from that point you can analyse the data in any way you wish :-)

However, if you have tried Muse Lab and are not getting any data then you need to check these three things:
#1 - That you have set your "OSC Target IP" in Mind Monitor settings to the Local IP of your receiving computer
#2 - Muse Lab is set to receive on UDP port 5000
#3 - You firewall is not blocking UDP 5000 traffic. To test this, I would temporarily disable the firewall entirely.
lyctg4620
Posts: 2
Joined: Sun Aug 28, 2022 12:43 am

Re: How Can I receive OSC Streaming and analyze that?

Post by lyctg4620 »

Thanks for reply. I tried your github link the 'OSC Receiver' with python.
I used the codes in Jupyter Notebook. And I also installed python-osc.
But When I run the codes, ModuleNotFoundError: No module named 'pythonosc' is always appered.
Did I do wrong? Its really appreciate if you tell me the solution. Thank you

cf) Do I have to do with my notebook? Because my desktop doesnt work bluetooth, So I use bluetooth dongle.
User avatar
James
Site Admin
Posts: 1103
Joined: Wed Jan 02, 2013 9:06 pm

Re: How Can I receive OSC Streaming and analyze that?

Post by James »

I don't think you have installed Python OSC correctly. You need this command:

Code: Select all

pip install python-osc
;-)

A USB Bluetooth device will be ok, so long as it supports BLEv4.0
Post Reply