LinuxLinks.com
Newbies What Next ? News Forums Calendar

Search/Browse

 Category Gateway
More Options
Category:

LinuxLinks News
 · 3 Best Free Clojure Books
 · Audio Programming with Open Source Languages
 · Make Music with these Sublime Open Source Tools
 · Save Time and Effort with these Excellent Batch Image Processors
 · Responsive Design and Fluid Grids with these Lightweight Frameworks
 · Backup with these DeDuplicating Encryption Tools
 · Screen Capture Made Easy with these Dedicated Tools
 · Linux Humor on the Command-line
 · Replace SourceForge with these Better Alternatives
 · Synergy - Keyboard and mouse sharing utility that lives up to its name
(more...)
 

LinuxLinks Login

Login:

Password:



Click here
to start your own
Link collection!



My LinuxLinks
 My LinuxLinksMyLinks  FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Sound Detection Software

 
Post new topic   Reply to topic    LinuxLinks.com Forum Index -> Software
View previous topic :: View next topic  
Author Message
sgorneau
Registered


Joined: 18 Mar 2007
Posts: 5

PostPosted: Sun Mar 18, 2007 1:05 pm    Post subject: Sound Detection Software Reply with quote

Does anyone know of any software that can detect sound and perform a user defined action if a threshold is exceeded? The only solution I have found is some Windows software called Audio Zone Trigger. It does exactly what I am looking for...but I really don't want to "have" to use Windows.

Maybe explaining why I am looking for this could help to find a Linux solution. I have a minor water problem in my basement. I purchased a water alarm that emits a loud sound when water is detected. That's great if I am home, but what if I am not? So, now (unfortunately with Windows) I use Audio Zone Trigger to detect the sound of the alarm by setting it's trigger threshold very high, Audio Zone Trigger will then call a .bat file which then runs a PHP script that sends a text message to my cell phone telling me there is water in the basement. It works really well, but I would just like to accomplish this without Windows. Thanks in advance.
Back to top
View user's profile Send private message

chaudhuri
Sergeant Penguin
Sergeant Penguin


Joined: 10 Jan 2005
Posts: 115
Location: New Delhi,India

PostPosted: Sun Mar 18, 2007 5:33 pm    Post subject: Reply with quote

Did u try running it using wine in linux?
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger
sgorneau
Registered


Joined: 18 Mar 2007
Posts: 5

PostPosted: Mon Mar 19, 2007 12:03 am    Post subject: Reply with quote

No, actually I haven't. You're right, I should give that a whirl. I was just hoping there was an out-of-the-box Linux solution, so to speak.
Back to top
View user's profile Send private message
chaudhuri
Sergeant Penguin
Sergeant Penguin


Joined: 10 Jan 2005
Posts: 115
Location: New Delhi,India

PostPosted: Mon Mar 19, 2007 8:57 am    Post subject: Reply with quote

Actually wat u speak of is a very rare scenario i doubt there are many software for windows even for this purpose but on the other hand some enterprise software may be available for this, i tried googling it but didn't find anythng. its very hard to coorectly find these kinda things usings using google unless u know wat to look for
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger
sgorneau
Registered


Joined: 18 Mar 2007
Posts: 5

PostPosted: Mon Mar 19, 2007 11:19 am    Post subject: Reply with quote

You're right, for Windows, there is only one solution (that I have found), Audio Zone Trigger. That is the only software I have found for any operating system. So, I guess I might be stuck with it.
Back to top
View user's profile Send private message
Ccool
Captain Penguin
Captain Penguin


Joined: 23 Aug 2002
Posts: 512
Location: Québec, Canada

PostPosted: Mon Mar 19, 2007 2:45 pm    Post subject: Reply with quote

I don't know how complicated you want the stuff to be, but maybe you could do a little something that listen to the mic device.

Maybe there is a linux program that exist which can listen to devices, but I never had to look for that kind of software :s

Anyway, I wish you luck
_________________
Ccool
Back to top
View user's profile Send private message Visit poster's website
sgorneau
Registered


Joined: 18 Mar 2007
Posts: 5

PostPosted: Mon Mar 19, 2007 3:17 pm    Post subject: Reply with quote

It doesn't have to be complicated at all. As a matter of fact, it should be very simple. All the software has to do is listen to the input coming in through the sound card's Mic input. If that sound exceeds a certain user-defined threshold, it triggers an action defined by the user. That action could be running a script, writing to a file, running an application, whatever.

From that point, I have already written and configured applications to handle the rest.
Back to top
View user's profile Send private message
chaudhuri
Sergeant Penguin
Sergeant Penguin


Joined: 10 Jan 2005
Posts: 115
Location: New Delhi,India

PostPosted: Mon Mar 19, 2007 4:33 pm    Post subject: Reply with quote

I think making a linux program may be easier than windows for this kinda work
If u have any programming knowledge that is.
May be it can even be done through a simple script
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger
sgorneau
Registered


Joined: 18 Mar 2007
Posts: 5

PostPosted: Mon Mar 19, 2007 4:45 pm    Post subject: Reply with quote

That is exactly what I am trying to accomplish. Right now, my only option is a Windows program...but I would much rather use a Linux application to handle the sound detection. All the development beyond that I have handled with a PHP script, so that would obviously fit right into a Linux solution. To break it down, this is exaclty what I am looking for:

A Linux application that
1. Can monitor sound input (mic or line-in)
2. Can recognize when the sound volume has exceeded
a user defined threshold
3. When that threshold is exceeded, trigger a PHP script
(most likely though a shell script)
Back to top
View user's profile Send private message
chaudhuri
Sergeant Penguin
Sergeant Penguin


Joined: 10 Jan 2005
Posts: 115
Location: New Delhi,India

PostPosted: Mon Mar 19, 2007 8:17 pm    Post subject: Reply with quote

Would need some good scripting and programming knowledge in linux
maybe not scripting that much much gud knowledge of linux programming
and some linux internals
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    LinuxLinks.com Forum Index -> Software 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


Powered by phpBB © 2002 phpBB Group
Built with GeekLog and phpBB
Comments to the webmaster are welcome
Copyright 2009 LinuxLinks.com - All rights reserved