0124jpt / Reactive-LED-Piano

0 stars 0 forks source link

Arduino Uno #1

Open roy-sukrit opened 4 years ago

roy-sukrit commented 4 years ago

Will this work on Arduino Uno?

0124jpt commented 4 years ago

An Arduino Pro Micro or Leonardo are the only ones I am aware of that can natively support the code. This is due to the specific USB to Serial converter they have. An Uno's firmware can be modified to work with midi, but it's much easier to just use a Pro Micro in my opinion!

roy-sukrit commented 3 years ago

I am trying with Arduino Leonardo , can you give me some instructions ? I have a midi usb o/p from digital piano and an led strip ws2812 1.5m.

0124jpt commented 3 years ago

After you install the code to the Leonardo, your computer should see the Arduino as a MIDI device. You will need to use some kind of software to route the MIDI data from the piano to the Arduino. In my case, I used a Raspberry Pi and a python script. You can also use any DAW (Logic, Ableton Live, etc.). Then is it just a matter of making sure the LED's are wired correctly.

roy-sukrit commented 3 years ago

This my DAW setup Screenshot (7)

I am getting this error when i run ArduinoLED.ino Screenshot (8) Can you help me sir?

0124jpt commented 3 years ago

Your DAW setup looks about right. As long as you're outputting the MIDI data from your controller to the Leonardo. Try re-downloading the code, I made some changes so hopefully it should work now!

roy-sukrit commented 3 years ago

Thankyou for replying sir , i tried again i am getting the same error . Screenshot (9)

0124jpt commented 3 years ago

Just updated the code, try again and let me know if it works for you!

roy-sukrit commented 3 years ago

I tried sir got no response , it seems midi is not going from my DAW , any other ideas how to send midi to Arduino?

0124jpt commented 3 years ago

Before I used a Raspberry Pi, I used this software: https://projectgus.github.io/hairless-midiserial/