Communication with other app via MIDI
Hi guys and gals!
I usually use OSC for communication with other applications but one of my colleagues that uses Unity preffers to use MIDI. Do you know how to exactly send MIDI data to him?
I just need to send button presses and an analogue value. In OSC it would be something like this:
/button1 1
/button2 0
/spring 0.35 (for sure this can be something from 0 to 127 as I know MIDI is limited)
Thank you so much!
if you're on mac you could use the IAC buses and send midi notes with the noteout or midiout objects
I am on windows :(
rtpMIDI? https://www.tobias-erichsen.de/software/rtpmidi.html
Hey, Bill. Unfortunately I cannot access the file. BTW, I don't want to send data over ethernet. I just want to send it locally.
So it's not implemented in Max? I was expecting something like sending a noteout or a midiout with a value. Something like sending 60 80 to create a piano note. But instead of being received by the synth, to be received by the other app. But I don't have enough experience with MIDI to actually do this. Any other ideas?
Sorry, I know nothing about Max on Windows, but someone once told me that rtpMIDI was equivalent to OSX's IAC bus, so I thought it could do what you needed.
AFAIK you should be able to send your notes to [noteout "from Max 1"] and Unity should be able to receive them. "from Max 1" and "from Max 2" are virtual MIDI ports that Max automatically makes.
Do you know how I could set the from Max 1. ? For now I only see Microsoft GS Wavetable Synth as MIDI port
In the meantime I found the app you mentioned. https://www.tobias-erichsen.de/software/rtpmidi/rtpmidi-tutorial.html
Strange. Those virtual ports just automagically appear for me. Maybe they need to be turned on in Options > MIDI setup... ?
This might help: https://docs.cycling74.com/max7/vignettes/max_and_other_apps