# 0.2 Birdcall identification: matched filter implementation

 Page 1 / 1
This module describes how a matched filter algorithm is used to identify birdcall audio files.

## 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.

Do somebody tell me a best nano engineering book for beginners?
what is fullerene does it is used to make bukky balls
are you nano engineer ?
s.
what is the Synthesis, properties,and applications of carbon nano chemistry
so some one know about replacing silicon atom with phosphorous in semiconductors device?
Yeah, it is a pain to say the least. You basically have to heat the substarte up to around 1000 degrees celcius then pass phosphene gas over top of it, which is explosive and toxic by the way, under very low pressure.
Harper
how to fabricate graphene ink ?
for screen printed electrodes ?
SUYASH
What is lattice structure?
of graphene you mean?
Ebrahim
or in general
Ebrahim
in general
s.
Graphene has a hexagonal structure
tahir
On having this app for quite a bit time, Haven't realised there's a chat room in it.
Cied
what is biological synthesis of nanoparticles
what's the easiest and fastest way to the synthesize AgNP?
China
Cied
types of nano material
I start with an easy one. carbon nanotubes woven into a long filament like a string
Porter
many many of nanotubes
Porter
what is the k.e before it land
Yasmin
what is the function of carbon nanotubes?
Cesar
I'm interested in nanotube
Uday
what is nanomaterials​ and their applications of sensors.
what is nano technology
what is system testing?
preparation of nanomaterial
Yes, Nanotechnology has a very fast field of applications and their is always something new to do with it...
what is system testing
what is the application of nanotechnology?
Stotaw
In this morden time nanotechnology used in many field . 1-Electronics-manufacturad IC ,RAM,MRAM,solar panel etc 2-Helth and Medical-Nanomedicine,Drug Dilivery for cancer treatment etc 3- Atomobile -MEMS, Coating on car etc. and may other field for details you can check at Google
Azam
anybody can imagine what will be happen after 100 years from now in nano tech world
Prasenjit
after 100 year this will be not nanotechnology maybe this technology name will be change . maybe aftet 100 year . we work on electron lable practically about its properties and behaviour by the different instruments
Azam
name doesn't matter , whatever it will be change... I'm taking about effect on circumstances of the microscopic world
Prasenjit
how hard could it be to apply nanotechnology against viral infections such HIV or Ebola?
Damian
silver nanoparticles could handle the job?
Damian
not now but maybe in future only AgNP maybe any other nanomaterials
Azam
Hello
Uday
I'm interested in Nanotube
Uday
this technology will not going on for the long time , so I'm thinking about femtotechnology 10^-15
Prasenjit
can nanotechnology change the direction of the face of the world
At high concentrations (>0.01 M), the relation between absorptivity coefficient and absorbance is no longer linear. This is due to the electrostatic interactions between the quantum dots in close proximity. If the concentration of the solution is high, another effect that is seen is the scattering of light from the large number of quantum dots. This assumption only works at low concentrations of the analyte. Presence of stray light.
how did you get the value of 2000N.What calculations are needed to arrive at it
Privacy Information Security Software Version 1.1a
Good
Got questions? Join the online conversation and get instant answers!