forked from atsushieno/lv2-midi2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmidi2.ttl
747 lines (661 loc) · 20.5 KB
/
midi2.ttl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
@prefix atom: <http://lv2plug.in/ns/ext/atom#> .
@prefix ev: <http://lv2plug.in/ns/ext/event#> .
@prefix lv2: <http://lv2plug.in/ns/lv2core#> .
@prefix midi2: <https://atsushieno.dev/ns/lv2/midi2> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<https://atsushieno.dev/ns/lv2/midi2>
a owl:Ontology ;
rdfs:label "Unofficial MIDI 2.0 UMP" ;
rdfs:comment "Unofficial MIDI 2.0 UMP packet support." ;
rdfs:seeAlso <lv2-midi2.h> ,
<midi2.meta.ttl> .
midi2:ump
a lv2:Feature ;
lv2:documentation """
<p>A feature flag to indicate that the host can receive and process UMPs (Universal MIDI Packets) in MIDI 2.0 specification.<p>
<p>An LV2 Atom for <code>midi2:UMP<code> represents a single UMP.</p>
<p>Note that <code>midi2:ump</code> is different from <code>midi2:midi1Protocol</code> or <code>midi2:midiProtocol</code>. Either of them has to be explicitly added too.</p>
<p>JR Timestamp messages are supposed to be converted to the frame time in LV2 Atom sequence. JR Timestamps can be still sent to LV2-MIDI2 plugins or hosts, but there is no guarantee that they match Atom frame time.</p>
<p>Future versions of this extension feature may define another feature that indicates MIDI-CI support availability, as well as possibility on determining MIDI protocol by MIDI-CI between host and plugin *bypassing* LV2 API (direct MIDI interaction).</p>
<p>It is recommended for MIDI 2.0 capable plugin implementors that a plugin's Atom port (either input or output) supports both <code>midi:MidiEvent</code> and <code>midi2:UMP</code> in the Atom sequence, and switch content processing based on the protocol it has chosen. See also <code>midi2:establishedProtocol</code> extension data provided by the plugin.</p>
""" .
midi2:midi1Protocol
a lv2:Feature ;
lv2:documentation """
<p>experimental MIDI 1.0 Protocol support, beyond the basic MIDI 2.0 UMP support. It can be understood as if MIDI 1.0 Protocol could be chosen on MIDI-CI protocol negotiation.</p>
<p>Note that if you don't add <code>midi2:ump</code> as the supported feature, then your (decent) hosts won't send MIDI 2.0 messages anyways.</p>
<p>Since MIDI 1.0 support cannot be explicitly done, this feature is explicitly added so that it would not look odd to have implicit MIDI 1.0 support in future.</p>
<p>The plugin determines which protocol to use, based on the host features, and returns it via <code>midi2:establishedProtocol<code> extension data.</p>
""" .
midi2:midi2Protocol
a lv2:Feature ;
lv2:documentation """
<p>experimental MIDI 2.0 Protocol support, beyond the basic MIDI 2.0 UMP support. It can be understood as if MIDI 2.0 Protocol could be chosen on MIDI-CI protocol negotiation.</p>
<p>Note that if you don't add <code>midi2:ump</code> as the supported feature, then your (decent) hosts won't send MIDI 2.0 messages anyways.</p>
<p>As of this version of the feature, <code>midi2:midi2Protocol is not implicit because lots of plugins wouldn't be able to support MIDI 2.0 features in MIDI 2.0 message types. It might change in the future.</p>
<p>The plugin determines which protocol to use, based on the host features, and returns it via <code>midi2:establishedProtocol<code> extension data.</p>
""" .
midi2:establishedProtocol
a lv2:ExtensionData ;
lv2:documentation """
<p>An extension returned by a plugin to indicate which MIDI Protocol is being used.</p>
<p>It is supposed to return the URID for the protocol, directly cast to a pointer (i.e. not an address which holds the URID). As of this version, the URID is is unmapped to either <code>midi1Protocol</code> or <code>midi2Protocol</code>.</p>.
<p>Current version of this feature only mentions and does not deny any possibility on switching protocols based on MIDI-CI communications between host and plugin. This extension data works as a static starter to choose appropriate MIDI protocol to use.</p>
<p>TODO: is it problematic to use feature identifiers as URI(D)s directly?</p>
""" .
midi2:HexByte
a rdfs:Datatype ;
owl:onDatatype xsd:hexBinary ;
owl:withRestrictions (
[
xsd:maxInclusive "FF"
]
) ;
rdfs:label "Hex Byte" ;
rdfs:comment "A hexadecimal byte, which has a value <= FF." .
midi2:Chunk
a rdfs:Class ;
rdfs:label "Chunk" ;
rdfs:comment "A sequence of contiguous bytes in a MIDI message." .
midi2:UMP
a rdfs:Class ,
rdfs:Datatype ;
rdfs:subClassOf ev:Event ,
atom:Atom ;
owl:onDatatype xsd:hexBinary ;
rdfs:label "MIDI 2.0 UMP" ;
rdfs:comment "A single raw UMP (Universal MIDI packet)." .
midi2:SystemMessage
a rdfs:Class ;
rdfs:subClassOf midi2:UMP ;
rdfs:label "System Message" ;
rdfs:comment "system message." ;
midi2:messageTypeMask "10"^^xsd:hexBinary .
midi2:SystemCommon
a rdfs:Class ;
rdfs:subClassOf midi2:SystemMessage ;
rdfs:label "System Common" ;
rdfs:comment "system common message." .
midi2:SystemRealtime
a rdfs:Class ;
rdfs:subClassOf midi2:SystemMessage ;
rdfs:label "System Realtime" ;
rdfs:comment "MIDI system realtime message." .
midi2:Midi1ChannelMessage
a rdfs:Class ;
rdfs:subClassOf midi2:UMP ;
rdfs:label "MIDI1 Channel Voice Message" ;
rdfs:comment "MIDI 1.0 channel voice message." ;
midi2:messageTypeMask "20"^^xsd:hexBinary .
midi2:Sysex7Message
a rdfs:Class ;
rdfs:subClassOf midi2:UMP ;
rdfs:label "System Exclusive 7bits" ;
rdfs:comment "system exclusive message in 7 bits." ;
midi2:messageTypeMask "30"^^xsd:hexBinary .
midi2:Midi2ChannelMessage
a rdfs:Class ;
rdfs:subClassOf midi2:UMP ;
rdfs:label "MIDI2 Channel Voice Message" ;
rdfs:comment "MIDI 2.0 channel voice message." ;
midi2:messageTypeMask "40"^^xsd:hexBinary .
midi2:Sysex8Message
a rdfs:Class ;
rdfs:subClassOf midi2:UMP ;
rdfs:label "System Exclusive 8bits" ;
rdfs:comment "system exclusive message in 8 bits." ;
midi2:messageTypeMask "50"^^xsd:hexBinary .
midi2:MixedDataSet
a rdfs:Class ;
rdfs:subClassOf midi2:UMP ;
rdfs:label "System Exclusive 8bits" ;
rdfs:comment "system exclusive message in 8 bits." ;
midi2:messageTypeMask "50"^^xsd:hexBinary .
midi2:TimeCode
a rdfs:Class ;
rdfs:subClassOf midi2:SystemCommon ;
rdfs:label "Time code" ;
rdfs:comment "MIDI time code message." ;
midi2:status "F1"^^xsd:hexBinary .
midi2:SongPosition
a rdfs:Class ;
rdfs:subClassOf midi2:SystemCommon ;
rdfs:label "Song position" ;
rdfs:comment "Song position pointer message." ;
midi2:status "F2"^^xsd:hexBinary .
midi2:SongSelect
a rdfs:Class ;
rdfs:subClassOf midi2:SystemCommon ;
rdfs:label "Song select" ;
rdfs:comment "Song select message." ;
midi2:status "F3"^^xsd:hexBinary .
midi2:TuneRequest
a rdfs:Class ;
rdfs:subClassOf midi2:SystemCommon ;
rdfs:label "Tune request" ;
rdfs:comment "Tune request message." ;
midi2:status "F6"^^xsd:hexBinary .
midi2:TimingClock
a rdfs:Class ;
rdfs:subClassOf midi2:SystemRealtime ;
rdfs:label "Timing clock" ;
rdfs:comment "Timing clock message." ;
midi2:status "F8"^^xsd:hexBinary .
midi2:Start
a rdfs:Class ;
rdfs:subClassOf midi2:SystemRealtime ;
rdfs:label "Start" ;
rdfs:comment "Start message." ;
midi2:status "FA"^^xsd:hexBinary .
midi2:Continue
a rdfs:Class ;
rdfs:subClassOf midi2:SystemRealtime ;
rdfs:label "Continue" ;
rdfs:comment "Continue message." ;
midi2:status "FB"^^xsd:hexBinary .
midi2:Stop
a rdfs:Class ;
rdfs:subClassOf midi2:SystemRealtime ;
rdfs:label "Stop" ;
rdfs:comment "Stop message." ;
midi2:status "FC"^^xsd:hexBinary .
midi2:ActiveSensing
a rdfs:Class ;
rdfs:subClassOf midi2:SystemRealtime ;
rdfs:label "Active Sensing" ;
rdfs:comment "MIDI active sensing message." ;
midi2:status "FE"^^xsd:hexBinary .
midi2:Reset
a rdfs:Class ;
rdfs:subClassOf midi2:SystemRealtime ;
rdfs:label "Reset" ;
rdfs:comment "Reset message." ;
midi2:status "FF"^^xsd:hexBinary .
midi2:NoteOff1
a rdfs:Class ;
rdfs:subClassOf midi2:Midi1ChannelMessage ;
rdfs:label "MIDI1 note off" ;
rdfs:comment "MIDI1 note off message." ;
midi2:statusMask "80"^^xsd:hexBinary ;
midi2:chunk [
midi2:byteNumber 0 ;
midi2:property midi2:noteNumber
] , [
midi2:byteNumber 1 ;
midi2:property midi2:velocity7
] .
midi2:NoteOn1
a rdfs:Class ;
rdfs:subClassOf midi2:Midi1ChannelMessage ;
rdfs:label "MIDI1 note on" ;
rdfs:comment "MIDI1 note on message." ;
midi2:statusMask "90"^^xsd:hexBinary ;
midi2:chunk [
midi2:byteNumber 0 ;
midi2:property midi2:noteNumber
] , [
midi2:byteNumber 1 ;
midi2:property midi2:velocity7
] .
midi2:PolyphonicPressure1
a rdfs:Class ;
rdfs:subClassOf midi2:Midi1ChannelMessage ;
rdfs:label "MIDI1 polyphonic pressure" ;
rdfs:comment "MIDI1 polyphonic pressure message." ;
midi2:statusMask "A0"^^xsd:hexBinary ;
midi2:chunk [
midi2:byteNumber 0 ;
midi2:property midi2:noteNumber
] , [
midi2:byteNumber 1 ;
midi2:property midi2:data8
] .
midi2:ControlChange1
a rdfs:Class ;
rdfs:subClassOf midi2:Midi1ChannelMessage ;
rdfs:label "MIDI1 control change" ;
rdfs:comment "MIDI1 control change message." ;
midi2:statusMask "B0"^^xsd:hexBinary ;
midi2:chunk [
midi2:byteNumber 0 ;
midi2:property midi2:index
] , [
midi2:byteNumber 1 ;
midi2:property midi2:data8
] .
midi2:ProgramChange1
a rdfs:Class ;
rdfs:subClassOf midi2:Midi1ChannelMessage ;
rdfs:label "MIDI1 program change" ;
rdfs:comment "MIDI1 program change message." ;
midi2:statusMask "C0"^^xsd:hexBinary ;
midi2:chunk [
midi2:byteNumber 0 ;
midi2:property midi2:program
] .
midi2:ChannelPressure1
a rdfs:Class ;
rdfs:subClassOf midi2:Midi1ChannelMessage ;
rdfs:label "MIDI1 channel pressure" ;
rdfs:comment "MIDI1 channel pressure message." ;
midi2:statusMask "D0"^^xsd:hexBinary ;
midi2:chunk [
midi2:byteNumber 0 ;
midi2:property midi2:data8
] .
midi2:PitchBend1
a rdfs:Class ;
rdfs:subClassOf midi2:Midi1ChannelMessage ;
rdfs:label "MIDI1 pitch bend" ;
rdfs:comment "MIDI1 pitch bend message." ;
midi2:statusMask "E0"^^xsd:hexBinary ;
midi2:chunk [
midi2:byteNumber 0,1 ;
midi2:property midi2:data16
] .
midi2:NoteOff2
a rdfs:Class ;
rdfs:subClassOf midi2:Midi2ChannelMessage ;
rdfs:label "MIDI2 note off" ;
rdfs:comment "MIDI2 note off message." ;
midi2:statusMask "80"^^xsd:hexBinary ;
midi2:chunk [
midi2:byteNumber 0 ;
midi2:property midi2:noteNumber
] , [
midi2:byteNumber 1 ;
midi2:property midi2:attributeType
] , [
midi2:byteNumber 2,3 ;
midi2:property midi2:velocity16
] , [
midi2:byteNumber 4,5 ;
midi2:property midi2:attributeData
] .
midi2:NoteOn2
a rdfs:Class ;
rdfs:subClassOf midi2:Midi2ChannelMessage ;
rdfs:label "MIDI2 note on" ;
rdfs:comment "MIDI2 note on message." ;
midi2:statusMask "90"^^xsd:hexBinary ;
midi2:chunk [
midi2:byteNumber 0 ;
midi2:property midi2:noteNumber
] , [
midi2:byteNumber 1 ;
midi2:property midi2:attributeType
] , [
midi2:byteNumber 2,3 ;
midi2:property midi2:velocity16
] , [
midi2:byteNumber 4,5 ;
midi2:property midi2:attributeData
] .
midi2:PolyphonicPressure2
a rdfs:Class ;
rdfs:subClassOf midi2:Midi2ChannelMessage ;
rdfs:label "MIDI2 polyphonic pressure" ;
rdfs:comment "MIDI2 polyphonic pressure message." ;
midi2:statusMask "A0"^^xsd:hexBinary ;
midi2:chunk [
midi2:byteNumber 0 ;
midi2:property midi2:noteNumber
] , [
midi2:byteNumber 1 ;
midi2:property midi2:reserved
] , [
midi2:byteNumber 2,3,4,5 ;
midi2:property midi2:data32
] .
midi2:ControlChange2
a rdfs:Class ;
rdfs:subClassOf midi2:Midi2ChannelMessage ;
rdfs:label "MIDI2 control change" ;
rdfs:comment "MIDI2 control change message." ;
midi2:statusMask "B0"^^xsd:hexBinary ;
midi2:chunk [
midi2:byteNumber 0 ;
midi2:property midi2:index
] , [
midi2:byteNumber 1 ;
midi2:property midi2:reserved
] , [
midi2:byteNumber 2,3,4,5 ;
midi2:property midi2:data32
] .
midi2:RegisteredPerNoteController
a rdfs:Class ;
rdfs:subClassOf midi2:Midi2ChannelMessage ;
rdfs:label "MIDI2 registered per note controller" ;
rdfs:comment "MIDI2 registered per note controller message." ;
midi2:statusMask "00"^^xsd:hexBinary ;
midi2:chunk [
midi2:byteNumber 0 ;
midi2:property midi2:noteNumber
] , [
midi2:byteNumber 1 ;
midi2:property midi2:index
] , [
midi2:byteNumber 2,3,4,5 ;
midi2:property midi2:data32
] .
midi2:AssignablePerNoteController
a rdfs:Class ;
rdfs:subClassOf midi2:Midi2ChannelMessage ;
rdfs:label "MIDI2 assignable per note controller" ;
rdfs:comment "MIDI2 assignable per note controller message." ;
midi2:statusMask "10"^^xsd:hexBinary ;
midi2:chunk [
midi2:byteNumber 0 ;
midi2:property midi2:noteNumber
] , [
midi2:byteNumber 1 ;
midi2:property midi2:index
] , [
midi2:byteNumber 2,3,4,5 ;
midi2:property midi2:data32
] .
midi2:RegisterdController
a rdfs:Class ;
rdfs:subClassOf midi2:Midi2ChannelMessage ;
rdfs:label "MIDI2 registered controller (RPN)" ;
rdfs:comment "MIDI2 registered controller (RPN) message." ;
midi2:statusMask "20"^^xsd:hexBinary ;
midi2:chunk [
midi2:byteNumber 0 ;
midi2:property midi2:msb
] , [
midi2:byteNumber 1 ;
midi2:property midi2:lsb
] , [
midi2:byteNumber 2,3,4,5 ;
midi2:property midi2:data32
] .
midi2:AssignableController
a rdfs:Class ;
rdfs:subClassOf midi2:Midi2ChannelMessage ;
rdfs:label "MIDI2 assignable controller (NRPN)" ;
rdfs:comment "MIDI2 assignable controller (NRPN) message." ;
midi2:statusMask "30"^^xsd:hexBinary ;
midi2:chunk [
midi2:byteNumber 0 ;
midi2:property midi2:msb
] , [
midi2:byteNumber 1 ;
midi2:property midi2:lsb
] , [
midi2:byteNumber 2,3,4,5 ;
midi2:property midi2:data32
] .
midi2:RelativeRegisterdController
a rdfs:Class ;
rdfs:subClassOf midi2:Midi2ChannelMessage ;
rdfs:label "MIDI2 relative registered controller (RPN)" ;
rdfs:comment "MIDI2 relative registered controller (RPN) message." ;
midi2:statusMask "40"^^xsd:hexBinary ;
midi2:chunk [
midi2:byteNumber 0 ;
midi2:property midi2:msb
] , [
midi2:byteNumber 1 ;
midi2:property midi2:lsb
] , [
midi2:byteNumber 2,3,4,5 ;
midi2:property midi2:data32
] .
midi2:RelativeAssignableController
a rdfs:Class ;
rdfs:subClassOf midi2:Midi2ChannelMessage ;
rdfs:label "MIDI2 relative assignable controller (NRPN)" ;
rdfs:comment "MIDI2 relative assignable controller (NRPN) message." ;
midi2:statusMask "50"^^xsd:hexBinary ;
midi2:chunk [
midi2:byteNumber 0 ;
midi2:property midi2:msb
] , [
midi2:byteNumber 1 ;
midi2:property midi2:lsb
] , [
midi2:byteNumber 2,3,4,5 ;
midi2:property midi2:data32
] .
midi2:ProgramChange2
a rdfs:Class ;
rdfs:subClassOf midi2:Midi2ChannelMessage ;
rdfs:label "MIDI2 program change" ;
rdfs:comment "MIDI2 program change message." ;
midi2:statusMask "C0"^^xsd:hexBinary ;
midi2:chunk [
midi2:byteNumber 0 ;
midi2:property midi2:reserved
] , [
midi2:byteNumber 1 ;
midi2:property midi2:programChangeOptionFlags
] , [
midi2:byteNumber 2 ;
midi2:property midi2:program
] , [
midi2:byteNumber 3 ;
midi2:property midi2:reserved
] , [
midi2:byteNumber 4 ;
midi2:property midi2:msb
] , [
midi2:byteNumber 5 ;
midi2:property midi2:lsb
] .
midi2:ChannelPressure2
a rdfs:Class ;
rdfs:subClassOf midi2:Midi2ChannelMessage ;
rdfs:label "MIDI2 channel pressure" ;
rdfs:comment "MIDI2 channel pressure message." ;
midi2:statusMask "D0"^^xsd:hexBinary ;
midi2:chunk [
midi2:byteNumber 0 ;
midi2:property midi2:reserved
] , [
midi2:byteNumber 1 ;
midi2:property midi2:reserved
] , [
midi2:byteNumber 2,3,4,5 ;
midi2:property midi2:data32
] .
midi2:Pitchbend2
a rdfs:Class ;
rdfs:subClassOf midi2:Midi2ChannelMessage ;
rdfs:label "MIDI2 pitch bend" ;
rdfs:comment "MIDI2 pitch bend message." ;
midi2:statusMask "E0"^^xsd:hexBinary ;
midi2:chunk [
midi2:byteNumber 0 ;
midi2:property midi2:reserved
] , [
midi2:byteNumber 1 ;
midi2:property midi2:reserved
] , [
midi2:byteNumber 2,3,4,5 ;
midi2:property midi2:data32
] .
midi2:PerNotePitchbend
a rdfs:Class ;
rdfs:subClassOf midi2:Midi2ChannelMessage ;
rdfs:label "MIDI2 per-note pitch bend" ;
rdfs:comment "MIDI2 per-note pitch bend message." ;
midi2:statusMask "E0"^^xsd:hexBinary ;
midi2:chunk [
midi2:byteNumber 0 ;
midi2:property midi2:noteNumber
] , [
midi2:byteNumber 1 ;
midi2:property midi2:reserved
] , [
midi2:byteNumber 2,3,4,5 ;
midi2:property midi2:data32
] .
midi2:PerNoteManagement
a rdfs:Class ;
rdfs:subClassOf midi2:Midi2ChannelMessage ;
rdfs:label "MIDI2 per-note management" ;
rdfs:comment "MIDI2 per-note management message." ;
midi2:statusMask "F0"^^xsd:hexBinary ;
midi2:chunk [
midi2:byteNumber 0 ;
midi2:property midi2:noteNumber
] , [
midi2:byteNumber 1 ;
midi2:property midi2:perNoteManagementOptionFlags
] , [
midi2:byteNumber 2,3,4,5 ;
midi2:property midi2:data32
] .
midi2:property
a rdf:Property ,
owl:ObjectProperty ,
owl:FunctionalProperty ;
rdfs:label "property" ;
rdfs:domain midi2:Chunk ;
rdfs:range rdf:Property ;
rdfs:comment "The property this chunk represents." .
midi2:reserved
a rdf:Property ,
owl:ObjectProperty ,
owl:FunctionalProperty ;
rdfs:label "reserved" ;
rdfs:domain midi2:Chunk ;
rdfs:range xsd:unsignedByte ;
rdfs:comment "reserved byte." .
midi2:byteNumber
a rdf:Property ,
owl:DatatypeProperty ;
rdfs:label "byte number" ;
rdfs:domain midi2:Chunk ;
rdfs:range xsd:unsignedByte ;
rdfs:comment "The 0-based index of a byte which is part of this chunk." .
midi2:index
a rdf:Property ,
owl:DatatypeProperty ;
rdfs:label "index" ;
rdfs:domain midi2:Chunk ;
rdfs:range xsd:unsignedByte ;
rdfs:comment "The 0-based index of certain data." .
midi2:chunk
a rdf:Property ,
owl:ObjectProperty ;
rdfs:range midi2:Chunk ;
rdfs:label "MIDI chunk" ;
rdfs:comment "A chunk of a MIDI message." .
midi2:messageTypeMask
a rdf:Property ,
owl:DatatypeProperty ,
owl:FunctionalProperty ;
rdfs:label "message type mask" ;
rdfs:range midi2:HexByte ;
rdfs:comment "The message type byte for a message." .
midi2:status
a rdf:Property ,
owl:DatatypeProperty ,
owl:FunctionalProperty ;
rdfs:label "status byte" ;
rdfs:range midi2:HexByte ;
rdfs:comment "The exact status byte for a message." .
midi2:statusMask
a rdf:Property ,
owl:DatatypeProperty ,
owl:FunctionalProperty ;
rdfs:label "status mask" ;
rdfs:range midi2:HexByte ;
rdfs:comment "The status byte for a message." .
midi2:noteNumber
a rdf:Property ,
owl:DatatypeProperty ,
owl:FunctionalProperty ;
rdfs:label "note number" ;
rdfs:range xsd:byte ;
rdfs:comment "The numeric ID of a note (0 to 127)." .
midi2:msb
a rdf:Property ,
owl:DatatypeProperty ,
owl:FunctionalProperty ;
rdfs:label "msb" ;
rdfs:range xsd:byte ;
rdfs:comment "The numeric MSB data (0 to 127)." .
midi2:lsb
a rdf:Property ,
owl:DatatypeProperty ,
owl:FunctionalProperty ;
rdfs:label "lsb" ;
rdfs:range xsd:byte ;
rdfs:comment "The numeric LSB data (0 to 127)." .
midi2:velocity7
a rdf:Property ,
owl:DatatypeProperty ,
owl:FunctionalProperty ;
rdfs:label "velocity7" ;
rdfs:range midi2:HexByte ;
rdfs:comment "A 7-bit velocity data (0 to 127)." .
midi2:data8
a rdf:Property ,
owl:DatatypeProperty ,
owl:FunctionalProperty ;
rdfs:label "single byte data" ;
rdfs:range xsd:byte ;
rdfs:comment "A numeric 8-bit data." .
midi2:data16
a rdf:Property ,
owl:DatatypeProperty ,
owl:FunctionalProperty ;
rdfs:label "two bytes data" ;
rdfs:range xsd:byte ;
rdfs:comment "A numeric 16-bit data." .
midi2:data32
a rdf:Property ,
owl:DatatypeProperty ,
owl:FunctionalProperty ;
rdfs:label "four bytes data" ;
rdfs:range xsd:nonNegativeInteger ;
rdfs:comment "A numeric 32-bit data." .
midi2:velocity16
a rdf:Property ,
owl:DatatypeProperty ,
owl:FunctionalProperty ;
rdfs:label "velocity16" ;
rdfs:range xsd:unsignedShort ;
rdfs:comment "A 16-bit velocity data." .
midi2:program
a rdf:Property ,
owl:DatatypeProperty ,
owl:FunctionalProperty ;
rdfs:label "program number" ;
rdfs:range xsd:byte ;
rdfs:comment "The numeric ID of a program (0 to 127)." .
midi2:programChangeOptionFlags
a rdf:Property ,
owl:DatatypeProperty ,
owl:FunctionalProperty ;
rdfs:label "program change option flags" ;
rdfs:range xsd:byte ;
rdfs:comment "The option flags for program change (0 or 1)." .
midi2:perNoteManagementOptionFlags
a rdf:Property ,
owl:DatatypeProperty ,
owl:FunctionalProperty ;
rdfs:label "per-note management option flags" ;
rdfs:range xsd:byte ;
rdfs:comment "The option flags for per-note management (0 to 3)." .
midi2:attributeType
a rdf:Property ,
owl:DatatypeProperty ,
owl:FunctionalProperty ;
rdfs:label "attribute data" ;
rdfs:range xsd:byte ;
rdfs:comment "An attribute type for note on or off (0 to 65535)." .
midi2:attributeData
a rdf:Property ,
owl:DatatypeProperty ,
owl:FunctionalProperty ;
rdfs:label "attribute data" ;
rdfs:range xsd:unsignedShort ;
rdfs:comment "An attribute data for note on or off (0 to 65535)." .