Strategy to make audio data (to draw waveform) available to QML?



  • I've been through the QML components and haven't seen one which exposes raw audio data so I am looking for some methods to do this.

    I want to be able to show the user the audio waveform and current playback point (e.g. your bog-standard audio edit tool).

    I'm still new at this so I'm not sure how much to depend on the QML side – I figured I would draw th waveform on a QML Canvas, and deal with user interaction, etc.

    Can anyone give me a nudge in the right (or "a") direction.

    Cheers.
    (and if you are in the U.S. like myself, be sure to shelter-in-place. Ugh.).


  • Lifetime Qt Champion

    Hi,

    I'm not aware of a QML component allowing that. Maybe mix with a bit of C++ using QAudioProbe.

    Hope it helps


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.