To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.

Statistics Download as Zip
| Branch: | Revision:

root / _beattracker / README @ 8:b5b38998ef3b

History | View | Annotate | Download (568 Bytes)

1
To perform the analysis call:
2

    
3
out = getmeasures2(fname,ts);
4
ts is an optional input parameter to specify the number of beats per bar
5

    
6
out is a struct with the following data
7

    
8
out.beats - beat times in seconds
9
out.measures - bar boundaries in seconds
10
out.timesig - estimate of the number of beats per bar (will = ts if specified)
11
out.df - the onset detection function
12

    
13

    
14
The code is set to downsample the audio file to 11025Hz before processing
15
This speeds up the calculation of the onset detection function but has
16
negligible effect on the output of the beat tracker.