Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ESP32 Output Pin #110

Open
ManoloCap opened this issue Feb 3, 2020 · 3 comments
Open

ESP32 Output Pin #110

ManoloCap opened this issue Feb 3, 2020 · 3 comments

Comments

@ManoloCap
Copy link

Hello! I found your project and it is awesome!

I am making my own MIDI controller, I just need a matrix of potenciometers.

Now I have a NodeMCU ESP32, so for first I want to make this by wire.

and that was not work
I teste with BLE but that was not work too, maybe its de NodeMCU version?

I did this:

#include <Control_Surface.h>
#include <MIDI_Interfaces/BluetoothMIDI_Interface.hpp>
BluetoothMIDI_Interface midi;
CCPotentiometer pot = { 13, MIDI_CC::General_Purpose_Controller_1 };

void setup() { Control_Surface.begin(); }
void loop() { Control_Surface.loop(); }

And I was monitoring it with MIDI-OX

@tttapa
Copy link
Owner

tttapa commented Feb 3, 2020

The ESP32 doesn't have native USB support, it uses a separate, single-purpose USB-to-Serial chip.

You could either use Hairless MIDI, 5-pin DIN MIDI, or a Debug MIDI Interface: MIDI over USB
List of MIDI Interfaces

The Bluetooth interface should work, but I've only really tested it on Ubuntu 16.04 with a manually upgraded BlueZ driver, and on Android 9. On Android, I had to pair the device using the MIDI+BTLE app first, before it showed up as a MIDI device.
I'll boot up a Windows 10 and Ubuntu 18.04 machine later to day to see if it works.

@tttapa
Copy link
Owner

tttapa commented Feb 4, 2020

I've just tested it on Windows 10, and I had to install MIDIBerry for it to work. It seems like the 1809 update of Windows 10 doesn't support MIDI over BLE out of the box. I can't comment on the 1903 update.

On Ubuntu 18.04 and Ubuntu 16.04, I had to upgrade BlueZ to version 5.50 manually (instructions).
Ubuntu 18.10 and later ship with BlueZ 5.50 already, so they should work out of the box.

@ManoloCap
Copy link
Author

Thank you for the feedback! I will try it on Ubuntu 18 and on Windows 10 with MIDIBerry

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants