| View previous topic :: View next topic |
| Author |
Message |
H5N1Strain Newbie
Joined: 28 Apr 2010 Posts: 17
|
Posted: Sun May 23, 2010 8:50 am Post subject: Sound Detection - Microphone |
|
|
Hello Guys!
I cant seem to find a DLL that can detect sound levels, even the slightest sound (microphone). I plan on writing a small simple program (client/server) that when a computer detects a sound, it will alert another computer/s. I plan on buying an electronic doorbell and detatching the speaker wire and then wiring it to a 3.5mm audio jack and then plug it into a microphone jack on the computer. The simple software will alert me as to weather someone is at my door, if Im accross town or the other side of the world.... Any ideas guys?
Many Thanks,
Googie. |
|
| Back to top |
|
 |
H5N1Strain Newbie
Joined: 28 Apr 2010 Posts: 17
|
Posted: Sun May 23, 2010 9:42 am Post subject: Custom DLL |
|
|
Hello Guys...
I have read that there isnt too many DLL developers working with VDS lately. Also, creating DLLs is very time consuming and even if people pay for a DLL to be developed, it can be very pricey... If someone was to develop a DLL to detect even the most minimal sound input, I would pay a price (that isnt too expensive and out of my league). Thanks once again guys....
Googie. |
|
| Back to top |
|
 |
Hooligan VDS Developer


Joined: 28 Oct 2003 Posts: 480 Location: California
|
Posted: Sun May 23, 2010 1:42 pm Post subject: |
|
|
I can't say I've ever used it, but it seems to me that you may be able to do that using @mci()....
Hooligan _________________ Hooligan
Why be normal? |
|
| Back to top |
|
 |
PGWARE Web Host

Joined: 29 Dec 2001 Posts: 1565
|
Posted: Sun May 23, 2010 10:47 pm Post subject: |
|
|
Search for the vdsmix dll file on the main vdsworld.com site. It lets you monitor the volume level of any of the audio controls on the computer - main volume, recorder, etc.
I don't remember if it gets the actual current level being generated or just the level to play/record the volume level at; if not it likely could be rewritten to do that. You would just need to monitor the volume level of the recording device, once it fluctuates to a higher volume you know the door bell has been rung.
The source code is included so you could update it if the current version does not work right. It was awhile back that I wrote that extension so can't remember exactly how it works. |
|
| Back to top |
|
 |
H5N1Strain Newbie
Joined: 28 Apr 2010 Posts: 17
|
Posted: Mon May 24, 2010 3:15 am Post subject: |
|
|
Hello Guys!
Im really happy with your speedy reply! Firstly, I downloaded vdsmix.dll, I read the VDS 5 demo file that was included and I couldnt see how I could use the DLL to detect sound. Secondly, I read the help file to try and understand the @MCI() component. I have googled this subject and couldnt find any commands that relate to microphone recording levels using MCI. I am sure there is a way to detect levels with the help that you guys have provided in your replys. I would be forever greatful if someone could provide me with the most simplest of code that can detect sound? Please?
Many Thanks For Your Help!
Googie. |
|
| Back to top |
|
 |
|