[VB6] Loudness of the microphone input signal.

  • Thread starter Thread starter cavemen
  • Start date Start date
  • Tags Tags
    Input Signal
AI Thread Summary
The discussion centers on creating a program in VB6 to register when the loudness of a USB microphone input exceeds a certain threshold for a specified duration. Participants suggest using the WaveIn API for this purpose, but there is confusion regarding its implementation in VB6. Users express difficulty in understanding how to utilize the WaveIn API and highlight that VB6 requires unique declarations for foreign functions, complicating the coding process. Despite attempts to share code examples, participants note that the proposed solutions do not work in VB6, leading to frustration over the limitations of the language and its lack of support from Microsoft. The conversation reflects a broader sentiment about the challenges of using VB6 for modern audio processing tasks.
cavemen
Messages
42
Reaction score
0
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.
 
Technology news on Phys.org
http://msdn.microsoft.com/en-us/library/aa446573.aspx
?

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 bizarre way.
The only way to make program work is to copy-and-paste that function with it's unique declaration.

Thanks.
 
What is WaveIn API?

is there ane example of the code?
 
Last edited:
Thanks.

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.
 
Thread 'Is this public key encryption?'
I've tried to intuit public key encryption but never quite managed. But this seems to wrap it up in a bow. This seems to be a very elegant way of transmitting a message publicly that only the sender and receiver can decipher. Is this how PKE works? No, it cant be. In the above case, the requester knows the target's "secret" key - because they have his ID, and therefore knows his birthdate.
Back
Top