Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    Set volume and frequency of a sound qith Qsound

    General and Desktop
    2
    3
    2535
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • V
      vale_shine last edited by

      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)

      1 Reply Last reply Reply Quote 0
      • SGaist
        SGaist Lifetime Qt Champion last edited by

        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

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply Reply Quote 0
        • V
          vale_shine last edited by

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

          1 Reply Last reply Reply Quote 0
          • First post
            Last post