LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-05-2009, 08:20 PM   #1
Malachite
LQ Newbie
 
Registered: Apr 2008
Posts: 6

Rep: Reputation: 0
Seeking sound recording/analyzing package


Greetings all. I have been going over all the apps located at linux-sound.org but I am having trouble determining if any actually match what I need to do. So before I just experiement I figured I would see if anyone here has tried any of these. Here is what I am trying to do:

I am looking for an application that basically starts out as a simple sound recorder capable of recording for extended periods of time in a lower quality.

Where it gets tricky is I am wanting to grab sections of the audio and then do "similar" pattern matching so that I can then program the app to only record to disk when those similar sound patterns are detected.

An example would be recording the sound of a lawnmower and having it start recording anytime it detects sound patterns that are similar to the lawnmower previously recorded.

I am trying to catalog the number of hours per day certain sound patterns are heard and the only other option would be to fully listen to the data.

Thanks for any advice about which apps may be best to try out.
 
Old 05-05-2009, 08:36 PM   #2
thelordmule
LQ Newbie
 
Registered: Jul 2006
Location: Australia
Distribution: Mac OSX 10.6, Ubuntu 10.10
Posts: 23

Rep: Reputation: 0
Quote:
Originally Posted by Malachite View Post

I am looking for an application that basically starts out as a simple sound recorder capable of recording for extended periods of time in a lower quality.

Where it gets tricky is I am wanting to grab sections of the audio and then do "similar" pattern matching so that I can then program the app to only record to disk when those similar sound patterns are detected.

An example would be recording the sound of a lawnmower and having it start recording anytime it detects sound patterns that are similar to the lawnmower previously recorded.

I am trying to catalog the number of hours per day certain sound patterns are heard and the only other option would be to fully listen to the data.

Thanks for any advice about which apps may be best to try out.
Sounds quite interesting. But is specific and it is a little complicated. I dont know of any software, but I can tell you that to solve this problem you'll need to:

* provide a sample of the sound you want to detect
* create a representation of that sound
* in realtime, sound signal needs to be converted to the representation and a similarity match should be performed
* then record
* stop when the sound stops? or wait until the detection of the sound goes below a threshold.

The best thing to look into is Fast Fourier Transforms (FFT) for representing the sound sample (X) . For the similarity match you need to obviously generate the FFT for live sound (Y), but as it is a continuous data source when do you start sampling to generate the FFT (Y)? This is the tricky part.

The similarity measure can be of the FFT parameters (normalised), downsampling both signals in the FFT space can offer greater probability of matching but can confuse lawnmower for passing car for example.

FFT is only one approach to solving this problem, and I should let you know that I am not a pro sound guy, so there could be a better solution out there.


I wish I knew of an app for this problem, I would like to know if you find one
 
Old 05-05-2009, 08:36 PM   #3
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
I have absolutely no idea of such software is currently available (at least for Linux, anyway), but I am interested to find out now.

Recording is no problem, but matching sound waves would be a neat trick. I could think of a few uses for something like that.
 
  


Reply

Tags
analyzer, compare, record, sound



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Microphone Working, Sound playing back, Sound Not Recording (Gentoo 2.6.29) kingzog Linux - Software 3 04-23-2009 09:09 PM
Recording inner sound QueenZ Linux - Newbie 2 03-16-2009 12:18 PM
Does SUSE linux have a bundled package of music/recording apps? bgryderclock SUSE / openSUSE 2 06-17-2006 01:50 PM
Sound Recording robhargreaves Linux - Software 1 05-21-2004 06:01 PM
no sound after recording something ludama Linux - Newbie 0 04-29-2002 02:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration