Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Chasing the wave[form]
A Former User last edited by A Former User
So in my troubled quest for a way to generate an audio waveform graphic from within Qt, I came across this nice little C++ cmd line tool: audiowaveform. It was easy to build (on OSX – apparently Windows is harder?) and I was able to get it to run using
QProcessas described in my earlier question: QProcess Argument formats.
It is beyond my feeble C++ skill set but I am curious what it would involve to adapt this
audiowaveformprogram to work as a library in Qt?
Currently the program writes the data directly to disc. As a library, one would want it to return the data directly so it can be stored in some vars and used within the program, etc. And since processing the audio takes a bit of time, it would need to be threaded?
Just guessing here.
In itself, it doesn't seem to be a complicated code base to create a library from. You can even dump the drawing elements to make directly e.g. QImage from the wave forms.
Moving the processing in another will probably be needed since the decoding of the file is done directly.
A Former User last edited by
Good point about the drawing – that hadn't occurred to me.