Qt audio editing

隐身守侯 提交于 2020-01-02 17:55:10

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!