public class Chord extends AbstractContent
Constructor and Description |
---|
Chord()
Default Constructor.
|
Chord(int type,
boolean dotted)
Explicit Value Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addNote(Note note)
Add a Note to this Chord.
|
getType, isDotted, render, setAudible
public Chord()
public Chord(int type, boolean dotted)
type
- 1 for whole notes, 2 for half notes, etc...dotted
- Whether the note is dottedpublic void addNote(Note note)
note
- The Note to add