Package | Description |
---|---|
eu.bandm.music.haken |
Composition project which translates polyphonic sequences of abstract
"hook signs" (="Haken" = "hkn") into scores for different instruments, like
Viola, Voice, electronic sound synthesis or abstract graphical movies; see
the project documentation (in German).
|
eu.bandm.music.top |
Top-level data structures, modelling different score formats, combining the
entities defined in lower level packages.
|
eu.bandm.tscore.base |
Generic and low level data types and transformation algorithms,
to be used by very different applications of the
tscore
framework. |
eu.bandm.tscore.model |
Umod main model class: Generic score model for
denotating time-based sequences of arbitrary events.
|
Modifier and Type | Field and Description |
---|---|
(package private) Set<Tp> |
Score_hkn.Expansion.oneMore
Temporary set of Tps before which one additional tp must be synthesized
for the expansion of a Haken.
|
(package private) Set<Tp> |
Score_hkn.Expansion.oneMoreOrNext
Temporary set of Tps before which an additional tp must be synthesized,
or indeterminstically before its successor.
|
(package private) SortedMap<Rational,Tp> |
Score_hkn.rat2tp
Inverse of
Score_hkn.tp2rat , as usualin tscore raw parsing. |
(package private) Map<Tp,Rational> |
Score_hkn.tp2rat
Maps all time points to rationals, als usual in tscore raw parsing.
|
List<Tp> |
Score_hkn.Expansion.tps
All time points taking part in this Expansion.
|
(package private) Set<Tp> |
Score_hkn.Expansion.twoMore
Temporary set of Tps before which two additional tp-s must be synthesized
for the expansion of a Haken.
|
Modifier and Type | Method and Description |
---|---|
void |
LilypondGenerator.addPause(Rational rat,
Vox vpause,
Tp tp)
Add a pause duration to the last emmitted V-Event for later printing the
graphic voices.
|
protected void |
Score_hkn.Expansion.makeTps(ListIterator<Tp> it,
Tp tp0,
Tp tp1,
int cnt)
Instert additional synthetic time points as needed for the expansion
of a Haken.
|
Modifier and Type | Method and Description |
---|---|
protected void |
Score_hkn.Expansion.collectTps(Set<Tp> res,
Vox v)
Collect all Tps of all events of the given voice into one set.
|
protected void |
Score_hkn_vla_v00.flush_accu(int max,
List<Tp> tps,
Vox vpause,
boolean checkLastForPause)
Since a new 4/4 measure is started with every fermata-event (duration="O"="O+O"=5),
all events up to such a "maxDuration" event are accumulated and then
rendered by this method.
|
protected @Opt QualifiedRational |
Score_hkn_vox_v00.getPauseByIndex(List<Tp> tps,
@Opt Vox vpause,
int i)
Get the duration of the pause to be insert before the event on the
i-th K-time point.
|
protected @Opt QualifiedRational |
Score_hkn_vla_v00.getPauseByIndex(List<Tp> tps,
@Opt Vox vpause,
int i) |
protected float |
Score_hkn_svg_v00.getPauseByIndex(List<Tp> tps,
Vox vpause,
int i)
Pause stands with a K-Event and means a Pause BEFORE this event start.
|
protected int |
Score_hkn.getPauseIndexByIndex(List<Tp> tps,
@Opt Vox vpause,
int i,
int maxPause)
Valid pauses are numbered from 0 to maxPause, with increasing significance.
|
protected void |
Score_hkn.Expansion.makeTps(ListIterator<Tp> it,
Tp tp0,
Tp tp1,
int cnt)
Instert additional synthetic time points as needed for the expansion
of a Haken.
|
protected void |
Score_hkn_vla_v00.put_long_event(int i,
List<Tp> tps)
Generate a fermata-measure for event number "i".
|
protected void |
LilypondGenerator.writeGraphics(String role,
Vox inputVoice,
List<RelWert> expanded,
List<Tp> tps,
Map<Event,RelWert> event2relwert,
Map<Event,Haken> event2haken,
Map<Event,DoppelHaken> event2doppelHaken)
Append a dedicated lilypond voice to the score, which presents a
graphic symbol of the underlying K-event.
|
protected void |
Score_hkn_vox_v00.writeout(int max,
List<Tp> tps,
@Opt Vox vpause,
boolean checkLastForPause)
Generate the lilyPond commands for the sequence of K-Evenst.
|
Modifier and Type | Field and Description |
---|---|
protected Tp |
SvgSource.firstTp
The very first time point, as specified in the input score data.
|
protected Tp |
SvgSource.lastTp
The very last time point, as specified in the input score data.
|
(package private) Tp |
Formplan_fuge.lastTp
The very last time point in the score input data: no event starts here, but
all last events end.
|
Modifier and Type | Field and Description |
---|---|
(package private) Map<Event,Tp> |
Score_cwn.event2endtp
Maps events to their end time point.
|
(package private) Map<Event,Tp> |
Formplan_fuge.event2endtp
Evident
|
protected Multimap<Rational,Tp> |
SvgSource.rat2tp
Inverse of the Map
SvgSource.tp2rat . |
Multimap<Rational,Tp> |
Score_cwn.rat2tp
Inverse of
Score_cwn.tp2rat . |
(package private) SortedMap<Rational,Tp> |
Formplan_fuge.rat2tp
Evident
|
(package private) Map<Tp,Rational> |
SvgSource.tp2rat
Maps all time points to rational values.
|
Map<Tp,Rational> |
Score_cwn.tp2rat
Maps all tscore time points to rational numbers which correspond to the musical
time relative to the start of the very first event.
|
(package private) Map<Tp,Rational> |
Formplan_fuge.tp2rat
Evident
|
Modifier and Type | Method and Description |
---|---|
Tp |
Score_cwn.makeTp(Rational when,
Location<XMLDocumentIdentifier> origLoc)
Add a new time point at the given rational time value, if no such already exists.
|
Modifier and Type | Method and Description |
---|---|
protected double |
SvgSource.tp2device(Tp tp)
Returns in a target text string a given tscore time point encoded in svg/smil
time point values.
|
Modifier and Type | Method and Description |
---|---|
static TpTop |
Util.getLeftTpTop(Tp tp)
Returns the highest TpTop lower or equal to the given Tp.
|
static Rational |
Util.getRationalValue_lenient(Function<TpTop,Rational> tptop2rat,
Map<Tp,Rational> cache,
Tp tp,
Map<Rational,Tp> rat2tp)
Translates abstract tp values into numeric values and maintains a second,
backward cache.
|
static Rational |
Util.getRationalValue(Function<TpTop,Rational> tptop2rat,
Map<Tp,Rational> cache,
Tp tp)
Central function for translating abstract tp values into numeric values
by calculating an equi-distant sub-division recursively.
|
static Rational |
Util.getRationalValue(Function<TpTop,Rational> tptop2rat,
Map<Tp,Rational> cache,
Tp tp,
Map<Rational,Tp> rat2tp)
Translates abstract tp values into numeric values and maintains a second,
backward cache.
|
static Rational |
Util.getRationalValue(Function<TpTop,Rational> tptop2rat,
Map<Tp,Rational> cache,
Tp tp,
MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg,
Map<Rational,Tp> rat2tp)
Translates abstract tp values into numeric values and maintains a second,
backward cache.
|
static Rational |
Util.getRationalValue(Function<TpTop,Rational> tptop2rat,
Map<Tp,Rational> cache,
Tp tp,
Multimap<Rational,Tp> rat2tp)
Translates abstract tp values into numeric values and maintains a second,
backward cache.
|
static Rational |
Util.getTpTopRelativeRational(Function<TpTop,Rational> tptop2rat,
Map<Tp,Rational> cache,
Tp tp)
Returns the distance of the given Tp to the next left TpTop, which is
in many cases its relative position in a measure, or sim.
|
(package private) boolean |
DottedNotationExpander.isLastInDivision(Tp tp)
Returns whether the time point is the very last in its containing division.
|
static void |
Util.memoEndTime_ignoring(Iterable<Event> evs,
Set<Event> ignore,
Map<Event,Tp> map,
Tp last)
Stores the start point of one event as the end point of its predecessor,
ignoring certain explicitly mentioned events.
|
static void |
Util.memoEndTime(Iterable<Event> evs,
Map<Event,Tp> map,
Tp last)
Stores the start point of one event as the end point of its predecessor.
|
Modifier and Type | Method and Description |
---|---|
static Rational |
Util.getRationalValue_lenient(Function<TpTop,Rational> tptop2rat,
Map<Tp,Rational> cache,
Tp tp,
Map<Rational,Tp> rat2tp)
Translates abstract tp values into numeric values and maintains a second,
backward cache.
|
static Rational |
Util.getRationalValue_lenient(Function<TpTop,Rational> tptop2rat,
Map<Tp,Rational> cache,
Tp tp,
Map<Rational,Tp> rat2tp)
Translates abstract tp values into numeric values and maintains a second,
backward cache.
|
static Rational |
Util.getRationalValue(Function<TpTop,Rational> tptop2rat,
Map<Tp,Rational> cache,
Tp tp)
Central function for translating abstract tp values into numeric values
by calculating an equi-distant sub-division recursively.
|
static Rational |
Util.getRationalValue(Function<TpTop,Rational> tptop2rat,
Map<Tp,Rational> cache,
Tp tp,
Map<Rational,Tp> rat2tp)
Translates abstract tp values into numeric values and maintains a second,
backward cache.
|
static Rational |
Util.getRationalValue(Function<TpTop,Rational> tptop2rat,
Map<Tp,Rational> cache,
Tp tp,
Map<Rational,Tp> rat2tp)
Translates abstract tp values into numeric values and maintains a second,
backward cache.
|
static Rational |
Util.getRationalValue(Function<TpTop,Rational> tptop2rat,
Map<Tp,Rational> cache,
Tp tp,
MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg,
Map<Rational,Tp> rat2tp)
Translates abstract tp values into numeric values and maintains a second,
backward cache.
|
static Rational |
Util.getRationalValue(Function<TpTop,Rational> tptop2rat,
Map<Tp,Rational> cache,
Tp tp,
MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg,
Map<Rational,Tp> rat2tp)
Translates abstract tp values into numeric values and maintains a second,
backward cache.
|
static Rational |
Util.getRationalValue(Function<TpTop,Rational> tptop2rat,
Map<Tp,Rational> cache,
Tp tp,
Multimap<Rational,Tp> rat2tp)
Translates abstract tp values into numeric values and maintains a second,
backward cache.
|
static Rational |
Util.getRationalValue(Function<TpTop,Rational> tptop2rat,
Map<Tp,Rational> cache,
Tp tp,
Multimap<Rational,Tp> rat2tp)
Translates abstract tp values into numeric values and maintains a second,
backward cache.
|
static Rational |
Util.getTpTopRelativeRational(Function<TpTop,Rational> tptop2rat,
Map<Tp,Rational> cache,
Tp tp)
Returns the distance of the given Tp to the next left TpTop, which is
in many cases its relative position in a measure, or sim.
|
protected void |
RawParser.makeLowerTps(SortedMap<Integer,Tp> col2tp,
String sign,
Map<Integer,String> sources,
Map<Integer,List<antlr.Token>> unpacked)
Step through T-line source fragments and create TpSubs which divide
the interval between already recognized, higher time point levels.
|
static void |
Util.memoEndTime_ignoring(Iterable<Event> evs,
Set<Event> ignore,
Map<Event,Tp> map,
Tp last)
Stores the start point of one event as the end point of its predecessor,
ignoring certain explicitly mentioned events.
|
static void |
Util.memoEndTime(Iterable<Event> evs,
Map<Event,Tp> map,
Tp last)
Stores the start point of one event as the end point of its predecessor.
|
static <T> void |
Util.unifyEventTimesByScalarValue(Map<T,Tp> representatives,
Function<Tp,T> tp2t,
Vox vox)
ATTENTION:
Different subdivisions are not unified automatically, e.g.
|
static <T> void |
Util.unifyEventTimesByScalarValue(Map<T,Tp> representatives,
Function<Tp,T> tp2t,
Vox vox)
ATTENTION:
Different subdivisions are not unified automatically, e.g.
|
(package private) boolean |
RawParser.voice(Part part,
SortedMap<Integer,Tp> col2tp,
Set<String> voicesInAccolade)
Parse function (=test, consume and return) for
"vox ::= VOX ident token NL (paramIdent token* NL)" Is called in the context of parsing an accolade, i.e. |
static Iterable<Event> |
Util.voiceEvents(Vox v,
Iterable<? extends Tp> tps)
|
Modifier and Type | Class and Description |
---|---|
class |
TpSub
A time point corresponding to a division point between
two time points on a
higher level.
|
class |
TpTop
A time point corresponding to a text token in the "T"
line of the input score.
|
Modifier and Type | Field and Description |
---|---|
protected Tp |
TDivision.from
The earlier of the limiting time points.
|
protected Tp |
Event.upto
The time point when it ends, if this is sensible.
|
protected Tp |
TDivision.upto
The later of the limiting time points.
|
protected Tp |
Event.when
The time point when it happens, or begins.
|
Modifier and Type | Field and Description |
---|---|
protected CheckedMap_RD<Tp,CheckedMap_RD<Integer,TDivision>> |
Tp.divisions
All divisions startig at this point, accessible by
their end point and their division
count.
|
protected CheckedMap_RD<Tp,Event> |
Vox.sortedByStart
All events related to this voice, sorted by their
time point.
|
Modifier and Type | Method and Description |
---|---|
Tp |
Tp.doclone()
Clones this object.
|
Tp |
__SAX_Parser.fill_Tp(Object res) |
Tp |
TDivision.get_from()
The earlier of the limiting time points.
|
Tp |
Event.get_upto()
The time point when it ends, if this is sensible.
|
Tp |
TDivision.get_upto()
The later of the limiting time points.
|
Tp |
Event.get_when()
The time point when it happens, or begins.
|
Tp |
TDivision.getTp(int num) |
Tp |
Tp.initFrom(Object o0)
Copies values of all common fields from the argument.
|
Tp |
__SAX_Parser.matchSAX_Tp() |
Modifier and Type | Method and Description |
---|---|
CheckedMap_RD<Tp,CheckedMap_RD<Integer,TDivision>> |
Tp.get_divisions()
All divisions startig at this point, accessible by
their end point and their division
count.
|
CheckedMap_RD<Tp,Event> |
Vox.get_sortedByStart()
All events related to this voice, sorted by their
time point.
|
protected CheckedMap_RD<Tp,CheckedMap_RD<Integer,TDivision>> |
__SAX_Parser.parse_15() |
protected CheckedMap_RD<Tp,Event> |
__SAX_Parser.parse_7() |
Modifier and Type | Method and Description |
---|---|
void |
__SAX_Writer.action(Tp e0) |
protected void |
SingleMatch.action(Tp e0) |
protected void |
Match.action(Tp e0) |
protected void |
__Formatter.action(Tp el) |
protected void |
__TREEGEN__.Inner1.Inner2.action(Tp e0) |
protected void |
MATCH_ONLY_00.action(Tp e0) |
protected void |
Dump.action(Tp e0) |
boolean |
Tp.containsKey_divisions(Tp key0)
Convenience un-Currying method.
|
boolean |
Tp.containsKey_divisions(Tp key0,
int key1)
Convenience un-Currying method.
|
boolean |
Vox.containsKey_sortedByStart(Tp key0)
Convenience un-Currying method.
|
protected void |
Match.descend(Tp e0) |
protected void |
Dump.descend(Tp e0) |
void |
__SAX_Writer.dumpfields(Tp e0) |
void |
__SAX_Parser.XMLPARSER_Tp.fillFields(Tp newobj) |
TDivision |
Tp.makeDivision(Tp tp,
int cnt,
boolean defByEvent) |
void |
MATCH_ONLY_00.match(Tp e0) |
Event |
Vox.newEvent(Location<XMLDocumentIdentifier> loc,
Tp when) |
void |
__SAX_Parser.XMLPARSER_Tp.parsefields(Tp newobj) |
protected void |
Match.post(Tp e0) |
protected void |
Match.pre(Tp e0) |
protected void |
Dump.printscalars(Tp e0) |
void |
Tp.put_divisions(Tp key0,
CheckedMap_RD<Integer,TDivision> value)
Convenience un-Currying method.
|
void |
Tp.put_divisions(Tp key0,
int key1,
TDivision value)
Convenience un-Currying method.
|
void |
Vox.put_sortedByStart(Tp key0,
Event value)
Convenience un-Currying method.
|
boolean |
TDivision.set_from(Tp val)
The earlier of the limiting time points.
|
boolean |
Event.set_upto(Tp val)
The time point when it ends, if this is sensible.
|
boolean |
TDivision.set_upto(Tp val)
The later of the limiting time points.
|
boolean |
Event.set_when(Tp val)
The time point when it happens, or begins.
|
protected Format |
__Formatter.toFormat(Tp el) |
Modifier and Type | Method and Description |
---|---|
boolean |
Tp.set_divisions(CheckedMap_RD<Tp,CheckedMap_RD<Integer,TDivision>> val)
All divisions startig at this point, accessible by
their end point and their division
count.
|
boolean |
Vox.set_sortedByStart(CheckedMap_RD<Tp,Event> val)
All events related to this voice, sorted by their
time point.
|
Constructor and Description |
---|
Event(Location<XMLDocumentIdentifier> location,
Vox voice,
Tp when)
Constructor generated according to specification #0
Constructor defined according to directive "C 0/..". |
TDivision(Tp from,
Tp upto,
boolean defByEvent)
Constructor generated according to specification #0
Constructor defined according to directive "C 0/..". |