Modifier and Type | Field and Description |
---|---|
protected @Opt Accidental |
lower
An optional accidental for the lower neighbour note of the main note.
|
protected O |
ornament
The ornament symbol.
|
protected @Opt Accidental |
upper
An optional accidental for the upper neighbour note of the main note,
to use in the ornament's execution.
|
Modifier | Constructor and Description |
---|---|
protected |
OrnamentUsage(O ornament,
@Opt Accidental lower,
@Opt Accidental upper)
Only construtor, setting all parameters.
|
Modifier and Type | Method and Description |
---|---|
Accidental |
get_lower()
Eviden.
|
Accidental |
get_upper()
Eviden.
|
static Translet.Parser<OrnamentUsage> |
getParser(Translet.Parser<Ornament> oparser)
Returns a parser for an ornament code with additional accidentals.
|
protected Ornament |
with_lower(Accidental a)
Return a new clone with modified accidental.
|
protected Ornament |
with_upper(Accidental a)
Return a new clone with modified accidental.
|
@Opt protected @Opt Accidental upper
@Opt protected @Opt Accidental lower
protected OrnamentUsage(O ornament, @Opt @Opt Accidental lower, @Opt @Opt Accidental upper)
public Accidental get_lower()
public Accidental get_upper()
protected Ornament with_lower(Accidental a)
protected Ornament with_upper(Accidental a)
public static Translet.Parser<OrnamentUsage> getParser(Translet.Parser<Ornament> oparser)
ornament lower? ("/" upper)?
.