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. Recognize windows sound
Forum Updated to NodeBB v4.3 + New Features

Recognize windows sound

Scheduled Pinned Locked Moved Unsolved General and Desktop
6 Posts 2 Posters 404 Views 1 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.
  • S Offline
    S Offline
    shokarta
    wrote on last edited by shokarta
    #1

    Hello,
    Im wondering if its possible that application will recognize a specific sound.
    Lets say I have sound "something.wav" and once any standard/nonstandard windows aplication will play this sound, it would be recognized by QT and will trigger something.

    PS: the note can be affected by an overloading sound....

    Scenario: I have a specific sound "something.wav" and will play a movie in VLC/mediaplayer/etc and if something in the movie sound similar to "something.wav" it would trigger...

    • scenario is just an example, the sound can come from any application
    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      You would need to tap into your OS audio system to spy on the various audio sources.

      That's something that is highly low level and OS specific. Might not be possible on all systems.

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

      S 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi,

        You would need to tap into your OS audio system to spy on the various audio sources.

        That's something that is highly low level and OS specific. Might not be possible on all systems.

        S Offline
        S Offline
        shokarta
        wrote on last edited by
        #3

        @SGaist said in Recognize windows sound:

        That's something that is highly low level

        what doesit mean? low level?

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Meaning that you won't have a ready made solution. You'll have to dig into your OS API to see if you can access the audio output of other application the way you want it.

          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
          0
          • S Offline
            S Offline
            shokarta
            wrote on last edited by
            #5

            lets say i will use some tool which will create virtual microphone device which will be listening to windows sounds... then I only need to compare the sounds to my *.wav file...
            Can I kindly ask you only point me out what to roughly do? then ill do the reserch myself to make it work...

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              You'll have to monitor the audio stream continuously until you get a sample that matches your reference closely enough.

              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
              0

              • Login

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