Class Statistics
java.lang.Object
eu.bandm.music.applications.myKdF.Statistics
@ResourceDependency({"data-dir/cp01.cwn","data-dir/cp02.cwn","data-dir/cp03.cwn","data-dir/cp04.cwn","data-dir/cp05.cwn","data-dir/cp06.cwn","data-dir/cp07.cwn","data-dir/cp08.cwn","data-dir/cp09.cwn","data-dir/cp10.cwn","data-dir/cp11.cwn","data-dir/cp12.cwn","data-dir/cp13.cwn","data-dir/cp14.cwn","data-dir/cp15.cwn","data-dir/cp16.cwn","data-dir/cp17.cwn","data-dir/cp18.cwn"})
public class Statistics
extends Object
Analyse the tscore model of Die Kunst der Fuge
for pitch classes, ornaments, false relations, diatonic splits,
sensible theme representation modes, etc.
Partly the results are printed to System.out. Others are
formatted as LaTeX source and printed to files.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) class
Can operate in two different modes: (a) on unresolved ornaments, their pitches entered into diatonic clusters.(package private) class
Stands for one recognized chromatic progression.(package private) class
Common superclass for both phenomena.(package private) class
Stands for one recognized diatonic split.(package private) class
Find concurrent ornaments and print them to System.out. -
Field Summary
FieldsModifier and TypeFieldDescriptionMaps movement to maximum found value of adjacent accidentals.Maps movement to sub-category of progression.(package private) Map
<Integer, List<Statistics.ChromEffect>> Per movement: list of recognized chromatic phemomena, sorted by time.static final boolean
Whether to use full temporal ornament expansion, and not clustering.Maps all synthetic events from ornament expansion to the original note which carries the ornament symbol.(package private) final Formplan_fuge[]
Formplans by cp.(package private) static final String
Aux constantMaps movement to summarized value of coincident progressions.Maps movement to summarized value of the maximal distance between all adjacent accidentqls.static final Modifiers
Tscore configuration for parsing the score data.(package private) final MessageReceiver
<SimpleMessage<XMLDocumentIdentifier>> Central message receiver for error messages and loggs.Maps movement to maximum found value of FIXME DOC .Maps movement to sub-category of progression.Maps movement to sub-category of progression.Maps movement to sub-category of progression.Maps movement to sub-category of progression.(package private) final Score_cwn[]
Parsed score by cp, ornaments possibly by later processing expanded.Maps movement to sub-category of progression.(package private) final TimeScape[]
Parsed time scape by cp. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) String
additiveName
(double tp) COnvert into a readable rational notation.(package private) void
Categorize the chromatic progressions wrt synchronicity with others.(package private) void
evalSyncChanges
(int cp, Set<Statistics.ChromaticChange> syncs) Do analysis of all synchronuous chromatic progressions, as stored in the input set syncs.(package private) void
(package private) void
Load all movements into raw data, CWN scores, and formplan data.static void
Application entry point.void
Executes all payload methods and analyses.void
Print a list of source text ornaments, by cp and ornament name: a sorted list of time points.void
Print out all appearing pitch classes.(package private) void
Print the uncompressed lists of chromatic phenomena to one or more LaTeX sourece files per movement.(package private) void
void
Load all data and find and print different kinds of "false relations." Can work in two modes:
(a) expand ornaments to diatonic clusters.(package private) void
Print a survey table with one line of details for each found diatonic split into a LaTeX source file, plus few lines of important overall (negative) properties.void
Read the formplan data and print out the sensible theme representation modes.
-
Field Details
-
msg
Central message receiver for error messages and loggs. Since their is not user interactions, errors can come only from inconsistent input data and thus should all be eliminated. -
modifiers
Tscore configuration for parsing the score data. -
timeScapes
Parsed time scape by cp. (Index is movement number, index==0 not used.) -
scores
Parsed score by cp, ornaments possibly by later processing expanded. (Index is movement number, index==0 is not used.) -
formplans
Formplans by cp. (Index is movement number, index==0 is not used.) -
chromEffectsByCp
Map<Integer,List<Statistics.ChromEffect>> chromEffectsByCpPer movement: list of recognized chromatic phemomena, sorted by time. For a diatonic split that is the start time of both conflicting events; for a chromatic progression it is the time point of the later event. -
expanded2original
Maps all synthetic events from ornament expansion to the original note which carries the ornament symbol. -
adjacentAccs
Maps movement to maximum found value of adjacent accidentals. -
maxDists
Maps movement to summarized value of the maximal distance between all adjacent accidentqls. -
completelyExpandOrnaments
public static final boolean completelyExpandOrnamentsWhether to use full temporal ornament expansion, and not clustering.- See Also:
-
multipleWks
Maps movement to maximum found value of FIXME DOC . -
maxCoinProgr
Maps movement to summarized value of coincident progressions. -
pureStep
Maps movement to sub-category of progression. -
stepPlusMore
Maps movement to sub-category of progression. -
pseudoSteps
Maps movement to sub-category of progression. -
pseudoStepsMore
Maps movement to sub-category of progression. -
augOct
Maps movement to sub-category of progression. -
querstände
Maps movement to sub-category of progression. -
HLINE
Aux constant- See Also:
-
-
Constructor Details
-
Statistics
public Statistics()
-
-
Method Details
-
loadAllScores
void loadAllScores()Load all movements into raw data, CWN scores, and formplan data. -
printSeparator
-
themeRepresentationModes
public void themeRepresentationModes()Read the formplan data and print out the sensible theme representation modes. -
pitchClasses
public void pitchClasses()Print out all appearing pitch classes. -
ornaments
public void ornaments()Print a list of source text ornaments, by cp and ornament name: a sorted list of time points. ATTENTION: Score_cwn in its current version has already added all editor's additions "artikHRSG". -
additiveName
COnvert into a readable rational notation. -
findConcurrentOrnaments
void findConcurrentOrnaments() -
querstaende
public void querstaende()Load all data and find and print different kinds of "false relations." Can work in two modes:
(a) expand ornaments to diatonic clusters.
(b) expand ornaments the "normal way" to event sequences.Attention: When version (b) is active, the scores are CHANGED TO EXPANDED ORNAMENTS afterwards.
-
printChromatics
void printChromatics()Print the uncompressed lists of chromatic phenomena to one or more LaTeX sourece files per movement. -
evalSyncChanges
Do analysis of all synchronuous chromatic progressions, as stored in the input set syncs. -
chromatics2
Categorize the chromatic progressions wrt synchronicity with others. Input data are the chromatic phenomena collected inchromEffectsByCp
. Results are printed directly to a LaTeX source file.- Throws:
FileNotFoundException
-
splitTable
Print a survey table with one line of details for each found diatonic split into a LaTeX source file, plus few lines of important overall (negative) properties.- Throws:
FileNotFoundException
-
nonStaticMain
Executes all payload methods and analyses.- Throws:
FileNotFoundException
-
main
Application entry point. Constructs an instance and invokes its payload method.- Throws:
FileNotFoundException
-