Qt World Summit: Submit your Presentation

I'm trying to change the pitch of a song using QAudioDecoder and STK library

  • Okay so I imported the song using Qt and I decoded it but now I want to use the STK library to change the pitch and output the modified song using QAudioOutput. I looked into the STK library and there's the PitShift class which I don't really understand its documentation. Can you help me in using the decoded song with this library? Here's my Qt code so far:

    void MainWindow::on_horizontalSlider_sliderMoved(int position)
            QAudioDecoder* song = new QAudioDecoder();

    I need to set the pitch to the int position position
    Please I'm completely new this, I really appreciate anything to help me.

  • Lifetime Qt Champion


    Any reason of not using STK's FileWvIn ?

Log in to reply