forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Sound Detection - Microphone

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
H5N1Strain
Newbie


Joined: 28 Apr 2010
Posts: 17

PostPosted: Sun May 23, 2010 8:50 am    Post subject: Sound Detection - Microphone Reply with quote

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
View user's profile Send private message
H5N1Strain
Newbie


Joined: 28 Apr 2010
Posts: 17

PostPosted: Sun May 23, 2010 9:42 am    Post subject: Custom DLL Reply with quote

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
View user's profile Send private message
Hooligan
VDS Developer
VDS Developer


Joined: 28 Oct 2003
Posts: 480
Location: California

PostPosted: Sun May 23, 2010 1:42 pm    Post subject: Reply with quote

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
View user's profile Send private message
PGWARE
Web Host


Joined: 29 Dec 2001
Posts: 1565

PostPosted: Sun May 23, 2010 10:47 pm    Post subject: Reply with quote

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
View user's profile Send private message
H5N1Strain
Newbie


Joined: 28 Apr 2010
Posts: 17

PostPosted: Mon May 24, 2010 3:15 am    Post subject: Reply with quote

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? Razz

Many Thanks For Your Help!

Googie.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group