balandinodidonato / MyoMapper

Myo Mapper is an open-source application to map Myo armband data into OSC.
http://www.balandinodidonato.com/myomapper
48 stars 8 forks source link

OSC messages not received by MyoMapper #40

Closed kium-one closed 6 years ago

kium-one commented 6 years ago

Sending out OSC messages to the configured port has no effect on the Myo. OSC Receiver set to 5425, and the test message is /myo1/vibrate "long" When (temporarily) monitoring the port the message comes through correctly, but MyoMapper doesn't get it / doesn't send it to the Myo. MyoMapper is sending out the OSC messages correctly (e.g. /myo1/pose "rest")

Any advice?

balandinodidonato commented 6 years ago

Hi @najiglass is it happening with any of the OSC messages you send to Myo Mapper or only when you the vibrate one?

kium-one commented 6 years ago

@balandinodidonato Thank you for the quick reply. I tested with "/myo1/pitch/setMin 0.2" as well but didn't see any impact on the min value in the Status window. Let me know if there are steps I can follow to debug or provide more information on the issue.

balandinodidonato commented 6 years ago

which version are you using? could you test with these examples?

kium-one commented 6 years ago

I'm on 3.1.6, reinstalled to make sure. I can't test on Max right now but the Ableton examples work fine, though they don't seem to be sending anything to Myo Mapper, only receiving from it. Here's the file I'm using in TouchDesigner to send the OSC message, if you have the setup to test it. OSCtoMyo.1.toe.zip

balandinodidonato commented 6 years ago

I don't have touch designer. Anyway the vibrate function does not work for now. I did disable it due to a bug I cannot fix yet. I'm working on it though.

About the scaling option you have some issues in your code. You try to set Myo Mapper's Pitch inMin value by doing op('oscoutVib').sendOSC('/myo1/pitch/setMin', b) instead you should be doing op('oscoutVib').sendOSC('/myo1/pitch/inMin', b)

Try in this way and let me know how it goes :)

PS I do apologise there was a bug in the wiki, please check it now.

kium-one commented 6 years ago

Thank you! I tried with the new line to send "/myo1/pitch/inMin 0.2" but the values aren't changed in MyoMapper unfortunately. Not sure where the issue is.

Looking forward to the vibration feature!

balandinodidonato commented 6 years ago

sorry my bad... try /myo1/Pitch/inMin 0.2with the value to change's initial in capital letter. Sorry my bad. I've updated the wiki now.

kium-one commented 6 years ago

That works, thanks a lot!

kium-one commented 6 years ago

/myo1/Pitch/centre "centre" doesn't work though. Any ideas?

balandinodidonato commented 6 years ago

sorry my bad it should be /myo1/Pitch/calibrate calibrate I've updated the wiki

kium-one commented 6 years ago

Great, works now!