Is there a way to detect a sound above a certain volume playing through a device and react to it with a...

Developers demotivated due to working on same project for more than 2 years

God-Pharaoh's Statue and Finale Of Promise

Assembly writer vs compiler

What do the "optional" resistor and capacitor do in this circuit?

Holding rent money for my friend which amounts to over $10k?

With today's technology, could iron be smelted at La Rinconada?

UUID type for NEWID()

Which creature is depicted in this Xanathar's Guide illustration of a war mage?

Why is the Advance Variation considered strong vs the Caro-Kann but not vs the Scandinavian?

How to not get blinded by an attack at dawn

Why doesn't Iron Man's action affect this person in Endgame?

Do people who work at research institutes consider themselves "academics"?

Can anyone give me examples of the relative-determinative 'which'?

Using chord iii in a chord progression (major key)

c++ conditional uni-directional iterator

Can I say: "When was your train leaving?" if the train leaves in the future?

What dog breeds survive the apocalypse for generations?

What is this weird d12 for?

Is the seat-belt sign activation when a pilot goes to the lavatory standard procedure?

Were any toxic metals used in the International Space Station?

Single word that parallels "Recent" when discussing the near future

Is random forest for regression a 'true' regression?

Would life always name the light from their sun "white"

Was the dragon prowess intentionally downplayed in S08E04?



Is there a way to detect a sound above a certain volume playing through a device and react to it with a command?


Is there a way to call a command with a set time limit and kill it when that time passes?Extremely loud crack and mangled sound over S/PDIF using ALSASound over Dockingstation in KDEGTK gtkdialog window to make a link8 independants mono channel on 7.1 sound card, but possibility to play sound on 8 channels simultaneouslyIs it possible to play audio from two X servers in two TTYs simultaneously?Delayed audio driver in Debian 8 for several minutesProgrammatically change the playback speed (NOT pitch) in real-timeWhy can't I find anything on this command on the net? `statftime`How do I get snd-usb-audio to detach from a device?






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







0















I'm doing some scripting for automating a game and I need to click the mouse button and run some bash code every time a loud sound is played in the game. Is this possible with bash?



(Pop OS 19.04)










share|improve this question







New contributor



user353032 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.


























    0















    I'm doing some scripting for automating a game and I need to click the mouse button and run some bash code every time a loud sound is played in the game. Is this possible with bash?



    (Pop OS 19.04)










    share|improve this question







    New contributor



    user353032 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.






















      0












      0








      0








      I'm doing some scripting for automating a game and I need to click the mouse button and run some bash code every time a loud sound is played in the game. Is this possible with bash?



      (Pop OS 19.04)










      share|improve this question







      New contributor



      user353032 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      I'm doing some scripting for automating a game and I need to click the mouse button and run some bash code every time a loud sound is played in the game. Is this possible with bash?



      (Pop OS 19.04)







      shell-script audio






      share|improve this question







      New contributor



      user353032 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.










      share|improve this question







      New contributor



      user353032 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.








      share|improve this question




      share|improve this question






      New contributor



      user353032 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.








      asked 1 hour ago









      user353032user353032

      1




      1




      New contributor



      user353032 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.




      New contributor




      user353032 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.
























          0






          active

          oldest

          votes












          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "106"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });






          user353032 is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f518978%2fis-there-a-way-to-detect-a-sound-above-a-certain-volume-playing-through-a-device%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          user353032 is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          user353032 is a new contributor. Be nice, and check out our Code of Conduct.













          user353032 is a new contributor. Be nice, and check out our Code of Conduct.












          user353032 is a new contributor. Be nice, and check out our Code of Conduct.
















          Thanks for contributing an answer to Unix & Linux Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f518978%2fis-there-a-way-to-detect-a-sound-above-a-certain-volume-playing-through-a-device%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Taj Mahal Inhaltsverzeichnis Aufbau | Geschichte | 350-Jahr-Feier | Heutige Bedeutung | Siehe auch |...

          Baia Sprie Cuprins Etimologie | Istorie | Demografie | Politică și administrație | Arii naturale...

          Nicolae Petrescu-Găină Cuprins Biografie | Opera | In memoriam | Varia | Controverse, incertitudini...