phip1611 / audio-visualizer

Simple audio visualization library which is especially useful for developers to visually check audio algorithms against the waveform.
MIT License
46 stars 3 forks source link

Log-log Scaling #3

Open mtthw-meyer opened 3 years ago

mtthw-meyer commented 3 years ago

I'd like to be able to use this to generate log-log visualizations of a spectrum for looking at things like the frequency response of a digital filter. Looking at the spectrum-analyzer it's easy to scale "power gain" to log with something like the provided scale_20_times_log10 but there isn't a way to do that for the frequency (at least that produces nice output).

For example: image

phip1611 commented 3 years ago

Hi @mtthw-meyer that's a great feature request! Unfortunately the current state of this project is that I quickly created a more or less dirty code base to quickly get results.

Feel free to contribute an submit a PR!