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

Bar customization for PNG #112

Closed let-aurn closed 1 year ago

let-aurn commented 4 years ago

🔥✨

Addressing Issue 111

🤖 🤞

./audiowaveform -i ../path/to/audio.mp3 -o ../path/to/audio.png --end 211 -w 8000 -h 200 --no-axis-labels --background-color 00000000 --waveform-color EF5350FF --border-color 00000000

Output

image

❌ ✋

TODO:

chrisn commented 4 years ago

Thanks for contributing! If we were to add this feature, we'd need a few options:

xDrJungle commented 2 years ago

I know this is from a long time ago but would be a nice feature to add, a lot of websites and apps use this style now.

YannickGagnon commented 1 year ago

Thanks for contributing! If we were to add this feature, we'd need a few options:

  • waveform-style: normal / bars
  • bar-width
  • bar-gap
  • bar-style: square / rounded

Hi @chrisn, I'd be keen to take over this PR and make it happen. Appart from the said missing options and perhaps the "Fix: not whole waveform is generated (the incrementation is wrong)"

Is there anything else I should worry about?

Thanks

chrisn commented 1 year ago

See #187