Skip to content

Commit

Permalink
Made midiNote extension public
Browse files Browse the repository at this point in the history
  • Loading branch information
bdrelling committed Nov 18, 2023
1 parent 45b981c commit 7970702
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/NoteKit/Core/Extensions/Note+MIDI.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright © 2023 Brian Drelling. All rights reserved.

extension Note {
public extension Note {
var midiNote: UInt8 {
UInt8(exactly: (self.octave * PitchClass.allCases.count) + self.pitchClass.rawValue) ?? Note.standard.midiNote
}
Expand Down

0 comments on commit 7970702

Please sign in to comment.