alex-berman / sonotopy

Library for perceptually analyzing an acoustic signal in real time
GNU General Public License v3.0
9 stars 1 forks source link

eliminate dynamic normalization in demo #18

Open alex-berman opened 13 years ago

alex-berman commented 13 years ago

Demo currently uses dynamic normalization of the spectrum and sonogram, to ensure a visible value range. It should be possible to replace this dynamic normalization with a static one, as the waveform has a predictable amplitude range.

A possible approach could be to introduce a calibration of the spectral analysis; feed a sine wave of known amplitude and detect the output level.

Note that normalization is currently useful only for visualization. The map does not require normalized input, so no calibration of the suggested kind should burden normal usage.