Package eu.bandm.music.top
Class SvgSource.Process
java.lang.Object
eu.bandm.music.top.SvgSource.Process
- Enclosing class:
SvgSource
Visits all events of a given iterator pairwise and prepares time
and interpolation values.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected double
The onset time point of the later event currently under visit.protected boolean
Whether the earlier event has a "interpolate" flag set in its tscore source.The event parameters "interpolation mode", if present.protected double
The onset time point of the earlier event currently under visit. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
data
-
ipoltable
The event parameters "interpolation mode", if present. -
predecTime
protected double predecTimeThe onset time point of the earlier event currently under visit. -
currentTime
protected double currentTimeThe onset time point of the later event currently under visit. -
ipol
protected boolean ipolWhether the earlier event has a "interpolate" flag set in its tscore source.
-
-
Constructor Details
-
Process
Only constructur, FIXME sets up all parameters for the execution byprocess()
.- Parameters:
it
- iterable, normally related to one single voice, e.g. from voiceEvents(v, range_respectingDomainOrder(rat2tp)) or sim.ipoltable
- gives for each event the interpolation mode to the subsequent value, in a symbolic text form.
-
-
Method Details
-
process
public void process() -
time
Get the onset time of the event according to the calendearic time data in the score. -
first
-
pairwise
Here: prepare the registersipol
andcurrentTime
.
-