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:
Petr Baudis 2012-09-14 22:44:55 +02:00
parent 4f02964f2f
commit ce20bce854

View file

@ -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