Replies: 1 comment 1 reply
-
I have never used ESP-NOW, but if you have code to send binary data over it, it shouldn't be too hard to integrate with Control Surface. Control-Surface/src/MIDI_Interfaces/SerialMIDI_Interface.hpp Lines 12 to 55 in a061a3a As you can see, you just have to implement a method for reading MIDI data and a handful of methods to send MIDI messages. Control-Surface/src/MIDI_Interfaces/SerialMIDI_Interface.cpp Lines 8 to 16 in a061a3a Control-Surface/src/MIDI_Interfaces/SerialMIDI_Interface.cpp Lines 40 to 55 in a061a3a You'll have to implement your own “puller” class that returns the incoming data byte-by-byte. The StreamPuller class provides a good starting point:Control-Surface/src/MIDI_Parsers/StreamPuller.hpp Lines 17 to 26 in a061a3a Alternatively, if you receive the data in a buffer already, you can just use the BufferPuller class:You can use the existing parser class, and the I've linked to the files on the |
Beta Was this translation helpful? Give feedback.
-
Hey I was wondering what would be the process of trying to send an receive midi message wirelessly? The ESP32 supports it's own wifi communication protocol called ESP-NOW that I would like to use to link together multiple midi devices like buttons and have them all transmit their midi messages to one slave that is then connected to a PC.
Beta Was this translation helpful? Give feedback.
All reactions