We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f91d65c commit 1b4cba0Copy full SHA for 1b4cba0
Sources/AudioKitEX/Sequencing/Sequence.swift
@@ -87,7 +87,7 @@ public struct NoteEventSequence: Equatable {
87
channel: MIDIChannel = 0,
88
position: Double,
89
duration: Double) {
90
- totalDuration = max(totalDuration, position + duration) // Get last note in the track + its duration
+ totalDuration = max(totalDuration, position + duration) // Compare latest note position and duration to current totalDuration.
91
var newNote = SequenceNote()
92
93
newNote.noteOn.status = noteOnByte
0 commit comments