Music and Human-Computer Interaction

MyoMapper (beta version)

Just back from ICAD15, where students and researchers asked me about the system I've used to hack the Myo armband.

When I just started to work with the Myo I've developed Myo2MIDI, which is a Myo connector able to convert Myo data into MIDI values. However this solution wasn't the best one, because of rescaling and centring issues. Moreover, using MIDI messages means a loss in resolution of Myo's data.

Thus, I decided to develop a stand alone application called MyoMapper, which allows me to send Myo data through OSC protocol and so to send Myo data with their original resolution. Nevertheless, to communicate Myo data through MIDI protocol can be always a useful way for transferring from the Myo to musical applications, so I choose to keep this option into MyoMapper. In addition, MyoMapper includes buttons and slider to centre, rescale and reverse Myo data on the fly.

What to say more... DOWNLOAD the beta version and let me know what you think about it!

Following, the examples of MyoMapper used to hack the K-Array KW8, Moog Synthesizers and Integra live.

Post navigation

22 thoughts on “MyoMapper (beta version)”

Great, MyoMapper is just what I needed, for both research and performance !
But… I can’t make it work : in Processing, all it says is “error during exporation”. I’m on a MAC 10.8, have processing 2.2.1, and I did install the required libraries..

Unfortunately, it is the case. Other users experienced building issues so far.
However, Processings’ error reports don’t seem helpful in understanding the reason.
I’m working on a stable release. I’ll post it here on my blog once it will be ready.

One last thing it seems very weird that the whole thing is working here on my machine but not everywherelse.
I’ll debug the current release properly and I’ll be back to you soon.

I’m fine, I hope you are as well !
Sorry, I don’t receive notifications of your comments, so that I just saw your last comment and update only today, as I was surfing the web to see if a new version was up !
Very unfortunately, it seems like there is still something going up in the wrong way on my side.
But this time, I could export the application !
However, when I launch MyoMapper (as an app), all I get is a grey window (the window of myomapper, but which contains nothing but that blank, grey screen).
I used Processing 3 (beta5, since the other version are newer than your update…. but I’ll try in case it works with newer versions).

best,

julien
PS : you can write me on my email if it is more convenient for you, maybe describing my troubles can help

I tried with beta6, updated java, and tried various combination (processing still running while launching the app, processing not running, etc..), but all leads to the same blank, grey screen.
Here is my mail if you want : lajulienroche(at)gmail(dotcom

I guess it is related to a problem I have with Myo for processing itself, which does not work when I try to run a sketch of it alone, since Ì get this :
“A library used by this sketch is not installed properly” :
ava.lang.UnsatisfiedLinkError: /private/var/folders/1w/lrmrhxls0fn8905wdvy_xbqh0000gn/T/libmyo.jnilib: dlopen(/private/var/folders/1w/lrmrhxls0fn8905wdvy_xbqh0000gn/T/libmyo.jnilib, 1): Library not loaded: @rpath/myo.framework/Versions/A/myo
Referenced from: /private/var/folders/1w/lrmrhxls0fn8905wdvy_xbqh0000gn/T/libmyo.jnilib
Reason: image not found
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1938)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1858)
at java.lang.Runtime.loadLibrary0(Runtime.java:870)
at java.lang.System.loadLibrary(System.java:1122)
at com.thalmic.myo.Hub.copyAndLoadOSXFromTemp(Hub.java:132)
at com.thalmic.myo.Hub.loadJniResources(Hub.java:54)
at com.thalmic.myo.Hub.(Hub.java:27)
at com.thalmic.myo.Hub.(Hub.java:22)
at de.voidplus.myo.Myo.(Myo.java:66)
at e2_emg_data.setup(e2_emg_data.java:31)
at processing.core.PApplet.handleDraw(PApplet.java:2373)
at processing.awt.PSurfaceAWT$12.callDraw(PSurfaceAWT.java:1507)
at processing.core.PSurfaceNone$AnimationThread.run(PSurfaceNone.java:316)
Unable to load libmyo.jnilib from directory /var/folders/1w/lrmrhxls0fn8905wdvy_xbqh0000gn/T
A library relies on native code that’s not available.
Or only works properly when the sketch is run as a 32-bit application.

Hi Balandino!
First of all, thanks for this. It is just what I’ve been looking for in order to use Myo for live performance.
Nevertheless, it is not working on my computer. When I try to export the application, Processing says:
No library found for themidibus
No library found for de.voidplus.myo
Libraries must be installed in a folder named ‘libraries’ inside the ‘sketchbook’ folder.

I put the libraries in the sketchbook folder, but it is still not working. Could you give me some input on this? I really don’t know how to solve this because I’m a musician but, sadly, not a programmer and I’m just starting to work with this kind of software.

Any help will be extremely appreciated. Thanks for your time and for sharing this amazing software.

I’m trying to make it work with Ableton Live and Max, but I’m having trouble sending MIDI. Neither Ableton nor Max recognize any MIDI signal from the MyoMapper or any MIDI device. What should I do if I want to send MIDI to Ableton?

Hope you can give me some extra feedback on this topic. Sorry for asking so much, but I’m a little useless with software like this…

Thank you so much in advance. I’m really excited about the possibilities that your mapper opens to me.

Hi Diego, I’m sorry for my late reply but deadlines have been killing me for a while. I’ve updated the git hub page. It should contain any info you need. Please write at info [at] balandinodidonato [dot] com me if you need more support.

Hello Balandino. THANKYOU!!! This is amazing. I’ve been looking for this exact thing for a couple of years. I use Isadora to create interactive environments for dancers and other performers, and MyoMapper instantly started kicking out useful and stable OSC that I can monitor in Isadora. I’ve shared the good news with the Isadora community. I’m charging up my MYO to take it into the studio tomorrow and test it with an accordion player.
all the best,
John

Many thanks for your feedback, and I’m very happy to hear MyoMappper is going to help your performances! Please if you can, let me know if you will write a blog post or publish any video using MyoMapper. I’m really interesting what you will come up using it!

For any info or if you would like to improve it, do not hesitate to contact me!!!

I’ve started using the myo with myo mapper and e-pyo (python) for some music and martial art project here in Montréal at l’Université de Montréal.

Everything is working fine if I only use one myo. I even gave my first performance with it, I will upload the video soon if you wanna take a look.

Problem is if I wanna use 2 myos at the same time. I’m running everything under windows (though I’m a linux user) but I cant seem to use the myo mapper once I plug the second bluetooth receiver. The working myo mapper just crashes and doesn’t work if opened again. The problem seems to stop once I unplug the second bluetooth adapter.

Thanks for your feedback. If you are using Myo Mapper on windows it’s surely the release 1.4 or earlier ones. Those versions do not support the use of two Myos. Myo Mapper 2.4.9 supports 2 Myos, although it is for macOS only. I’m planning to compile it for windows too very soon. The documentation for Myo Mapper 1.4 and earlier is within the folder when you download the application. The one you find on the Wiki refers to Myo Mapper 2.
To use two Myos on macOS using Myo Mapper 2.4.9 and follow these instructions.

I hope that helps! Let me know if further issues.
Thanks again for your feedback and for the videos. I look forward to watching them!

Thanks for the reply! I’m glad to read that. I’m looking forward for that windows version 2 as I don’t possess a mac myself. I’ll work with one myo and duplicate the controls when it will be available. That’s good to know!

As for the documentation for version 1, I can’t seem to find it in the folder. All there is are the examples for PD, Max and Integra and a folders containing the .jar scripts. Doesn’t matter much to me right now, just thought I would let you know.

Also, here’s my first public try with the myo and the mapper. It’s a collaboration between music and litterature. Warning : it’s all in french, even though sound is the same in all langage.
Enjoy!https://www.youtube.com/watch?v=R90_UCJ0VcQ

Hell yeah!
I thought I would play with only one for my next show, but not anymore. I can send or receive data from my myo, use both at the same time and everything seems to work great.
Perfect app. 10/10

Very happy that it was compiled so fast! Domo arigota Balandino sama!

Thanks also for the word on the performance. Glad you got a few bribes of what was being said!

Hi François how are you?
I’m writing a paper about Myo Mapper and, I would like to send you an email with a few questions about how you used Myo Mapper.
Please write me at info [at ] balandinodidonato [dot] com and I get back to you! Thanks a lot!!!