Chris@24
|
1
|
Chris@24
|
2 This directory contains some example data calculated using the MATLAB
|
Chris@24
|
3 Chroma Toolbox.
|
Chris@24
|
4
|
Chris@24
|
5 The file ylsf-30sec-tipic-pitch.csv contains our input data: 88-bin
|
Chris@24
|
6 pitch features from a 30-second clip, at a rate of 10 per second so
|
Chris@24
|
7 300 features total. These came from a test version of the Tipic
|
Chris@24
|
8 plugin. They do not match the pitch features produced by the Chroma
|
Chris@24
|
9 Toolbox, because Tipic uses a causal filterbank rather than the
|
Chris@24
|
10 zero-phase forward-backward filter of the Chroma Toolbox.
|
Chris@24
|
11
|
Chris@24
|
12 The remaining files contain the results of processing the
|
Chris@24
|
13 ylsf-30sec-tipic-pitch.csv data using the pitch_to_* functions of the
|
Chris@24
|
14 Chroma Toolbox, using MATLAB commands along the lines of
|
Chris@24
|
15
|
Chris@24
|
16 >> pitch = csvread('ylsf-30sec-tipic-pitch.csv');
|
Chris@24
|
17 >> chroma = pitch_to_chroma([zeros(20,300); pitch'; zeros(12,300)]);
|
Chris@24
|
18 >> csvwrite('ylsf-30sec-chroma-from-tipic-pitch-defaults.csv', chroma');
|
Chris@24
|
19
|
Chris@24
|
20 (The zeros are there because the Toolbox functions expect 120-bin
|
Chris@24
|
21 pitch features while Tipic only emits 88 bins.)
|
Chris@24
|
22
|
Chris@24
|
23 The files here are:
|
Chris@24
|
24
|
Chris@24
|
25 * ylsf-30sec-chroma-from-tipic-pitch-defaults.csv - CP chroma features,
|
Chris@24
|
26 default parameters
|
Chris@24
|
27
|
Chris@24
|
28 * ylsf-30sec-clp-from-tipic-pitch-defaults.csv - CLP log-compressed
|
Chris@24
|
29 chroma features, default parameters (apart from log compression)
|
Chris@24
|
30
|
Chris@24
|
31 * ylsf-30sec-cens-from-tipic-pitch.csv - CENS features, default parameters
|
Chris@24
|
32
|
Chris@24
|
33 * ylsf-30sec-crp-from-tipic-pitch-defaults.csv - CRP features, default
|
Chris@24
|
34 parameters
|
Chris@24
|
35
|
Chris@24
|
36 * ylsf-30sec-crp-from-tipic-pitch-downsample.csv - CRP features, 10x
|
Chris@24
|
37 downsampling with 41-point window enabled
|
Chris@24
|
38
|
Chris@24
|
39 The proposition that these are intended to help test is: If Tipic
|
Chris@24
|
40 produces the pitch features found in ylsf-30sec-tipic-pitch.csv, and
|
Chris@24
|
41 if we assume the MATLAB implementations are correct, then Tipic should
|
Chris@25
|
42 also produce chroma features matching those in these files. (Up to
|
Chris@25
|
43 rounding error based on the limited precision with which the original
|
Chris@25
|
44 pitch values were written out to CSV.)
|
Chris@24
|
45
|