mirror of
https://github.com/brmlab/ledbar.git
synced 2025-06-09 21:34:00 +02:00
equalizer: Shorten CHUNK_SIZE, partially compensate with HISTORY_SIZE
CHUNK_SIZE will make the FFT buckets bigger, causing better space usage by pixels; it will also reduce latency. with original HISTORY_SIZE, there is too much flicker.
This commit is contained in:
parent
4f02964f2f
commit
ce20bce854
1 changed files with 2 additions and 2 deletions
|
@ -12,7 +12,7 @@ from datetime import datetime
|
|||
|
||||
import ledbar
|
||||
|
||||
CHUNK_SIZE = 1024
|
||||
CHUNK_SIZE = 256
|
||||
FORMAT = pyaudio.paInt16
|
||||
CHANNELS = 1
|
||||
RATE = 44100
|
||||
|
@ -21,7 +21,7 @@ PIXELS = 20
|
|||
LAZY = 0
|
||||
SYMMETRIC = 0
|
||||
|
||||
HISTORY_SIZE = 4
|
||||
HISTORY_SIZE = 8
|
||||
MIN_FREQ = 30
|
||||
MAX_FREQ = 12000
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue