python - Audio visualizer on led matrix - Stack Overflow
https://stackoverflow.com/questions/24454964/audio-visualizer-on-led-matrix
Jun 27, 2014 . Jun 27, 2014 . 1 Answer1. Active Oldest Votes. 2. To get a crude 8-band, 8-level ongoing spectral estimate (in Python, using numpy): import numpy as np fftsize = 4096 # about 100ms at 44 kHz; each bin will be ~ 10 Hz # Band edges to define 8 octave-wide ranges in the FFT output binedges = [8, 16, 32, 64, 128, 256, 512, 1024, 2048] nbins = len (binedges)-1 ...
DA: 51 PA: 4 MOZ Rank: 61