2 Replies Latest reply: Oct 12, 2010 7:28 PM by 793415 RSS

    Real-time mic level

    804220
      Hi,

      Not sure if this is the right subforum.

      I'm trying to access the level of the mic through Java.
      I don't need to record anything, I just want to know a relative scale of sound level.

      Is this possible in real-time?
        • 1. Re: Real-time mic level
          captfoss
          timvdalen wrote:
          I'm trying to access the level of the mic through Java.
          I don't need to record anything, I just want to know a relative scale of sound level.
          http://www.jsresources.org/examples/SimpleAudioRecorder.html

          Looking at that code, you can rip out the recording part and just use the targetDataLine to determine the level by doing targetDataLine.getLevel
          • 2. Re: Real-time mic level
            793415
            http://stackoverflow.com/questions/3899585/microphone-level-in-java

            Did you not like the answers offered at StackOverflow? Where else have you dumped your question?