Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

[VB6] Loudness of the microphone input signal.

  1. Jun 11, 2009 #1
    I am trying to create a program that would register it in a variable,
    when loudness of the microphone input signal exceeds some level for some amount of time.

    IS there a VB6 command that can allow me to measure the loudness of the input sound signal?

    Not on the sound card input. I have a USB microphone.
  2. jcsd
  3. Jun 11, 2009 #2
    Look at the WaveIn API
  4. Jun 12, 2009 #3

    I don't know what WaveIn API is and how to use it.

    Every foreign function in VB has to be declared in it's own bizzare way.
    The only way to make program work is to copy-and-paste that function with it's unique declaration.

  5. Jun 13, 2009 #4
    What is WaveIn API?

    is there ane example of the code?
    Last edited: Jun 13, 2009
  6. Jun 16, 2009 #5
  7. Jun 16, 2009 #6

    All the proposed code doesn't work in VB6.

    Visual Basic 6 does not use any of the commands, proposed in this code.
    It doesn't require memory allocation.

    This is why microsoft doesn't support it anymore. It was simple and anybody could program it.

    I use it to solve complex mathematical problems.
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook