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 |
- Source:
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 |
||
name |
string | shortcut to |
||
nameWithOctave |
string | shortcut to |
||
step |
string | shortcut to |
||
octave |
number | shortcut to |