Set volume and frequency of a sound qith Qsound



  • Hey guys,
    I'm a beginner of this kind of programming language and I'm trying to create a program that plays a sound and sets the volume and the frequency of that sound in pyqt.
    I'm able to play the sound with class Qsound but I couldn't find some function to set the volume or the frequency of the sound.
    could anyone help me??
    thanks in advance you your help (and sorry for my english)


  • Lifetime Qt Champion

    Hi and welcome to DevNet,

    QSound has only the minimum function to play sound. If you want more control, you should have a look at Phonon/QtMultimedia.

    Hope it helps



  • Thank you very much for you answer.
    I'll try but phonon seems a little complicated to use for a beginner as me eheh


Log in to reply
 

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