dpayne / cli-visualizer

CLI based audio visualizer
MIT License
2.12k stars 122 forks source link

add constant q transform #150

Open vandenoever opened 4 years ago

vandenoever commented 4 years ago

Constant Q Transform can show the volume of musical notes. mpv implements this filter.

mpv --lavfi-complex="[aid1]asplit[ao][a]; [a]showcqt[vo]"

https://ffmpeg.org/ffmpeg-filters.html#showcqt

This would be a nice visualization to run from the command-line.

mpv-shot0001

dpayne commented 4 years ago

I think this is a good idea, if anyone wants to add it I would happily merge it. It would be added to one of the transformers here https://github.com/dpayne/cli-visualizer/tree/master/src/Transformer