How can I locate specific sounds in a recording? (RESOLVED)
Forum rules
This forum is for Audacity on Windows.
Please state which version of Windows you are using,
and the exact three-section version number of Audacity from "Help menu > About Audacity".
Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade at https://www.audacityteam.org/download/.
The old forums for those versions are now closed, but you can still read the archives of the 1.2.x and 1.3.x forums.
Please state which version of Windows you are using,
and the exact three-section version number of Audacity from "Help menu > About Audacity".
Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade at https://www.audacityteam.org/download/.
The old forums for those versions are now closed, but you can still read the archives of the 1.2.x and 1.3.x forums.
How can I locate specific sounds in a recording? (RESOLVED)
Hello everyone,
I’m using Audacity to record the nuisance barking of a dog. I set up the programme using timer record to start up early in the morning and allow it to run for several hours so I get quite a long recording. I can then later search through this recording looking for the barking episodes but it can take a very long time to do.
I’ve been struggling for quite a long time now to find some way of automating this procedure using Sound Finder but I’m not really getting anywhere with it can anyone suggest how I can do this please.
When this dog barks each barking event, which may last several seconds or minutes, consists of several individual barks, say 11 in 5 seconds, and I don’t want to identify each single bark just the group.
I’ve attached a very brief .wav file as an illustration of just one event and any help or tips anyone can give will be very much appreciated.
My setup
Audacity version 2.0.5 obtained using the .exe installer
Operating System. Windows XP Build 2600.xpsp_sp3_gdr.12054-1619: Service Pack 3
PC. Compaq Presario (R) 4CPU 3/06GHz. 3.07GHz. 1.00GB Ram 32 bit.
Sound card. Using the built in one
Microphone. Freestanding inexpensive USB one bought from China through the Internet.
Kind regards,
Oliver
I’m using Audacity to record the nuisance barking of a dog. I set up the programme using timer record to start up early in the morning and allow it to run for several hours so I get quite a long recording. I can then later search through this recording looking for the barking episodes but it can take a very long time to do.
I’ve been struggling for quite a long time now to find some way of automating this procedure using Sound Finder but I’m not really getting anywhere with it can anyone suggest how I can do this please.
When this dog barks each barking event, which may last several seconds or minutes, consists of several individual barks, say 11 in 5 seconds, and I don’t want to identify each single bark just the group.
I’ve attached a very brief .wav file as an illustration of just one event and any help or tips anyone can give will be very much appreciated.
My setup
Audacity version 2.0.5 obtained using the .exe installer
Operating System. Windows XP Build 2600.xpsp_sp3_gdr.12054-1619: Service Pack 3
PC. Compaq Presario (R) 4CPU 3/06GHz. 3.07GHz. 1.00GB Ram 32 bit.
Sound card. Using the built in one
Microphone. Freestanding inexpensive USB one bought from China through the Internet.
Kind regards,
Oliver
Re: How can I locate specific sounds in a recording?
What's the problem that you are having with sound finder?OliverWB wrote:I’ve been struggling for quite a long time now to find some way of automating this procedure using Sound Finder but I’m not really getting anywhere with it
We've not got that.OliverWB wrote:I’ve attached a very brief .wav file as an illustration
See here for how to post audio samples: http://forum.audacityteam.org/viewtopic ... 49&t=72887
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)
Re: How can I locate specific sounds in a recording?
Hello Steve,
Many thanks for your reply its appreciated.
I cannot set the parameters in Sound Finder so that it selects and labels just the barking groups. I sometimes get literally hundreds of selections far too many to Tab through and often times I get selections made where there is no barking at all.
For some reason I cannot get the sample .wav file to upload Steve I've tried adding it to my reply here using both Google Chrome and Internet Explorer. I'm fairly used to the upload procedure and can't understand what's going wrong. I type my reply then select the file for uploading and it shows that it is uploading but as soon as it reaches 100% I'm switched immediately to a new blank reply page with only the Subject line filled in, nothing else. Tried all this with my Firewalls switched on and off same problem every time. If it is uploading I've no idea where it's going to!
Not my morning this is it!
Kind regards,
Oliver
Many thanks for your reply its appreciated.
I cannot set the parameters in Sound Finder so that it selects and labels just the barking groups. I sometimes get literally hundreds of selections far too many to Tab through and often times I get selections made where there is no barking at all.
For some reason I cannot get the sample .wav file to upload Steve I've tried adding it to my reply here using both Google Chrome and Internet Explorer. I'm fairly used to the upload procedure and can't understand what's going wrong. I type my reply then select the file for uploading and it shows that it is uploading but as soon as it reaches 100% I'm switched immediately to a new blank reply page with only the Subject line filled in, nothing else. Tried all this with my Firewalls switched on and off same problem every time. If it is uploading I've no idea where it's going to!
Not my morning this is it!
Kind regards,
Oliver
Re: How can I locate specific sounds in a recording?
Well it hasn't uploaded. I'd guess that it is some other security/privacy setting that is preventing the page from reloading properly. For the sake of progressing your enquiry I'd suggest that we bypass this for now. Try uploading your file somewhere else - I usually use sendspace.com as it allows up to 300 MB files without the need to register or log-in. The downside of sendspace is that they sometimes have sneaky adverts/installers, so be careful what you click on, and/or use an "ad-blocker".OliverWB wrote:For some reason I cannot get the sample .wav file to upload Steve I've tried adding it to my reply here using both Google Chrome and Internet Explorer. I'm fairly used to the upload procedure and can't understand what's going wrong. I type my reply then select the file for uploading and it shows that it is uploading but as soon as it reaches 100% I'm switched immediately to a new blank reply page with only the Subject line filled in, nothing else. Tried all this with my Firewalls switched on and off same problem every time. If it is uploading I've no idea where it's going to!
If you could send a couple of samples, one with the noise that you want to detect, and one with background sound that you want to ignore, I'll try and help you find good settings (if it is possible for silence finder).
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)
Re: How can I locate specific sounds in a recording?
Hello Steve,
I've posted two files to sendspace.com the urls for the download link are :-
http://www.sendspace.com/file/bnhm0w
http://www.sendspace.com/file/zu8vu4
If these are not as you would like them please say and I'll upload others. Any help you can give me on this will be very much appreciated.
Kind regards,
Oliver
I've posted two files to sendspace.com the urls for the download link are :-
http://www.sendspace.com/file/bnhm0w
http://www.sendspace.com/file/zu8vu4
If these are not as you would like them please say and I'll upload others. Any help you can give me on this will be very much appreciated.
Kind regards,
Oliver
Re: How can I locate specific sounds in a recording?
Sorry about the delay replying.
The difficulty in detecting the dog barks is that it is much quieter than much of the other background noise (though I presume it is more irritating for you than the other background noise). This fact will considerably weaken your case if you are wanting to take action against the dog owner, but that's not your question, so on to the task in hand.
You can filter out most of the noise that is not the dog bark by pasting this code into the "Nyquist Prompt" effect (Effect menu) and applying to the audio track:
Note that this will not be very quick, so you may want to try it out on a short selection first.
The result will be very low level, so next you will need to boost it using the "Normalize" effect. Set "Normalize maximum amplitude" to -1 dB.
Then use "Sound Finder" with the following settings:
Treat audio below this level as silence [ -dB]: 15
Minimum duration of silence between sounds [seconds]: 5.0
Label starting point [seconds before sound starts]: 0.0
Label ending point [seconds after sound ends]: 0.0
Add a label at the end of the track? [No=0, Yes=1]: 0
Again this will be quite slow.
To verify that the labels are dog barks and not other sounds, click in a label to select it and press ENTER to move out of text edit, then press spacebar to play.
Tab, then Enter to move to the next label.
Note also that the filtered and amplified recording is not acceptable as "evidence" in any legal sense because the evidence has been tampered with.
The difficulty in detecting the dog barks is that it is much quieter than much of the other background noise (though I presume it is more irritating for you than the other background noise). This fact will considerably weaken your case if you are wanting to take action against the dog owner, but that's not your question, so on to the task in hand.
You can filter out most of the noise that is not the dog bark by pasting this code into the "Nyquist Prompt" effect (Effect menu) and applying to the audio track:
Code: Select all
(highpass8 (lowpass8 s 800) 600)The result will be very low level, so next you will need to boost it using the "Normalize" effect. Set "Normalize maximum amplitude" to -1 dB.
Then use "Sound Finder" with the following settings:
Treat audio below this level as silence [ -dB]: 15
Minimum duration of silence between sounds [seconds]: 5.0
Label starting point [seconds before sound starts]: 0.0
Label ending point [seconds after sound ends]: 0.0
Add a label at the end of the track? [No=0, Yes=1]: 0
Again this will be quite slow.
To verify that the labels are dog barks and not other sounds, click in a label to select it and press ENTER to move out of text edit, then press spacebar to play.
Tab, then Enter to move to the next label.
Note also that the filtered and amplified recording is not acceptable as "evidence" in any legal sense because the evidence has been tampered with.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)
Re: How can I locate specific sounds in a recording?
Hello again Steve,
Many many thanks for your reply it works wonderfully well. I carried out an "analysis" of a 10 hour recording I made the other day and the procedure took just over one hour which would have taken me two or three hours to do manually.
The result was that all the barking episodes were selected and labelled and of course there were a number, but not a lot, of other noises that were picked up but that presents no problem at all. I think I grasp the various parameters in this process you've set out and I can twiddle them at leisure to see if it improves the result.
Incidentally this process of evidence gathering I'm going through has nothing at all to do with any sort of legal situation and I'd be happy to explain if there's some way I can private message you, you'll understand I wouldn't want to say more in a public forum. Please rest assured there are no dark underhand or devious motives at work here.
One again many thanks for your help in this it really is most appreciated.
Kind regards,
Oliver
Many many thanks for your reply it works wonderfully well. I carried out an "analysis" of a 10 hour recording I made the other day and the procedure took just over one hour which would have taken me two or three hours to do manually.
The result was that all the barking episodes were selected and labelled and of course there were a number, but not a lot, of other noises that were picked up but that presents no problem at all. I think I grasp the various parameters in this process you've set out and I can twiddle them at leisure to see if it improves the result.
Incidentally this process of evidence gathering I'm going through has nothing at all to do with any sort of legal situation and I'd be happy to explain if there's some way I can private message you, you'll understand I wouldn't want to say more in a public forum. Please rest assured there are no dark underhand or devious motives at work here.
One again many thanks for your help in this it really is most appreciated.
Kind regards,
Oliver
Re: How can I locate specific sounds in a recording?
You're welcome.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)
Re: How can I locate specific sounds in a recording?
Steve I'd like to make a small donation to support Audacity how do I do that?
Re: How can I locate specific sounds in a recording?
Donations may be made via the link on the "donate" page of the Audacity website: http://audacityteam.org/donate/
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)