annotate tests/test-summaries/expected/summaries-from-rdf.n3 @ 269:39fb206b1153 piper-nopiper

Filter out Xing/LAME info frames, rather than letting them go to the mp3 decoder as if they were audio frames. Fixes the 1152-sample zero pad at start of some decoded mp3 files (distinct from decoder delay). The logic here is based on the madplay code.
author Chris Cannam
date Thu, 24 Nov 2016 13:32:04 +0000
parents 795d67a5e266
children
rev   line source
Chris@0 1 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
Chris@0 2 @prefix dc: <http://purl.org/dc/elements/1.1/> .
Chris@0 3 @prefix mo: <http://purl.org/ontology/mo/> .
Chris@0 4 @prefix af: <http://purl.org/ontology/af/> .
Chris@0 5 @prefix foaf: <http://xmlns.com/foaf/0.1/> .
Chris@0 6 @prefix event: <http://purl.org/NET/c4dm/event.owl#> .
Chris@0 7 @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
Chris@0 8 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
Chris@0 9 @prefix tl: <http://purl.org/NET/c4dm/timeline.owl#> .
Chris@0 10 @prefix vamp: <http://purl.org/ontology/vamp/> .
Chris@59 11 @prefix : <> .
Chris@0 12
Chris@0 13 :transform_0_onsets
Chris@16 14 vamp:block_size "1024"^^xsd:int ;
Chris@0 15 vamp:output <http://vamp-plugins.org/rdf/plugins/vamp-example-plugins#percussiononsets_output_onsets> ;
Chris@0 16 vamp:plugin <http://vamp-plugins.org/rdf/plugins/vamp-example-plugins#percussiononsets> ;
Chris@0 17 vamp:sample_rate "44100"^^xsd:float ;
Chris@16 18 vamp:step_size "512"^^xsd:int ;
Chris@0 19 a vamp:Transform .
Chris@0 20
Chris@60 21 <file://example.wav>
Chris@19 22 mo:encodes :signal_1 ;
Chris@0 23 a mo:AudioFile .
Chris@0 24
Chris@0 25 :signal_1
Chris@0 26 mo:time [
Chris@0 27 tl:onTimeLine :signal_timeline_1 ;
Chris@0 28 a tl:Interval
Chris@0 29 ] ;
Chris@0 30 a mo:Signal .
Chris@0 31
Chris@19 32 :signal_timeline_1
Chris@19 33 a tl:Timeline .
Chris@19 34
Chris@0 35 :event_2
Chris@0 36 event:time [
Chris@28 37 tl:at "PT0.777868481S"^^xsd:duration ;
Chris@0 38 tl:onTimeLine :signal_timeline_1 ;
Chris@0 39 a tl:Instant
Chris@0 40 ] ;
Chris@0 41 vamp:computed_by :transform_0_onsets ;
Chris@0 42 a af:Onset .
Chris@0 43
Chris@0 44 :event_3
Chris@0 45 event:time [
Chris@0 46 tl:at "PT1.648616780S"^^xsd:duration ;
Chris@0 47 tl:onTimeLine :signal_timeline_1 ;
Chris@0 48 a tl:Instant
Chris@0 49 ] ;
Chris@0 50 vamp:computed_by :transform_0_onsets ;
Chris@0 51 a af:Onset .
Chris@0 52
Chris@0 53 :event_4
Chris@0 54 event:time [
Chris@0 55 tl:at "PT2.414875283S"^^xsd:duration ;
Chris@0 56 tl:onTimeLine :signal_timeline_1 ;
Chris@0 57 a tl:Instant
Chris@0 58 ] ;
Chris@0 59 vamp:computed_by :transform_0_onsets ;
Chris@0 60 a af:Onset .
Chris@0 61
Chris@0 62 :transform_5_detectionfunction
Chris@28 63 vamp:block_size "4096"^^xsd:int ;
Chris@0 64 vamp:output <http://vamp-plugins.org/rdf/plugins/vamp-example-plugins#percussiononsets_output_detectionfunction> ;
Chris@0 65 vamp:plugin <http://vamp-plugins.org/rdf/plugins/vamp-example-plugins#percussiononsets> ;
Chris@0 66 vamp:sample_rate "44100"^^xsd:float ;
Chris@28 67 vamp:step_size "2048"^^xsd:int ;
Chris@0 68 vamp:summary_type "mean" ;
Chris@0 69 a vamp:Transform .
Chris@0 70
Chris@0 71 :event_type_6
Chris@0 72 dc:description "Broadband energy rise detection function" ;
Chris@0 73 dc:format "" ;
Chris@0 74 dc:title "Detection Function" ;
Chris@0 75 rdfs:subClassOf event:Event .
Chris@0 76
Chris@0 77 :event_7
Chris@0 78 event:time [
Chris@0 79 tl:beginsAt "PT0.000000000S"^^xsd:duration ;
Chris@177 80 tl:duration "PT4.992290248S"^^xsd:duration ;
Chris@0 81 tl:onTimeLine :signal_timeline_1 ;
Chris@0 82 a tl:Interval
Chris@0 83 ] ;
Chris@177 84 af:feature "703.191" ;
Chris@0 85 vamp:computed_by :transform_5_detectionfunction ;
Chris@0 86 a :event_type_6 ;
Chris@0 87 rdfs:label "(mean value, continuous-time average)" .
Chris@0 88
Chris@0 89 :transform_8_detectionfunction
Chris@0 90 vamp:block_size "1024"^^xsd:int ;
Chris@0 91 vamp:output <http://vamp-plugins.org/rdf/plugins/vamp-example-plugins#percussiononsets_output_detectionfunction> ;
Chris@0 92 vamp:plugin <http://vamp-plugins.org/rdf/plugins/vamp-example-plugins#percussiononsets> ;
Chris@0 93 vamp:sample_rate "44100"^^xsd:float ;
Chris@0 94 vamp:step_size "512"^^xsd:int ;
Chris@28 95 vamp:summary_type "mean" ;
Chris@0 96 a vamp:Transform .
Chris@0 97
Chris@0 98 :event_type_9
Chris@0 99 dc:description "Broadband energy rise detection function" ;
Chris@0 100 dc:format "" ;
Chris@0 101 dc:title "Detection Function" ;
Chris@0 102 rdfs:subClassOf event:Event .
Chris@0 103
Chris@0 104 :event_10
Chris@0 105 event:time [
Chris@0 106 tl:beginsAt "PT0.000000000S"^^xsd:duration ;
Chris@177 107 tl:duration "PT4.992290248S"^^xsd:duration ;
Chris@0 108 tl:onTimeLine :signal_timeline_1 ;
Chris@0 109 a tl:Interval
Chris@0 110 ] ;
Chris@177 111 af:feature "169.391" ;
Chris@0 112 vamp:computed_by :transform_8_detectionfunction ;
Chris@0 113 a :event_type_9 ;
Chris@28 114 rdfs:label "(mean value, continuous-time average)" .
Chris@0 115
Chris@0 116 :transform_11_detectionfunction
Chris@16 117 vamp:block_size "1024"^^xsd:int ;
Chris@0 118 vamp:output <http://vamp-plugins.org/rdf/plugins/vamp-example-plugins#percussiononsets_output_detectionfunction> ;
Chris@0 119 vamp:plugin <http://vamp-plugins.org/rdf/plugins/vamp-example-plugins#percussiononsets> ;
Chris@0 120 vamp:sample_rate "44100"^^xsd:float ;
Chris@16 121 vamp:step_size "512"^^xsd:int ;
Chris@28 122 vamp:summary_type "median" ;
Chris@0 123 a vamp:Transform .
Chris@0 124
Chris@0 125 :event_type_12
Chris@0 126 dc:description "Broadband energy rise detection function" ;
Chris@0 127 dc:format "" ;
Chris@0 128 dc:title "Detection Function" ;
Chris@0 129 rdfs:subClassOf event:Event .
Chris@0 130
Chris@0 131 :event_13
Chris@0 132 event:time [
Chris@0 133 tl:beginsAt "PT0.000000000S"^^xsd:duration ;
Chris@177 134 tl:duration "PT4.992290248S"^^xsd:duration ;
Chris@0 135 tl:onTimeLine :signal_timeline_1 ;
Chris@0 136 a tl:Interval
Chris@0 137 ] ;
Chris@177 138 af:feature "169" ;
Chris@0 139 vamp:computed_by :transform_11_detectionfunction ;
Chris@0 140 a :event_type_12 ;
Chris@28 141 rdfs:label "(median value, continuous-time average)" .
Chris@0 142
Chris@0 143 :transform_14_detectionfunction
Chris@28 144 vamp:block_size "1024"^^xsd:int ;
Chris@0 145 vamp:output <http://vamp-plugins.org/rdf/plugins/vamp-example-plugins#percussiononsets_output_detectionfunction> ;
Chris@0 146 vamp:plugin <http://vamp-plugins.org/rdf/plugins/vamp-example-plugins#percussiononsets> ;
Chris@0 147 vamp:sample_rate "44100"^^xsd:float ;
Chris@28 148 vamp:step_size "512"^^xsd:int ;
Chris@28 149 vamp:summary_type "mode" ;
Chris@0 150 a vamp:Transform .
Chris@0 151
Chris@0 152 :event_type_15
Chris@0 153 dc:description "Broadband energy rise detection function" ;
Chris@0 154 dc:format "" ;
Chris@0 155 dc:title "Detection Function" ;
Chris@0 156 rdfs:subClassOf event:Event .
Chris@0 157
Chris@0 158 :event_16
Chris@0 159 event:time [
Chris@0 160 tl:beginsAt "PT0.000000000S"^^xsd:duration ;
Chris@177 161 tl:duration "PT4.992290248S"^^xsd:duration ;
Chris@0 162 tl:onTimeLine :signal_timeline_1 ;
Chris@0 163 a tl:Interval
Chris@0 164 ] ;
Chris@177 165 af:feature "164" ;
Chris@0 166 vamp:computed_by :transform_14_detectionfunction ;
Chris@0 167 a :event_type_15 ;
Chris@28 168 rdfs:label "(modal value, continuous-time average)" .
Chris@0 169