Using Arduino BLE-MIDI Library with ESP32

Поділитися
Вставка
  • Опубліковано 18 жов 2024
  • Test code : gist.github.co...
    BLE-MIDI connection guide : www.korg.com/u...
    github.com/Ryo...

КОМЕНТАРІ • 34

  • @HoYuanHou
    @HoYuanHou 2 роки тому +1

    Love your Arduino Open Drum Project as always

  • @MegaCadr
    @MegaCadr 3 роки тому +1

    I love your HelloDrum library!

  • @funckyjunky
    @funckyjunky 3 роки тому +1

    Dude ! This is amazing !!! Pls make more in this 🙏

  • @luisfernandocruztorres7811
    @luisfernandocruztorres7811 10 місяців тому +1

    which baterry are you using? cause i´ve been trying with several and the don´t make the bluetooth work, it just conects to my computer but don´t send midi.

  • @danielmorales1639
    @danielmorales1639 Рік тому +1

    I need a sketch that will let me connect the ESP32 to my windows 10 pc via usb, and, act as a BLE Midi instrument to send notes, etc to my Ipad... as RTPMidi is giving me problems, bieing out of sync, slow, and missing notes 😕 wish they has some BLE midi USB dongle for pc... that would do that, but I bet they are crazy expensive, I wanna DIY

  • @kavtech_midi
    @kavtech_midi 3 роки тому +1

    is there any delay when sending midi via bluetooth esp32? which do you use for sending midi, bluetooth or wifi..

  • @beatsbykabuki
    @beatsbykabuki 3 роки тому +1

    A beautiful solution! I just wonder if you also experience the same jitter when using the test sketch? The playback is very irregular when connecting the ESP32 to my Mac via the Bluetooth Midi app. Any help would be appreciated!

    • @gz625
      @gz625 Рік тому

      Seem like no help for you dude :(

    • @desgeneradotv
      @desgeneradotv Рік тому

      ive read somewhere it seems to be a known issue with BLE midi and mac .....problem comes from how mac handles this devices , I ignore if its still unresolved today...

  • @adinwalls
    @adinwalls 2 роки тому

    do you think this will work with an iPad?

  • @lenaroseguera1241
    @lenaroseguera1241 3 роки тому +1

    Somebody knows why that library doesn't work on my esp32 devkit v1? The Bluetooth device never shows up on android or laptop.

  • @eross21
    @eross21 4 місяці тому

    how do you
    pair the bluetooth? i
    tried
    and could see any midi signal coming from the board

  • @tzrgfdrte
    @tzrgfdrte 3 роки тому +2

    Great projects! Can you estimate the latency between hitting the pieco and receiving the Midi signal in th DAW?

    • @ryokosaka8859
      @ryokosaka8859  3 роки тому

      Thank you. I'm going to try it out eventually. Is there an easy way to do it?

    • @tzrgfdrte
      @tzrgfdrte 3 роки тому

      @@ryokosaka8859 hmm, maybe you could switch on an led when a signal is triggered by the esp and then hold everything next to the window with the daw and film everything on one take. Then you could measure the amount of frames that pass between the led changes its state and the daw receiving the Midi signal. It's not accurate but it's the simplest way I come up spontaneously. It is only accurate to +- one amount of frame and the time the led takes to switch on or of. So +- 17ms for 60fps. The measurement then could be repeated to see how stable the latency behaves. It's a lot of work though I imagine.
      However, the latency is very important for the real life applicability for musicians, especially drummers. A total latency (hit to sound production) around 10ms would be really neat to achieve but I don't know if it is possible with BLE in the communication chain.
      I find it very inspirational that you just put this project together without much overthinking it seems. I feel like I block myself by overthinking every little detail and then not getting started at all.
      Oh another idea which could be more accurate, you also measure sound when you record the demonstration. So if you can distinguish the hitting sound and the created sound you could measure the time difference which is the total latency. The loudspeaker position and the hitting position should be at the same distance to the camera's microphone. The resolution would then be how good you can find the beginning of the signals +- one divided by the sample rate e.g. fs = 48kHZ -> Ts = 0.021ms.
      Sorry for my unstructered thoughts and keep up the good work!

    • @ryokosaka8859
      @ryokosaka8859  3 роки тому

      @@tzrgfdrte Very helpful information. I don't know how accurately I can measure it with the tools I have, but I'll give it a try anyway. Thanks!

    • @fernando-inf
      @fernando-inf 3 роки тому

      @@ryokosaka8859 puede medir la latencia con su celular, en esta pagina puede ver un ejemplo: www.jonnor.com/2017/04/optimizing-arduino-midi-controller-latency/

    • @marioc64
      @marioc64 9 місяців тому

      @@ryokosaka8859 I have made MIDI2CV with ESP32, I was playing sequences from Bitwig Studio and sound output were going back to Bitwig with HW Instrument. There is an ability to measure delay. When I was using USB MIDI2CV it was around 7ms, while with this experiment on ESP32 through BLE it was from 30ms to 40ms. So it is significantly slower, but still playable.

  • @robertchacinski386
    @robertchacinski386 3 роки тому

    Hi - thanks you very for library , but i got general problem with ADC usage on wroom 32 esp - adc converters just don't work - i cant use potentiometers in my MIDI project. Any sugestions ?

  • @PierreWapata
    @PierreWapata 2 роки тому

    Hi !
    If we make two of them, they can communicate together ?

  • @hevc_h265
    @hevc_h265 3 роки тому

    Hi, do you have code with guitar midi bluetooth controller for exemple bias fx ?

  • @ryun_d3v
    @ryun_d3v 3 роки тому

    What is the thing you click on the top right corner to access the Bluetooth options? I am looking at Bluetooth devices on a Mac also, but the device never appears. Am I doing something wrong?

    • @ryokosaka8859
      @ryokosaka8859  3 роки тому

      The notification in the upper right corner is from KORG's Bluetooth MIDI Connect. My MacOS version is Catalina 10.15.7.
      apps.apple.com/jp/app/bluetooth-midi-connect/id1074606480?mt=12
      I just followed this guide for BLE connection.
      www.korg.com/us/support/download/product/1/305/

  • @kingmichaelcoy
    @kingmichaelcoy 2 роки тому

    What pins on the board do I use for Bluetooth le

  • @copych
    @copych 3 роки тому

    Dear Sir, can you check this setup with some IOS device running GarageBand? I can connect the ESP32 running your code example to iPad via BLE, but this produces no sound. When I connect the same thing to Android device, it works, but unfortunately the lag is unacceptable (Android fault, of course).

    • @ryokosaka8859
      @ryokosaka8859  3 роки тому

      Are you using KORG's Bluetooth MIDI Connect?
      I tested with an iphone6 and Bluetooth MIDI Connect recognized the ESP32 and worked fine with GrageBand.

    • @copych
      @copych 3 роки тому

      @@ryokosaka8859 I've just run thru the menu and used the native garageband option to connect a bluetooth midi device. Almost like this ua-cam.com/video/xOMa0RuzQqI/v-deo.html . It shows "connected", but no notes are triggering. Now I see thet you've used KORG's thing, so I will try too. But I believe that some DIY projects were able to connect and play natively. Just couldn't find the right video. Thanks

    • @ryokosaka8859
      @ryokosaka8859  3 роки тому

      @@copych I've just tried it. I was able to connect from garageband settings without using the korg app. In the same way as the video you told me.
      I'm trying out the test code and it's sending a MIDI signal with no problem.
      Have you modified any part of the test code?

    • @copych
      @copych 3 роки тому

      @@ryokosaka8859 I used the original sample code that goes with the library, SimpleSensing_BLE_MIDI unchanged. Maybe the iPad is too old =) I ve got iPad mini v1 i think

    • @ryokosaka8859
      @ryokosaka8859  3 роки тому

      @@copych Could you try this code? No circuits are needed.
      gist.github.com/RyoKosaka/2a338a537d838911e23578c4595d9673
      If this makes a sound, there might be a problem with my example code.
      If it doesn't work...., I can't do anything about it....

  • @nagelviolin
    @nagelviolin 2 роки тому

    Do you have any contact? I need help with a project