Package eu.bandm.music.top
Class Formplan_fuge
java.lang.Object
eu.bandm.music.top.Formplan_fuge
-
Nested Class Summary
Modifier and TypeClassDescriptionclass
static class
Auxiliary class, combining theme number ("I" to "IV") and theme form ("D" or "C"). -
Field Summary
Modifier and TypeFieldDescription(package private) final SortedMap<BigInteger,
TpTop> EvidentWhether the theme starting at this event is numbered counterpoint material.final Translet.Parser<?>
Parser for the time stretch factor.final Translet.Parser<?>
Parser which accepts theme and counterpoints.EvidentA time stretch factor assigned to the theme starting at this event.DOCMEWhether the theme starting at this event is free counterpoint material.Whether the theme starting at the event is incomplete.Whether the theme starting at the event is an inverse.final Translet.Parser<?>
Parser for contrapunctal material.(package private) Tp
The very last time point in the score input data: no event starts here, but all last events end.(package private) int
DOCME(package private) static final Modifiers
Modifiers for the different phases of the parsing process.(package private) final MessageReceiver<SimpleMessage<eu.bandm.tools.util.xml.XMLDocumentIdentifier>>
Evident.(package private) final MessageReceiver<SimpleMessage<?>>
FIXME RAUS(package private) final Part
The tscore input data.DOCMEDOCMEEvidentWhether the theme starting at the event runs in retrograde.List of all voices, in source order, without the "global current tonal key" voice.(package private) int
DOCMEfinal Translet.Parser<?>
Parser which accepts additional modifiers: "u" for inverse, "r" for retrograde, "1/n" or "n/1" for time stretching, and ">" for incompleteness.final Translet.Parser<?>
Parser which accepts capital roman numbers for theme numbers, "D" and "C" for dux and comes, or a combination of both.protected Map<Event,
Formplan_fuge.ThForm> Recognized theme forms, by the starting event.(package private) final Map<TpTop,
BigInteger> EvidentEvidentThe name of the global voice which give the current tonal key. -
Constructor Summary
ConstructorDescriptionFormplan_fuge
(Part part, MessageReceiver<SimpleMessage<eu.bandm.tools.util.xml.XMLDocumentIdentifier>> msg, @Opt String voicename_tonal_key) Only constructor. -
Method Summary
Modifier and TypeMethodDescriptionprotected void
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.DOCMEstatic void
Test method, translates input file "arg[0]" to a graphical form plan of a fugue, or sim.makeSigRoutingPlan
(float tempo) DOCMEprotected void
Construct a graphic representation from the input data in the score objectpart
.void
update()
Translate untyped tscore data into semantically sensible "fugue form plan" attribute collection.protected boolean
voiceIsGlobal
(Vox v) Whether this voice is the global "current tonal key" voice.
-
Field Details
-
msg
Evident. -
msgNoLoc
FIXME RAUS -
thForm
Recognized theme forms, by the starting event. -
inverse
Whether the theme starting at the event is an inverse. -
incomplete
Whether the theme starting at the event is incomplete. -
retro
Whether the theme starting at the event runs in retrograde. -
freemat
Whether the theme starting at this event is free counterpoint material. This is indicated by an "X" in the tscore source, and rendered by the line type "0". -
cpEinsatz
Whether the theme starting at this event is numbered counterpoint material. This is indicated by a "1" to "9" in the tscore source, and rendered by the line type of this number. -
factor
A time stretch factor assigned to the theme starting at this event. (This info is currently not represented in the graphical rendering.) -
prolongate
DOCME -
pause
DOCME -
divMul
Parser for the time stretch factor. -
kpEinsatz
Parser for contrapunctal material. -
themenEinsatzForm
Parser which accepts capital roman numbers for theme numbers, "D" and "C" for dux and comes, or a combination of both. (Currently all this information is not reflected in the graphical rendering!) -
themenEinsatz
Parser which accepts additional modifiers: "u" for inverse, "r" for retrograde, "1/n" or "n/1" for time stretching, and ">" for incompleteness. -
einsatz_parser
Parser which accepts theme and counterpoints. -
part
The tscore input data. -
voicename_tonal_key
The name of the global voice which give the current tonal key. (This info is currently not represented in the graphical rendering, but used only to ignore this voice.) -
modifiers
Modifiers for the different phases of the parsing process. -
tp2barnum
Evident -
barnum2tp
Evident -
lastTp
Tp lastTpThe very last time point in the score input data: no event starts here, but all last events end. -
tp2rat
Evident -
rat2tp
Evident -
event2endtp
Evident -
soundVoices
List of all voices, in source order, without the "global current tonal key" voice. -
factors
DOCME -
themen
int themenDOCME -
maxType
int maxTypeDOCME -
routingPlan
-
-
Constructor Details
-
Formplan_fuge
public Formplan_fuge(Part part, MessageReceiver<SimpleMessage<eu.bandm.tools.util.xml.XMLDocumentIdentifier>> msg, @Opt @Opt String voicename_tonal_key) Only constructor.- Parameters:
part
- the tscore datamsg
- drain for all messagesvoicename_tonal_key
- the name of the voice which contains the current tonal key, changing along the time axis
-
-
Method Details
-
voiceIsGlobal
Whether this voice is the global "current tonal key" voice. -
getTypeNames
DOCME -
update
public void update()Translate untyped tscore data into semantically sensible "fugue form plan" attribute collection. This method reads the event lists contained in TimeScape->voices->events, ordered by time point, and writes to all the local Map and Set output data declared locally. -
makeSigRoutingPlan
DOCME -
showGraphic
protected void showGraphic()Construct a graphic representation from the input data in the score objectpart
. The x factor can be given be the timeless meta data in the part object. Then the graphic is shown in a popping up Swing window. -
addEvent
Add one event to the Print_Plan_3d list of graphical representations.- Parameters:
e
- the event, its start and its end time are neededshift
- a global correction value for the case that the data to render is an excerpt, starting with a higher measure number.xfactor
- evidentprinter
- the graphical objectkind
- currently only relevant for counterpoint material, selects the graphical appearance of the line, seePrint_Plan_3d
.
-
main
Test method, translates input file "arg[0]" to a graphical form plan of a fugue, or sim. Then it is shown in a popping up Swing window.
-