Package | Description |
---|---|
eu.bandm.music.entities |
All fundamental entities for modeling music.
|
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 |
---|---|
protected Iterable<TpTop> |
MTreeCollector.topTps
List of all time points to parse.
|
protected Map<TpTop,BigDecimal> |
MTreeCollector.tp2barnum
Input data, linking the top time points to bar numbers / measure numbers.
|
Modifier and Type | Method and Description |
---|---|
MTreeSpec |
MetrumSpecs.getMTree(Vox vox,
TpTop tpTop)
ATTENTION, only toTops are allowed in which an EVENT is defined!
All other measures are NOT expanded above!
|
Modifier and Type | Method and Description |
---|---|
void |
MeasureCollector.analyse(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg,
Iterable<TpTop> topTps,
Map<TpTop,BigDecimal> tp2barnum,
Vox vox)
Is called after parsing, when all primary information is parsed and stored
to internal maps, for distributing information, consistency checks and
preparing the result collections.
|
void |
MeasureCollector.analyse(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg,
Iterable<TpTop> topTps,
Map<TpTop,BigDecimal> tp2barnum,
Vox vox)
Is called after parsing, when all primary information is parsed and stored
to internal maps, for distributing information, consistency checks and
preparing the result collections.
|
void |
MetrumSpecs.checkAndCacheGlobalVoice(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg,
Iterable<TpTop> topTps,
Map<TpTop,BigDecimal> tp2barnum,
Vox mainVox)
first step: every metrum name must have a preceding definition: check and expand.
|
void |
MetrumSpecs.checkAndCacheGlobalVoice(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg,
Iterable<TpTop> topTps,
Map<TpTop,BigDecimal> tp2barnum,
Vox mainVox)
first step: every metrum name must have a preceding definition: check and expand.
|
void |
MetrumSpecs.expandLocalVoice(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg,
Iterable<TpTop> topTps,
Map<TpTop,BigDecimal> tp2barnum,
Vox globalVoice,
Vox vox)
Distribute a local metric definition in "mtrees" to any subsequent measure
(only those which have a TpTop-Event!), as long as it is "running".
|
void |
MetrumSpecs.expandLocalVoice(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg,
Iterable<TpTop> topTps,
Map<TpTop,BigDecimal> tp2barnum,
Vox globalVoice,
Vox vox)
Distribute a local metric definition in "mtrees" to any subsequent measure
(only those which have a TpTop-Event!), as long as it is "running".
|
Constructor and Description |
---|
MTreeCollector(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg,
String paramNameMTree,
Iterable<TpTop> topTps,
Map<TpTop,BigDecimal> tp2barnum)
Constructor for the user.
|
MTreeCollector(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg,
String paramNameMTree,
Iterable<TpTop> topTps,
Map<TpTop,BigDecimal> tp2barnum)
Constructor for the user.
|
Modifier and Type | Field and Description |
---|---|
(package private) SortedMap<Integer,TpTop> |
Score_hkn.barnum2tp
Inverse of
Score_hkn.tp2barnum , as usual in tscore raw parsing. |
(package private) Map<TpTop,Integer> |
Score_hkn.tp2barnum
Map of numeric entries in tne tsore "T" line to their text, as usual in tscore raw parsing.
|
Modifier and Type | Field and Description |
---|---|
TpTop |
Score_cwn.firstTp
The very first time point of the score.
|
TpTop |
Score_cwn.lastTp
The very last time point of the score.
|
Modifier and Type | Field and Description |
---|---|
(package private) SortedMap<BigInteger,TpTop> |
Formplan_fuge.barnum2tp
Evident
|
(package private) SortedMap<Duration_calendaric,TpTop> |
SvgSource.caldur2tp
Inverse of the Map
SvgSource.tp2caldur . |
SortedMap<BigDecimal,TpTop> |
Score_cwn.decimal2tpTop
Maps bar numbers / measure numbers to tscore top-leve time points.
|
(package private) SortedMap<Tuple2<Integer,BigDecimal>,TpTop> |
MlWorat.satzTakt2tp
Inverse of
MlWorat.tp2satzTakt . |
(package private) Map<TpTop,BigInteger> |
Formplan_fuge.tp2barnum
Evident
|
(package private) Map<TpTop,Duration_calendaric> |
SvgSource.tp2caldur
Maps the score top-level time points to calendaric ("physical") duration values.
|
(package private) Map<TpTop,Tuple2<Integer,BigDecimal>> |
MlWorat.tp2satzTakt
Maps tscore Tp objects to pairs of movement number and measure number.
|
(package private) Map<TpTop,BigDecimal> |
Score_cwn.tpTop2decimal
Inverse of
decimal2tpTop . |
Modifier and Type | Method and Description |
---|---|
protected TpTop |
MwHaiku_to_cwn.makeTp(Score_cwn result,
Rational when,
Location<XMLDocumentIdentifier> origLoc)
Evident
|
Modifier and Type | Method and Description |
---|---|
static TpTop |
Util.getLeftTpTop(Tp tp)
Returns the highest TpTop lower or equal to the given Tp.
|
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(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.
|
static <T> void |
Util.parseTpTops(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg,
Modifiers modifiers,
Part part,
Map<TpTop,T> values,
SortedMap<T,TpTop> representatives,
Translet.Parser<T> parser,
@Opt Function3<Comparator<? super T>,T,T,String> check_oneLine,
@Opt Function3<Comparator<? super T>,T,T,String> check_twoLines)
Parse all TpTops into some internal numeric format "T" and store them.
|
static <T> void |
Util.parseTpTops(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg,
Modifiers modifiers,
Part part,
Map<TpTop,T> values,
SortedMap<T,TpTop> representatives,
Translet.Parser<T> parser,
@Opt Function3<Comparator<? super T>,T,T,String> check_oneLine,
@Opt Function3<Comparator<? super T>,T,T,String> check_twoLines)
Parse all TpTops into some internal numeric format "T" and store them.
|
Modifier and Type | Field and Description |
---|---|
protected CheckedList<CheckedList<TpTop>> |
Part.tlines
The input lines starting with "T" and giving the top
time points.
|
Modifier and Type | Method and Description |
---|---|
TpTop |
TpTop.doclone()
Clones this object.
|
TpTop |
__SAX_Parser.fill_TpTop(Object res) |
TpTop |
TpTop.initFrom(Object o0)
Copies values of all common fields from the argument.
|
TpTop |
__SAX_Parser.matchSAX_TpTop() |
Modifier and Type | Method and Description |
---|---|
CheckedList<CheckedList<TpTop>> |
Part.get_tlines()
The input lines starting with "T" and giving the top
time points.
|
protected CheckedList<TpTop> |
__SAX_Parser.parse_4() |
protected CheckedList<CheckedList<TpTop>> |
__SAX_Parser.parse_5() |
Modifier and Type | Method and Description |
---|---|
void |
__SAX_Writer.action(TpTop e0) |
protected void |
SingleMatch.action(TpTop e0) |
protected void |
Match.action(TpTop e0) |
protected void |
__Formatter.action(TpTop el) |
protected void |
__TREEGEN__.Inner1.Inner2.action(TpTop e0) |
protected void |
MATCH_ONLY_00.action(TpTop e0) |
protected void |
Dump.action(TpTop e0) |
protected void |
Match.descend(TpTop e0) |
protected void |
Dump.descend(TpTop e0) |
void |
__SAX_Writer.dumpfields(TpTop e0) |
void |
__SAX_Parser.XMLPARSER_TpTop.fillFields(TpTop newobj) |
void |
MATCH_ONLY_00.match(TpTop e0) |
void |
__SAX_Parser.XMLPARSER_TpTop.parsefields(TpTop newobj) |
protected void |
Match.post(TpTop e0) |
protected void |
Match.pre(TpTop e0) |
protected void |
Dump.printscalars(TpTop e0) |
protected Format |
__Formatter.toFormat(TpTop el) |
Modifier and Type | Method and Description |
---|---|
boolean |
Part.set_tlines(CheckedList<CheckedList<TpTop>> val)
The input lines starting with "T" and giving the top
time points.
|