adafruit / Adafruit_nRF52_Arduino

Adafruit code for the Nordic nRF52 BLE SoC on Arduino
Other
606 stars 492 forks source link

No MIDI.h library #715

Closed mbmosher closed 2 years ago

mbmosher commented 2 years ago

The blemidi example file needs an update.

The link in the file's comments (https://learn.adafruit.com/wireless-untztrument-using-ble-midi/overview) results in a 404 error. I believe it should be updated to: https://learn.adafruit.com/wireless-untztrument-using-ble-midi/overview-uniontownlabs

Following that guide installs the libraries: Adafruit Trellis Adafruit BluefruitLE nRF51 Adafruit UNTZtrument v2.0.0 or higher

However, compiling results in the error "MIDI.h: no such file or directory'

I also tried installing the MIDIUSB library, no change. Where does the MIDI.h library come from?

ladyada commented 2 years ago

this is an ios app, what code example, specifically, are you referring to?

mbmosher commented 2 years ago

Woops, I meant the arduino example that comes with adding the circuit playground bluefruit from the board manager (adafruit nrf52 boards). File > examples > adafruit nrf52 bluefruit libraries > peripheral > blemidi.

hathach commented 2 years ago

The blemidi example file needs an update.

The link in the file's comments (https://learn.adafruit.com/wireless-untztrument-using-ble-midi/overview) results in a 404 error. I believe it should be updated to: https://learn.adafruit.com/wireless-untztrument-using-ble-midi/overview-uniontownlabs

Following that guide installs the libraries: Adafruit Trellis Adafruit BluefruitLE nRF51 Adafruit UNTZtrument v2.0.0 or higher

However, compiling results in the error "MIDI.h: no such file or directory'

I also tried installing the MIDIUSB library, no change. Where does the MIDI.h library come from?

Thanks for the issue, this learn tutorial is mostly for host setup, the board in tutorial is nrf51 series while CircuitPlay Bluefruit is a nrf52 board. Please check out this learn guide for installing midi lib dor nrf52 series https://learn.adafruit.com/introducing-the-adafruit-nrf52840-feather/blemidi

I will update the link and description in the example to prevent confusion

ladyada commented 2 years ago

thank you @hathach 🙏