I am a arduino enthusiast. I used to do this hobby alone. Since I bought
SUNSOUNDER ELITE EXPLORER KET, I,follow link in the package to this web page. I am now trying to play midi melody and display related pitch note in Arduino UNO R4 WiFi board led array in the same time. Since there’re 128 led array R4 WiFi board. And the total musical note contain 12 half-tone note, so I supposed can display related note in midi melody with 8 part. i.e. 12 half-tone * 8 part = 128 led array display. I can already play the pitches and beats in a melody by input pitch array and beat array independently.(refer to the chat of some video in my YouTube channel:
[https://youtube.com/channel/UCc5RBrz6xfBqNrjbQCCxR4g?si=u0JoseIJC-qe_-Mi]
And there’s Library can transform midi signal into pitch and beat(as library : UHS2-MIDI.h). Now I face a technical problem: How to import finished midi file to my Arduino UNO R4 WiFi sketch which can be later upload to my R4 WiFi board through wifi? Another issue is I have to take time to familiar with the use of DAC and led array and wifi in my R4 WiFi board. Any help and suggestion is welcome!
MIDI file parsing:
Use a MIDI library such as UHS2-MIDI.h to parse MIDI files. You need to read the contents of the MIDI file and convert it to an array of pitches and beats.
You can use open source MIDI parsing libraries, such as the MIDIFile library, to help you read MIDI files.
Upload to Arduino:
Convert MIDI files to an array format (e.g., pitch and beat arrays). These arrays can be hardcoded into an Arduino sketch or read from an SD card.
If your R4 WiFi board supports network file transfer, you can use HTTP requests to upload MIDI files to the Arduino.
WiFi Upload:
Set up a WiFi connection and use libraries such as WiFi.h and HTTPClient.h to download MIDI files from the server. Make sure your Arduino has access to the internet.
Using the DAC and LED Arrays
DAC usage:
Make sure you understand how to use the DAC on the R4 WiFi board. check the official documentation to make sure your audio output settings are correct.
You can use the PWM output to simulate an audio signal by adjusting the frequency and duty cycle.
LED array control:
Use an appropriate library (e.g. Adafruit_NeoPixel or FastLED) to control the display of the LED array based on an array of pitches.
Set the LEDs for each semitone to ensure that the LED status is updated correctly during MIDI playback.
Please telll me more about "recommended’. At this time I do not have a working Android, having moved to all Apple products, and I may have as many as ten persons that are interested in the app that I propose to create with a micor computer. I think getting all 10 people and myself to convert to Androids will not be likely. I have written successful Python apps in the past so I am not completely new, just not up to speed with the microprocessors. Can you steer me to Apple or should I return the kit and make a different approach? Thank you for your opinion.
esp32-starter-kit, many examples are controlled by opening a web browser.
So both Android and IOS devices can be controlled.
How did you know that esp32-starter-kit is not compatible with iPad Air?
When you ran that example, you found that esp32-starter-kit is not compatible with iPad Air. Please explain in detail so that we can analyze and solve the problem.
Hi! I’m a retired electronics teacher since 2008, and in 2022 I gave my grandson an Arduino kit for Christmas and bought one for myself, and went through the lessons so I could help him out if he had problems, and after that I got a sensor kit because I really like doing this. So now I bought a Sunfounder Elite explorer kit to learn how to work with the Arduino and WIFI and Bluetooth. So that’s about it.