Drawing Waveforms Like Rekordbox – Techniques and Insights #4050
Unanswered
GabrielJuliao
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey everyone,
I’m working on a project to render audio waveforms in a style like Rekordbox, and I wanted to open up a discussion on how to achieve this effectively. I've open up a discussion in Stack Overflow on the issue "How to Draw a Solid 3-Band Waveform Like Rekordbox Using Canvas in JavaScript?”. My question may not be directly tied to the WaveSurfer.js library. Instead, I’m looking for general techniques or insights that can replicate Rekordbox’s distinct waveform look.
For context, Rekordbox typically displays a 3-band waveform (low, mid, high) with:
Filled shapes: Each band is a solid, colored area (e.g., blue for low, orange for mid, white for high).
Overlay style: The bands overlap with a clear z-index.
Smooth, club-ready visuals: It’s not just raw peaks but a polished, symmetrical fill between min/max values.
I’ve got a working prototype using HTML5 canvas (code below), where I decode multiband waveform data from JSON, render filled shapes for each band, and allow toggling visibility with checkboxes.
Here’s a simplified version of what I’ve got so far:
Test data: https://github.com/GabrielJuliao/wavypy/blob/main/3band_issue/test_data.json
Beta Was this translation helpful? Give feedback.
All reactions