Skip to content
プロジェクト

DevonCrawford/LED-Music-Visualizer

GitHubで見る

概要

Arduinoで音程と音量に基づくリアルタイムLEDオーディオ波形を生成します

デザイン・メディア

この数値の測り方

計測したスター増加

24時間
0
7日間
0
15日間
-1
1か月
履歴を収集中

期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。

Create 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

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.

関連プロジェクトを探す

読み込み中…