getNoteId

Gets the id of a note.

getNoteId
(,
ptrdiff_t octave
)

Parameters

note MusicalNote

The note to get the id of.

octave ptrdiff_t

The octave the id should be relative to.

Return Value

Type: NoteId

Returns the id for a note relative to the specific octave.

Meta