Class: Note

Note

new Note(nn, ql)

Parameters:
Name Type Argument Default Description
nn string | music21.pitch.Pitch | undefined <optional>
'C4'

pitch name ("C", "D#", "E-") w/ or w/o octave ("C#4"), or a pitch.Pitch object

ql number | undefined <optional>
1.0

length in quarter notes

Properties:
Name Type Argument Default Description
isNote Boolean <optional>
true

is it a Note? Yes!

isRest Boolean <optional>
false

is it a Rest? No!

pitch music21.pitch.Pitch

the music21.pitch.Pitch associated with the Note.

name string

shortcut to .pitch.name

nameWithOctave string

shortcut to .pitch.nameWithOctave

step string

shortcut to .pitch.step

octave number

shortcut to .pitch.octave

Source:
Music21j, Copyright © 2013-2021 Michael Scott Asato Cuthbert.
Documentation generated by JSDoc 3.6.3 on Wed Jul 31st 2019 using the DocStrap template.