changeset 193:1b7b31aab82a

Converted data for evaluation runs
author Chris Cannam
date Wed, 04 Jun 2014 10:57:54 +0100
parents 603d87049c3c
children 72a9696f7caa
files testdata/TRIOS-groundtruth/brahms/horn.lab testdata/TRIOS-groundtruth/brahms/piano.lab testdata/TRIOS-groundtruth/brahms/violin.lab testdata/TRIOS-groundtruth/convert.yeti testdata/TRIOS-groundtruth/convert_midifileout.yeti testdata/TRIOS-groundtruth/convert_svout.yeti testdata/TRIOS-groundtruth/lussier/bassoon.lab testdata/TRIOS-groundtruth/lussier/piano.lab testdata/TRIOS-groundtruth/lussier/trumpet.lab testdata/TRIOS-groundtruth/mozart/clarinet.lab testdata/TRIOS-groundtruth/mozart/piano.lab testdata/TRIOS-groundtruth/mozart/viola.lab testdata/TRIOS-groundtruth/schubert/cello.lab testdata/TRIOS-groundtruth/schubert/piano.lab testdata/TRIOS-groundtruth/schubert/violin.lab testdata/TRIOS-groundtruth/take_five/kick.lab testdata/TRIOS-groundtruth/take_five/piano.lab testdata/TRIOS-groundtruth/take_five/ride.lab testdata/TRIOS-groundtruth/take_five/saxophone.lab testdata/TRIOS-groundtruth/take_five/snare.lab testdata/evaluation/README testdata/evaluation/run.sh
diffstat 22 files changed, 2034 insertions(+), 40 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testdata/TRIOS-groundtruth/brahms/horn.lab	Wed Jun 04 10:57:54 2014 +0100
@@ -0,0 +1,42 @@
+12.8	14.411458333333334	466.1637615180899
+14.310416666666667	15.63125	415.3046975799451
+16.097916666666666	16.421875	369.9944227116344
+16.429166666666667	16.85625	369.9944227116344
+16.840625	17.214583333333334	415.3046975799451
+17.20625	18	369.9944227116344
+17.960416666666667	18.894791666666666	349.2282314330039
+18.802083333333332	19.107291666666665	369.9944227116344
+19.409375	19.848958333333332	184.9972113558172
+19.830208333333335	20.171875	369.9944227116344
+20.178125	21.346875	369.9944227116344
+22.059375	22.44375	466.1637615180899
+22.45	22.813541666666666	466.1637615180899
+22.821875	23.166666666666668	493.8833012561241
+23.159375	23.554166666666667	466.1637615180899
+23.539583333333333	23.898958333333333	415.3046975799451
+23.913541666666667	24.344791666666666	415.3046975799451
+24.348958333333332	24.764583333333334	466.1637615180899
+24.75	25.209375	415.3046975799451
+25.164583333333333	25.49375	369.9944227116344
+25.497916666666665	26.283333333333335	369.9944227116344
+27.775	30.176041666666666	466.1637615180899
+30.04375	30.654166666666665	415.3046975799451
+31.054166666666667	31.411458333333332	369.9944227116344
+31.425	31.809375	369.9944227116344
+31.808333333333334	32.21458333333333	415.3046975799451
+32.19166666666667	32.559375	369.9944227116344
+32.56875	32.932291666666664	349.2282314330039
+32.940625	33.39895833333333	349.2282314330039
+33.346875	33.73645833333333	369.9944227116344
+33.723958333333336	34.5	349.2282314330039
+34.46666666666667	36.072916666666664	311.1269837220809
+36.03125	36.65416666666667	277.1826309768721
+37.1375	37.516666666666666	246.94165062806206
+37.52395833333333	37.92604166666667	246.94165062806206
+37.89791666666667	38.280208333333334	277.1826309768721
+38.266666666666666	38.60104166666667	246.94165062806206
+38.61770833333333	38.99791666666667	261.6255653005986
+39	39.37083333333333	261.6255653005986
+39.378125	39.81458333333333	293.6647679174076
+39.784375	40.626041666666666	261.6255653005986
+40.62083333333333	41.253125	233.08188075904496
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testdata/TRIOS-groundtruth/brahms/piano.lab	Wed Jun 04 10:57:54 2014 +0100
@@ -0,0 +1,264 @@
+0.7635416666666667	2.2802083333333334	466.1637615180899
+1.0270833333333333	2.2895833333333333	38.890872965260115
+1.175	1.871875	311.1269837220809
+1.175	1.871875	233.08188075904496
+1.2604166666666667	2.2864583333333335	77.78174593052023
+1.515625	2.292708333333333	116.54094037952248
+1.7708333333333333	2.298958333333333	155.56349186104046
+1.8760416666666666	2.29375	311.1269837220809
+1.8760416666666666	2.29375	233.08188075904496
+2.027083333333333	2.29375	195.99771799087463
+2.2895833333333333	3.861458333333333	415.3046975799451
+2.5125	3.840625	51.91308719749314
+2.6791666666666667	3.363541666666667	311.1269837220809
+2.6791666666666667	3.363541666666667	261.6255653005986
+2.75	3.8385416666666665	103.82617439498628
+3	3.839583333333333	130.8127826502993
+3.25	3.840625	155.56349186104046
+3.375	3.853125	311.1269837220809
+3.375	3.853125	261.6255653005986
+3.5	3.853125	207.65234878997256
+4.079166666666667	5.259375	58.27047018976124
+4.170833333333333	4.521875	391.99543598174927
+4.170833333333333	4.521875	311.1269837220809
+4.170833333333333	4.521875	233.08188075904496
+4.336458333333334	5.266666666666667	116.54094037952248
+4.522916666666666	4.867708333333334	311.1269837220809
+4.522916666666666	5.004166666666666	233.08188075904496
+4.522916666666666	5.271875	155.56349186104046
+4.522916666666666	5.266666666666667	391.99543598174927
+4.772916666666666	5.271875	195.99771799087463
+4.875	5.271875	311.1269837220809
+4.875	5.271875	261.6255653005986
+4.875	5.263541666666667	415.3046975799451
+5	5.2625	233.08188075904496
+5.272916666666666	6.79375	466.1637615180899
+5.272916666666666	5.997916666666667	233.08188075904496
+5.272916666666666	5.997916666666667	349.2282314330039
+5.509375	6.802083333333333	58.27047018976124
+5.740625	6.795833333333333	116.54094037952248
+5.997916666666667	6.803125	146.8323839587038
+6	6.495833333333334	233.08188075904496
+6	6.790625	349.2282314330039
+6.25	6.794791666666667	174.61411571650194
+6.375	6.785416666666666	293.6647679174076
+6.497916666666667	6.782291666666667	233.08188075904496
+7.007291666666666	8.390625	65.40639132514966
+7.109375	7.89375	415.3046975799451
+7.109375	7.89375	311.1269837220809
+7.317708333333333	8.395833333333334	103.82617439498628
+7.522916666666666	8.395833333333334	130.8127826502993
+7.75	8.394791666666666	155.56349186104046
+7.902083333333334	8.380208333333334	415.3046975799451
+7.902083333333334	8.380208333333334	311.1269837220809
+8.045833333333333	8.397916666666667	207.65234878997256
+8.567708333333334	9.929166666666667	73.41619197935188
+8.715625	9.4375	415.3046975799451
+8.715625	9.4375	349.2282314330039
+8.879166666666666	9.934375	116.54094037952248
+9.090625	9.930208333333333	146.8323839587038
+9.267708333333333	9.926041666666666	174.61411571650194
+9.442708333333334	9.94375	415.3046975799451
+9.442708333333334	9.94375	349.2282314330039
+9.58125	9.934375	233.08188075904496
+10.113541666666666	11.383333333333333	77.78174593052023
+10.2	10.939583333333333	391.99543598174927
+10.2	10.939583333333333	311.1269837220809
+10.340625	11.384375	116.54094037952248
+10.545833333333333	11.385416666666666	155.56349186104046
+10.817708333333334	11.385416666666666	195.99771799087463
+10.942708333333334	11.397916666666667	311.1269837220809
+10.942708333333334	11.397916666666667	391.99543598174927
+11.094791666666667	11.384375	233.08188075904496
+11.567708333333334	12.929166666666667	55.0
+11.715625	12.455208333333333	369.9944227116344
+11.715625	12.455208333333333	311.1269837220809
+11.840625	12.930208333333333	110.0
+12.090625	12.930208333333333	155.56349186104046
+12.317708333333334	12.93125	184.9972113558172
+12.465625	12.94375	311.1269837220809
+12.465625	12.94375	369.9944227116344
+12.613541666666666	12.932291666666666	261.6255653005986
+13.102083333333333	14.463541666666666	58.27047018976124
+13.215625	13.972916666666666	349.2282314330039
+13.215625	13.972916666666666	293.6647679174076
+13.408333333333333	14.459375	87.30705785825097
+13.613541666666666	14.464583333333334	116.54094037952248
+13.840625	14.464583333333334	146.8323839587038
+13.979166666666666	14.480208333333334	293.6647679174076
+13.979166666666666	14.480208333333334	349.2282314330039
+14.136458333333334	14.466666666666667	174.61411571650194
+14.604166666666666	16.079166666666666	61.7354126570155
+14.738541666666666	15.476041666666667	415.3046975799451
+14.738541666666666	15.476041666666667	311.1269837220809
+14.872916666666667	16.075	103.82617439498628
+15.102083333333333	16.078125	123.47082531403103
+15.329166666666667	16.078125	155.56349186104046
+15.477083333333333	16.06875	311.1269837220809
+15.477083333333333	16.06875	415.3046975799451
+15.622916666666667	16.077083333333334	207.65234878997256
+16.158333333333335	17.383333333333333	69.29565774421802
+16.261458333333334	17.386458333333334	466.1637615180899
+16.261458333333334	17.386458333333334	369.9944227116344
+16.261458333333334	17.386458333333334	277.1826309768721
+16.408333333333335	17.384375	116.54094037952248
+16.619791666666668	17.119791666666668	138.59131548843604
+16.863541666666666	17.385416666666668	184.9972113558172
+17.011458333333334	17.376041666666666	415.3046975799451
+17.011458333333334	17.376041666666666	311.1269837220809
+17.011458333333334	17.376041666666666	246.94165062806206
+17.119791666666668	17.382291666666667	138.59131548843604
+17.408333333333335	18.85	369.9944227116344
+17.408333333333335	18.113541666666666	277.1826309768721
+17.408333333333335	18.564583333333335	207.65234878997256
+17.636458333333334	18.838541666666668	69.29565774421802
+17.840625	18.838541666666668	103.82617439498628
+18.03125	18.848958333333332	138.59131548843604
+18.117708333333333	18.85625	349.2282314330039
+18.117708333333333	18.85625	277.1826309768721
+18.317708333333332	18.840625	174.61411571650194
+18.567708333333332	18.853125	207.65234878997256
+19.045833333333334	20.225	46.2493028389543
+19.136458333333334	19.830208333333335	369.9944227116344
+19.136458333333334	19.830208333333335	466.1637615180899
+19.138541666666665	19.832291666666666	277.1826309768721
+19.272916666666667	20.226041666666667	92.4986056779086
+19.5	20.226041666666667	138.59131548843604
+19.704166666666666	20.227083333333333	184.9972113558172
+19.8375	20.246875	277.1826309768721
+19.838541666666668	20.248958333333334	554.3652619537442
+19.838541666666668	20.248958333333334	369.9944227116344
+19.988541666666666	20.228125	233.08188075904496
+20.257291666666667	20.994791666666668	369.9944227116344
+20.257291666666667	20.994791666666668	311.1269837220809
+20.257291666666667	21.74375	622.2539674441618
+20.534375	21.736458333333335	61.7354126570155
+20.740625	21.739583333333332	123.47082531403103
+21.007291666666667	21.744791666666668	415.3046975799451
+21.007291666666667	21.744791666666668	369.9944227116344
+21.007291666666667	21.744791666666668	311.1269837220809
+21.011458333333334	21.7375	155.56349186104046
+21.25	21.740625	184.9972113558172
+21.463541666666668	21.7375	207.65234878997256
+22	23.270833333333332	69.29565774421802
+22.115625	23.277083333333334	554.3652619537442
+22.115625	23.277083333333334	466.1637615180899
+22.25	23.270833333333332	138.59131548843604
+22.472916666666666	23.266666666666666	184.9972113558172
+22.690625	23.265625	233.08188075904496
+22.829166666666666	23.273958333333333	493.8833012561241
+22.829166666666666	23.273958333333333	415.3046975799451
+22.977083333333333	23.2625	277.1826309768721
+23.454166666666666	24.747916666666665	73.41619197935188
+23.579166666666666	24.341666666666665	415.3046975799451
+23.579166666666666	24.759375	493.8833012561241
+23.75	24.747916666666665	116.54094037952248
+23.938541666666666	24.755208333333332	146.8323839587038
+24.16875	24.758333333333333	174.61411571650194
+24.352083333333333	24.7625	415.3046975799451
+24.352083333333333	24.7625	466.1637615180899
+24.490625	24.753125	233.08188075904496
+24.94375	26.145833333333332	77.78174593052023
+25.059375	25.408333333333335	739.9888454232688
+25.059375	25.408333333333335	369.9944227116344
+25.215625	26.145833333333332	116.54094037952248
+25.413541666666667	26.139583333333334	155.56349186104046
+25.415625	26.158333333333335	739.9888454232688
+25.415625	26.158333333333335	369.9944227116344
+25.659375	26.146875	184.9972113558172
+25.761458333333334	26.158333333333335	932.3275230361799
+25.761458333333334	26.158333333333335	466.1637615180899
+25.909375	26.216666666666665	311.1269837220809
+26.159375	27.79375	987.7666025122483
+26.159375	27.79375	622.2539674441618
+26.159375	27.79375	493.8833012561241
+26.432291666666668	27.792708333333334	51.91308719749314
+26.645833333333332	27.803125	103.82617439498628
+26.909375	27.783333333333335	698.4564628660078
+26.909375	27.783333333333335	349.2282314330039
+26.909375	27.79375	155.56349186104046
+27.141666666666666	27.798958333333335	207.65234878997256
+27.363541666666666	27.795833333333334	246.94165062806206
+27.891666666666666	29.15	58.27047018976124
+28.034375	28.38125	622.2539674441618
+28.034375	28.38125	311.1269837220809
+28.204166666666666	28.901041666666668	116.54094037952248
+28.386458333333334	29.151041666666668	622.2539674441618
+28.386458333333334	29.151041666666668	311.1269837220809
+28.432291666666668	29.158333333333335	184.9972113558172
+28.636458333333334	29.158333333333335	233.08188075904496
+28.75	29.146875	349.2282314330039
+28.75	29.146875	698.4564628660078
+28.909375	29.148958333333333	116.54094037952248
+29.153125	30.246875	622.2539674441618
+29.153125	30.246875	311.1269837220809
+29.382291666666667	30.677083333333332	58.27047018976124
+29.5125	29.882291666666667	554.3652619537442
+29.5125	29.882291666666667	277.1826309768721
+29.671875	30.420833333333334	116.54094037952248
+29.8875	30.670833333333334	554.3652619537442
+29.8875	30.670833333333334	277.1826309768721
+29.8875	30.663541666666667	174.61411571650194
+30.157291666666666	30.667708333333334	207.65234878997256
+30.255208333333332	30.672916666666666	622.2539674441618
+30.255208333333332	30.672916666666666	311.1269837220809
+30.427083333333332	30.671875	116.54094037952248
+30.679166666666667	32.203125	554.3652619537442
+30.679166666666667	32.203125	277.1826309768721
+30.922916666666666	32.213541666666664	58.27047018976124
+31.192708333333332	31.965625	116.54094037952248
+31.454166666666666	32.21041666666667	155.56349186104046
+31.454166666666666	33.02291666666667	493.8833012561241
+31.454166666666666	33.02291666666667	246.94165062806206
+31.723958333333332	32.213541666666664	184.9972113558172
+31.970833333333335	32.21666666666667	116.54094037952248
+32.50833333333333	33.876041666666666	58.27047018976124
+32.75416666666667	33.56666666666667	116.54094037952248
+33.03333333333333	34.05520833333333	466.1637615180899
+33.03333333333333	34.05520833333333	233.08188075904496
+33.03333333333333	33.88229166666667	138.59131548843604
+33.311458333333334	33.87916666666667	174.61411571650194
+33.56458333333333	33.88333333333333	116.54094037952248
+34.0375	35.217708333333334	58.27047018976124
+34.14375	34.48229166666667	415.3046975799451
+34.14375	34.48229166666667	207.65234878997256
+34.354166666666664	35.00729166666667	116.54094037952248
+34.490625	35.22604166666667	123.47082531403103
+34.490625	35.21875	415.3046975799451
+34.490625	35.21875	207.65234878997256
+34.760416666666664	35.219791666666666	155.56349186104046
+34.853125	35.21875	466.1637615180899
+34.853125	35.21875	233.08188075904496
+35.015625	35.23020833333333	116.54094037952248
+35.22708333333333	36.315625	415.3046975799451
+35.22708333333333	36.315625	207.65234878997256
+35.4625	36.725	58.27047018976124
+35.572916666666664	35.93958333333333	369.9944227116344
+35.572916666666664	35.93958333333333	184.9972113558172
+35.73229166666667	36.184375	116.54094037952248
+35.946875	36.71875	138.59131548843604
+35.946875	36.73229166666667	369.9944227116344
+35.946875	36.73229166666667	184.9972113558172
+36.188541666666666	36.717708333333334	116.54094037952248
+36.328125	36.729166666666664	415.3046975799451
+36.328125	36.729166666666664	207.65234878997256
+36.734375	38.50833333333333	369.9944227116344
+36.734375	38.50833333333333	184.9972113558172
+36.954166666666666	38.516666666666666	58.27047018976124
+37.23854166666667	37.99166666666667	116.54094037952248
+37.51770833333333	39.509375	349.2282314330039
+37.51770833333333	39.509375	174.61411571650194
+37.76979166666667	38.510416666666664	233.08188075904496
+38.01354166666667	38.50833333333333	116.54094037952248
+38.52708333333333	40.04375	58.27047018976124
+38.771875	39.520833333333336	116.54094037952248
+39.05	41.55416666666667	311.1269837220809
+39.05	41.55416666666667	155.56349186104046
+39.290625	40.041666666666664	233.08188075904496
+39.532291666666666	40.04375	116.54094037952248
+40.071875	41.546875	58.27047018976124
+40.359375	41.221875	116.54094037952248
+40.646875	42.235416666666666	293.6647679174076
+40.646875	42.235416666666666	146.8323839587038
+40.94583333333333	42.229166666666664	233.08188075904496
+41.233333333333334	42.23125	116.54094037952248
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testdata/TRIOS-groundtruth/brahms/violin.lab	Wed Jun 04 10:57:54 2014 +0100
@@ -0,0 +1,49 @@
+3.75	5.189583333333333	622.2539674441618
+5.2	6.795833333333333	587.3295358348151
+7.053125	7.505208333333333	523.2511306011972
+7.510416666666667	7.813541666666667	523.2511306011972
+7.85625	8.248958333333333	622.2539674441618
+8.25	9.065625	698.4564628660078
+8.9875	9.93125	415.3046975799451
+10.179166666666667	10.915625	391.99543598174927
+10.840625	11.338541666666666	523.2511306011972
+11.342708333333333	12.163541666666667	523.2511306011972
+12.065625	12.841666666666667	369.9944227116344
+12.763541666666667	13.880208333333334	349.2282314330039
+15.8	17.258333333333333	1108.7305239074883
+17.195833333333333	18.717708333333334	987.7666025122483
+18.995833333333334	19.398958333333333	932.3275230361799
+19.404166666666665	19.802083333333332	932.3275230361799
+19.771875	20.183333333333334	1108.7305239074883
+20.1875	20.971875	1244.5079348883237
+20.971875	21.510416666666668	830.6093951598903
+22.073958333333334	22.505208333333332	739.9888454232688
+22.50625	22.801041666666666	739.9888454232688
+22.8125	23.159375	830.6093951598903
+23.163541666666667	23.584375	739.9888454232688
+23.575	23.95625	698.4564628660078
+23.975	24.31875	698.4564628660078
+24.31875	24.733333333333334	739.9888454232688
+24.751041666666666	25.586458333333333	698.4564628660078
+25.555208333333333	26.313541666666666	622.2539674441618
+27.710416666666667	30.057291666666668	369.9944227116344
+30.036458333333332	30.673958333333335	349.2282314330039
+31.167708333333334	31.541666666666668	311.1269837220809
+31.551041666666666	31.891666666666666	311.1269837220809
+31.875	32.23229166666667	349.2282314330039
+32.228125	32.684375	311.1269837220809
+32.628125	33.01770833333333	277.1826309768721
+33.020833333333336	33.36354166666667	277.1826309768721
+33.322916666666664	33.80833333333333	311.1269837220809
+33.71041666666667	34.5	277.1826309768721
+34.453125	35.971875	246.94165062806206
+35.95520833333333	36.71875	233.08188075904496
+37.125	37.52916666666667	207.65234878997256
+37.530208333333334	37.846875	207.65234878997256
+37.848958333333336	38.23229166666667	233.08188075904496
+38.225	38.6	207.65234878997256
+38.583333333333336	38.96041666666667	220.0
+38.975	39.34791666666667	220.0
+39.342708333333334	39.811458333333334	233.08188075904496
+39.7875	40.610416666666666	220.0
+40.55104166666667	41.71458333333333	233.08188075904496
--- a/testdata/TRIOS-groundtruth/convert.yeti	Wed Jun 04 10:16:22 2014 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,34 +0,0 @@
-
-// Convert CSV file exported by Sonic Visualiser:
-// 
-// onset,midinote,duration,level,label
-//
-// into lab file like those output from the test scripts:
-//
-// onset offset frequency
-
-program convert;
-
-usage () =
-    eprintln "\nUsage: convert file.csv\n";
-
-toFrequency m = 
-    440 * Math#pow(2.0, (m - 69) / 12.0);
-
-convert f =
-   (str = openInFile f "UTF-8";
-    for (str.lines ()) do line:
-        case list (strSplit "," line) of
-        onset::midinote::duration::_: 
-            println "\(onset)\t\((number onset) + (number duration))\t\(toFrequency (number midinote))";
-        _:
-            failWith "badly formed line: \(line)";
-        esac;
-    done;
-    str.close ());
-
-case (list _argv) of
-file::[]: convert file;
-_: usage ();
-esac;
-
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testdata/TRIOS-groundtruth/convert_midifileout.yeti	Wed Jun 04 10:57:54 2014 +0100
@@ -0,0 +1,73 @@
+
+// Convert the output of the midifile program
+// (https://code.soundsoftware.ac.uk/projects/midifile)
+// into lab file like those output from the test scripts.
+//
+// The midifile format contains lines looking like:
+//
+// <t>: Note: channel <c> duration <d> pitch <p> velocity <v>
+//
+// where t and d are defined in terms of the timebase and
+// tempo, which are (usually) given in earlier lines:
+//
+// Timing division: <n> ppq
+// <t>: Tempo: <n>
+//
+// Note that we assume 4 quarter-notes per bar and we
+// don't parse time signatures.
+// 
+// The output file format looks like:
+//
+// onset offset frequency
+//
+// with times in seconds.
+
+program convert_midifileout;
+
+usage () =
+    eprintln "\nUsage: convert_midifileout file.txt\n";
+
+toFrequency m = 
+    440 * Math#pow(2.0, (m - 69) / 12.0);
+
+toTime timebase tempo t =
+    (t / timebase) * (60 / tempo);
+
+convert f =
+   (str = openInFile f "UTF-8";
+    var timebase = 480;
+    var tempo = 120;
+    for (str.lines ()) do line:
+        bits = strSplit ": " line;
+        if length bits > 1 then
+            if bits[0] == "Timing division" then
+                timebase := number (strReplace " ppq" "" bits[1]);
+                eprintln "Set timing division to \(timebase)";
+            elif bits[1] == "Tempo" then
+                if length bits < 3 then 
+                    failWith "Too few bits in tempo line: \(line)";
+                fi;
+                tempo := number (bits[2]);
+                eprintln "Set tempo to \(tempo)";
+            elif bits[1] == "Note" then
+                if length bits < 3 then
+                    failWith "Too few bits in note line: \(line)";
+                fi;
+                noteparts = strSplit " " bits[2];
+                if length noteparts < 8 then
+                    failWith "Too few note parameters in line: \(line)";
+                fi;
+                onset = toTime timebase tempo (number bits[0]);
+                duration = toTime timebase tempo (number noteparts[3]);
+                frequency = toFrequency (number noteparts[5]);
+                println "\(onset)\t\(onset + duration)\t\(frequency)";
+            fi;
+        fi;
+    done;
+    str.close ());
+
+case (list _argv) of
+file::[]: convert file;
+_: usage ();
+esac;
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testdata/TRIOS-groundtruth/convert_svout.yeti	Wed Jun 04 10:57:54 2014 +0100
@@ -0,0 +1,34 @@
+
+// Convert CSV file exported by Sonic Visualiser:
+// 
+// onset,midinote,duration,level,label
+//
+// into lab file like those output from the test scripts:
+//
+// onset offset frequency
+
+program convert_svout;
+
+usage () =
+    eprintln "\nUsage: convert_svout file.csv\n";
+
+toFrequency m = 
+    440 * Math#pow(2.0, (m - 69) / 12.0);
+
+convert f =
+   (str = openInFile f "UTF-8";
+    for (str.lines ()) do line:
+        case list (strSplit "," line) of
+        onset::midinote::duration::_: 
+            println "\(onset)\t\((number onset) + (number duration))\t\(toFrequency (number midinote))";
+        _:
+            failWith "badly formed line: \(line)";
+        esac;
+    done;
+    str.close ());
+
+case (list _argv) of
+file::[]: convert file;
+_: usage ();
+esac;
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testdata/TRIOS-groundtruth/lussier/bassoon.lab	Wed Jun 04 10:57:54 2014 +0100
@@ -0,0 +1,65 @@
+1.0739583333333333	1.2125	110.0
+1.3677083333333333	1.5239583333333333	261.6255653005986
+1.6375	1.79375	261.6255653005986
+1.9104166666666667	2.0697916666666667	130.8127826502993
+2.189583333333333	2.330208333333333	246.94165062806206
+2.4604166666666667	2.605208333333333	246.94165062806206
+2.7416666666666667	2.8833333333333333	164.81377845643496
+3.009375	3.159375	246.94165062806206
+3.2666666666666666	3.4427083333333335	87.30705785825097
+3.5541666666666667	3.7104166666666667	261.6255653005986
+3.8208333333333333	3.978125	261.6255653005986
+4.088541666666667	4.241666666666666	130.8127826502993
+4.359375	4.514583333333333	246.94165062806206
+4.630208333333333	4.796875	246.94165062806206
+4.915625	5.065625	174.61411571650194
+5.167708333333334	5.325	220.0
+5.447916666666667	5.616666666666666	146.8323839587038
+5.723958333333333	5.9	261.6255653005986
+5.986458333333333	6.147916666666666	261.6255653005986
+6.25	6.40625	220.0
+6.522916666666666	6.692708333333333	261.6255653005986
+6.788541666666666	6.959375	261.6255653005986
+7.077083333333333	7.233333333333333	174.61411571650194
+7.334375	7.5	261.6255653005986
+7.611458333333333	7.776041666666667	146.8323839587038
+7.88125	8.069791666666667	261.6255653005986
+8.178125	8.541666666666666	246.94165062806206
+8.434375	8.71875	293.6647679174076
+8.73125	9.016666666666667	261.6255653005986
+8.998958333333333	9.270833333333334	246.94165062806206
+9.245833333333334	9.5125	233.08188075904496
+9.508333333333333	9.777083333333334	220.0
+9.7875	9.939583333333333	103.82617439498628
+10.058333333333334	10.222916666666666	246.94165062806206
+10.326041666666667	10.4875	246.94165062806206
+10.589583333333334	10.74375	123.47082531403103
+10.871875	11.035416666666666	293.6647679174076
+11.145833333333334	11.29375	246.94165062806206
+11.425	11.55625	164.81377845643496
+11.685416666666667	11.842708333333333	246.94165062806206
+11.948958333333334	12.140625	103.82617439498628
+12.227083333333333	12.420833333333333	246.94165062806206
+12.509375	12.721875	246.94165062806206
+12.79375	12.965625	123.47082531403103
+13.067708333333334	13.25	207.65234878997256
+13.334375	13.511458333333334	246.94165062806206
+13.597916666666666	13.786458333333334	164.81377845643496
+13.870833333333334	14.045833333333333	329.6275569128699
+14.122916666666667	14.251041666666667	349.2282314330039
+14.230208333333334	14.402083333333334	329.6275569128699
+14.40625	14.534375	246.94165062806206
+14.527083333333334	14.66875	207.65234878997256
+14.692708333333334	14.833333333333334	329.6275569128699
+14.819791666666667	14.944791666666667	246.94165062806206
+14.953125	15.086458333333333	207.65234878997256
+15.088541666666666	15.227083333333333	174.61411571650194
+15.23125	15.36875	246.94165062806206
+15.361458333333333	15.490625	207.65234878997256
+15.505208333333334	15.621875	174.61411571650194
+15.625	15.754166666666666	164.81377845643496
+15.763541666666667	15.864583333333334	174.61411571650194
+15.853125	16.01875	164.81377845643496
+16.022916666666667	16.15	123.47082531403103
+16.15625	16.313541666666666	103.82617439498628
+16.316666666666666	16.632291666666667	110.0
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testdata/TRIOS-groundtruth/lussier/piano.lab	Wed Jun 04 10:57:54 2014 +0100
@@ -0,0 +1,119 @@
+1.0447916666666666	1.8614583333333334	659.2551138257398
+1.0447916666666666	1.5791666666666666	493.8833012561241
+1.096875	1.90625	110.0
+1.3520833333333333	1.85	523.2511306011972
+1.6135416666666667	1.8604166666666666	493.8833012561241
+1.875	2.7177083333333334	523.2511306011972
+1.875	2.7177083333333334	698.4564628660078
+1.875	2.7177083333333334	493.8833012561241
+1.9208333333333334	2.7177083333333334	220.0
+2.7239583333333335	3.2708333333333335	659.2551138257398
+2.7666666666666666	3.26875	440.0
+2.769791666666667	3.2708333333333335	195.99771799087463
+3.2802083333333334	4.111458333333333	698.4564628660078
+3.3020833333333335	3.8197916666666667	493.8833012561241
+3.325	4.088541666666667	87.30705785825097
+3.576041666666667	4.092708333333333	523.2511306011972
+3.8375	4.088541666666667	493.8833012561241
+4.1125	4.929166666666666	246.94165062806206
+4.1125	4.929166666666666	493.8833012561241
+4.1125	4.929166666666666	587.3295358348151
+4.1125	4.929166666666666	880.0
+4.934375	5.482291666666667	220.0
+4.934375	5.482291666666667	587.3295358348151
+4.934375	5.482291666666667	659.2551138257398
+5.485416666666667	6.303125	880.0
+5.508333333333334	6.303125	73.41619197935188
+5.508333333333334	6.301041666666666	493.8833012561241
+5.769791666666666	6.304166666666666	587.3295358348151
+6.026041666666667	6.303125	523.2511306011972
+6.3125	7.109375	174.61411571650194
+6.3125	7.109375	493.8833012561241
+6.3125	7.109375	587.3295358348151
+6.3125	7.109375	659.2551138257398
+7.111458333333333	7.629166666666666	698.4564628660078
+7.111458333333333	7.629166666666666	659.2551138257398
+7.111458333333333	7.629166666666666	164.81377845643496
+7.635416666666667	9.270833333333334	73.41619197935188
+7.635416666666667	8.453125	130.8127826502993
+7.635416666666667	8.453125	493.8833012561241
+7.635416666666667	8.453125	587.3295358348151
+8.460416666666667	9.270833333333334	698.4564628660078
+8.460416666666667	9.270833333333334	587.3295358348151
+8.460416666666667	9.270833333333334	493.8833012561241
+8.460416666666667	9.270833333333334	123.47082531403103
+9.270833333333334	9.817708333333334	523.2511306011972
+9.270833333333334	9.817708333333334	587.3295358348151
+9.817708333333334	10.620833333333334	246.94165062806206
+9.817708333333334	10.620833333333334	123.47082531403103
+9.817708333333334	10.359375	493.8833012561241
+9.966666666666667	10.501041666666667	587.3295358348151
+10.089583333333334	10.613541666666666	659.2551138257398
+10.23125	10.621875	830.6093951598903
+10.364583333333334	10.615625	493.8833012561241
+10.504166666666666	10.617708333333333	587.3295358348151
+10.622916666666667	11.440625	207.65234878997256
+10.622916666666667	11.440625	103.82617439498628
+10.622916666666667	11.180208333333333	659.2551138257398
+10.765625	11.302083333333334	830.6093951598903
+10.921875	11.430208333333333	493.8833012561241
+11.055208333333333	11.440625	587.3295358348151
+11.186458333333333	11.4375	659.2551138257398
+11.311458333333333	11.49375	830.6093951598903
+11.441666666666666	11.977083333333333	164.81377845643496
+11.441666666666666	11.977083333333333	82.4068892282175
+11.441666666666666	11.971875	493.8833012561241
+11.597916666666666	11.963541666666666	587.3295358348151
+11.717708333333333	11.960416666666667	659.2551138257398
+11.85625	12.015625	830.6093951598903
+11.98125	12.794791666666667	87.30705785825097
+11.98125	12.794791666666667	174.61411571650194
+11.98125	12.53125	493.8833012561241
+12.129166666666666	12.654166666666667	587.3295358348151
+12.286458333333334	12.79375	659.2551138257398
+12.408333333333333	12.813541666666667	830.6093951598903
+12.541666666666666	12.80625	493.8833012561241
+12.663541666666667	12.801041666666666	587.3295358348151
+12.803125	13.544791666666667	73.41619197935188
+12.803125	13.544791666666667	146.8323839587038
+12.803125	13.325	659.2551138257398
+12.936458333333333	13.427083333333334	830.6093951598903
+13.064583333333333	13.561458333333333	493.8833012561241
+13.194791666666667	13.559375	587.3295358348151
+13.33125	13.558333333333334	659.2551138257398
+13.438541666666667	13.635416666666666	830.6093951598903
+13.560416666666667	14.122916666666667	164.81377845643496
+13.560416666666667	14.122916666666667	82.4068892282175
+13.56875	14.129166666666666	493.8833012561241
+13.720833333333333	14.129166666666666	587.3295358348151
+13.841666666666667	14.127083333333333	659.2551138257398
+13.961458333333333	14.148958333333333	830.6093951598903
+14.132291666666667	15.244791666666666	174.61411571650194
+14.132291666666667	15.244791666666666	87.30705785825097
+14.341666666666667	15.253125	659.2551138257398
+14.341666666666667	15.253125	830.6093951598903
+14.341666666666667	15.253125	587.3295358348151
+14.341666666666667	15.253125	493.8833012561241
+14.541666666666666	15.54375	82.4068892282175
+14.541666666666666	15.54375	164.81377845643496
+14.915625	15.910416666666666	146.8323839587038
+14.915625	15.910416666666666	73.41619197935188
+15.261458333333334	15.727083333333333	830.6093951598903
+15.261458333333334	15.727083333333333	659.2551138257398
+15.261458333333334	15.727083333333333	587.3295358348151
+15.261458333333334	15.727083333333333	493.8833012561241
+15.261458333333334	15.891666666666667	130.8127826502993
+15.261458333333334	15.891666666666667	65.40639132514966
+15.552083333333334	16.335416666666667	123.47082531403103
+15.552083333333334	16.335416666666667	61.7354126570155
+15.7375	16.339583333333334	830.6093951598903
+15.7375	16.339583333333334	659.2551138257398
+15.7375	16.339583333333334	587.3295358348151
+15.7375	16.339583333333334	493.8833012561241
+15.903125	16.340625	130.8127826502993
+15.903125	16.340625	65.40639132514966
+16.346875	17.225	55.0
+16.346875	17.225	110.0
+16.346875	17.225	493.8833012561241
+16.346875	17.225	523.2511306011972
+16.346875	17.225	880.0
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testdata/TRIOS-groundtruth/lussier/trumpet.lab	Wed Jun 04 10:57:54 2014 +0100
@@ -0,0 +1,24 @@
+1.0458333333333334	1.9625	493.8833012561241
+1.95	2.7270833333333333	440.0
+2.753125	3.3020833333333335	391.99543598174927
+3.321875	4.164583333333334	523.2511306011972
+4.15	4.926041666666666	493.8833012561241
+4.942708333333333	5.466666666666667	440.0
+5.458333333333333	6.391666666666667	659.2551138257398
+6.351041666666666	7.051041666666666	587.3295358348151
+7.067708333333333	7.56875	523.2511306011972
+7.5875	8.534375	523.2511306011972
+8.527083333333334	9.259375	493.8833012561241
+9.776041666666666	10.627083333333333	329.6275569128699
+10.655208333333333	11.432291666666666	493.8833012561241
+11.447916666666666	11.875	587.3295358348151
+11.928125	12.784375	349.2282314330039
+12.791666666666666	13.571875	587.3295358348151
+13.592708333333333	14.136458333333334	830.6093951598903
+14.15	14.435416666666667	830.6093951598903
+14.460416666666667	14.938541666666667	587.3295358348151
+14.965625	15.233333333333333	830.6093951598903
+15.238541666666666	15.504166666666666	698.4564628660078
+15.516666666666667	15.777083333333334	880.0
+15.783333333333333	16.330208333333335	830.6093951598903
+16.335416666666667	16.886458333333334	880.0
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testdata/TRIOS-groundtruth/mozart/clarinet.lab	Wed Jun 04 10:57:54 2014 +0100
@@ -0,0 +1,69 @@
+1.4479166666666667	2.96875	587.3295358348151
+2.9739583333333335	3.484375	698.4564628660078
+3.4583333333333335	3.984375	622.2539674441618
+3.9635416666666665	4.46875	523.2511306011972
+4.463541666666667	4.96875	466.1637615180899
+4.979166666666667	5.489583333333333	466.1637615180899
+5.5	5.921875	466.1637615180899
+5.973958333333333	6.229166666666667	493.8833012561241
+6.223958333333333	6.458333333333333	523.2511306011972
+6.463541666666667	6.9375	523.2511306011972
+6.947916666666667	7.421875	523.2511306011972
+7.442708333333333	7.723958333333333	554.3652619537442
+7.708333333333333	7.96875	587.3295358348151
+7.973958333333333	8.447916666666666	587.3295358348151
+8.453125	8.947916666666666	587.3295358348151
+8.984375	9.286458333333334	698.4564628660078
+9.260416666666666	9.614583333333334	622.2539674441618
+10.458333333333334	11.25	698.4564628660078
+11.21875	11.484375	783.9908719634985
+11.458333333333334	11.75	880.0
+11.71875	11.979166666666666	932.3275230361799
+11.979166666666666	12.270833333333334	932.3275230361799
+12.234375	12.5	880.0
+12.479166666666666	12.723958333333334	783.9908719634985
+12.708333333333334	12.984375	698.4564628660078
+12.96875	13.25	622.2539674441618
+13.213541666666666	13.442708333333334	523.2511306011972
+13.463541666666666	13.677083333333334	440.0
+13.692708333333334	13.927083333333334	466.1637615180899
+13.932291666666666	14.401041666666666	466.1637615180899
+14.411458333333334	14.864583333333334	466.1637615180899
+14.869791666666666	15.151041666666666	493.8833012561241
+15.151041666666666	15.40625	523.2511306011972
+15.416666666666666	15.895833333333334	523.2511306011972
+15.90625	16.411458333333332	523.2511306011972
+16.416666666666668	16.697916666666668	554.3652619537442
+16.703125	16.942708333333332	587.3295358348151
+16.947916666666668	17.411458333333332	587.3295358348151
+17.427083333333332	17.947916666666668	587.3295358348151
+17.973958333333332	18.244791666666668	698.4564628660078
+18.223958333333332	18.552083333333332	622.2539674441618
+19.473958333333332	20.776041666666668	698.4564628660078
+20.776041666666668	20.848958333333332	783.9908719634985
+20.848958333333332	20.9375	698.4564628660078
+20.927083333333332	21.010416666666668	659.2551138257398
+21.005208333333332	21.114583333333332	698.4564628660078
+21.098958333333332	21.645833333333332	830.6093951598903
+21.619791666666668	22.104166666666668	783.9908719634985
+22.09375	22.583333333333332	587.3295358348151
+22.588541666666668	23.041666666666668	698.4564628660078
+23.020833333333332	23.510416666666668	659.2551138257398
+23.5	24.010416666666668	523.2511306011972
+24.015625	24.979166666666668	622.2539674441618
+24.953125	25.739583333333332	587.3295358348151
+25.723958333333332	25.973958333333332	523.2511306011972
+25.963541666666668	26.229166666666668	622.2539674441618
+26.213541666666668	26.5	783.9908719634985
+26.489583333333332	26.75	622.2539674441618
+26.729166666666668	27	523.2511306011972
+27	27.984375	466.1637615180899
+27.96875	28.223958333333332	587.3295358348151
+28.197916666666668	28.494791666666668	523.2511306011972
+28.5	28.947916666666668	466.1637615180899
+29	29.473958333333332	293.6647679174076
+29.46875	29.9375	349.2282314330039
+29.927083333333332	30.46875	466.1637615180899
+30.463541666666668	30.916666666666668	349.2282314330039
+30.916666666666668	31.489583333333332	466.1637615180899
+31.484375	32.53125	587.3295358348151
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testdata/TRIOS-groundtruth/mozart/piano.lab	Wed Jun 04 10:57:54 2014 +0100
@@ -0,0 +1,146 @@
+1.5208333333333333	2.301041666666667	116.54094037952248
+1.796875	2.2270833333333333	233.08188075904496
+2.058333333333333	2.3489583333333335	349.2282314330039
+2.058333333333333	2.3489583333333335	293.6647679174076
+2.2666666666666666	2.654166666666667	233.08188075904496
+2.521875	2.840625	349.2282314330039
+2.521875	2.840625	293.6647679174076
+2.754166666666667	3.0854166666666667	233.08188075904496
+3.021875	3.8645833333333335	174.61411571650194
+3.2739583333333333	3.640625	220.0
+3.540625	3.86875	261.6255653005986
+3.540625	3.86875	349.2282314330039
+3.747916666666667	4.1375	220.0
+3.9791666666666665	4.322916666666667	349.2282314330039
+3.9791666666666665	4.322916666666667	261.6255653005986
+4.226041666666666	4.45625	220.0
+4.4875	5.126041666666667	146.8323839587038
+4.710416666666666	5.098958333333333	233.08188075904496
+4.952083333333333	5.294791666666667	349.2282314330039
+4.952083333333333	5.294791666666667	293.6647679174076
+5.192708333333333	5.634375	233.08188075904496
+5.470833333333333	5.790625	293.6647679174076
+5.470833333333333	5.790625	349.2282314330039
+5.70625	5.946875	233.08188075904496
+5.964583333333334	6.65625	110.0
+6.203125	6.548958333333333	261.6255653005986
+6.446875	6.807291666666667	311.1269837220809
+6.446875	6.807291666666667	349.2282314330039
+6.695833333333334	7.054166666666666	261.6255653005986
+6.939583333333333	7.295833333333333	349.2282314330039
+6.939583333333333	7.295833333333333	311.1269837220809
+7.186458333333333	7.457291666666666	261.6255653005986
+7.473958333333333	8.164583333333333	116.54094037952248
+7.703125	8.1125	233.08188075904496
+7.972916666666666	8.298958333333333	293.6647679174076
+7.972916666666666	8.298958333333333	349.2282314330039
+8.189583333333333	8.566666666666666	233.08188075904496
+8.466666666666667	8.755208333333334	293.6647679174076
+8.466666666666667	8.755208333333334	349.2282314330039
+8.716666666666667	8.980208333333334	233.08188075904496
+8.988541666666666	9.809375	87.30705785825097
+9.215625	9.611458333333333	220.0
+9.496875	9.794791666666667	349.2282314330039
+9.496875	9.794791666666667	261.6255653005986
+9.714583333333334	10.108333333333333	220.0
+9.98125	10.314583333333333	261.6255653005986
+9.98125	10.314583333333333	349.2282314330039
+10.184375	10.446875	220.0
+10.475	11.233333333333333	116.54094037952248
+10.710416666666667	11.127083333333333	233.08188075904496
+10.971875	11.280208333333333	349.2282314330039
+10.971875	11.280208333333333	293.6647679174076
+11.203125	11.570833333333333	233.08188075904496
+11.473958333333334	11.780208333333333	349.2282314330039
+11.473958333333334	11.780208333333333	293.6647679174076
+11.708333333333334	12.055208333333333	233.08188075904496
+11.9875	12.727083333333333	155.56349186104046
+12.202083333333333	12.591666666666667	220.0
+12.460416666666667	12.789583333333333	261.6255653005986
+12.460416666666667	12.789583333333333	349.2282314330039
+12.698958333333334	13.085416666666667	220.0
+12.965625	13.272916666666667	349.2282314330039
+12.983333333333333	13.322916666666666	261.6255653005986
+13.197916666666666	13.464583333333334	220.0
+13.467708333333333	14.188541666666667	146.8323839587038
+13.7	14.09375	233.08188075904496
+13.978125	14.2875	293.6647679174076
+13.978125	14.2875	349.2282314330039
+14.203125	14.644791666666666	233.08188075904496
+14.483333333333333	14.795833333333333	293.6647679174076
+14.483333333333333	14.795833333333333	349.2282314330039
+14.723958333333334	14.95625	233.08188075904496
+14.970833333333333	15.635416666666666	110.0
+15.194791666666667	15.526041666666666	261.6255653005986
+15.441666666666666	15.704166666666667	349.2282314330039
+15.451041666666667	15.740625	311.1269837220809
+15.6875	16.020833333333332	261.6255653005986
+15.9375	16.253125	349.2282314330039
+15.941666666666666	16.301041666666666	311.1269837220809
+16.176041666666666	16.4	261.6255653005986
+16.428125	17.167708333333334	116.54094037952248
+16.671875	17.008333333333333	233.08188075904496
+16.944791666666667	17.215625	293.6647679174076
+16.944791666666667	17.215625	349.2282314330039
+17.185416666666665	17.511458333333334	233.08188075904496
+17.455208333333335	17.723958333333332	293.6647679174076
+17.455208333333335	17.723958333333332	349.2282314330039
+17.672916666666666	17.926041666666666	233.08188075904496
+17.966666666666665	18.903125	174.61411571650194
+18.195833333333333	18.576041666666665	220.0
+18.451041666666665	18.819791666666667	349.2282314330039
+18.451041666666665	18.819791666666667	261.6255653005986
+18.663541666666667	19.060416666666665	220.0
+18.927083333333332	19.445833333333333	155.56349186104046
+18.930208333333333	19.2875	349.2282314330039
+18.930208333333333	19.2875	261.6255653005986
+19.153125	19.4125	220.0
+19.429166666666667	20.695833333333333	146.8323839587038
+19.667708333333334	20.030208333333334	233.08188075904496
+19.945833333333333	20.3125	293.6647679174076
+19.945833333333333	20.3125	349.2282314330039
+20.186458333333334	20.544791666666665	233.08188075904496
+20.473958333333332	20.803125	293.6647679174076
+20.473958333333332	20.803125	349.2282314330039
+20.717708333333334	20.982291666666665	233.08188075904496
+21	22.333333333333332	97.99885899543733
+21.240625	21.65	246.94165062806206
+21.51875	21.844791666666666	293.6647679174076
+21.51875	21.844791666666666	349.2282314330039
+21.742708333333333	22.13125	246.94165062806206
+22.020833333333332	22.329166666666666	293.6647679174076
+22.020833333333332	22.329166666666666	349.2282314330039
+22.264583333333334	22.495833333333334	246.94165062806206
+22.504166666666666	23.997916666666665	130.8127826502993
+22.758333333333333	23.154166666666665	233.08188075904496
+23.028125	23.354166666666668	391.99543598174927
+23.028125	23.354166666666668	261.6255653005986
+23.260416666666668	23.632291666666667	233.08188075904496
+23.492708333333333	23.789583333333333	329.6275569128699
+23.510416666666668	23.820833333333333	261.6255653005986
+23.739583333333332	24.072916666666668	233.08188075904496
+24.009375	25.364583333333332	92.4986056779086
+24.015625	24.301041666666666	311.1269837220809
+24.022916666666667	24.311458333333334	261.6255653005986
+24.227083333333333	24.64375	220.0
+24.49375	24.886458333333334	311.1269837220809
+24.502083333333335	24.847916666666666	261.6255653005986
+24.7375	25.076041666666665	220.0
+24.998958333333334	25.295833333333334	293.6647679174076
+25.011458333333334	25.264583333333334	233.08188075904496
+25.020833333333332	25.545833333333334	97.99885899543733
+25.226041666666667	25.638541666666665	195.99771799087463
+25.51875	26.290625	391.99543598174927
+25.525	26.305208333333333	311.1269837220809
+25.539583333333333	26.369791666666668	77.78174593052023
+26.485416666666666	27.142708333333335	155.56349186104046
+26.9875	27.34375	174.61411571650194
+27.48125	27.858333333333334	174.61411571650194
+27.957291666666666	28.307291666666668	174.61411571650194
+28.490625	29.246875	116.54094037952248
+29.051041666666666	29.895833333333332	233.08188075904496
+29.579166666666666	30.21875	174.61411571650194
+30.08125	30.680208333333333	146.8323839587038
+30.534375	31.235416666666666	174.61411571650194
+31.025	31.794791666666665	146.8323839587038
+31.605208333333334	32.484375	116.54094037952248
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testdata/TRIOS-groundtruth/mozart/viola.lab	Wed Jun 04 10:57:54 2014 +0100
@@ -0,0 +1,32 @@
+9.49375	9.729166666666666	311.1269837220809
+9.727083333333333	10.005208333333334	261.6255653005986
+9.990625	10.234375	311.1269837220809
+10.235416666666667	10.459375	261.6255653005986
+10.48125	13.455208333333333	349.2282314330039
+13.461458333333333	16.535416666666666	349.2282314330039
+16.538541666666667	18.5125	349.2282314330039
+18.553125	18.765625	311.1269837220809
+18.761458333333334	19.00625	261.6255653005986
+18.996875	19.222916666666666	311.1269837220809
+19.222916666666666	19.495833333333334	261.6255653005986
+19.583333333333332	20.967708333333334	233.08188075904496
+20.967708333333334	22.495833333333334	246.94165062806206
+22.514583333333334	23.022916666666667	261.6255653005986
+23.045833333333334	23.5	329.6275569128699
+23.5	23.989583333333332	391.99543598174927
+23.980208333333334	24.965625	440.0
+24.961458333333333	25.533333333333335	466.1637615180899
+25.541666666666668	26.24375	391.99543598174927
+26.25	26.511458333333334	311.1269837220809
+26.519791666666666	26.75	391.99543598174927
+26.711458333333333	26.975	311.1269837220809
+26.979166666666668	27.944791666666667	293.6647679174076
+27.954166666666666	28.223958333333332	349.2282314330039
+28.235416666666666	28.504166666666666	311.1269837220809
+28.528125	28.933333333333334	293.6647679174076
+29.021875	29.5	233.08188075904496
+29.483333333333334	29.970833333333335	293.6647679174076
+29.973958333333332	30.45625	349.2282314330039
+30.467708333333334	30.944791666666667	293.6647679174076
+30.963541666666668	31.471875	349.2282314330039
+31.475	32.47083333333333	466.1637615180899
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testdata/TRIOS-groundtruth/schubert/cello.lab	Wed Jun 04 10:57:54 2014 +0100
@@ -0,0 +1,53 @@
+0.5875	1.2708333333333333	65.40639132514966
+1.2697916666666667	1.8822916666666667	130.8127826502993
+1.8864583333333333	2.5416666666666665	130.8127826502993
+2.551041666666667	2.98125	130.8127826502993
+2.997916666666667	3.25625	87.30705785825097
+3.1635416666666667	3.66875	130.8127826502993
+3.738541666666667	4.360416666666667	130.8127826502993
+4.365625	5.010416666666667	130.8127826502993
+5.01875	5.46875	130.8127826502993
+5.480208333333334	5.7125	87.30705785825097
+5.657291666666667	6.320833333333334	130.8127826502993
+8.655208333333333	9.577083333333333	207.65234878997256
+9.290625	10.4625	349.2282314330039
+10.294791666666667	10.6375	293.6647679174076
+10.64375	11.301041666666666	311.1269837220809
+11.235416666666667	12.79375	195.99771799087463
+11.85	12.757291666666667	349.2282314330039
+12.483333333333333	12.811458333333333	311.1269837220809
+12.788541666666667	13.09375	293.6647679174076
+13.107291666666667	15.008333333333333	261.6255653005986
+18.602083333333333	19.694791666666667	195.99771799087463
+19.248958333333334	20.340625	311.1269837220809
+20.314583333333335	20.657291666666666	349.2282314330039
+20.607291666666665	21.252083333333335	311.1269837220809
+21.245833333333334	21.91875	391.99543598174927
+21.8875	22.529166666666665	415.3046975799451
+22.5375	22.861458333333335	391.99543598174927
+22.813541666666666	23.135416666666668	349.2282314330039
+23.138541666666665	24.84375	311.1269837220809
+28.7	29.619791666666668	195.99771799087463
+29.358333333333334	30.961458333333333	233.08188075904496
+31.236458333333335	32.15208333333333	155.56349186104046
+31.852083333333333	33.157291666666666	261.6255653005986
+33.15208333333333	36.234375	246.94165062806206
+36.21145833333333	36.88854166666667	261.6255653005986
+36.85625	38.66458333333333	246.94165062806206
+38.672916666666666	39.3375	261.6255653005986
+39.35208333333333	40.68333333333333	246.94165062806206
+40.67604166666667	41.432291666666664	261.6255653005986
+42.219791666666666	42.483333333333334	311.1269837220809
+42.48645833333333	42.795833333333334	349.2282314330039
+42.8125	43.177083333333336	391.99543598174927
+43.14270833333333	44.33958333333333	415.3046975799451
+44.338541666666664	45.271875	391.99543598174927
+45.203125	45.78854166666667	349.2282314330039
+45.625	46.8875	311.1269837220809
+47.170833333333334	47.479166666666664	311.1269837220809
+47.47291666666667	47.82083333333333	349.2282314330039
+47.786458333333336	48.161458333333336	391.99543598174927
+48.146875	49.36354166666667	415.3046975799451
+49.342708333333334	50.3125	391.99543598174927
+50.28854166666667	50.708333333333336	349.2282314330039
+50.671875	51.49791666666667	311.1269837220809
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testdata/TRIOS-groundtruth/schubert/piano.lab	Wed Jun 04 10:57:54 2014 +0100
@@ -0,0 +1,292 @@
+5.59375	6.255208333333333	130.8127826502993
+5.59375	6.255208333333333	155.56349186104046
+5.59375	6.255208333333333	195.99771799087463
+5.59375	6.90625	391.99543598174927
+5.59375	6.90625	783.9908719634985
+6.286458333333333	6.901041666666667	130.8127826502993
+6.286458333333333	6.901041666666667	155.56349186104046
+6.286458333333333	6.901041666666667	195.99771799087463
+6.932291666666667	7.557291666666667	130.8127826502993
+6.932291666666667	7.557291666666667	155.56349186104046
+6.932291666666667	7.557291666666667	195.99771799087463
+6.932291666666667	8.15625	391.99543598174927
+6.932291666666667	8.15625	783.9908719634985
+7.578125	8.171875	130.8127826502993
+7.578125	8.171875	155.56349186104046
+7.578125	8.171875	195.99771799087463
+8.1875	8.817708333333334	130.8127826502993
+8.1875	8.817708333333334	174.61411571650194
+8.1875	8.817708333333334	207.65234878997256
+8.1875	9.96875	523.2511306011972
+8.1875	8.416666666666666	830.6093951598903
+8.333333333333334	8.630208333333334	932.3275230361799
+8.505208333333334	9.979166666666666	1046.5022612023945
+8.854166666666666	9.432291666666666	130.8127826502993
+8.854166666666666	9.432291666666666	174.61411571650194
+8.854166666666666	9.432291666666666	207.65234878997256
+9.479166666666666	9.989583333333334	130.8127826502993
+9.479166666666666	9.989583333333334	174.61411571650194
+9.479166666666666	9.989583333333334	207.65234878997256
+10.03125	10.588541666666666	130.8127826502993
+10.03125	10.588541666666666	174.61411571650194
+10.03125	10.588541666666666	207.65234878997256
+10.03125	10.640625	466.1637615180899
+10.03125	10.640625	932.3275230361799
+10.34375	10.828125	415.3046975799451
+10.34375	10.828125	830.6093951598903
+10.651041666666666	11.21875	130.8127826502993
+10.651041666666666	11.21875	155.56349186104046
+10.651041666666666	11.21875	195.99771799087463
+10.651041666666666	11.869791666666666	391.99543598174927
+10.651041666666666	11.869791666666666	783.9908719634985
+11.260416666666666	11.875	130.8127826502993
+11.260416666666666	11.875	155.56349186104046
+11.260416666666666	11.875	195.99771799087463
+11.260416666666666	11.875	622.2539674441618
+11.260416666666666	11.875	1244.5079348883237
+11.885416666666666	12.463541666666666	97.99885899543733
+11.885416666666666	12.463541666666666	146.8323839587038
+11.885416666666666	12.463541666666666	174.61411571650194
+11.885416666666666	12.463541666666666	195.99771799087463
+11.885416666666666	12.46875	493.8833012561241
+11.885416666666666	12.125	987.7666025122483
+12.03125	12.208333333333334	1046.5022612023945
+12.130208333333334	12.3125	987.7666025122483
+12.21875	12.380208333333334	1046.5022612023945
+12.322916666666666	12.760416666666666	987.7666025122483
+12.395833333333334	12.760416666666666	1046.5022612023945
+12.479166666666666	13.052083333333334	97.99885899543733
+12.479166666666666	13.046875	146.8323839587038
+12.479166666666666	13.052083333333334	174.61411571650194
+12.479166666666666	13.052083333333334	195.99771799087463
+12.78125	13.067708333333334	880.0
+12.901041666666666	13.078125	987.7666025122483
+13.072916666666666	13.682291666666666	130.8127826502993
+13.072916666666666	13.682291666666666	155.56349186104046
+13.072916666666666	13.682291666666666	195.99771799087463
+13.072916666666666	15.578125	523.2511306011972
+13.072916666666666	15.578125	1046.5022612023945
+13.703125	14.291666666666666	130.8127826502993
+13.703125	14.291666666666666	155.56349186104046
+13.703125	14.291666666666666	195.99771799087463
+14.338541666666666	14.927083333333334	130.8127826502993
+14.338541666666666	14.927083333333334	155.56349186104046
+14.338541666666666	14.927083333333334	195.99771799087463
+14.958333333333334	15.583333333333334	130.8127826502993
+14.958333333333334	15.583333333333334	155.56349186104046
+14.958333333333334	15.583333333333334	195.99771799087463
+15.432291666666666	15.588541666666666	174.61411571650194
+15.432291666666666	15.588541666666666	207.65234878997256
+15.604166666666666	16.234375	130.8127826502993
+15.604166666666666	16.234375	155.56349186104046
+15.604166666666666	16.234375	195.99771799087463
+15.604166666666666	17.484375	523.2511306011972
+15.604166666666666	17.484375	1046.5022612023945
+16.260416666666668	16.859375	130.8127826502993
+16.260416666666668	16.859375	155.56349186104046
+16.260416666666668	16.859375	195.99771799087463
+16.885416666666668	17.484375	130.8127826502993
+16.885416666666668	17.484375	155.56349186104046
+16.885416666666668	17.484375	195.99771799087463
+17.5	18.098958333333332	155.56349186104046
+17.5	18.098958333333332	195.99771799087463
+17.5	18.088541666666668	523.2511306011972
+17.5	18.088541666666668	1046.5022612023945
+18.109375	18.765625	523.2511306011972
+18.109375	18.765625	1046.5022612023945
+18.114583333333332	18.765625	155.56349186104046
+18.114583333333332	18.765625	195.99771799087463
+18.447916666666668	19.53125	466.1637615180899
+18.447916666666668	19.53125	932.3275230361799
+18.796875	19.401041666666668	155.56349186104046
+18.796875	19.401041666666668	195.99771799087463
+19.411458333333332	20.036458333333332	155.56349186104046
+19.411458333333332	20.036458333333332	195.99771799087463
+19.411458333333332	20.614583333333332	391.99543598174927
+19.411458333333332	20.614583333333332	783.9908719634985
+20.046875	20.619791666666668	130.8127826502993
+20.046875	20.619791666666668	155.56349186104046
+20.046875	20.619791666666668	195.99771799087463
+20.635416666666668	21.255208333333332	97.99885899543733
+20.635416666666668	21.255208333333332	130.8127826502993
+20.635416666666668	21.255208333333332	155.56349186104046
+20.635416666666668	21.255208333333332	195.99771799087463
+20.635416666666668	21.838541666666668	391.99543598174927
+20.635416666666668	21.838541666666668	783.9908719634985
+21.270833333333332	21.880208333333332	97.99885899543733
+21.270833333333332	21.880208333333332	130.8127826502993
+21.270833333333332	21.880208333333332	155.56349186104046
+21.270833333333332	21.880208333333332	195.99771799087463
+21.270833333333332	21.880208333333332	622.2539674441618
+21.270833333333332	21.880208333333332	1244.5079348883237
+21.895833333333332	22.442708333333332	97.99885899543733
+21.895833333333332	22.442708333333332	146.8323839587038
+21.895833333333332	22.442708333333332	174.61411571650194
+21.895833333333332	22.442708333333332	195.99771799087463
+21.895833333333332	22.442708333333332	493.8833012561241
+21.895833333333332	22.114583333333332	987.7666025122483
+22.036458333333332	22.208333333333332	1046.5022612023945
+22.125	22.296875	987.7666025122483
+22.223958333333332	22.411458333333332	1046.5022612023945
+22.3125	22.4375	987.7666025122483
+22.432291666666668	22.791666666666668	1046.5022612023945
+22.447916666666668	22.791666666666668	987.7666025122483
+22.46875	23.078125	97.99885899543733
+22.46875	23.078125	146.8323839587038
+22.46875	23.078125	174.61411571650194
+22.46875	23.078125	195.99771799087463
+22.807291666666668	23.197916666666668	880.0
+22.927083333333332	23.333333333333332	987.7666025122483
+23.083333333333332	23.703125	130.8127826502993
+23.083333333333332	23.703125	155.56349186104046
+23.083333333333332	23.703125	195.99771799087463
+23.083333333333332	25.588541666666668	523.2511306011972
+23.083333333333332	25.588541666666668	1046.5022612023945
+23.734375	24.328125	130.8127826502993
+23.734375	24.328125	155.56349186104046
+23.734375	24.328125	195.99771799087463
+24.364583333333332	24.979166666666668	130.8127826502993
+24.364583333333332	24.979166666666668	155.56349186104046
+24.364583333333332	24.979166666666668	195.99771799087463
+25	25.604166666666668	130.8127826502993
+25	25.604166666666668	155.56349186104046
+25	25.604166666666668	195.99771799087463
+25.447916666666668	25.614583333333332	174.61411571650194
+25.447916666666668	25.614583333333332	207.65234878997256
+25.630208333333332	26.255208333333332	130.8127826502993
+25.630208333333332	26.255208333333332	155.56349186104046
+25.630208333333332	26.255208333333332	195.99771799087463
+25.630208333333332	26.864583333333332	622.2539674441618
+25.630208333333332	26.864583333333332	1244.5079348883237
+26.286458333333332	26.859375	130.8127826502993
+26.286458333333332	26.859375	195.99771799087463
+26.890625	27.5	116.54094037952248
+26.890625	27.5	146.8323839587038
+26.890625	27.5	195.99771799087463
+26.890625	28.109375	587.3295358348151
+26.890625	28.109375	1174.6590716696303
+27.526041666666668	28.109375	116.54094037952248
+27.526041666666668	28.109375	146.8323839587038
+27.526041666666668	28.109375	195.99771799087463
+28.130208333333332	29.947916666666668	587.3295358348151
+28.130208333333332	29.947916666666668	1174.6590716696303
+28.135416666666668	28.786458333333332	155.56349186104046
+28.135416666666668	28.786458333333332	195.99771799087463
+28.479166666666668	29.973958333333332	391.99543598174927
+28.479166666666668	29.973958333333332	783.9908719634985
+28.807291666666668	29.395833333333332	155.56349186104046
+28.807291666666668	29.395833333333332	195.99771799087463
+29.411458333333332	29.984375	155.56349186104046
+29.411458333333332	29.984375	195.99771799087463
+29.989583333333332	30.598958333333332	155.56349186104046
+29.989583333333332	30.598958333333332	195.99771799087463
+29.989583333333332	30.598958333333332	391.99543598174927
+29.989583333333332	30.598958333333332	783.9908719634985
+30.614583333333332	31.234375	130.8127826502993
+30.614583333333332	31.234375	195.99771799087463
+30.614583333333332	31.848958333333332	391.99543598174927
+30.614583333333332	31.848958333333332	783.9908719634985
+31.25	31.848958333333332	130.8127826502993
+31.25	31.848958333333332	195.99771799087463
+31.864583333333332	32.484375	130.8127826502993
+31.864583333333332	32.484375	195.99771799087463
+31.864583333333332	33.119791666666664	440.0
+31.864583333333332	33.119791666666664	880.0
+32.5	33.114583333333336	130.8127826502993
+32.5	33.114583333333336	184.9972113558172
+32.791666666666664	33.114583333333336	391.99543598174927
+32.791666666666664	33.114583333333336	783.9908719634985
+33.130208333333336	33.734375	97.99885899543733
+33.130208333333336	33.734375	195.99771799087463
+33.130208333333336	34.9375	391.99543598174927
+33.130208333333336	34.9375	783.9908719634985
+33.75	34.333333333333336	97.99885899543733
+33.75	34.333333333333336	195.99771799087463
+34.34375	34.953125	97.99885899543733
+34.34375	34.953125	195.99771799087463
+34.96875	35.578125	783.9908719634985
+35.59375	36.177083333333336	391.99543598174927
+36.192708333333336	36.828125	195.99771799087463
+36.854166666666664	37.473958333333336	97.99885899543733
+37.473958333333336	38.104166666666664	783.9908719634985
+38.125	39.609375	391.99543598174927
+38.739583333333336	39.338541666666664	195.99771799087463
+39.348958333333336	39.927083333333336	97.99885899543733
+39.651041666666664	39.932291666666664	391.99543598174927
+39.942708333333336	40.161458333333336	87.30705785825097
+39.942708333333336	40.229166666666664	440.0
+40.078125	40.234375	97.99885899543733
+40.177083333333336	40.3125	87.30705785825097
+40.244791666666664	40.380208333333336	97.99885899543733
+40.244791666666664	40.567708333333336	493.8833012561241
+40.328125	40.4375	87.30705785825097
+40.395833333333336	40.520833333333336	97.99885899543733
+40.453125	40.578125	87.30705785825097
+40.588541666666664	41.166666666666664	77.78174593052023
+40.588541666666664	41.166666666666664	523.2511306011972
+41.171875	41.796875	130.8127826502993
+41.171875	41.796875	195.99771799087463
+41.171875	41.796875	261.6255653005986
+41.171875	41.796875	622.2539674441618
+41.171875	41.796875	1244.5079348883237
+41.817708333333336	42.432291666666664	130.8127826502993
+41.817708333333336	42.432291666666664	195.99771799087463
+41.817708333333336	42.432291666666664	261.6255653005986
+41.817708333333336	42.739583333333336	523.2511306011972
+41.817708333333336	42.739583333333336	1046.5022612023945
+42.458333333333336	43.057291666666664	155.56349186104046
+42.458333333333336	43.057291666666664	261.6255653005986
+42.765625	43.078125	622.2539674441618
+43.083333333333336	43.6875	174.61411571650194
+43.083333333333336	43.6875	261.6255653005986
+43.083333333333336	43.6875	587.3295358348151
+43.692708333333336	44.3125	174.61411571650194
+43.692708333333336	44.3125	261.6255653005986
+43.692708333333336	44.640625	587.3295358348151
+44.34375	44.963541666666664	195.99771799087463
+44.34375	44.963541666666664	246.94165062806206
+44.661458333333336	44.963541666666664	622.2539674441618
+44.807291666666664	45.088541666666664	698.4564628660078
+44.979166666666664	45.572916666666664	195.99771799087463
+44.979166666666664	45.572916666666664	246.94165062806206
+44.979166666666664	45.572916666666664	349.2282314330039
+44.979166666666664	45.447916666666664	783.9908719634985
+45.125	45.552083333333336	698.4564628660078
+45.255208333333336	45.59375	622.2539674441618
+45.401041666666664	45.59375	587.3295358348151
+45.604166666666664	46.229166666666664	207.65234878997256
+45.604166666666664	46.229166666666664	261.6255653005986
+45.604166666666664	46.229166666666664	311.1269837220809
+45.604166666666664	46.229166666666664	523.2511306011972
+46.239583333333336	46.848958333333336	207.65234878997256
+46.239583333333336	46.848958333333336	261.6255653005986
+46.239583333333336	46.864583333333336	622.2539674441618
+46.239583333333336	46.864583333333336	1244.5079348883237
+46.885416666666664	47.484375	155.56349186104046
+46.885416666666664	47.484375	195.99771799087463
+46.885416666666664	47.484375	261.6255653005986
+46.885416666666664	47.78125	523.2511306011972
+46.885416666666664	47.78125	1046.5022612023945
+47.515625	48.104166666666664	155.56349186104046
+47.515625	48.104166666666664	195.99771799087463
+47.515625	48.104166666666664	261.6255653005986
+47.796875	48.098958333333336	622.2539674441618
+48.114583333333336	48.75	174.61411571650194
+48.114583333333336	48.75	261.6255653005986
+48.114583333333336	48.75	587.3295358348151
+48.770833333333336	49.395833333333336	174.61411571650194
+48.770833333333336	49.395833333333336	261.6255653005986
+48.770833333333336	49.734375	587.3295358348151
+49.411458333333336	50.026041666666664	195.99771799087463
+49.411458333333336	50.026041666666664	246.94165062806206
+49.744791666666664	49.963541666666664	622.2539674441618
+49.90625	50.125	698.4564628660078
+50.052083333333336	50.671875	48.999429497718666
+50.052083333333336	50.671875	97.99885899543733
+50.052083333333336	50.333333333333336	783.9908719634985
+50.21875	50.5	698.4564628660078
+50.354166666666664	50.588541666666664	622.2539674441618
+50.520833333333336	50.791666666666664	587.3295358348151
+50.692708333333336	51.572916666666664	51.91308719749314
+50.692708333333336	51.572916666666664	103.82617439498628
+50.692708333333336	51.572916666666664	523.2511306011972
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testdata/TRIOS-groundtruth/schubert/violin.lab	Wed Jun 04 10:57:54 2014 +0100
@@ -0,0 +1,57 @@
+0.5635416666666667	1.1729166666666666	195.99771799087463
+0.5635416666666667	1.1729166666666666	311.1269837220809
+1.25	1.796875	311.1269837220809
+1.25	1.796875	195.99771799087463
+1.875	2.4229166666666666	311.1269837220809
+1.875	2.4229166666666666	195.99771799087463
+2.5	3.017708333333333	195.99771799087463
+2.5	3.017708333333333	311.1269837220809
+3.0010416666666666	3.158333333333333	349.2282314330039
+3.0010416666666666	3.158333333333333	207.65234878997256
+3.175	3.7416666666666667	195.99771799087463
+3.175	3.7416666666666667	311.1269837220809
+3.8020833333333335	4.35	195.99771799087463
+3.8020833333333335	4.35	311.1269837220809
+4.394791666666666	4.942708333333333	195.99771799087463
+4.394791666666666	4.942708333333333	311.1269837220809
+5	5.453125	195.99771799087463
+5	5.453125	311.1269837220809
+5.444791666666666	5.595833333333333	207.65234878997256
+5.444791666666666	5.595833333333333	349.2282314330039
+5.595833333333333	6.203125	195.99771799087463
+5.595833333333333	6.203125	311.1269837220809
+6.263541666666667	6.863541666666666	195.99771799087463
+6.861458333333333	8.325	311.1269837220809
+11.20625	12.042708333333334	195.99771799087463
+11.911458333333334	12.5	415.3046975799451
+12.475	12.841666666666667	391.99543598174927
+12.811458333333333	13.159375	349.2282314330039
+13.136458333333334	14.463541666666666	311.1269837220809
+16.244791666666668	16.904166666666665	195.99771799087463
+16.915625	18.335416666666667	311.1269837220809
+21.25	21.875	195.99771799087463
+21.85	22.488541666666666	349.2282314330039
+22.459375	22.754166666666666	311.1269837220809
+22.720833333333335	23.114583333333332	293.6647679174076
+23.097916666666666	24.335416666666667	261.6255653005986
+26.227083333333333	26.875	195.99771799087463
+26.870833333333334	28.520833333333332	391.99543598174927
+31.155208333333334	31.9875	261.6255653005986
+31.875	33.1375	311.1269837220809
+33.1	36.18020833333333	293.6647679174076
+36.229166666666664	36.74166666666667	311.1269837220809
+36.82083333333333	38.66458333333333	293.6647679174076
+38.69583333333333	39.13333333333333	311.1269837220809
+39.21875	40.65416666666667	293.6647679174076
+40.625	41.3625	311.1269837220809
+44.675	44.985416666666666	391.99543598174927
+44.98854166666667	45.280208333333334	440.0
+45.284375	45.615625	493.8833012561241
+45.615625	46.483333333333334	523.2511306011972
+46.49791666666667	46.98854166666667	523.2511306011972
+46.89270833333333	47.56041666666667	622.2539674441618
+47.51979166666667	48.172916666666666	523.2511306011972
+49.62083333333333	49.97291666666667	783.9908719634985
+49.963541666666664	50.307291666666664	880.0
+50.259375	50.63125	987.7666025122483
+50.60208333333333	51.64791666666667	1046.5022612023945
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testdata/TRIOS-groundtruth/take_five/kick.lab	Wed Jun 04 10:57:54 2014 +0100
@@ -0,0 +1,25 @@
+0.646875	1.39375	65.40639132514966
+2.3333333333333335	3.0791666666666666	65.40639132514966
+3.996875	4.742708333333334	65.40639132514966
+5.61875	6.365625	65.40639132514966
+7.340625	8.086458333333333	65.40639132514966
+8.975	9.720833333333333	65.40639132514966
+10.645833333333334	11.392708333333333	65.40639132514966
+12.26875	13.014583333333333	65.40639132514966
+13.972916666666666	14.71875	65.40639132514966
+15.638541666666667	16.384375	65.40639132514966
+17.313541666666666	18.059375	65.40639132514966
+18.95	19.696875	65.40639132514966
+20.651041666666668	21.396875	65.40639132514966
+22.314583333333335	23.060416666666665	65.40639132514966
+23.991666666666667	24.738541666666666	65.40639132514966
+25.658333333333335	26.404166666666665	65.40639132514966
+27.341666666666665	28.0875	65.40639132514966
+29.028125	29.773958333333333	65.40639132514966
+30.647916666666667	31.39375	65.40639132514966
+32.333333333333336	33.079166666666666	65.40639132514966
+33.985416666666666	34.73125	65.40639132514966
+35.645833333333336	36.391666666666666	65.40639132514966
+37.34375	38.08958333333333	65.40639132514966
+38.983333333333334	39.729166666666664	65.40639132514966
+40.626041666666666	41.371875	65.40639132514966
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testdata/TRIOS-groundtruth/take_five/piano.lab	Wed Jun 04 10:57:54 2014 +0100
@@ -0,0 +1,217 @@
+7.333333333333333	7.854166666666667	77.78174593052023
+7.541666666666667	7.854166666666667	184.9972113558172
+7.541666666666667	7.854166666666667	233.08188075904496
+7.541666666666667	7.854166666666667	311.1269837220809
+7.864583333333333	8.34375	77.78174593052023
+8.020833333333334	8.348958333333334	184.9972113558172
+8.020833333333334	8.348958333333334	233.08188075904496
+8.020833333333334	8.348958333333334	311.1269837220809
+8.354166666666666	9.015625	116.54094037952248
+8.682291666666666	9.015625	174.61411571650194
+8.682291666666666	9.015625	207.65234878997256
+8.682291666666666	9.015625	277.1826309768721
+9.020833333333334	9.536458333333334	77.78174593052023
+9.213541666666666	9.536458333333334	184.9972113558172
+9.213541666666666	9.536458333333334	233.08188075904496
+9.213541666666666	9.536458333333334	311.1269837220809
+9.541666666666666	10.026041666666666	77.78174593052023
+9.692708333333334	10.026041666666666	184.9972113558172
+9.692708333333334	10.026041666666666	233.08188075904496
+9.692708333333334	10.026041666666666	311.1269837220809
+10.03125	10.682291666666666	116.54094037952248
+10.364583333333334	10.677083333333334	174.61411571650194
+10.364583333333334	10.677083333333334	207.65234878997256
+10.364583333333334	10.677083333333334	277.1826309768721
+10.6875	11.213541666666666	77.78174593052023
+10.916666666666666	11.213541666666666	184.9972113558172
+10.916666666666666	11.213541666666666	233.08188075904496
+10.916666666666666	11.213541666666666	311.1269837220809
+11.223958333333334	11.697916666666666	77.78174593052023
+11.390625	11.703125	184.9972113558172
+11.390625	11.703125	233.08188075904496
+11.390625	11.703125	311.1269837220809
+11.708333333333334	12.348958333333334	116.54094037952248
+12.03125	12.348958333333334	174.61411571650194
+12.03125	12.348958333333334	207.65234878997256
+12.03125	12.348958333333334	277.1826309768721
+12.359375	12.869791666666666	77.78174593052023
+12.5625	12.869791666666666	184.9972113558172
+12.5625	12.869791666666666	233.08188075904496
+12.5625	12.869791666666666	311.1269837220809
+12.875	13.348958333333334	77.78174593052023
+13.046875	13.348958333333334	184.9972113558172
+13.046875	13.348958333333334	233.08188075904496
+13.046875	13.348958333333334	311.1269837220809
+13.354166666666666	14.010416666666666	116.54094037952248
+13.677083333333334	14.010416666666666	174.61411571650194
+13.677083333333334	14.010416666666666	207.65234878997256
+13.677083333333334	14.010416666666666	277.1826309768721
+14.015625	14.53125	77.78174593052023
+14.213541666666666	14.53125	184.9972113558172
+14.213541666666666	14.53125	233.08188075904496
+14.213541666666666	14.53125	311.1269837220809
+14.536458333333334	15.010416666666666	77.78174593052023
+14.697916666666666	15.010416666666666	184.9972113558172
+14.697916666666666	15.010416666666666	233.08188075904496
+14.697916666666666	15.010416666666666	311.1269837220809
+15.020833333333334	15.682291666666666	116.54094037952248
+15.354166666666666	15.6875	174.61411571650194
+15.354166666666666	15.6875	207.65234878997256
+15.354166666666666	15.6875	277.1826309768721
+15.692708333333334	16.21875	77.78174593052023
+15.885416666666666	16.21875	184.9972113558172
+15.885416666666666	16.21875	233.08188075904496
+15.885416666666666	16.21875	311.1269837220809
+16.223958333333332	16.677083333333332	77.78174593052023
+16.380208333333332	16.682291666666668	184.9972113558172
+16.380208333333332	16.682291666666668	233.08188075904496
+16.380208333333332	16.682291666666668	311.1269837220809
+16.692708333333332	17.359375	116.54094037952248
+17.015625	17.359375	174.61411571650194
+17.015625	17.359375	207.65234878997256
+17.015625	17.359375	277.1826309768721
+17.364583333333332	17.869791666666668	77.78174593052023
+17.557291666666668	17.869791666666668	184.9972113558172
+17.557291666666668	17.869791666666668	233.08188075904496
+17.557291666666668	17.869791666666668	311.1269837220809
+17.875	18.34375	77.78174593052023
+18.046875	18.34375	184.9972113558172
+18.046875	18.34375	233.08188075904496
+18.046875	18.34375	311.1269837220809
+18.359375	19.03125	116.54094037952248
+18.697916666666668	19.03125	174.61411571650194
+18.697916666666668	19.03125	207.65234878997256
+18.697916666666668	19.03125	277.1826309768721
+19.041666666666668	19.541666666666668	77.78174593052023
+19.244791666666668	19.541666666666668	184.9972113558172
+19.244791666666668	19.541666666666668	233.08188075904496
+19.244791666666668	19.541666666666668	311.1269837220809
+19.546875	20.03125	77.78174593052023
+19.723958333333332	20.03125	184.9972113558172
+19.723958333333332	20.03125	233.08188075904496
+19.723958333333332	20.03125	311.1269837220809
+20.041666666666668	20.692708333333332	116.54094037952248
+20.364583333333332	20.692708333333332	174.61411571650194
+20.364583333333332	20.692708333333332	207.65234878997256
+20.364583333333332	20.692708333333332	277.1826309768721
+20.703125	21.197916666666668	77.78174593052023
+20.90625	21.203125	184.9972113558172
+20.90625	21.203125	233.08188075904496
+20.90625	21.203125	311.1269837220809
+21.208333333333332	21.692708333333332	77.78174593052023
+21.380208333333332	21.697916666666668	184.9972113558172
+21.380208333333332	21.697916666666668	233.08188075904496
+21.380208333333332	21.697916666666668	311.1269837220809
+21.703125	22.348958333333332	116.54094037952248
+22.026041666666668	22.348958333333332	174.61411571650194
+22.026041666666668	22.348958333333332	207.65234878997256
+22.026041666666668	22.348958333333332	277.1826309768721
+22.354166666666668	22.869791666666668	77.78174593052023
+22.557291666666668	22.869791666666668	184.9972113558172
+22.557291666666668	22.869791666666668	233.08188075904496
+22.557291666666668	22.869791666666668	311.1269837220809
+22.875	23.34375	77.78174593052023
+23.036458333333332	23.34375	184.9972113558172
+23.036458333333332	23.34375	233.08188075904496
+23.036458333333332	23.34375	311.1269837220809
+23.354166666666668	24.020833333333332	116.54094037952248
+23.6875	24.026041666666668	174.61411571650194
+23.6875	24.026041666666668	207.65234878997256
+23.6875	24.026041666666668	277.1826309768721
+24.03125	24.541666666666668	77.78174593052023
+24.229166666666668	24.541666666666668	184.9972113558172
+24.229166666666668	24.541666666666668	233.08188075904496
+24.229166666666668	24.541666666666668	311.1269837220809
+24.546875	25.026041666666668	77.78174593052023
+24.708333333333332	25.020833333333332	184.9972113558172
+24.708333333333332	25.020833333333332	233.08188075904496
+24.708333333333332	25.020833333333332	311.1269837220809
+25.03125	25.703125	116.54094037952248
+25.359375	25.708333333333332	174.61411571650194
+25.359375	25.708333333333332	207.65234878997256
+25.359375	25.708333333333332	277.1826309768721
+25.713541666666668	26.213541666666668	77.78174593052023
+25.901041666666668	26.213541666666668	184.9972113558172
+25.901041666666668	26.213541666666668	233.08188075904496
+25.901041666666668	26.213541666666668	311.1269837220809
+26.21875	26.677083333333332	77.78174593052023
+26.375	26.682291666666668	184.9972113558172
+26.375	26.682291666666668	233.08188075904496
+26.375	26.682291666666668	311.1269837220809
+26.6875	27.348958333333332	116.54094037952248
+27.010416666666668	27.354166666666668	174.61411571650194
+27.010416666666668	27.354166666666668	207.65234878997256
+27.010416666666668	27.354166666666668	277.1826309768721
+27.359375	27.864583333333332	123.47082531403103
+27.541666666666668	27.864583333333332	233.08188075904496
+27.541666666666668	27.864583333333332	311.1269837220809
+27.875	28.354166666666668	155.56349186104046
+28.020833333333332	28.354166666666668	233.08188075904496
+28.020833333333332	28.354166666666668	311.1269837220809
+28.364583333333332	29.010416666666668	174.61411571650194
+28.682291666666668	29.010416666666668	207.65234878997256
+28.682291666666668	29.010416666666668	311.1269837220809
+29.015625	29.515625	116.54094037952248
+29.223958333333332	29.515625	207.65234878997256
+29.223958333333332	29.515625	277.1826309768721
+29.526041666666668	30.005208333333332	138.59131548843604
+29.692708333333332	30.005208333333332	207.65234878997256
+29.692708333333332	30.005208333333332	277.1826309768721
+30.015625	30.677083333333332	155.56349186104046
+30.328125	30.677083333333332	184.9972113558172
+30.328125	30.677083333333332	277.1826309768721
+30.682291666666668	31.192708333333332	103.82617439498628
+30.875	31.192708333333332	184.9972113558172
+30.875	31.192708333333332	246.94165062806206
+31.203125	31.677083333333332	123.47082531403103
+31.364583333333332	31.677083333333332	184.9972113558172
+31.364583333333332	31.677083333333332	246.94165062806206
+31.692708333333332	32.338541666666664	138.59131548843604
+32.03125	32.338541666666664	174.61411571650194
+32.03125	32.338541666666664	246.94165062806206
+32.34375	32.848958333333336	92.4986056779086
+32.541666666666664	32.848958333333336	174.61411571650194
+32.541666666666664	32.848958333333336	233.08188075904496
+32.854166666666664	33.317708333333336	92.4986056779086
+33.010416666666664	33.317708333333336	174.61411571650194
+33.010416666666664	33.317708333333336	233.08188075904496
+33.333333333333336	34	116.54094037952248
+33.666666666666664	34	207.65234878997256
+33.666666666666664	34	293.6647679174076
+34.005208333333336	34.505208333333336	123.47082531403103
+34.197916666666664	34.505208333333336	233.08188075904496
+34.197916666666664	34.505208333333336	311.1269837220809
+34.515625	34.989583333333336	155.56349186104046
+34.661458333333336	34.989583333333336	233.08188075904496
+34.661458333333336	34.989583333333336	311.1269837220809
+35	35.666666666666664	174.61411571650194
+35.3125	35.666666666666664	207.65234878997256
+35.3125	35.666666666666664	311.1269837220809
+35.671875	36.171875	116.54094037952248
+35.864583333333336	36.171875	207.65234878997256
+35.864583333333336	36.171875	277.1826309768721
+36.177083333333336	36.666666666666664	138.59131548843604
+36.34375	36.666666666666664	207.65234878997256
+36.34375	36.666666666666664	277.1826309768721
+36.671875	37.354166666666664	155.56349186104046
+37	37.354166666666664	184.9972113558172
+37	37.354166666666664	277.1826309768721
+37.359375	37.864583333333336	103.82617439498628
+37.552083333333336	37.864583333333336	184.9972113558172
+37.552083333333336	37.864583333333336	246.94165062806206
+37.869791666666664	38.338541666666664	123.47082531403103
+38.041666666666664	38.338541666666664	184.9972113558172
+38.041666666666664	38.338541666666664	246.94165062806206
+38.34375	38.994791666666664	138.59131548843604
+38.671875	38.994791666666664	174.61411571650194
+38.671875	38.994791666666664	246.94165062806206
+39	39.520833333333336	92.4986056779086
+39.213541666666664	39.515625	174.61411571650194
+39.213541666666664	39.515625	233.08188075904496
+39.526041666666664	40	92.4986056779086
+39.677083333333336	40	174.61411571650194
+39.677083333333336	40	233.08188075904496
+40.005208333333336	40.6875	116.54094037952248
+40.338541666666664	40.6875	207.65234878997256
+40.338541666666664	40.6875	293.6647679174076
+40.692708333333336	41.239583333333336	77.78174593052023
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testdata/TRIOS-groundtruth/take_five/ride.lab	Wed Jun 04 10:57:54 2014 +0100
@@ -0,0 +1,151 @@
+0.671875	0.9916666666666667	246.94165062806206
+1	1.2125	246.94165062806206
+1.21875	1.325	246.94165062806206
+1.3333333333333333	1.64375	246.94165062806206
+1.653125	1.975	246.94165062806206
+1.9854166666666666	2.3333333333333335	246.94165062806206
+2.3427083333333334	2.6666666666666665	246.94165062806206
+2.6770833333333335	2.8666666666666667	246.94165062806206
+2.877083333333333	2.9895833333333335	246.94165062806206
+3.002083333333333	3.303125	246.94165062806206
+3.3125	3.5395833333333333	246.94165062806206
+3.546875	3.652083333333333	246.94165062806206
+3.659375	3.9739583333333335	246.94165062806206
+3.9833333333333334	4.296875	246.94165062806206
+4.310416666666667	4.552083333333333	246.94165062806206
+4.561458333333333	4.652083333333334	246.94165062806206
+4.659375	4.977083333333334	246.94165062806206
+4.983333333333333	5.308333333333334	246.94165062806206
+5.316666666666666	5.666666666666667	246.94165062806206
+5.673958333333333	6	246.94165062806206
+6.008333333333334	6.333333333333333	246.94165062806206
+6.340625	6.666666666666667	246.94165062806206
+6.673958333333333	6.89375	246.94165062806206
+6.904166666666667	6.995833333333334	246.94165062806206
+7.00625	7.325	246.94165062806206
+7.333333333333333	7.675	246.94165062806206
+7.685416666666667	8	246.94165062806206
+8.0125	8.329166666666667	246.94165062806206
+8.338541666666666	8.552083333333334	246.94165062806206
+8.561458333333333	8.666666666666666	246.94165062806206
+8.675	9.008333333333333	246.94165062806206
+9.01875	9.341666666666667	246.94165062806206
+9.351041666666667	9.570833333333333	246.94165062806206
+9.579166666666667	9.683333333333334	246.94165062806206
+9.695833333333333	10	246.94165062806206
+10.010416666666666	10.333333333333334	246.94165062806206
+10.342708333333333	10.666666666666666	246.94165062806206
+10.675	11.008333333333333	246.94165062806206
+11.016666666666667	11.23125	246.94165062806206
+11.242708333333333	11.344791666666667	246.94165062806206
+11.355208333333334	11.658333333333333	246.94165062806206
+11.666666666666666	11.879166666666666	246.94165062806206
+11.885416666666666	11.99375	246.94165062806206
+12	12.308333333333334	246.94165062806206
+12.317708333333334	12.639583333333333	246.94165062806206
+12.652083333333334	12.903125	246.94165062806206
+12.908333333333333	13.003125	246.94165062806206
+13.009375	13.330208333333333	246.94165062806206
+13.333333333333334	13.6625	246.94165062806206
+13.666666666666666	14.00625	246.94165062806206
+14.014583333333333	14.355208333333334	246.94165062806206
+14.364583333333334	14.545833333333333	246.94165062806206
+14.552083333333334	14.666666666666666	246.94165062806206
+14.670833333333333	14.995833333333334	246.94165062806206
+15	15.315625	246.94165062806206
+15.321875	15.670833333333333	246.94165062806206
+15.678125	15.989583333333334	246.94165062806206
+15.995833333333334	16.196875	246.94165062806206
+16.202083333333334	16.303125	246.94165062806206
+16.309375	16.625	246.94165062806206
+16.634375	16.8625	246.94165062806206
+16.869791666666668	16.978125	246.94165062806206
+16.985416666666666	17.303125	246.94165062806206
+17.309375	17.660416666666666	246.94165062806206
+17.666666666666668	17.84375	246.94165062806206
+17.855208333333334	17.958333333333332	246.94165062806206
+17.964583333333334	18.292708333333334	246.94165062806206
+18.302083333333332	18.619791666666668	246.94165062806206
+18.629166666666666	18.969791666666666	246.94165062806206
+18.978125	19.327083333333334	246.94165062806206
+19.333333333333332	19.647916666666667	246.94165062806206
+19.655208333333334	20	246.94165062806206
+20.009375	20.189583333333335	246.94165062806206
+20.196875	20.288541666666667	246.94165062806206
+20.29375	20.6625	246.94165062806206
+20.666666666666668	20.99375	246.94165062806206
+21	21.21875	246.94165062806206
+21.225	21.358333333333334	246.94165062806206
+21.365625	21.670833333333334	246.94165062806206
+21.676041666666666	21.986458333333335	246.94165062806206
+21.99375	22.3375	246.94165062806206
+22.34375	22.6625	246.94165062806206
+22.666666666666668	22.879166666666666	246.94165062806206
+22.885416666666668	22.978125	246.94165062806206
+22.983333333333334	23.333333333333332	246.94165062806206
+23.344791666666666	23.541666666666668	246.94165062806206
+23.547916666666666	23.646875	246.94165062806206
+23.652083333333334	23.99375	246.94165062806206
+24	24.326041666666665	246.94165062806206
+24.333333333333332	24.565625	246.94165062806206
+24.572916666666668	24.666666666666668	246.94165062806206
+24.672916666666666	25	246.94165062806206
+25.005208333333332	25.321875	246.94165062806206
+25.327083333333334	25.666666666666668	246.94165062806206
+25.672916666666666	26.008333333333333	246.94165062806206
+26.014583333333334	26.341666666666665	246.94165062806206
+26.348958333333332	26.652083333333334	246.94165062806206
+26.659375	26.8375	246.94165062806206
+26.84375	26.944791666666667	246.94165062806206
+26.951041666666665	27.307291666666668	246.94165062806206
+27.315625	27.678125	246.94165062806206
+27.684375	27.88125	246.94165062806206
+27.885416666666668	27.99375	246.94165062806206
+28	28.3375	246.94165062806206
+28.344791666666666	28.641666666666666	246.94165062806206
+28.652083333333334	28.992708333333333	246.94165062806206
+29	29.341666666666665	246.94165062806206
+29.346875	29.547916666666666	246.94165062806206
+29.552083333333332	29.672916666666666	246.94165062806206
+29.678125	29.99375	246.94165062806206
+30	30.229166666666668	246.94165062806206
+30.233333333333334	30.3375	246.94165062806206
+30.34375	30.675	246.94165062806206
+30.683333333333334	31.004166666666666	246.94165062806206
+31.010416666666668	31.211458333333333	246.94165062806206
+31.21875	31.303125	246.94165062806206
+31.309375	31.641666666666666	246.94165062806206
+31.648958333333333	32.00833333333333	246.94165062806206
+32.015625	32.333333333333336	246.94165062806206
+32.33958333333333	32.68020833333333	246.94165062806206
+32.6875	32.99375	246.94165062806206
+33	33.325	246.94165062806206
+33.328125	33.53854166666667	246.94165062806206
+33.545833333333334	33.64479166666667	246.94165062806206
+33.65	33.99270833333333	246.94165062806206
+34	34.34375	246.94165062806206
+34.35	34.577083333333334	246.94165062806206
+34.583333333333336	34.678125	246.94165062806206
+34.684375	35	246.94165062806206
+35.00729166666667	35.307291666666664	246.94165062806206
+35.313541666666666	35.641666666666666	246.94165062806206
+35.64791666666667	35.99375	246.94165062806206
+36	36.19375	246.94165062806206
+36.20104166666667	36.311458333333334	246.94165062806206
+36.317708333333336	36.63229166666667	246.94165062806206
+36.639583333333334	36.844791666666666	246.94165062806206
+36.85104166666667	36.953125	246.94165062806206
+36.96041666666667	37.31979166666667	246.94165062806206
+37.32604166666667	37.64375	246.94165062806206
+37.64791666666667	37.885416666666664	246.94165062806206
+37.891666666666666	38	246.94165062806206
+38.00625	38.32604166666667	246.94165062806206
+38.33229166666667	38.645833333333336	246.94165062806206
+38.651041666666664	38.97291666666667	246.94165062806206
+38.98020833333333	39.31458333333333	246.94165062806206
+39.321875	39.64791666666667	246.94165062806206
+39.65208333333333	40	246.94165062806206
+40.00625	40.204166666666666	246.94165062806206
+40.209375	40.297916666666666	246.94165062806206
+40.30416666666667	40.67395833333333	246.94165062806206
+40.68125	43.446875	246.94165062806206
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testdata/TRIOS-groundtruth/take_five/saxophone.lab	Wed Jun 04 10:57:54 2014 +0100
@@ -0,0 +1,105 @@
+13.348958333333334	13.583333333333334	233.08188075904496
+13.572916666666666	13.703125	311.1269837220809
+13.703125	13.895833333333334	369.9944227116344
+13.880208333333334	14.036458333333334	415.3046975799451
+14.026041666666666	14.25	440.0
+14.244791666666666	14.369791666666666	466.1637615180899
+14.359375	14.557291666666666	440.0
+14.546875	14.729166666666666	415.3046975799451
+14.713541666666666	14.921875	369.9944227116344
+15.005208333333334	15.375	233.08188075904496
+15.359375	15.651041666666666	277.1826309768721
+15.713541666666666	16.567708333333332	311.1269837220809
+16.661458333333332	16.78125	349.2282314330039
+16.755208333333332	16.859375	369.9944227116344
+16.854166666666668	16.973958333333332	311.1269837220809
+16.958333333333332	17.322916666666668	277.1826309768721
+17.3125	18.239583333333332	311.1269837220809
+18.369791666666668	18.473958333333332	277.1826309768721
+18.453125	18.515625	311.1269837220809
+18.5	18.630208333333332	277.1826309768721
+18.604166666666668	18.692708333333332	233.08188075904496
+18.677083333333332	19.015625	207.65234878997256
+19.005208333333332	19.953125	233.08188075904496
+20.072916666666668	20.276041666666668	233.08188075904496
+20.260416666666668	20.380208333333332	311.1269837220809
+20.390625	20.578125	369.9944227116344
+20.557291666666668	20.697916666666668	415.3046975799451
+20.6875	20.901041666666668	440.0
+20.885416666666668	21.046875	466.1637615180899
+21.020833333333332	21.234375	440.0
+21.21875	21.375	415.3046975799451
+21.359375	21.583333333333332	369.9944227116344
+21.697916666666668	22.083333333333332	233.08188075904496
+22.0625	22.328125	277.1826309768721
+22.390625	23.182291666666668	311.1269837220809
+23.359375	23.421875	277.1826309768721
+23.411458333333332	23.489583333333332	311.1269837220809
+23.479166666666668	23.59375	277.1826309768721
+23.567708333333332	23.671875	233.08188075904496
+23.645833333333332	23.953125	207.65234878997256
+24	24.885416666666668	233.08188075904496
+25	25.067708333333332	349.2282314330039
+25.052083333333332	25.161458333333332	369.9944227116344
+25.151041666666668	25.197916666666668	349.2282314330039
+25.197916666666668	25.296875	311.1269837220809
+25.286458333333332	25.640625	277.1826309768721
+25.630208333333332	26.760416666666668	311.1269837220809
+27.369791666666668	27.59375	622.2539674441618
+27.583333333333332	27.760416666666668	739.9888454232688
+27.895833333333332	28.057291666666668	622.2539674441618
+28.041666666666668	28.333333333333332	493.8833012561241
+28.348958333333332	28.578125	415.3046975799451
+28.5625	28.708333333333332	466.1637615180899
+28.692708333333332	28.885416666666668	493.8833012561241
+28.869791666666668	29.026041666666668	523.2511306011972
+29.010416666666668	29.229166666666668	554.3652619537442
+29.213541666666668	29.401041666666668	698.4564628660078
+29.505208333333332	29.697916666666668	554.3652619537442
+29.65625	29.963541666666668	466.1637615180899
+29.994791666666668	30.203125	369.9944227116344
+30.1875	30.348958333333332	415.3046975799451
+30.333333333333332	30.53125	440.0
+30.515625	30.677083333333332	466.1637615180899
+30.661458333333332	30.875	493.8833012561241
+30.864583333333332	31.052083333333332	622.2539674441618
+31.151041666666668	31.333333333333332	493.8833012561241
+31.307291666666668	31.635416666666668	415.3046975799451
+31.640625	31.880208333333332	349.2282314330039
+31.854166666666668	31.984375	369.9944227116344
+31.973958333333332	32.197916666666664	415.3046975799451
+32.182291666666664	32.333333333333336	440.0
+32.317708333333336	32.53125	466.1637615180899
+32.515625	32.666666666666664	440.0
+32.651041666666664	32.848958333333336	466.1637615180899
+32.838541666666664	33.015625	493.8833012561241
+32.994791666666664	33.213541666666664	554.3652619537442
+33.322916666666664	33.5625	554.3652619537442
+33.536458333333336	33.6875	523.2511306011972
+33.666666666666664	33.875	554.3652619537442
+33.859375	34.036458333333336	587.3295358348151
+34.026041666666664	34.208333333333336	622.2539674441618
+34.197916666666664	34.395833333333336	739.9888454232688
+34.541666666666664	34.677083333333336	622.2539674441618
+34.666666666666664	34.973958333333336	493.8833012561241
+35.005208333333336	35.234375	415.3046975799451
+35.223958333333336	35.359375	466.1637615180899
+35.34375	35.546875	493.8833012561241
+35.526041666666664	35.6875	523.2511306011972
+35.666666666666664	35.90625	554.3652619537442
+35.885416666666664	36.067708333333336	698.4564628660078
+36.208333333333336	36.390625	554.3652619537442
+36.359375	36.645833333333336	466.1637615180899
+36.6875	36.885416666666664	369.9944227116344
+36.875	37.026041666666664	415.3046975799451
+37.010416666666664	37.208333333333336	440.0
+37.192708333333336	37.369791666666664	466.1637615180899
+37.354166666666664	37.557291666666664	493.8833012561241
+37.546875	37.729166666666664	622.2539674441618
+37.848958333333336	38.036458333333336	493.8833012561241
+38.005208333333336	38.328125	415.3046975799451
+38.338541666666664	38.552083333333336	349.2282314330039
+38.536458333333336	38.677083333333336	415.3046975799451
+38.666666666666664	38.90625	554.3652619537442
+38.890625	39.03125	493.8833012561241
+39.020833333333336	40.197916666666664	466.1637615180899
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testdata/TRIOS-groundtruth/take_five/snare.lab	Wed Jun 04 10:57:54 2014 +0100
@@ -0,0 +1,103 @@
+1.1979166666666667	1.5104166666666667	73.41619197935188
+1.515625	1.6354166666666667	73.41619197935188
+1.640625	2.1614583333333335	73.41619197935188
+2.1666666666666665	2.2395833333333335	73.41619197935188
+2.2447916666666665	2.8489583333333335	73.41619197935188
+2.859375	3.1770833333333335	73.41619197935188
+3.1822916666666665	3.3229166666666665	73.41619197935188
+3.328125	3.8333333333333335	73.41619197935188
+3.8385416666666665	4.510416666666667	73.41619197935188
+4.515625	4.885416666666667	73.41619197935188
+4.890625	5.453125	73.41619197935188
+5.463541666666667	5.546875	73.41619197935188
+5.557291666666667	6.130208333333333	73.41619197935188
+6.135416666666667	6.479166666666667	73.41619197935188
+6.484375	6.630208333333333	73.41619197935188
+6.635416666666667	7.197916666666667	73.41619197935188
+7.203125	7.890625	73.41619197935188
+7.890625	8.177083333333334	73.41619197935188
+8.182291666666666	8.322916666666666	73.41619197935188
+8.328125	8.84375	73.41619197935188
+8.848958333333334	8.916666666666666	73.41619197935188
+8.921875	9.5	73.41619197935188
+9.510416666666666	9.833333333333334	73.41619197935188
+9.838541666666666	9.984375	73.41619197935188
+9.989583333333334	10.541666666666666	73.41619197935188
+10.546875	10.619791666666666	73.41619197935188
+10.625	11.161458333333334	73.41619197935188
+11.171875	11.484375	73.41619197935188
+11.489583333333334	11.630208333333334	73.41619197935188
+11.635416666666666	12.140625	73.41619197935188
+12.145833333333334	12.864583333333334	73.41619197935188
+12.869791666666666	13.192708333333334	73.41619197935188
+13.197916666666666	13.755208333333334	73.41619197935188
+13.755208333333334	13.833333333333334	73.41619197935188
+13.838541666666666	14.458333333333334	73.41619197935188
+14.463541666666666	14.770833333333334	73.41619197935188
+14.776041666666666	14.927083333333334	73.41619197935188
+14.9375	15.494791666666666	73.41619197935188
+15.5	15.578125	73.41619197935188
+15.583333333333334	16.182291666666668	73.41619197935188
+16.1875	16.510416666666668	73.41619197935188
+16.515625	16.645833333333332	73.41619197935188
+16.651041666666668	17.171875	73.41619197935188
+17.177083333333332	17.838541666666668	73.41619197935188
+17.84375	18.166666666666668	73.41619197935188
+18.171875	18.78125	73.41619197935188
+18.786458333333332	18.854166666666668	73.41619197935188
+18.859375	19.494791666666668	73.41619197935188
+19.505208333333332	19.807291666666668	73.41619197935188
+19.8125	19.958333333333332	73.41619197935188
+19.96875	20.546875	73.41619197935188
+20.552083333333332	21.213541666666668	73.41619197935188
+21.21875	21.505208333333332	73.41619197935188
+21.510416666666668	21.65625	73.41619197935188
+21.661458333333332	22.166666666666668	73.41619197935188
+22.171875	22.25	73.41619197935188
+22.255208333333332	22.869791666666668	73.41619197935188
+22.869791666666668	23.166666666666668	73.41619197935188
+23.171875	23.322916666666668	73.41619197935188
+23.328125	23.869791666666668	73.41619197935188
+23.875	24.520833333333332	73.41619197935188
+24.53125	24.880208333333332	73.41619197935188
+24.890625	25.432291666666668	73.41619197935188
+25.4375	25.520833333333332	73.41619197935188
+25.526041666666668	26.125	73.41619197935188
+26.125	26.453125	73.41619197935188
+26.458333333333332	26.609375	73.41619197935188
+26.619791666666668	27.177083333333332	73.41619197935188
+27.182291666666668	27.838541666666668	73.41619197935188
+27.84375	28.145833333333332	73.41619197935188
+28.15625	28.307291666666668	73.41619197935188
+28.3125	28.828125	73.41619197935188
+28.833333333333332	28.916666666666668	73.41619197935188
+28.921875	29.520833333333332	73.41619197935188
+29.53125	29.848958333333332	73.41619197935188
+29.854166666666668	30	73.41619197935188
+30.005208333333332	30.520833333333332	73.41619197935188
+30.526041666666668	31.182291666666668	73.41619197935188
+31.1875	31.536458333333332	73.41619197935188
+31.541666666666668	32.119791666666664	73.41619197935188
+32.125	32.197916666666664	73.41619197935188
+32.203125	32.848958333333336	73.41619197935188
+32.854166666666664	33.166666666666664	73.41619197935188
+33.171875	33.328125	73.41619197935188
+33.333333333333336	33.854166666666664	73.41619197935188
+33.859375	34.494791666666664	73.41619197935188
+34.505208333333336	34.8125	73.41619197935188
+34.822916666666664	34.942708333333336	73.41619197935188
+34.947916666666664	35.46875	73.41619197935188
+35.473958333333336	35.541666666666664	73.41619197935188
+35.546875	36.161458333333336	73.41619197935188
+36.166666666666664	36.484375	73.41619197935188
+36.489583333333336	36.625	73.41619197935188
+36.635416666666664	37.135416666666664	73.41619197935188
+37.140625	37.822916666666664	73.41619197935188
+37.828125	38.192708333333336	73.41619197935188
+38.197916666666664	38.765625	73.41619197935188
+38.770833333333336	38.854166666666664	73.41619197935188
+38.859375	39.4375	73.41619197935188
+39.447916666666664	39.786458333333336	73.41619197935188
+39.791666666666664	39.9375	73.41619197935188
+39.947916666666664	40.510416666666664	73.41619197935188
+40.515625	41.505208333333336	73.41619197935188
--- a/testdata/evaluation/README	Wed Jun 04 10:16:22 2014 +0100
+++ b/testdata/evaluation/README	Wed Jun 04 10:57:54 2014 +0100
@@ -1,9 +1,14 @@
 
-batchProcessingEvaluate.m evaluates a set of .lab output files against
-MIDI "ground truth".
+ * run.sh is our basic Silvet evaluation script. It runs Silvet
+against single- and multiple-instrument files from the TRIOS dataset
+using the theoretically best settings for each file, and then
+evaluates the results against the ground truth and MIREX 2012
+submission.
 
-The MIDI files can be found in ../TRIOS-groundtruth, and some examples
-of the .lab files in ../TRIOS-mirex2012-matlab and ../TRIOS-silvet.
+ * batchProcessingEvaluate.m evaluates a set of .lab output files
+against MIDI.  The MIDI can be found in ../TRIOS-groundtruth, and some
+example .lab files in ../TRIOS-mirex2012-matlab and ../TRIOS-silvet.
 
-evaluate_lab.yeti evaluates one lab file against another, onsets only,
-to a given timing tolerance.
+ * evaluate_lab.yeti evaluates one lab file against another, onsets
+only, to a given timing tolerance.
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testdata/evaluation/run.sh	Wed Jun 04 10:57:54 2014 +0100
@@ -0,0 +1,103 @@
+#!/bin/sh
+
+trios_path="/home/cannam/Music/TRIOS_dataset"
+yc="/home/cannam/code/may/bin/yc"
+
+if [ ! -d "$trios_path" ]; then
+    echo "TRIOS dataset directory $trios_path not found, giving up"
+    exit 1
+fi
+
+if ! "$yc" -v ; then
+    echo "Failed to run Yeti compiler yc at $yc_path, giving up";
+fi
+
+if ! sonic-annotator -v ; then
+    echo "Failed to run sonic-annotator (not in PATH?), giving up"
+    exit 1
+fi
+
+rdffile="../silvet.n3"
+if [ ! -f "$rdffile" ] ; then
+    
+
+case "$trios_path" in
+*\ *) echo "TRIOS dataset path $trios_path has a space in it, this script won't handle that!"; exit 1;;
+esac
+
+VAMP_PATH=../..
+export VAMP_PATH
+
+outfile="/tmp/$$"
+
+tmpwav="/tmp/$$norm.wav"
+
+instfile="/tmp/$$instruments.txt"
+
+trap 'rm -f "$outfile" "$tmpwav" "$instfile" "$outfile.lab"' 0
+
+# Use the mix and single-instrument non-synthetic files for a (varied)
+# subset of the TRIOS dataset
+infiles=`find "$trios_path" -name \*.wav -print | egrep '(mozart|lussier|take_five)' | grep -v _syn`
+
+grep Piano "$rdffile" | sed 's/^.*( *//' | sed 's/ *).*$//' | sed 's/ "/\n/g' | sed 's/"//g' | tr '[A-Z]' '[a-z]' | tail -n +2 | cat -n > "$instfile"
+
+instrument_for() {
+    filename="$0"
+    base=`basename "$filename" .wav`
+    instrument_no=`grep "$base" "$instfile" | awk '{ print $1; }'`
+    if [ -z "$instrument_no" ]; 
+    then echo 0
+    else echo "$instrument_no"
+    fi
+}
+
+for infile in $infiles; do
+
+    echo
+    echo "Evaluating for file $infile..."
+
+    instrument=`instrument_for "$infile"`
+    case "$instrument" in
+	[0-9]*) ;;
+	*) echo "Instrument extraction failed for infile $infile -- not even default multi-instrument setting returned?"; exit 1;;
+    esac
+
+    echo
+    echo "For file $infile, using instrument setting $instrument..."
+
+    sox "$infile" "$tmpwav" gain -n -6.020599913279624
+
+    ##!!! todo: actually apply the instrument setting!
+
+    time sonic-annotator \
+	--writer csv \
+	--csv-one-file "$outfile" \
+	--csv-force \
+	--default vamp:silvet:silvet:notes \
+	"$tmpwav"
+
+    cat "$outfile" | \
+	sed 's/^[^,]*,//' | \
+	while IFS=, read start duration frequency level label; do
+	    end=`echo "$start $duration + p" | dc`
+	    echo -e "$start\t$end\t$frequency"
+    done > "$outfile.lab"
+    
+    piece=`basename \`dirname "$infile" \``
+    arrangement=`basename "$infile" .wav`
+
+    for ms in 50 100; do
+	echo
+	echo "Validating against ground truth at $ms ms:"
+	"$yc" ./evaluate_lab.yeti "$ms" "../TRIOS-groundtruth/$piece/$arrangement.lab" "$outfile.lab"
+	echo
+	echo "Validating against MIREX submission at $ms ms:"
+	"$yc" ./evaluate_lab.yeti "$ms" "../TRIOS-mirex2012-matlab/$piece/$arrangement.lab" "$outfile.lab"
+	echo
+	echo "Validating MIREX against ground truth at $ms ms":
+	"$yc" ./evaluate_lab.yeti "$ms" "../TRIOS-groundtruth/$piece/$arrangement.lab" "../TRIOS-mirex2012-matlab/$piece/$arrangement.lab"
+    done;
+
+    echo
+done