[VB6] Loudness of the microphone input signal.

  • Thread starter Thread starter cavemen
  • Start date Start date
  • Tags Tags
    Input Signal
Click For Summary

Discussion Overview

The discussion revolves around measuring the loudness of a microphone input signal in a Visual Basic 6 (VB6) program, specifically focusing on the use of a USB microphone. Participants explore potential methods and APIs to achieve this functionality.

Discussion Character

  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant seeks a VB6 command to measure the loudness of a USB microphone input signal when it exceeds a certain level for a specified duration.
  • Another participant suggests looking into the WaveIn API as a potential solution.
  • A participant expresses confusion about the WaveIn API and its usage, noting that foreign functions in VB require unique declarations.
  • Another participant provides a link to a resource that may contain relevant information about the WaveIn API.
  • One participant claims that the proposed code examples do not work in VB6 and criticizes the complexity of using such commands, stating that VB6 does not require memory allocation.
  • A participant mentions using VB6 to solve complex mathematical problems, implying a preference for its simplicity.

Areas of Agreement / Disagreement

Participants do not appear to reach a consensus on the effectiveness of the proposed solutions, with some expressing frustration over the compatibility of the suggested methods with VB6.

Contextual Notes

There are limitations regarding the understanding of the WaveIn API and its implementation in VB6, as well as the specific requirements for measuring loudness in the context of USB microphones.

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.
 

Similar threads

Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 9 ·
Replies
9
Views
4K
Replies
3
Views
3K
  • · Replies 17 ·
Replies
17
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 2 ·
Replies
2
Views
18K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K