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 |
---|---|
(package private) Map<Event,List<String>> |
MKinds.be_data |
protected Map<Event,Rational> |
MetrumSpecs.durations |
(package private) Map<Event,Rational> |
MeasureCollector.durations
Intermediate output of parsing.
|
protected Map<Event,String> |
MetrumSpecs.endrun |
protected Map<Event,OctaveRegister> |
RunningOctaveCollector.explicitOcts
Intermediate store between parsing and reification: explicit changes of octave.
|
protected Map<Event,Integer> |
RunningOctaveCollector.jumps
Intermediate store between parsing and reification: explicit additional octave jump.
|
(package private) Map<Event,M> |
MeasureCollector.metra
Intermediate output of parsing.
|
(package private) Map<Event,MTreeSpec> |
MKinds.mtrees |
protected Map<Event,MTreeSpec> |
MetrumSpecs.mtrees |
protected Map<Event,MetrumSpecs.Name> |
MetrumSpecs.names |
protected Map<Event,P> |
RunningOctaveCollector.pitches
Intermediate store between parsing and reification: pitches by events.
|
protected Map<Event,String> |
MetrumSpecs.run |
protected Map<Event,String> |
MetrumSpecs.runrun |
(package private) Map<Event,String> |
MKinds.shortnames |
Modifier and Type | Method and Description |
---|---|
(package private) void |
MetrumSpecs.barnumShouldBeBroken(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg,
Event e,
BigDecimal barnum) |
(package private) void |
MetrumSpecs.barnumShouldBeInteger(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg,
Event e,
BigDecimal barnum) |
(package private) void |
MetrumSpecs.checkNameConsistency(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg,
Event e,
MetrumSpecs.Name name,
MTreeSpec mtree) |
MTreeSpec |
MetrumSpecs.getMTree(Vox vox,
Event event) |
Modifier and Type | Method and Description |
---|---|
void |
RunningOctaveCollector.reify(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg,
Iterable<Event> evs,
Map<Event,PitchAndOctave<OctaveRegister,P>> result)
Steps through the sequence of events "evs" and combines the already parsed
pitch and the (partial) "explicit octave" and "jump" information into the
combined data type, taking the "shortest notational distance" as a default.
|
void |
RunningOctaveCollector.reify(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg,
Iterable<Event> evs,
Map<Event,PitchAndOctave<OctaveRegister,P>> result)
Steps through the sequence of events "evs" and combines the already parsed
pitch and the (partial) "explicit octave" and "jump" information into the
combined data type, taking the "shortest notational distance" as a default.
|
Modifier and Type | Field and Description |
---|---|
(package private) Map<Event,DoppelHaken> |
Score_hkn.event2doppelHaken
Semantic attribute of events.
|
(package private) Map<Event,String> |
Score_hkn.event2forceOverlap_end
Semantic attribute of events.
|
(package private) Map<Event,String> |
Score_hkn.event2forceOverlap_start
Semantic attribute of events.
|
(package private) Map<Event,Haken> |
Score_hkn.event2haken
Semantic attribute of events.
|
(package private) Map<Event,String> |
Score_hkn.event2noOverlap_end
Semantic attribute of events.
|
(package private) Map<Event,String> |
Score_hkn.event2noOverlap_start
Semantic attribute of events.
|
(package private) Map<Event,Integer> |
Score_hkn.event2pause
Semantic attribute of events.
|
(package private) Map<Event,RelWert> |
Score_hkn.event2relwert
Semantic attribute of events.
|
(package private) Set<Event> |
Score_hkn.eventCanOverlapAtStart
Holds all events which start with the same RelWert as their predecssor ends.
|
Modifier and Type | Method and Description |
---|---|
protected void |
Score_hkn.Expansion.flushPendingDoppelHaken(List<RelWert> result,
int length,
@Opt Event doppelhaken,
boolean forceOverlap,
boolean mayOverlap)
Expand the last recognized
DoppelHaken to a sequence of single "O/M/U"
RelWert events,
Fills the time from its start up to "currentPos", because the
next haken/event (or the end of input) is reached in the K-voice (=symbolic input voice). |
protected void |
Score_hkn.Expansion.flushPendingHaken(List<RelWert> result,
int length,
@Opt Event haken,
boolean forceOverlap)
|
protected @Opt RelWert |
Score_hkn.getRelWertFolge_first(Event ev)
Get the first RelWert of the entry with the given event.
|
protected RelWertFolge |
Score_hkn.getRelWertFolge(Event ev)
Get Relwert, Haken or DoppelHaken standing with the given event.
|
Modifier and Type | Method and Description |
---|---|
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 |
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 |
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.
|
Modifier and Type | Field and Description |
---|---|
(package private) Event |
MwHaiku.GenEvent.origin
Haiku score event = syllable which leads to this instance.
|
Modifier and Type | Field and Description |
---|---|
protected Map<Event,Integer> |
Formplan_fuge.cpEinsatz
Whether the theme starting at this event is numbered counterpoint material.
|
(package private) Map<Event,Integer> |
GraphartScharen.event2alpha |
(package private) Map<Event,Integer> |
MovingForms.event2alpha
Maps some events to the transparent value (called "alpha")
|
(package private) Map<Event,String> |
GraphartScharen.event2alpha_ipol |
(package private) Map<Event,String> |
MovingForms.event2alpha_ipol
Maps some events to the interpolation mode to apply to the transparency.
|
(package private) Map<Event,Artikulation> |
Score_cwn.event2artikulation
Artikulation parsed from the param track called
Score_cwn.paramname_articulation . |
Map<Event,ClefUsage> |
Score_cwn.event2clefUsage
Maps events of sounding voices to a clef change, from param track .
|
(package private) Map<Event,Color_rgb_8> |
GraphartScharen.event2color |
(package private) Map<Event,Color_rgb_8> |
MovingForms.event2color
Evident
|
(package private) Map<Event,String> |
GraphartScharen.event2color_ipol |
(package private) Map<Event,String> |
MovingForms.event2color_ipol
Maps some events to the interpolation mode to apply to the color.
|
(package private) Map<Event,Integer> |
GraphartScharen.event2dist |
(package private) Map<Event,String> |
GraphartScharen.event2dist_ipol |
(package private) Map<Event,Object> |
MaWiCM.event2endFade
In case that an event carries the "end fade" operator "!".
|
(package private) Map<Event,Event> |
MaWiCM.event2endFadeTime
Derived map, maps text event to its related end fade event.
|
(package private) Map<Event,Event> |
MaWiCM.event2endFadeTime
Derived map, maps text event to its related end fade event.
|
(package private) Map<Event,Tp> |
Score_cwn.event2endtp
Maps events to their end time point.
|
(package private) Map<Event,Tp> |
Formplan_fuge.event2endtp
Evident
|
(package private) Map<Event,Integer> |
MovingForms.event2form
Evident
|
(package private) Map<Event,String> |
MwHaiku.event2kategorien
The category string corresponding to the syllable text.
|
(package private) Map<Event,FunctionalKey> |
Score_cwn.event2key
Maps events of sounding voices to a key change, from param track .
|
(package private) Map<Event,Integer> |
GraphartScharen.event2len |
(package private) Map<Event,String> |
GraphartScharen.event2len_ipol |
Map<Event,String> |
Score_cwn.event2lowerText
Additional text to be printed below the rendering of a note.
|
(package private) Map<Event,Integer> |
GraphartScharen.event2num |
(package private) Map<Event,Integer> |
GraphartScharen.event2orient |
(package private) Map<Event,Ornament> |
Score_cwn.event2ornamentation
Ornamentation parsed from the param track called
Score_cwn.paramname_articulation . |
Map<Event,PitchAndOctave<OctaveRegister,FunctionalPitchModOctave>> |
Score_cwn.event2pitch
Maps voice events to one nominal pitch.
|
(package private) Map<Event,String> |
GraphartScharen.event2pos_ipol |
(package private) Map<Event,String> |
MovingForms.event2pos_ipol
Maps some events to the interpolation mode to apply to the position.
|
(package private) Map<Event,String> |
MwHaiku.event2register
Values of the param track named
MwHaiku.paramname_register . |
(package private) Map<Event,String> |
MwHaiku.event2silbe
The text for each tscore event.
|
(package private) Map<Event,Integer> |
MovingForms.event2size
Evident
|
(package private) Map<Event,String> |
MovingForms.event2size_ipol
Maps some events to the interpolation mode to apply to the size.
|
(package private) Multimap<Event,Tuple2<Integer,Integer>> |
MaWiRic.event2start
Result of parsing the switch-on events, indicate when a particular matrix position/
set of matrix positions appears.
|
(package private) Map<Event,Object> |
MaWiCM.event2startFade
In case that an event carries the "start fade" operator ">".
|
(package private) Map<Event,Event> |
MaWiCM.event2startFadeTime
Derived map, maps text event to its related start fade event.
|
(package private) Map<Event,Event> |
MaWiCM.event2startFadeTime
Derived map, maps text event to its related start fade event.
|
(package private) Multimap<Event,String> |
MaWiRic.event2stopChar
Result of parsing the switch-off events, indicate when a particular character/
set of characters vanishes.
|
(package private) Map<Event,Tempo> |
Score_cwn.event2tempo
Maps events from the global "M" voice to a tempo indication.
|
(package private) Map<Event,String> |
MaWiCM.event2text
Evident
|
Map<Event,String> |
Score_cwn.event2upperText
Additional text to be printed above the rendering of a note.
|
Map<Event,String> |
Score_cwn.event2verba
Maps events of a sounding voice to a lyric syllable.
|
(package private) Map<Event,Integer> |
GraphartScharen.event2width |
(package private) Map<Event,String> |
GraphartScharen.event2width_ipol |
(package private) Map<Event,Integer> |
GraphartScharen.event2xpos |
(package private) Map<Event,Integer> |
MovingForms.event2xpos
Evident
|
(package private) Map<Event,Integer> |
MaWiCM.event2xpos
Evident
|
(package private) Map<Event,Integer> |
GraphartScharen.event2ypos |
(package private) Map<Event,Integer> |
MovingForms.event2ypos
Evident
|
(package private) Map<Event,Integer> |
MaWiCM.event2ypos
Evident
|
(package private) Map<Event,String> |
Score_cwn.eventHasCautionaryAccidental
Whether a cautionary accidental is requested explicitly by the tscore source,
in the param track called
Score_cwn.paramname_nota . |
(package private) Map<Event,String> |
Score_cwn.eventHasFullAccidental
Whether an accidental is requested explicitly by the tscore source,
in the param track called
Score_cwn.paramname_nota . |
(package private) Map<Event,String> |
MwHaiku.eventIsLastInLine
Whether the text of a tscore event ends with a "
/ ". |
(package private) Map<Event,String> |
MwHaiku.eventNotLastInWord
Whether the text of a tscore event ends with a "
- ". |
protected Map<Event,Rational> |
Formplan_fuge.factor
A time stretch factor assigned to the theme starting at this event.
|
protected Map<Event,String> |
Formplan_fuge.freemat
Whether the theme starting at this event is free counterpoint material.
|
protected Function<Event,String> |
SvgSource.ParamTranslate.getParamValue |
Map<Event,String> |
Score_cwn.holds
Marks voice events as being a "hold", which is an unaltered prolongation of the
preceding event
|
protected Map<Event,String> |
Formplan_fuge.incomplete
Whether the theme starting at the event is incomplete.
|
(package private) Map<Event,List<MwHaiku.GenEvent>> |
MwHaiku.inEvent2soundEvent
Inverse of
MwHaiku.soundEvent2inEvent . |
protected Map<Event,String> |
Formplan_fuge.inverse
Whether the theme starting at the event is an inverse.
|
(package private) Map<Event,FunctionalKey> |
MlWorat.keys
The data from the dedicated voice holding the current tonal key.
|
(package private) Map<Event,Event> |
MwHaiku.origin
Maps the generated CWN event to the original Haiku score event.
|
(package private) Map<Event,Event> |
MwHaiku.origin
Maps the generated CWN event to the original Haiku score event.
|
Map<Event,String> |
Score_cwn.pause
Marks voice events as being a pause.
|
(package private) Multimap<Event,FunctionalPitchModOctave> |
MlWorat.pitchClasses
Maps all events of a new synthetic voice "~~syntheticSum" to all pitch classes
appearing at this time point in any of the input voices (except the tonal key voice).
|
(package private) Multimap<Event,Tuple2<FunctionalPitchModOctave,OctaveRegister>> |
MlWorat.pitches
Pitch classes as recognized by the parser
MlWorat.parse_pitch . |
(package private) Map<Event,Integer> |
MwHaiku.posInOrigin
Gives the position of the character which lead to the CWN event in the original Haiku
score event's sequence of categories.
|
protected Map<Event,String> |
Formplan_fuge.retro
Whether the theme starting at the event runs in retrograde.
|
(package private) Map<MwHaiku.GenEvent,Event> |
MwHaiku.soundEvent2inEvent
Maps the sound event prototype to the original Haiku score event.
|
protected Map<Event,Formplan_fuge.ThForm> |
Formplan_fuge.thForm
Recognized theme forms, by the starting event.
|
Modifier and Type | Method and Description |
---|---|
protected void |
Formplan_fuge.addEvent(Event e,
int shift,
float xfactor,
Print_Plan_3d printer,
int kind)
Add one event to the Print_Plan_3d list of graphical representations.
|
protected <T> boolean |
SvgSource.check_init_def(Event firstEv,
Vox v,
Map<Event,T> map,
String pname)
Checks whether the very first event of a particular voice has a necessary parameter.
|
protected void |
MwHaiku.doAdd(Map<Event,Integer> map,
Event e,
int i)
Count up the number assigned to e by one.
|
(package private) void |
MwHaiku.error(Event e,
String s)
Send an error to
MwHaiku.msg with the event's location |
protected String |
Cwn_to_musicXml.exponent2nodeType(Event ev,
int exp)
Return the name of the basic note duration, as stored in
Cwn_to_musicXml.typesByExponent_plus_3 ,
given by the exponent of 1/2. |
void |
SvgSource.Process.first(Event e) |
void |
SvgSource.ParamTranslate.first(Event e)
Can be overridden by the user to visit the very first element before the first pair
is visited by
Util.Pairwise.pairwise(Object,Object) . |
void |
SvgSource.ParamTranslate.last(Event e)
Can be overridden by the user to visit the very last element after the last pair
is visited by
Util.Pairwise.pairwise(Object,Object) . |
void |
SvgSource.Process.pairwise(Event predec,
Event current)
Must be overridden by the user to visit the define what to do with each pair of
adjacent elements.
|
void |
SvgSource.ParamTranslate.pairwise(Event predec,
Event current)
Must be overridden by the user to visit the define what to do with each pair of
adjacent elements.
|
protected String |
MovingForms.posString(Event e)
Deliver the target svg text of the form's position, in svg coordinates.
|
protected String |
MovingForms.sizeString(Event e)
Deliver the target svg text of the form's size.
|
protected double |
SvgSource.Process.time(Event e)
Get the onset time of the event according to the calendearic time data in the score.
|
protected double |
SvgSource.ParamTranslate.time(Event e) |
void |
Cwn_to_lilypond.toLilyPond_clefSelect(List<Format> formats,
Event event)
Generate a format for changing the clef, iff event carries such a command.
|
void |
Cwn_to_lilypond.toLilyPond_key(List<Format> formats,
Event event)
Emit a lilypond diatonic key change, if the Event carries such a command.
|
protected void |
Cwn_to_lilypond.toLilyPond_key(@Opt Vox voice,
List<Format> formats,
Event event)
Emit a lilypond diatonic key change, if the Event carries such a command.
|
protected double |
SvgSource.when2device(Event e)
Returns in a target text string the onset of the given event
encoded in svg/smil time point values.
|
(package private) void |
Cwn_to_sig.writeEvent(Event e,
float msec_start,
@Opt Event next_e,
float next_msec_start,
int trigger,
PrintWriter txt,
DataOutputStream dos)
Write one event (sound or pause) to the two output files.
|
(package private) void |
Cwn_to_sig.writeEvent(Event e,
float msec_start,
@Opt Event next_e,
float next_msec_start,
int trigger,
PrintWriter txt,
DataOutputStream dos)
Write one event (sound or pause) to the two output files.
|
(package private) void |
Cwn_to_sig2.writeEvent(Event e,
int e_num,
Rational rat_start,
float msec_start,
@Opt Event next_e,
float next_msec_start)
Data format is
|
(package private) void |
Cwn_to_sig2.writeEvent(Event e,
int e_num,
Rational rat_start,
float msec_start,
@Opt Event next_e,
float next_msec_start)
Data format is
|
Modifier and Type | Method and Description |
---|---|
protected <T> boolean |
SvgSource.check_init_def(Event firstEv,
Vox v,
Map<Event,T> map,
String pname)
Checks whether the very first event of a particular voice has a necessary parameter.
|
protected void |
MwHaiku.doAdd(Map<Event,Integer> map,
Event e,
int i)
Count up the number assigned to e by one.
|
int |
Score_cwn.normalizeEvents_midi_PPQ(Vox voice,
boolean mergePauses,
List<Event> events,
List<QualifiedRational> evStarts,
List<Boolean> repeats)
Execute
Score_cwn.normalizeEvents(Vox,boolean,List,List,List) , but
return the lcm of all duration numerators in the form required for
Midi "Parts per quarter". |
PrimeFactors |
Score_cwn.normalizeEvents(Vox voice,
boolean mergePauses,
List<Event> events,
List<QualifiedRational> evStarts,
List<Boolean> repeats)
Step through the voice, remove "hold" symbols by the prolongating the
preceding (sounding) event, merge adjacent "pause" events, and calculate the
required sub-division of a quarter for the midi realization of all.
|
void |
Cwn_to_midi.writeToTrack(Iterator<Event> data,
int channelNumber,
Track track)
Encode the sequence of events as given by "data" into the
midi Track object given by "track".
|
Constructor and Description |
---|
GenEvent(String phonem,
Event origin,
int posInOrigin,
char cat)
Evident.
|
Constructor and Description |
---|
ParamTranslate(Iterable<Event> it,
@Opt Map<Event,String> ipoltable,
boolean isTransform,
String paramType,
String paramName,
String indent,
Function<Event,String> getParamValue) |
ParamTranslate(Iterable<Event> it,
@Opt Map<Event,String> ipoltable,
boolean isTransform,
String paramType,
String paramName,
String indent,
Function<Event,String> getParamValue) |
Process(Iterable<Event> it,
@Opt Map<Event,String> ipoltable) |
Modifier and Type | Field and Description |
---|---|
(package private) Multimap<Event,GroupCollector.GroupEvent> |
GroupCollector.groupEvents
Maps an event to all decoded group start, end, and singleton commands.
|
protected Map<Event,String> |
EventPatternDistributor.intermediate |
protected Map<Event,Event> |
EventPatternDistributor.origin |
protected Map<Event,Event> |
EventPatternDistributor.origin |
protected List<Event> |
EventPatternDistributor.pattern |
protected Map<Event,? super S> |
Translet.Store_1.store
The target of all storing operations.
|
protected Multimap<Event,? super S> |
Translet.Store_M.store |
(package private) Multimap<Event,TendencyCollector.TendencyCtrl> |
TendencyCollector.tendencyCtrls
Intermediate storage for the tendency information, by events.
|
Modifier and Type | Method and Description |
---|---|
static <E extends Event> |
Util.haveParam(String pname,
Iterable<E> it)
Filter on Events which visits only those which have an (explicit, source level)
value for a given parameter name.
|
static <E extends Event,F> |
Util.keysOnly(Map<E,F> map,
Iterable<E> it)
Filter on Events which visits only those which appear as key in the given map.
|
static <E extends Event> |
Util.voiceFilter(Vox v,
Iterable<E> it)
An
Iterable.FilterIterable over any Event Iterable which visits
only those events of a given Vox . |
Modifier and Type | Method and Description |
---|---|
static Iterable<Event> |
Util.voiceEvents(Vox v,
Iterable<? extends Tp> tps)
|
Modifier and Type | Method and Description |
---|---|
void |
Dumper.action(Event event)
Print the time point of the event and all unparsed(=raw) parameter values,
indexed by parameter name.
|
protected void |
GroupCollector.addToAllOpen(Event ev,
Set<String> mentioned)
Add the event to all event sets which are currently (when visiting event in source order)
active in collecting, but not explicitly opened or closed at the current event.
|
protected void |
PatternDistributor.adjust(Event ev)
Remove the "start pattern definition" prefix
PatternDistributor.startDef from the
parameter source text. |
protected void |
GroupCollector.checkDoubleMentioned(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg,
Event ev,
Set<String> mentioned,
String s)
Generate an error or only a warning whenever a group name appears more than once
for the same event.
|
protected void |
DottedNotationExpander.clearDots(Event ev,
boolean leftIsDotted,
int dotcount)
The dotted event must be a simple one (no parenthesis), and the dots part must
be part of the text of the main parameter.
|
protected void |
PatternDistributor.copyFromPattern(Event ev)
Copy the parameter value back into the voice from the current pattern position.
|
protected void |
PatternDistributor.copyIntoPattern(Event ev)
Record the parameter value back fromt the voice into the pattern.
|
protected void |
EventPatternDistributor.copyPattern(Event ev) |
void |
Translet.State.executeStoring(Event e,
Location<XMLDocumentIdentifier> loc,
MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg)
Step back through the chain of parser states and execute all store operation.
|
void |
Translet.Parser.executeStoring(Translet.State<R> s,
Event e,
Location<XMLDocumentIdentifier> loc,
MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg)
Execute the store operation represented by "this" parser.
|
void |
Translet.Recursive.executeStoring(Translet.State<R> s,
Event e,
Location<XMLDocumentIdentifier> loc,
MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg) |
void |
Translet.Store_1.executeStoring(Translet.State<S> s,
Event e,
Location<XMLDocumentIdentifier> loc,
MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg)
Execute the storing operation.
|
void |
Translet.Store_M.executeStoring(Translet.State<S> s,
Event e,
Location<XMLDocumentIdentifier> loc,
MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg)
Execute the storing operation.
|
static @Opt String |
Util.getParamText(Event ev,
String trackname,
String separator,
LocationMap<Object,XMLDocumentIdentifier> locs)
Delivers the source text for a gvien parameter and a given event.
|
static void |
Util.memoAdjacency(Iterable<Event> evs,
Map<Event,Event> map,
Event last)
Stores the fact that two events are neighbours/adjacent into the Map.
|
static <R> R |
Translet.parseAndDiagnosis(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg,
PrintStream displayStream,
CatalogByString cat,
List<String> prefs,
LocationMap<Object,XMLDocumentIdentifier> locationMap,
@Opt String paramName,
@Opt String voiceName,
Event storageKey,
String data,
Translet.Parser<R> parser,
Modifiers modifiers)
Central entry point for parsing one(1) text input for one(1) event and
one(1) parameter name.
|
protected void |
DottedNotationExpander.parseOne(Event ev)
Sets global output values and makes some syntax check.
|
protected void |
DottedNotationExpander.replace(List<Event> events,
int indexRight,
Event left,
Event right,
int dotcount,
boolean leftIsDotted)
Central function for adjusting the time structure according to a
dotted rhythm.
|
(package private) boolean |
DottedNotationExpander.sameLevel(Event left,
Event right)
Returns whether both events have their time point in the same time point division.
|
protected void |
EventPatternDistributor.startUse(Event ev,
boolean reset) |
protected void |
PatternDistributor.startUsing(Event ev,
String ptext,
Location<XMLDocumentIdentifier> loc,
String keyword,
boolean reset)
Start with the given event the re-play of the pattern.
|
protected boolean |
DottedNotationExpander.testEvent(Event ev)
Returns whether the Event is affected.
|
static <T> boolean |
Util.veryFirstEventHasRequiredParameter(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg,
Event firstEv,
Vox v,
Map<Event,T> map,
String pname)
Checks whether the very first event of a particular voice has a necessary parameter.
|
Modifier and Type | Method and Description |
---|---|
void |
DottedNotationExpander.apply(List<Event> events)
Service access point, called from outside.
|
static void |
Util.memoAdjacency(Iterable<Event> evs,
Map<Event,Event> map,
Event last)
Stores the fact that two events are neighbours/adjacent into the Map.
|
static void |
Util.memoAdjacency(Iterable<Event> evs,
Map<Event,Event> map,
Event last)
Stores the fact that two events are neighbours/adjacent into the Map.
|
static void |
Util.memoAdjacency(Iterable<Event> evs,
Map<Event,Event> map,
Event last)
Stores the fact that two events are neighbours/adjacent into the Map.
|
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_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_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 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.
|
void |
TendencyCollector.reify(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg,
Iterable<Event> evs,
Map<String,EventSet> tendencies,
Map<EventSet,E> startValues,
Map<EventSet,E> endValues,
Map<EventSet,String> startTexts,
Map<EventSet,String> endTexts,
Map<Event,E> singleton_explict,
Map<Event,E> singleton_inherited,
Map<Event,String> singleton_text)
Analyses the parameter text of the events by visiting them in the given order.
|
void |
TendencyCollector.reify(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg,
Iterable<Event> evs,
Map<String,EventSet> tendencies,
Map<EventSet,E> startValues,
Map<EventSet,E> endValues,
Map<EventSet,String> startTexts,
Map<EventSet,String> endTexts,
Map<Event,E> singleton_explict,
Map<Event,E> singleton_inherited,
Map<Event,String> singleton_text)
Analyses the parameter text of the events by visiting them in the given order.
|
void |
TendencyCollector.reify(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg,
Iterable<Event> evs,
Map<String,EventSet> tendencies,
Map<EventSet,E> startValues,
Map<EventSet,E> endValues,
Map<EventSet,String> startTexts,
Map<EventSet,String> endTexts,
Map<Event,E> singleton_explict,
Map<Event,E> singleton_inherited,
Map<Event,String> singleton_text)
Analyses the parameter text of the events by visiting them in the given order.
|
void |
TendencyCollector.reify(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg,
Iterable<Event> evs,
Map<String,EventSet> tendencies,
Map<EventSet,E> startValues,
Map<EventSet,E> endValues,
Map<EventSet,String> startTexts,
Map<EventSet,String> endTexts,
Map<Event,E> singleton_explict,
Map<Event,E> singleton_inherited,
Map<Event,String> singleton_text)
Analyses the parameter text of the events by visiting them in the given order.
|
void |
GroupCollector.reify(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg,
Iterable<Event> evs,
Multimap<String,EventSet> result)
Analyses the collected parameter text, and creates EventSets accordingly.
|
void |
EventPatternDistributor.reify(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg,
Map<Event,Event> origin,
Iterable<Event> evs) |
void |
EventPatternDistributor.reify(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg,
Map<Event,Event> origin,
Iterable<Event> evs) |
void |
EventPatternDistributor.reify(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg,
Map<Event,Event> origin,
Iterable<Event> evs) |
protected void |
DottedNotationExpander.replace(List<Event> events,
int indexRight,
Event left,
Event right,
int dotcount,
boolean leftIsDotted)
Central function for adjusting the time structure according to a
dotted rhythm.
|
static <D> Translet.Store_1<D> |
Translet.STORE(Map<Event,? super D> store,
Translet.Parser<D> sub)
Factory MessageReceiver for a store with single values per key.
|
static <D> Translet.Store_M<D> |
Translet.STORE(Multimap<Event,? super D> store,
Translet.Parser<D> sub)
Factory MessageReceiver for a store with multiple values per key.
|
static <T> boolean |
Util.veryFirstEventHasRequiredParameter(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg,
Event firstEv,
Vox v,
Map<Event,T> map,
String pname)
Checks whether the very first event of a particular voice has a necessary parameter.
|
Constructor and Description |
---|
Store_1(Map<Event,? super S> store,
Translet.Parser<S> sub)
Only constructor.
|
Store_M(Multimap<Event,? super S> store,
Translet.Parser<S> sub) |
Modifier and Type | Field and Description |
---|---|
protected CheckedList<Event> |
EventSet.constructionSequence
The sequential order in which the events have been
added.
|
protected CheckedSet<Event> |
EventSet.events
All events contained herein.
|
protected CheckedSet<Event> |
Vox.events
All events related to this voice.
|
protected CheckedList<Event> |
Vox.sortedBySource
All events related to this voice, in sequential
order of the source text position,
which in nearly all cases corresponds to temporal order.
|
protected CheckedMap_RD<Tp,Event> |
Vox.sortedByStart
All events related to this voice, sorted by their
time point.
|
Modifier and Type | Method and Description |
---|---|
Event |
Event.doclone()
Clones this object.
|
Event |
__SAX_Parser.fill_Event(Object res) |
Event |
Event.initFrom(Object o0)
Copies values of all common fields from the argument.
|
Event |
__SAX_Parser.matchSAX_Event() |
Event |
Vox.newEvent(Location<XMLDocumentIdentifier> loc,
Tp when) |
Modifier and Type | Method and Description |
---|---|
CheckedList<Event> |
EventSet.get_constructionSequence()
The sequential order in which the events have been
added.
|
CheckedSet<Event> |
EventSet.get_events()
All events contained herein.
|
CheckedSet<Event> |
Vox.get_events()
All events related to this voice.
|
CheckedList<Event> |
Vox.get_sortedBySource()
All events related to this voice, in sequential
order of the source text position,
which in nearly all cases corresponds to temporal order.
|
CheckedMap_RD<Tp,Event> |
Vox.get_sortedByStart()
All events related to this voice, sorted by their
time point.
|
protected CheckedSet<Event> |
__SAX_Parser.parse_10() |
protected CheckedList<Event> |
__SAX_Parser.parse_11() |
protected CheckedSet<Event> |
__SAX_Parser.parse_6() |
protected CheckedMap_RD<Tp,Event> |
__SAX_Parser.parse_7() |
protected CheckedList<Event> |
__SAX_Parser.parse_8() |
Modifier and Type | Method and Description |
---|---|
void |
__SAX_Writer.action(Event e0) |
protected void |
SingleMatch.action(Event e0) |
protected void |
Match.action(Event e0) |
protected void |
__Formatter.action(Event el) |
protected void |
__TREEGEN__.Inner1.Inner2.action(Event e0) |
protected void |
MATCH_ONLY_00.action(Event e0) |
protected void |
Dump.action(Event e0) |
void |
EventSet.add(Event ev) |
protected void |
Match.descend(Event e0) |
protected void |
Dump.descend(Event e0) |
void |
__SAX_Writer.dumpfields(Event e0) |
void |
__SAX_Parser.XMLPARSER_Event.fillFields(Event newobj) |
void |
MATCH_ONLY_00.match(Event e0) |
void |
__SAX_Parser.XMLPARSER_Event.parsefields(Event newobj) |
protected void |
Match.post(Event e0) |
protected void |
Match.pre(Event e0) |
protected void |
Dump.printscalars(Event e0) |
void |
Vox.put_sortedByStart(Tp key0,
Event value)
Convenience un-Currying method.
|
protected Format |
__Formatter.toFormat(Event el) |
Modifier and Type | Method and Description |
---|---|
boolean |
EventSet.set_constructionSequence(CheckedList<Event> val)
The sequential order in which the events have been
added.
|
boolean |
EventSet.set_events(CheckedSet<Event> val)
All events contained herein.
|
boolean |
Vox.set_events(CheckedSet<Event> val)
All events related to this voice.
|
boolean |
Vox.set_sortedBySource(CheckedList<Event> val)
All events related to this voice, in sequential
order of the source text position,
which in nearly all cases corresponds to temporal order.
|
boolean |
Vox.set_sortedByStart(CheckedMap_RD<Tp,Event> val)
All events related to this voice, sorted by their
time point.
|