-
Notifications
You must be signed in to change notification settings - Fork 7.4k
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
add host midi example (IDFGH-11428) #12566
base: master
Are you sure you want to change the base?
Conversation
👋 Welcome Wunderbaeumchen99817, thank you for your first contribution to 📘 Please check Contributions Guide for the contribution checklist, information regarding code and documentation style, testing and other topics. 🖊️ Please also make sure you have read and signed the Contributor License Agreement for espressif/esp-idf project. Pull request review and merge process you can expectEspressif develops the ESP-IDF project in an internal repository (Gitlab). We do welcome contributions in the form of bug reports, feature requests and pull requests via this public GitHub repository.
|
+1, this is very useful! typo: |
@Wunderbaeumchen99817 , if they don't merge this, you should make a repo called "ESP32 Usb Midi Example". It would be great for people to google and find it. |
Hi, how does this works? what I'm actually trying to do is to build a device that acts as a MIDI host when it's attached to a MIDI device and as MIDI device when it's attached to a MIDI host. The problem I'm trying to solve is that the esp32s3 flashed with MIDI device example now appears when attached to windows/macos/android but doesn't appear when attached to music instrument (korg keyboard). Any idea will help |
In current PR there is a simple MIDI host. So if you are flash it and then attach it to the Ubuntu host - it is not going to work, as you connected two hosts together. For MIDI device example, which does not appear - which example did you try? |
@roma-jam thank you getting back I tried the tusb_midi under examples/peripherals/usb/device and that works fine when connected to a host. I'm now trying to connect the esp32s3 to a MIDI device and send MIDI cmds to it as Is there a way the host can send midi cmds to the device? Thanks |
Unfortunately, we don't have MIDI class support. Right at the moment we don't have a plan to implement MIDI host class device, thus if you need MIDI class implementation, it is possible to design it using the class drivers as a reference by the link I have mentioned before. |
This new example implements midi functionality with the ESP acting as a usb-host device.
It connects to the connected usb-midi-controller & prints the received signals in the serial monitor.