AudioKit / AudioKitUI

Controls and Visualization for AudioKit apps
MIT License
187 stars 52 forks source link

Multi color waveform #43

Open tegab opened 2 years ago

tegab commented 2 years ago

How can I do the attached image. Is it possible to have multi colour wave form, showing the highs, mids and low, just like the attached image.

Screen Shot 2022-01-25 at 7 13 35 PM
eljeff commented 2 years ago

I was just dreaming about this last week! I don't think it's possible out-the-box at the moment, but the tools are there.

You'd probably want to do some sort of window where you take a smaller sub-section of audio and figure out the dominant frequency - is it high, mid, or low. Then use that to color that chunk of the waveform.

tegab commented 2 years ago

I was just dreaming about this last week! I don't think it's possible out-the-box at the moment, but the tools are there.

You'd probably want to do some sort of window where you take a smaller sub-section of audio and figure out the dominant frequency - is it high, mid, or low. Then use that to color that chunk of the waveform.

Be nice to get some direction