@@ -26,7 +26,7 @@ extension MIDIEvent {
26
26
/// UMP Group (`0x0 ... 0xF`)
27
27
public var group : UInt4 = 0x0
28
28
29
- /// For MIDI 1.0, transmit velocity of 0 as a Note Off event.
29
+ /// For MIDI 1.0, translate velocity of 0 as a Note Off event.
30
30
public var midi1ZeroVelocityAsNoteOff : Bool = true
31
31
32
32
/// Channel Voice Message: Note On
@@ -38,15 +38,15 @@ extension MIDIEvent {
38
38
/// - channel: Channel Number (`0x0 ... 0xF`)
39
39
/// - attribute: MIDI 2.0 Channel Voice Attribute
40
40
/// - group: UMP Group (`0x0 ... 0xF`)
41
- /// - midi1ZeroVelocityAsNoteOff: For MIDI 1.0, transmit velocity of 0 as a Note Off
41
+ /// - midi1ZeroVelocityAsNoteOff: For MIDI 1.0, translate velocity of 0 as a Note Off
42
42
/// event.
43
43
public init (
44
44
note: UInt7 ,
45
45
velocity: MIDIEvent . NoteVelocity ,
46
46
attribute: MIDIEvent . NoteAttribute = . none,
47
47
channel: UInt4 ,
48
48
group: UInt4 = 0x0 ,
49
- midi1ZeroVelocityAsNoteOff: Bool = true
49
+ midi1ZeroVelocityAsNoteOff: Bool = false
50
50
) {
51
51
self . note = MIDINote ( note)
52
52
self . velocity = velocity
@@ -65,15 +65,15 @@ extension MIDIEvent {
65
65
/// - channel: Channel Number (`0x0 ... 0xF`)
66
66
/// - attribute: MIDI 2.0 Channel Voice Attribute
67
67
/// - group: UMP Group (`0x0 ... 0xF`)
68
- /// - midi1ZeroVelocityAsNoteOff: For MIDI 1.0, transmit velocity of 0 as a Note Off
68
+ /// - midi1ZeroVelocityAsNoteOff: For MIDI 1.0, translate velocity of 0 as a Note Off
69
69
/// event.
70
70
public init (
71
71
note: MIDINote ,
72
72
velocity: MIDIEvent . NoteVelocity ,
73
73
attribute: MIDIEvent . NoteAttribute = . none,
74
74
channel: UInt4 ,
75
75
group: UInt4 = 0x0 ,
76
- midi1ZeroVelocityAsNoteOff: Bool = true
76
+ midi1ZeroVelocityAsNoteOff: Bool = false
77
77
) {
78
78
self . note = note
79
79
self . velocity = velocity
@@ -119,14 +119,14 @@ extension MIDIEvent {
119
119
/// - channel: Channel Number (`0x0 ... 0xF`)
120
120
/// - attribute: MIDI 2.0 Channel Voice Attribute
121
121
/// - group: UMP Group (`0x0 ... 0xF`)
122
- /// - midi1ZeroVelocityAsNoteOff: For MIDI 1.0, transmit velocity of 0 as a Note Off event.
122
+ /// - midi1ZeroVelocityAsNoteOff: For MIDI 1.0, translate velocity of 0 as a Note Off event.
123
123
public static func noteOn(
124
124
_ note: UInt7 ,
125
125
velocity: NoteVelocity ,
126
126
attribute: NoteAttribute = . none,
127
127
channel: UInt4 ,
128
128
group: UInt4 = 0x0 ,
129
- midi1ZeroVelocityAsNoteOff: Bool = true
129
+ midi1ZeroVelocityAsNoteOff: Bool = false
130
130
) -> Self {
131
131
. noteOn(
132
132
. init(
@@ -149,14 +149,14 @@ extension MIDIEvent {
149
149
/// - channel: Channel Number (`0x0 ... 0xF`)
150
150
/// - attribute: MIDI 2.0 Channel Voice Attribute
151
151
/// - group: UMP Group (`0x0 ... 0xF`)
152
- /// - midi1ZeroVelocityAsNoteOff: For MIDI 1.0, transmit velocity of 0 as a Note Off event.
152
+ /// - midi1ZeroVelocityAsNoteOff: For MIDI 1.0, translate velocity of 0 as a Note Off event.
153
153
public static func noteOn(
154
154
_ note: MIDINote ,
155
155
velocity: NoteVelocity ,
156
156
attribute: NoteAttribute = . none,
157
157
channel: UInt4 ,
158
158
group: UInt4 = 0x0 ,
159
- midi1ZeroVelocityAsNoteOff: Bool = true
159
+ midi1ZeroVelocityAsNoteOff: Bool = false
160
160
) -> Self {
161
161
. noteOn(
162
162
. init(
0 commit comments