Microphone volume testing

Finding the volume of the microphone

Page 1 of 1

6 Replies - 13308 Views - Last Post: 20 February 2008 - 08:19 AM Rate Topic: -----

#1 is0lated  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 03-October 06

Microphone volume testing

Posted 03 October 2006 - 04:48 AM

I'm sorry if I have done something wrong but I have been wondering about this for a while.

A while ago I was turning the volume of my TV up and down as my neighbour mowed his lawn beside my window, I though to myself "I should make a program that changes the volume according to the amount of background noise".

Lately I have been trying to find out if this is possible, but have found nothing.

If someone could show me some code on how to:

A ) check the mic volume
and
B ) change the audio volume

Thanks a heap.

:ph34r:

This post has been edited by is0lated: 03 October 2006 - 04:49 AM


Is This A Good Question/Topic? 0
  • +

Replies To: Microphone volume testing

#2 Xing  Icon User is offline

  • D.I.C Addict
  • member icon

Reputation: 19
  • View blog
  • Posts: 725
  • Joined: 22-July 06

Re: Microphone volume testing

Posted 03 October 2006 - 06:54 AM

You will need some kind of sensors which will detect external noise. Input of the sensors will go to some microcontroller which can further control the sound levels of your system. But for this you need both programming as well as electronics knowledge. Knowledge of assembly will also be of help.
Was This Post Helpful? 0
  • +
  • -

#3 dorknexus  Icon User is offline

  • or something bad...real bad.
  • member icon

Reputation: 1255
  • View blog
  • Posts: 4,618
  • Joined: 02-May 04

Re: Microphone volume testing

Posted 03 October 2006 - 09:59 AM

Quote

You will need some kind of sensors which will detect external noise.


like a microphone?
Was This Post Helpful? 0
  • +
  • -

#4 is0lated  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 03-October 06

Re: Microphone volume testing

Posted 03 October 2006 - 07:33 PM

:blink:
oooookay, now thats going to be complicated.

I know basic C++, but assembly jesus!!

I've seen a bit of that, from the looks of things it's very complicated. Well, no point putting it off if I want to get this done. Kind of ironic, I don't want to have to keep changing the volume, thus becoming lazy, and to do so I'm going to have to learn a new language.

Onwards!!!



Uh, wait where am I going???

Thanks anyway,
just don't wait up for this to be finished.

:ph34r:

EDIT:
Is there anyway to start the microphone and record the data to a file??

Thanks.

This post has been edited by is0lated: 03 October 2006 - 07:38 PM

Was This Post Helpful? 0
  • +
  • -

#5 Jayman  Icon User is offline

  • Student of Life
  • member icon

Reputation: 418
  • View blog
  • Posts: 9,532
  • Joined: 26-December 05

Re: Microphone volume testing

Posted 03 October 2006 - 08:11 PM

View PostDark_Nexus, on 3 Oct, 2006 - 09:59 AM, said:

Quote

You will need some kind of sensors which will detect external noise.


like a microphone?

ROFL. I am glad you took that one, cause I would have had to do it. And I'm not sure I could have typed it in I was laughing so hard. :)
Was This Post Helpful? 0
  • +
  • -

#6 born2c0de  Icon User is offline

  • printf("I'm a %XR",195936478);
  • member icon

Reputation: 180
  • View blog
  • Posts: 4,667
  • Joined: 26-November 04

Re: Microphone volume testing

Posted 04 October 2006 - 07:05 AM

View Postjayman9, on 4 Oct, 2006 - 08:41 AM, said:

View PostDark_Nexus, on 3 Oct, 2006 - 09:59 AM, said:

Quote

You will need some kind of sensors which will detect external noise.


like a microphone?

ROFL. I am glad you took that one, cause I would have had to do it. And I'm not sure I could have typed it in I was laughing so hard. :)

u bet...lol...just three words take care of everything...lol...
Was This Post Helpful? 0
  • +
  • -

#7 davegeek  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 5
  • View blog
  • Posts: 81
  • Joined: 30-January 08

Re: Microphone volume testing

Posted 20 February 2008 - 08:19 AM

View Postis0lated, on 3 Oct, 2006 - 12:48 PM, said:

I'm sorry if I have done something wrong but I have been wondering about this for a while.

A while ago I was turning the volume of my TV up and down as my neighbour mowed his lawn beside my window, I though to myself "I should make a program that changes the volume according to the amount of background noise".

Lately I have been trying to find out if this is possible, but have found nothing.

If someone could show me some code on how to:

A ) check the mic volume
and
B ) change the audio volume

Thanks a heap.

:ph34r:



Man I really don't get what u wanna do.
If u wanna measure noise level, use some noise detectors:
Noise Detector

If u wanna develop some drivers for the circuit board like this one:
Circuit Board
then u'd really need some coding.

If u need to check what the noise level is and then automatically adjust the volume level, u need to use some script like the one offered by AutoIt.
I am a tester, so from my own point of view, u might wanna go for tools like TestComplete or QuickTestPro to develop capture-playback tests. To identify the noise level, dig deeply into the object recognition features, if the level changes more than some pre-defined one=>increase volume, etc.

This post has been edited by davegeek: 20 February 2008 - 08:21 AM

Was This Post Helpful? 0
  • +
  • -

Page 1 of 1