问题
I want to create a qt application similar to Audacity that can run on mobile. Al that I want at the moment is the ability to change volume levels, pitch and tempo. I also want the ability to select, copy and paste parts of the audio file.
Do any of you know a API, SDK or something for Qt that would allow this?
All built in stuff I could find in Qt is QtMultimedia which allows me to import a audio file and then play it but it doesn't seem to have editing(except for bitrate, channel, etc.) or manipulation.
This is for Symbian, and can be built on windows or kubuntu.
回答1:
Use one of the audio backends:
Audio plugins Audio backends implement QAudioInput, QAudioOutput, QAudioDeviceInfo and QSoundEffect Here is the list of the current audio backends: Windows Multimedia CoreAudio (Mac OS / iOS) PulseAudio (Unix) Alsa (Unix) OpenSL ES (Android) QNX Only PulseAudio, CoreAudio, and QNX backends are actual plugins. The other backends are “#ifdef’ed” in the related classes.
References
Qt 5.4 Multimedia Backends
Qt 5.5.0 Multimedia Backends
来源:https://stackoverflow.com/questions/12434485/qt-audio-editing