Skip to content

Commit cc8c546

Browse files
committed
cleanup
1 parent 6d020f7 commit cc8c546

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Sources/Tonic/NoteClass.swift

+2-4
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,9 @@ public struct NoteClass: Equatable, Hashable, Codable {
1212
/// Accidental of the note class
1313
public var accidental: Accidental
1414

15-
private static let canonicalOctave = Note.MiddleCStandard.yamaha.middleCNumber
16-
17-
/// A representative note for this class, in the canonical octave, which is 4
15+
/// A representative note for this class, in the canonical octave
1816
public var canonicalNote: Note {
19-
Note(letter, accidental: accidental, octave: NoteClass.canonicalOctave)
17+
Note(letter, accidental: accidental, octave: Note.MiddleCStandard.yamaha.middleCNumber)
2018
}
2119

2220
/// Initialize the note class

0 commit comments

Comments
 (0)