Starting OSC feeds from a mobile


#1

Currently MuseIO is only available for desktop environments; however applications exist for the Muse headset that do not require a desktop. E.g. “Calm”.

How do I induce my Muse headset to start an OSC feed from a mobile device?


#2

Hi AndyN,

To build native Muse applications you can use libMuse. Currently this is available only for Android, with iOS support coming soon.

Download libMuse here: https://sites.google.com/a/interaxon.ca/muse-developer-site/download

Check out the libMuse documentation here: http://android.choosemuse.com/


#3

This is interesting, but other than LibMuse you’ll also need an OSC Library for Android (googling for it I could find some).

There’s already an app made by Enigma644 that I believe could easily implement this option - Muse Monitor (since it has already options for output to CSV e Muse format files), you can find his application on Google Play but it’s not open source, Maybe we can ask him to add the OSC output option.

See on of his posts here: http://forum.choosemuse.com/forum/ma…=5401#post5401


#4

AndyN could you explain how this would be beneficial? I’m not sure why you would want to use a mobile device as a wireless Bluetooth relay.
Surely it would be much easier to run MuseIO on the desktop computer with which you would be receiving and analysing the OSC stream?


#5

Enigma644 - thanks for the interest.

I’m investigating ways to record and store data on the mobile device itself (while not connected to a desktop). My intention was to harness the OSC stream into a data file on the device (for instance in an EDF+ file).

I had hoped to keep my solution generic rather than rely on the LibMuse classes to harness the output. As such, my aim was to create a generic solution for capturing OSC and then combine that with a custom (Muse-specific) interface to get the headset to begin streaming.

If there’s any part of this concept which doesn’t make sense, please feel free to point it out (this is a new area for me, so if there’s anything fundamentally wrong with my concept, I promise not to be offended!).


#6

Andy, what you are describing sounds pretty much word for word what my app already does, so perhaps I’ve missed your point!

My app records and stores data on the mobile device in either excel compatible CSV, or Muse format. Muse format is not proprietary, it uses Google Protocol Buffers.

Basically you just grab the Muse.proto from here, and compile it to a data serializer spec java file. Include the Google protobuf lib in your Android project and you’re done.

You can extend it too if you want to chuck more info in there. The MusePlayer source is here if you want to see how it handles it on the other end to make sure your changes are compatible.


#7

That’s excellent - I’m going to download it now and take a look. Thanks for your help (and Eduardo for sending my question to the right person!).

Update after downloading app: Wow. Very very impressive.