new Clef(name, octaveChange)
Clef name can be one of
"treble", "bass", "soprano", "mezzo-soprano", "alto", "tenor", "percussion"
Parameters:
Name | Type | Argument | Default | Description |
---|---|---|---|---|
name |
string | clef name |
||
octaveChange |
int |
<optional> |
0 | ottava |
- Source:
Properties:
Name | Type | Argument | Description |
---|---|---|---|
name |
string |
<optional> |
|
lowestLine |
int | diatonicNoteNum (C4 = 29) for the lowest line (in a five-line staff) |
|
lowestLineTrebleOffset |
int | difference between the first line of this staff and the first line in treble clef |
|
octaveChange |
int |