Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to Beep with the hummer in Windows computer
Forum Updated to NodeBB v4.3 + New Features

How to Beep with the hummer in Windows computer

Scheduled Pinned Locked Moved General and Desktop
6 Posts 2 Posters 2.5k Views 2 Watching
  • 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.
  • L Offline
    L Offline
    lib0855
    wrote on last edited by
    #1

    i need the mother board beep as i donot have a audio device. i know the QApplication:beep() function, but it donot work. who can help me?

    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by mrjj
      #2

      @lib0855 said:

      QApplication:beep()

      Hi and welcome

      What OS are you using ?

      Beep is not always supported and often beep will play on your connected speakers instead of the internal one.
      https://msdn.microsoft.com/en-us/library/windows/desktop/ms679277(v=vs.85).aspx
      http://blogs.msdn.com/b/larryosterman/archive/2010/01/04/what-s-up-with-the-beep-driver-in-windows-7.aspx

      So are you sure your MB even have an internal speaker ?

      L 2 Replies Last reply
      1
      • mrjjM mrjj

        @lib0855 said:

        QApplication:beep()

        Hi and welcome

        What OS are you using ?

        Beep is not always supported and often beep will play on your connected speakers instead of the internal one.
        https://msdn.microsoft.com/en-us/library/windows/desktop/ms679277(v=vs.85).aspx
        http://blogs.msdn.com/b/larryosterman/archive/2010/01/04/what-s-up-with-the-beep-driver-in-windows-7.aspx

        So are you sure your MB even have an internal speaker ?

        L Offline
        L Offline
        lib0855
        wrote on last edited by
        #3

        @mrjj the MB speaker works well, and the OS is windows xp 32-bit. i learn the reason the MB speaker not work. thanks

        1 Reply Last reply
        0
        • mrjjM mrjj

          @lib0855 said:

          QApplication:beep()

          Hi and welcome

          What OS are you using ?

          Beep is not always supported and often beep will play on your connected speakers instead of the internal one.
          https://msdn.microsoft.com/en-us/library/windows/desktop/ms679277(v=vs.85).aspx
          http://blogs.msdn.com/b/larryosterman/archive/2010/01/04/what-s-up-with-the-beep-driver-in-windows-7.aspx

          So are you sure your MB even have an internal speaker ?

          L Offline
          L Offline
          lib0855
          wrote on last edited by
          #4

          @mrjj i tried the Beep(DWORD, DWORD) in the OS windows 7, but havenot tried in my windows xp computer. So much thanks!

          1 Reply Last reply
          0
          • mrjjM Offline
            mrjjM Offline
            mrjj
            Lifetime Qt Champion
            wrote on last edited by
            #5

            Ok, Good luck with your beeping :)

            As a side note, if you some day really need sound, one can get a usb sound card
            for very little money.
            Like
            http://www.amazon.com/Plugable-Headphone-Microphone-Aluminum-Compatibility/dp/B00NMXY2MO/ref=pd_sim_23_4?ie=UTF8&refRID=1ESBC0SA8R1V717G8NRC

            L 1 Reply Last reply
            0
            • mrjjM mrjj

              Ok, Good luck with your beeping :)

              As a side note, if you some day really need sound, one can get a usb sound card
              for very little money.
              Like
              http://www.amazon.com/Plugable-Headphone-Microphone-Aluminum-Compatibility/dp/B00NMXY2MO/ref=pd_sim_23_4?ie=UTF8&refRID=1ESBC0SA8R1V717G8NRC

              L Offline
              L Offline
              lib0855
              wrote on last edited by
              #6

              @mrjj Got it. Thanks!

              1 Reply Last reply
              0

              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved