2

I'm trying to make an application that'll react when a sharp and loud sound will be heard in my tablets microphone.

What I want to know is if it's possible to trigger such an event and is it possible to set some sort of threshold for the sound level of the input.

Thanks

TurnsCoffeeIntoScripts
  • 3,868
  • 8
  • 41
  • 46

1 Answers1

3

Check these links out:

But its just a matter of listening on the microphone then triggering your event when sound levels are high enough.

Bulat
  • 720
  • 7
  • 15
owen gerig
  • 6,165
  • 6
  • 52
  • 91
  • That satisfies the "loud" condition, but what about the "sharp"? nevero, are you looking to respond to a particular kind of sound, or just when it gets loud? – Bjorn Roche Jun 01 '12 at 16:26