audio-visualizer-python icon indicating copy to clipboard operation
audio-visualizer-python copied to clipboard

Waveform component is too sensitive/fast

Open tassaron opened this issue 3 years ago • 0 comments

The waveform component is very sensitive. It would be more useful if it moved slower. I consider this a bug because the current sensitivity is just ugly, not really suitable to be called a "visualizer".

It's using FFmpeg filters called showwaves and showfreqs.

Any input/feedback/help is appreciated :)

Option 1:

  • Create some FFmpeg complex_filter command that smooths that audio stream before the showwaves filter
    • I tried this but I don't know if it's even possible

Option 2:

  • Give FFmpeg some wrong parameters (i.e., draw frame too small). You can create a smoother effect this way but it results in a blurry image. Maybe we could do something with it, though

Option 3:

  • Take the FFmpeg input every 30 frames (for example) and do some interpolation/smoothing/fading between the frames to make a smoother, more unique visualization outside of FFmpeg (easiest option, I'll probably try this eventually)

tassaron avatar May 05 '22 19:05 tassaron