DevonCrawford/LED-Music-Visualizer
소개
Arduino로 음정과 음량을 기반으로 실시간 LED 오디오 파형을 생성합니다
디자인 및 미디어측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- -1
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalCreate a realtime LED audio waveform based on the pitch and volume with Arduino
Watch the video
The entire process was filmed here: https://youtu.be/lU1GVVU9gLU
Requirements
- Frequency to voltage converter such as Math Encounters Blog: http://mathscinotes.com/2014/03/a-simple-frequency-to-voltage-converter/
- WS2812B LED strip: https://goo.gl/YoFYP5
- Arduino: https://goo.gl/Ah6GGG
How it works
Every 1 ms, the frequency(pitch) of the audio is read into the arduino, and the volume is read from the amplified audio signal. The pitch is then mapped to rgb colors, and the volume represents the brightness. The combination of these values give us unique rgb colors for a single LED. Since we have an array of LEDs we can shift all of them to the right before we update the first LED. This creates a "memory" effect to display a real time portion of the audio waveform.
Note
This code assumes you have a frequency to voltage converter, which operates between 1 - 3 volts during regular music frequencies (roughly 100 - 600hz). Take note to define the correct data pins if you try to build and use this code for your own builds.
관련 프로젝트 살펴보기
불러오는 중…