How to make a Reactive LED Piano Visualizer - Step by Step Guide
Buy me a Coffee: https://www.buymeacoffee.com/Pecfi1z
Here is a step-by-step for making a reactive LED Piano Visualizer. All thanks to Frederick (Github: Onlaj) for the help.
Don't forget to subscribe my channel and to hit the notification bell while you are here. Your support to my work is greatly appreciated.
Checkout my website: https://adityaprk04.wixsite.com/website
Connect with me on Facebook: https://fb.me/APPianoMusic
Connect with me on Twitter: https://twitter.com/adityaprk04
Here are the step by step instructions I followed original instructions here https://github.com/onlaj/Piano-LED-Visualizer
Parts List:
Raspberry Pi (Kit): https://amzn.to/3dOdmdY
Raspberry Pi (Presoldered GPIO): https://amzn.to/2QWQVcu
Power Adapter: https://amzn.to/39vGRxA
LCD Hat: https://amzn.to/2UsS3Xv
LED Strip: https://www.aliexpress.com/item/32832420003.html?spm=a2g0s.9042311.0.0.260f4c4dMUKJaH
Instructions:
1. Install Raspbian on RPi. (https://projects.raspberrypi.org/en/projects/raspberry-pi-setting-up)
2. Connect the LED strip to RPi. Just follow the instructions from this guide to make wired connections. You can skip the commands this guide has for "Preparation and Installation" (https://tutorials-raspberrypi.com/connect-control-raspberry-pi-ws2812-rgb-led-strips)
3. Enable SPI (https://www.raspberrypi-spy.co.uk/2014/08/enabling-the-spi-interface-on-the-raspberry-pi/)
4. Configuring automatic midi connection - Follow the instructions here for configuring automatic midi connection and skip everything else from the guide. If you want to also configure midi Bluetooth, the follow those optional steps from this guide. In my case i just wanted to light the led from my piano so i skipped the bluetooth. (https://neuma.studio/rpi-as-midi-host.html)
5. Open a terminal window and run the following commands (I recommend running the commands one by one so if there is an error you can easily see it)
sudo apt-get install libjack0
sudo apt-get install libjack-dev
sudo apt-get install libasound2-dev
pip install RPi.GPIO
pip install webcolors
pip install psutil
pip install mido
pip install Pillow
pip install python-rtmidi
pip install rpi-ws281x
git clone https://github.com/onlaj/Piano-LED-Visualizer.git
6. At this point everything should be setup. to test you can go to the folder containing the cloned library and test if things are working
cd Piano-LED-Visualizer
sudo -E python visualizer.py
Once everything works you can break out to command prompt by pressing CTRL+C
7. (optional) If you intend to use this device only for the LED visualizer, i changed the boot settings to automatic in non gui mode and configured autostart for the script
At the command prompt:
sudo raspi-config
- Select “Boot Options” then “Desktop/CLI” then “Console Autologin”
- save and exit
sudo nano /etc/profile
- scroll to the very bottom and insert the following command
sudo -E python /home/pi/Piano-LED-Visualizer/visualizer.py &
- Type “Ctrl+X” to exit, then “Y” to save followed by “Enter” twice.
- sudo reboot - everything should work now and the visualizer program should auto start when you reboot.
Видео How to make a Reactive LED Piano Visualizer - Step by Step Guide канала AP Music
Here is a step-by-step for making a reactive LED Piano Visualizer. All thanks to Frederick (Github: Onlaj) for the help.
Don't forget to subscribe my channel and to hit the notification bell while you are here. Your support to my work is greatly appreciated.
Checkout my website: https://adityaprk04.wixsite.com/website
Connect with me on Facebook: https://fb.me/APPianoMusic
Connect with me on Twitter: https://twitter.com/adityaprk04
Here are the step by step instructions I followed original instructions here https://github.com/onlaj/Piano-LED-Visualizer
Parts List:
Raspberry Pi (Kit): https://amzn.to/3dOdmdY
Raspberry Pi (Presoldered GPIO): https://amzn.to/2QWQVcu
Power Adapter: https://amzn.to/39vGRxA
LCD Hat: https://amzn.to/2UsS3Xv
LED Strip: https://www.aliexpress.com/item/32832420003.html?spm=a2g0s.9042311.0.0.260f4c4dMUKJaH
Instructions:
1. Install Raspbian on RPi. (https://projects.raspberrypi.org/en/projects/raspberry-pi-setting-up)
2. Connect the LED strip to RPi. Just follow the instructions from this guide to make wired connections. You can skip the commands this guide has for "Preparation and Installation" (https://tutorials-raspberrypi.com/connect-control-raspberry-pi-ws2812-rgb-led-strips)
3. Enable SPI (https://www.raspberrypi-spy.co.uk/2014/08/enabling-the-spi-interface-on-the-raspberry-pi/)
4. Configuring automatic midi connection - Follow the instructions here for configuring automatic midi connection and skip everything else from the guide. If you want to also configure midi Bluetooth, the follow those optional steps from this guide. In my case i just wanted to light the led from my piano so i skipped the bluetooth. (https://neuma.studio/rpi-as-midi-host.html)
5. Open a terminal window and run the following commands (I recommend running the commands one by one so if there is an error you can easily see it)
sudo apt-get install libjack0
sudo apt-get install libjack-dev
sudo apt-get install libasound2-dev
pip install RPi.GPIO
pip install webcolors
pip install psutil
pip install mido
pip install Pillow
pip install python-rtmidi
pip install rpi-ws281x
git clone https://github.com/onlaj/Piano-LED-Visualizer.git
6. At this point everything should be setup. to test you can go to the folder containing the cloned library and test if things are working
cd Piano-LED-Visualizer
sudo -E python visualizer.py
Once everything works you can break out to command prompt by pressing CTRL+C
7. (optional) If you intend to use this device only for the LED visualizer, i changed the boot settings to automatic in non gui mode and configured autostart for the script
At the command prompt:
sudo raspi-config
- Select “Boot Options” then “Desktop/CLI” then “Console Autologin”
- save and exit
sudo nano /etc/profile
- scroll to the very bottom and insert the following command
sudo -E python /home/pi/Piano-LED-Visualizer/visualizer.py &
- Type “Ctrl+X” to exit, then “Y” to save followed by “Enter” twice.
- sudo reboot - everything should work now and the visualizer program should auto start when you reboot.
Видео How to make a Reactive LED Piano Visualizer - Step by Step Guide канала AP Music
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
![How To Make a DIY Piano LED Visualizer](https://i.ytimg.com/vi/s8uX3LVx21E/default.jpg)
![Ten Things Serious Pianists Do Every Day](https://i.ytimg.com/vi/jFrhar5XexU/default.jpg)
![FITA LED RGB - ILUMINAÇÃO](https://i.ytimg.com/vi/uxijZ9I7cVA/default.jpg)
![How To Make A Remote Viewable Camera With Raspberry Pi (Beginner Project)](https://i.ytimg.com/vi/zfBHD4v8hD0/default.jpg)
![MozART group - How to impress a woman (Official Video, 2017)](https://i.ytimg.com/vi/Nxgm27oWu3s/default.jpg)
![Piano LED Visualizer](https://i.ytimg.com/vi/zqWAbJM2dmg/default.jpg)
![How to Make a Girl Smile](https://i.ytimg.com/vi/EyofqsBQS5I/default.jpg)
![Setting up your Raspberry Pi Zero Starter Kit - A guide for beginners](https://i.ytimg.com/vi/TUz2mVtJVsM/default.jpg)
![How to make Piano videos (like Rousseau) without Synthesia](https://i.ytimg.com/vi/WvLorkgxQKY/default.jpg)
![Yamaha's Astonishing $50.00 Keyboard (PSS-F30)](https://i.ytimg.com/vi/prTOOZzArwg/default.jpg)
![Design Patterns in Python by Peter Ullrich](https://i.ytimg.com/vi/bsyjSW46TDg/default.jpg)
![Violin Timelapse: Age 4 to 22 (Violin Progress)](https://i.ytimg.com/vi/AfHFFlhGdBs/default.jpg)
![Natural Language Processing With NLTK & Python - NLP In 2021](https://i.ytimg.com/vi/orfS0gKqj9Q/default.jpg)
![How To Play Can't Help Falling In Love by Elvis Presley on Piano - Very Easy Piano Tutorial](https://i.ytimg.com/vi/GW2NOmLHUBc/default.jpg)
![When Russian Plays MAGIC PIANO on Omegle...](https://i.ytimg.com/vi/7ehRMIzme-s/default.jpg)
![Wish YOU can make piano particle videos like these? Try this!](https://i.ytimg.com/vi/75SDzXkV_08/default.jpg)
![Piano or Keyboard LED Bar - Visualizer - Tutorial for build (Rousseau / Kassia like)](https://i.ytimg.com/vi/lbLjS3s74fU/default.jpg)
![How to Film Yourself Playing Keyboard to Live-Stream, Record or Zoom!](https://i.ytimg.com/vi/HKYvU3aIndA/default.jpg)
![SP107E setup + Multiple LED's](https://i.ytimg.com/vi/5xk-7HdF_I8/default.jpg)
![Kris Nicholson Unboxed his new KORG MicroKEY AIR 61 his new Airline Keyboard for Travel](https://i.ytimg.com/vi/d3aaYtRCEco/default.jpg)