<< Chapter < Page Chapter >> Page >
This module describes how a matched filter algorithm is used to identify birdcall audio files.

Matched filter implementation

Matched filter

Matched filters do an excellent job of identifying sound samples, so we decided to apply the method here to identify birdcall audiofiles. A matched filter searches for a sample clip, the filter, within a longer audio recording. Convolution compares the filter to the longer signal at eachpossible offset. The greater the maximum amplitude of the convolution result, the stronger the match. By having a different filter for each birdcall, we cansearch an audio file to identify which birdcall it contains.

The matched filter algorithm is as follows:

  • Reverse the filters in the time-domain.
  • Normalize the energy of each of the filters.
  • Convolve each filter with the input signal and take the maximum amplitude of the resulting convolution signals.
  • The filter that gives us the greatest maximum value indicates which birdcall the signal contains.

Filter library creation

Our first step in implementing the matched filter algorithm was to create a library of birdcall filters. To do this, we looked atthe spectrograms of a few sample audio files of the same birdcall and selected a portion that looked representative of the call.

For each birdcall, one of the representative audio segments was saved as a filter. Because the first two steps of the above matchedfilter algorithm affect only the filter library and are independent of the input signal, we reversed the filters and normalized their energy before saving themto wave files.

Matlab implementation

The following MATLAB script performed our matched filter algorithm. When given a wave file as input, it would tell us how well theaudio sample matched against each of the 6 birdcall filters.

We used circular convolution instead of linear convolution because it computed much faster. MATLAB's built-in cconv functionzero-pads the two signals before multiplying their FFTs, generating the convolution result we are looking for.
function result = birdcheck(file) [sig, fs, nbits]= wavread(file); signal=sig(:,1);signal=signal/max(abs(signal)); filters{1}=wavread('filters/bob.wav');filters{2}=wavread('filters/lt.wav'); filters{3}=wavread('filters/lw.wav');filters{4}=wavread('filters/pygmy.wav'); filters{5}=wavread('filters/red.wav');filters{6}=wavread('filters/redcry.wav'); for i=1:6filter=filters{i}; result(i) = max(abs(cconv(signal,filter(end:-1:1))));end end

The script was able to correctly identify several birdcalls. It did fail to correctly identify four cases in twocategories:

  • Two of our loon tremolo files registered as pygmy owl common songs.
  • Two of our red-tailed hawk shriek files registered as red-tailed hawk cries.

Questions & Answers

Preparation and Applications of Nanomaterial for Drug Delivery
Hafiz Reply
Application of nanotechnology in medicine
what is variations in raman spectra for nanomaterials
Jyoti Reply
I only see partial conversation and what's the question here!
Crow Reply
what about nanotechnology for water purification
RAW Reply
please someone correct me if I'm wrong but I think one can use nanoparticles, specially silver nanoparticles for water treatment.
Damian
yes that's correct
Professor
I think
Professor
what is the stm
Brian Reply
is there industrial application of fullrenes. What is the method to prepare fullrene on large scale.?
Rafiq
industrial application...? mmm I think on the medical side as drug carrier, but you should go deeper on your research, I may be wrong
Damian
How we are making nano material?
LITNING Reply
what is a peer
LITNING Reply
What is meant by 'nano scale'?
LITNING Reply
What is STMs full form?
LITNING
scanning tunneling microscope
Sahil
how nano science is used for hydrophobicity
Santosh
Do u think that Graphene and Fullrene fiber can be used to make Air Plane body structure the lightest and strongest. Rafiq
Rafiq
what is differents between GO and RGO?
Mahi
what is simplest way to understand the applications of nano robots used to detect the cancer affected cell of human body.? How this robot is carried to required site of body cell.? what will be the carrier material and how can be detected that correct delivery of drug is done Rafiq
Rafiq
if virus is killing to make ARTIFICIAL DNA OF GRAPHENE FOR KILLED THE VIRUS .THIS IS OUR ASSUMPTION
Anam
analytical skills graphene is prepared to kill any type viruses .
Anam
Any one who tell me about Preparation and application of Nanomaterial for drug Delivery
Hafiz
what is Nano technology ?
Bob Reply
write examples of Nano molecule?
Bob
The nanotechnology is as new science, to scale nanometric
brayan
nanotechnology is the study, desing, synthesis, manipulation and application of materials and functional systems through control of matter at nanoscale
Damian
Is there any normative that regulates the use of silver nanoparticles?
Damian Reply
what king of growth are you checking .?
Renato
What fields keep nano created devices from performing or assimulating ? Magnetic fields ? Are do they assimilate ?
Stoney Reply
why we need to study biomolecules, molecular biology in nanotechnology?
Adin Reply
?
Kyle
yes I'm doing my masters in nanotechnology, we are being studying all these domains as well..
Adin
why?
Adin
what school?
Kyle
biomolecules are e building blocks of every organics and inorganic materials.
Joe
anyone know any internet site where one can find nanotechnology papers?
Damian Reply
research.net
kanaga
sciencedirect big data base
Ernesto
Introduction about quantum dots in nanotechnology
Praveena Reply
hi
Loga
how did you get the value of 2000N.What calculations are needed to arrive at it
Smarajit Reply
Privacy Information Security Software Version 1.1a
Good
Got questions? Join the online conversation and get instant answers!
Jobilize.com Reply

Get the best Algebra and trigonometry course in your pocket!





Source:  OpenStax, Birdcall identification project. OpenStax CNX. Dec 17, 2008 Download for free at http://cnx.org/content/col10616/1.2
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Birdcall identification project' conversation and receive update notifications?

Ask