comparison tests/expected/transforms-summaries-percussiononsets-from-rdf.n3 @ 16:0f7c8b9410ef sonic-annotator-0.2

* update tests
author Chris Cannam
date Fri, 20 Mar 2009 17:31:40 +0000
parents 03a02c1f0a9f
children bd1deebe1129
comparison
equal deleted inserted replaced
15:b742272097ca 16:0f7c8b9410ef
8 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . 8 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
9 @prefix tl: <http://purl.org/NET/c4dm/timeline.owl#> . 9 @prefix tl: <http://purl.org/NET/c4dm/timeline.owl#> .
10 @prefix vamp: <http://purl.org/ontology/vamp/> . 10 @prefix vamp: <http://purl.org/ontology/vamp/> .
11 11
12 :transform_0_onsets 12 :transform_0_onsets
13 vamp:block_size "1024"^^xsd:int ;
13 vamp:output <http://vamp-plugins.org/rdf/plugins/vamp-example-plugins#percussiononsets_output_onsets> ; 14 vamp:output <http://vamp-plugins.org/rdf/plugins/vamp-example-plugins#percussiononsets_output_onsets> ;
14 vamp:plugin <http://vamp-plugins.org/rdf/plugins/vamp-example-plugins#percussiononsets> ; 15 vamp:plugin <http://vamp-plugins.org/rdf/plugins/vamp-example-plugins#percussiononsets> ;
15 vamp:sample_rate "44100"^^xsd:float ; 16 vamp:sample_rate "44100"^^xsd:float ;
17 vamp:step_size "512"^^xsd:int ;
16 a vamp:Transform . 18 a vamp:Transform .
17 19
18 a mo:AudioFile . 20 a mo:AudioFile .
19 21
20 :signal_1 22 :signal_1
50 ] ; 52 ] ;
51 vamp:computed_by :transform_0_onsets ; 53 vamp:computed_by :transform_0_onsets ;
52 a af:Onset . 54 a af:Onset .
53 55
54 :transform_5_detectionfunction 56 :transform_5_detectionfunction
55 vamp:block_size "4096"^^xsd:int ; 57 vamp:block_size "1024"^^xsd:int ;
56 vamp:output <http://vamp-plugins.org/rdf/plugins/vamp-example-plugins#percussiononsets_output_detectionfunction> ; 58 vamp:output <http://vamp-plugins.org/rdf/plugins/vamp-example-plugins#percussiononsets_output_detectionfunction> ;
57 vamp:plugin <http://vamp-plugins.org/rdf/plugins/vamp-example-plugins#percussiononsets> ; 59 vamp:plugin <http://vamp-plugins.org/rdf/plugins/vamp-example-plugins#percussiononsets> ;
58 vamp:sample_rate "44100"^^xsd:float ; 60 vamp:sample_rate "44100"^^xsd:float ;
59 vamp:step_size "2048"^^xsd:int ; 61 vamp:step_size "512"^^xsd:int ;
60 vamp:summary_type "mean" ; 62 vamp:summary_type "mean" ;
61 a vamp:Transform . 63 a vamp:Transform .
62 64
63 :event_type_6 65 :event_type_6
64 dc:description "Broadband energy rise detection function" ; 66 dc:description "Broadband energy rise detection function" ;
71 tl:beginsAt "PT0.000000000S"^^xsd:duration ; 73 tl:beginsAt "PT0.000000000S"^^xsd:duration ;
72 tl:duration "PT5.201269840S"^^xsd:duration ; 74 tl:duration "PT5.201269840S"^^xsd:duration ;
73 tl:onTimeLine :signal_timeline_1 ; 75 tl:onTimeLine :signal_timeline_1 ;
74 a tl:Interval 76 a tl:Interval
75 ] ; 77 ] ;
76 af:feature "668.509" ; 78 af:feature "162.123" ;
77 vamp:computed_by :transform_5_detectionfunction ; 79 vamp:computed_by :transform_5_detectionfunction ;
78 a :event_type_6 ; 80 a :event_type_6 ;
79 rdfs:label "(mean value, continuous-time average)" . 81 rdfs:label "(mean value, continuous-time average)" .
80 82
81 :transform_8_detectionfunction 83 :transform_8_detectionfunction
82 vamp:block_size "1024"^^xsd:int ; 84 vamp:block_size "1024"^^xsd:int ;
83 vamp:output <http://vamp-plugins.org/rdf/plugins/vamp-example-plugins#percussiononsets_output_detectionfunction> ; 85 vamp:output <http://vamp-plugins.org/rdf/plugins/vamp-example-plugins#percussiononsets_output_detectionfunction> ;
84 vamp:plugin <http://vamp-plugins.org/rdf/plugins/vamp-example-plugins#percussiononsets> ; 86 vamp:plugin <http://vamp-plugins.org/rdf/plugins/vamp-example-plugins#percussiononsets> ;
85 vamp:sample_rate "44100"^^xsd:float ; 87 vamp:sample_rate "44100"^^xsd:float ;
86 vamp:step_size "512"^^xsd:int ; 88 vamp:step_size "512"^^xsd:int ;
87 vamp:summary_type "mean" ; 89 vamp:summary_type "median" ;
88 a vamp:Transform . 90 a vamp:Transform .
89 91
90 :event_type_9 92 :event_type_9
91 dc:description "Broadband energy rise detection function" ; 93 dc:description "Broadband energy rise detection function" ;
92 dc:format "" ; 94 dc:format "" ;
98 tl:beginsAt "PT0.000000000S"^^xsd:duration ; 100 tl:beginsAt "PT0.000000000S"^^xsd:duration ;
99 tl:duration "PT5.201269840S"^^xsd:duration ; 101 tl:duration "PT5.201269840S"^^xsd:duration ;
100 tl:onTimeLine :signal_timeline_1 ; 102 tl:onTimeLine :signal_timeline_1 ;
101 a tl:Interval 103 a tl:Interval
102 ] ; 104 ] ;
103 af:feature "162.123" ; 105 af:feature "168" ;
104 vamp:computed_by :transform_8_detectionfunction ; 106 vamp:computed_by :transform_8_detectionfunction ;
105 a :event_type_9 ; 107 a :event_type_9 ;
106 rdfs:label "(mean value, continuous-time average)" . 108 rdfs:label "(median value, continuous-time average)" .
107 109
108 :transform_11_detectionfunction 110 :transform_11_detectionfunction
111 vamp:block_size "1024"^^xsd:int ;
109 vamp:output <http://vamp-plugins.org/rdf/plugins/vamp-example-plugins#percussiononsets_output_detectionfunction> ; 112 vamp:output <http://vamp-plugins.org/rdf/plugins/vamp-example-plugins#percussiononsets_output_detectionfunction> ;
110 vamp:plugin <http://vamp-plugins.org/rdf/plugins/vamp-example-plugins#percussiononsets> ; 113 vamp:plugin <http://vamp-plugins.org/rdf/plugins/vamp-example-plugins#percussiononsets> ;
111 vamp:sample_rate "44100"^^xsd:float ; 114 vamp:sample_rate "44100"^^xsd:float ;
112 vamp:summary_type "median" ; 115 vamp:step_size "512"^^xsd:int ;
116 vamp:summary_type "mode" ;
113 a vamp:Transform . 117 a vamp:Transform .
114 118
115 :event_type_12 119 :event_type_12
116 dc:description "Broadband energy rise detection function" ; 120 dc:description "Broadband energy rise detection function" ;
117 dc:format "" ; 121 dc:format "" ;
123 tl:beginsAt "PT0.000000000S"^^xsd:duration ; 127 tl:beginsAt "PT0.000000000S"^^xsd:duration ;
124 tl:duration "PT5.201269840S"^^xsd:duration ; 128 tl:duration "PT5.201269840S"^^xsd:duration ;
125 tl:onTimeLine :signal_timeline_1 ; 129 tl:onTimeLine :signal_timeline_1 ;
126 a tl:Interval 130 a tl:Interval
127 ] ; 131 ] ;
128 af:feature "168" ; 132 af:feature "0" ;
129 vamp:computed_by :transform_11_detectionfunction ; 133 vamp:computed_by :transform_11_detectionfunction ;
130 a :event_type_12 ; 134 a :event_type_12 ;
131 rdfs:label "(median value, continuous-time average)" . 135 rdfs:label "(modal value, continuous-time average)" .
132 136
133 :transform_14_detectionfunction 137 :transform_14_detectionfunction
138 vamp:block_size "4096"^^xsd:int ;
134 vamp:output <http://vamp-plugins.org/rdf/plugins/vamp-example-plugins#percussiononsets_output_detectionfunction> ; 139 vamp:output <http://vamp-plugins.org/rdf/plugins/vamp-example-plugins#percussiononsets_output_detectionfunction> ;
135 vamp:plugin <http://vamp-plugins.org/rdf/plugins/vamp-example-plugins#percussiononsets> ; 140 vamp:plugin <http://vamp-plugins.org/rdf/plugins/vamp-example-plugins#percussiononsets> ;
136 vamp:sample_rate "44100"^^xsd:float ; 141 vamp:sample_rate "44100"^^xsd:float ;
137 vamp:summary_type "mode" ; 142 vamp:step_size "2048"^^xsd:int ;
143 vamp:summary_type "mean" ;
138 a vamp:Transform . 144 a vamp:Transform .
139 145
140 :event_type_15 146 :event_type_15
141 dc:description "Broadband energy rise detection function" ; 147 dc:description "Broadband energy rise detection function" ;
142 dc:format "" ; 148 dc:format "" ;
148 tl:beginsAt "PT0.000000000S"^^xsd:duration ; 154 tl:beginsAt "PT0.000000000S"^^xsd:duration ;
149 tl:duration "PT5.201269840S"^^xsd:duration ; 155 tl:duration "PT5.201269840S"^^xsd:duration ;
150 tl:onTimeLine :signal_timeline_1 ; 156 tl:onTimeLine :signal_timeline_1 ;
151 a tl:Interval 157 a tl:Interval
152 ] ; 158 ] ;
153 af:feature "0" ; 159 af:feature "668.509" ;
154 vamp:computed_by :transform_14_detectionfunction ; 160 vamp:computed_by :transform_14_detectionfunction ;
155 a :event_type_15 ; 161 a :event_type_15 ;
156 rdfs:label "(modal value, continuous-time average)" . 162 rdfs:label "(mean value, continuous-time average)" .
157 163