bbc / audiowaveform

C++ program to generate waveform data and render waveform images from audio files
https://waveform.prototyping.bbc.co.uk
GNU General Public License v3.0
1.94k stars 242 forks source link

Add -width auto option #157

Open xeruf opened 2 years ago

xeruf commented 2 years ago

I would like a flag -width auto that generates a waveform with sufficient width to cover the whole track. Since I am using this tool to inspect audio at a glance it is handy to see its length from the width of the waveform.

xeruf commented 2 years ago

Currently I am emulating it by setting an absurdly high width and fitting the --axis-label-color to the background color

chrisn commented 2 years ago

Yes, this sounds like a good feature to add.

DomingoMG commented 2 years ago

You know something?

xeruf commented 2 years ago

Just to give you an idea, this is what I am using it for, and it is amazing you made that possible ;) https://git.jfischer.org/xeruf/dotfiles/src/branch/main/.local/bin/scripts/b image

xeruf commented 2 years ago

Any chance for progress on this? :)

chrisn commented 2 years ago

Sorry, I haven't been able to look at this yet