Package | Description |
---|---|
eu.bandm.music.entities |
Modifier and Type | Field and Description |
---|---|
static MetricTree |
MetricAbbrevs_classical._2_2 |
static MetricTree |
MetricAbbrevs_classical._2_4__3_16
Metric tree of formula "1/2(2*2*(2|3))": For triples use sixteenth-triplets.
|
static MetricTree |
MetricAbbrevs_classical._2_4__3_8
Metric tree of formula "1/2(2*(2|3))": For triples use eighth-triplets.
|
static MetricTree |
MetricAbbrevs_classical._3_4 |
static MetricTree |
MetricAbbrevs_classical._4_4 |
static MetricTree |
MetricAbbrevs_classical._6_8 |
static MetricTree |
MetricAbbrevs_classical._9_8 |
(package private) MetricTree |
MetricTree.alternative |
protected MetricTree |
MetricTree.EssentialBracket.context |
protected MetricTree |
MetricSplitter.metricTree |
protected MetricTree |
MetricSplitter.MetricNotHitException.metricTree |
(package private) MetricTree |
MetricTree.parent |
Modifier and Type | Field and Description |
---|---|
protected Set<MetricTree> |
MetricSplitter.Result.additionalProportions
Recognized dotted structures which possibly require an additional proportion.
|
protected Map<MetricTree,Integer> |
MetricSplitter.base_flags |
protected Map<MetricTree,StemEnd> |
MetricSplitter.genuine_beams |
(package private) List<List<MetricTree>> |
MetricSplitter.Coverage.ic |
protected List<List<MetricTree>> |
MetricSplitter.Result.initialCoverage
The intermediately calculated IC.
|
(package private) Map<MetricTree,MetricTree> |
MetricSplitter.Coverage.newAlts |
(package private) Map<MetricTree,MetricTree> |
MetricSplitter.Coverage.newAlts |
(package private) Map<MetricTree,PrimeFactors> |
MetricSplitter.Coverage.node2spontProportion |
protected static Function<List<MetricTree>,MetricTree> |
MetricTree.packAlt |
protected static Function<List<MetricTree>,MetricTree> |
MetricTree.packAlt |
protected static Function<List<MetricTree>,MetricTree> |
MetricTree.packConcat |
protected static Function<List<MetricTree>,MetricTree> |
MetricTree.packConcat |
protected static Function3<Integer,Integer,MetricTree,MetricTree> |
MetricTree.packDivTree |
protected static Function3<Integer,Integer,MetricTree,MetricTree> |
MetricTree.packDivTree |
protected static Function2<Integer,MetricTree,MetricTree> |
MetricTree.packMul |
protected static Function2<Integer,MetricTree,MetricTree> |
MetricTree.packMul |
protected static Function<Integer,MetricTree> |
MetricTree.packSimple |
protected static Translet.Parser<MetricTree> |
MetricTree.parser_alt |
protected static Translet.Parser<MetricTree> |
MetricTree.parser_concat |
static Translet.Parser<MetricTree> |
MetricTree.parser_summand |
protected static Translet.Recursive<MetricTree> |
MetricTree.parser_summand_recursive |
static Translet.Parser<MetricTree> |
MetricTree.parser_timed |
protected Set<MetricTree> |
MetricSplitter.Result.printed
The result: Set of the nodes, the start points of which carry a note symbol.
|
protected Map<MetricTree,List<RationalDuration.DottedBaseDuration>> |
MetricSplitter.single_node_display_cache |
protected Map<MetricTree,StemEnd> |
MetricSplitter.Result.stemEnds
The beams of the printed note symbols.
|
(package private) List<MetricTree> |
MetricTree.subs |
protected Map<MetricTree,Rational> |
MetricSplitter.Result.summedDuration
Convenience result: The duration represented by the printed note symbols.
|
Modifier and Type | Method and Description |
---|---|
MetricTree |
MetricTree.addAlternative(MetricTree alt) |
protected MetricTree |
MetricTree.deepCopy()
Converts into individuum and fills context dependend fields (pos, parent).
|
MetricTree |
MetricTree.get_alternative() |
MetricTree |
MetricSplitter.get_metricTree() |
MetricTree |
MetricTree.get_parent() |
MetricTree |
MetricTree.getFollowing()
Returns the highest node which starts at the timepoint when this ends.
|
MetricTree |
MetricTree.getFollowingSibling()
Returns the node which is child of the same parent, and one position further,
iff it exists, otherwise null.
|
MetricTree |
MetricTree.getPrecedingSibling()
Returns the node which is child of the same parent, and one position earlier,
iff it exists, otherwise null.
|
MetricTree |
MetricTree.initialize()
Calls
#initialize(Reaction) with Modifiers.Reaction.silentlyAllow . |
MetricTree |
MetricTree.initialize(Modifiers.Reaction redundantDuration)
Delivers an initialized, ready to use NEW COPY of the given MetricTree.
|
static MetricTree |
MetricTree.parseAndInitialize(String s)
Create one node by parsing.
|
protected MetricTree |
MetricTree.shallowCopy()
Makes new "empty" node as boilerplate for deep copy and for
synthesizing new alternatives.
|
Modifier and Type | Method and Description |
---|---|
List<List<MetricTree>> |
MetricSplitter.findCoverage_B(MetricTree mt,
List<Rational> limits)
ADAPT old version to new implementation!
|
List<List<MetricTree>> |
MetricSplitter.Result.get_InitialCoverage() |
List<MetricTree> |
MetricTree.get_subs_binary()
Returns the list of children of this node.
|
List<MetricTree> |
MetricTree.get_subs() |
static Translet.Parser<MetricTree> |
MetricTree.parser()
Frontend for constructing a MetricTree, supporting durations at arbitrarily
distributed points, as long as a consistent completion is possible, exactly as
with the constructor calls.
|
static Translet.Parser<MetricTree> |
MetricAbbrevs_classical.parser() |
Modifier and Type | Method and Description |
---|---|
abstract void |
MetricTree.Visitor.action(MetricTree mt) |
MetricTree |
MetricTree.addAlternative(MetricTree alt) |
protected static void |
MetricSplitter.addAlternative(MetricTree old,
MetricTree neu)
Aux function for adding a synthesized tree to the originial tree.
|
(package private) void |
MetricSplitter.Coverage.addNode(int index,
MetricTree mt) |
protected void |
MetricSplitter.collect_genuine_beams(MetricTree parent) |
protected void |
MetricSplitter.collect_genuine_beams(MetricTree parent,
StemEnd se_parent) |
protected void |
MetricSplitter.do_collect_genuine_beams(MetricTree parent,
StemEnd se_parent,
List<MetricTree> subtrees) |
protected void |
MetricSplitter.do1Alt(MetricTree mt,
List<Integer> spontPlan,
MetricSplitter.Coverage cover,
List<Rational> limits,
int index)
Find coverage for one single alternative, possibly by descending
or by synthesizing a new subtree.
|
(package private) void |
MetricSplitter.do2PF_containing(PrimeFactors containing,
PrimeFactors contained,
MetricTree newMt,
MetricSplitter.Coverage cover,
List<Rational> limits,
int index)
Render the events when there are two divisors, one contains the other
as factor.
|
protected void |
MetricSplitter.doFCs(MetricTree mt,
List<Integer> spontPlan,
MetricSplitter.Coverage cover,
List<Rational> limits,
int index)
Aux methods for finding the Initial Coverage.
|
List<List<MetricTree>> |
MetricSplitter.findCoverage_B(MetricTree mt,
List<Rational> limits)
ADAPT old version to new implementation!
|
boolean |
MetricTree.isFollowingSiblingOf(MetricTree predec)
Returns whether this node is child of the same parent and one position further.
|
(package private) boolean |
MetricSplitter.n_writable(MetricTree mt,
int n,
int posDots)
Whether the conacatenation of "n" times "mt" is dotted-writable
with maximally "posDots" (set differently for pause and sound
by the caller).
|
(package private) void |
MetricSplitter.noSplit1PF(MetricTree newMt,
MetricSplitter.Coverage cover,
List<Rational> limits,
int index,
PrimeFactors pf)
Render the events which fall in the MetricTree mt and which
need bracket/s for the PrimeFactors pf by only one(1) proportion.
|
(package private) void |
MetricSplitter.processSpontanuous_NEW(MetricTree mt,
MetricSplitter.Coverage cover,
List<Rational> limits,
int index,
int upto) |
(package private) void |
MetricSplitter.processSpontanuous(MetricTree mt,
MetricSplitter.Coverage cover,
List<Rational> limits,
int index,
int upto)
Spectral analysis: create a new node and memorize it for LATER
insertion, add quality values to cover and re-enter rh-generation
with a certain PLAN for the necessary divisions.
|
(package private) void |
MetricSplitter.split1PF(MetricTree newMt,
MetricSplitter.Coverage cover,
List<Rational> limits,
int index,
PrimeFactors pf)
Render the events which fall in the MetricTree mt and which
need bracket/s for the PrimeFactors pf, by one proportion
or by splitting into more proportions,
according to the style parameters
GLO IN parameters_automated.
|
protected static void |
MetricTree.test_i(MetricTree mt)
Test the initialization (ie.
|
protected void |
MetricSplitter.Result.WriteOut.testOpenBrackets(MetricTree start)
Called for each node to open essential n-plet-brackets, iff necessary
for the following duration values.
|
protected void |
MetricTree.Visitor.testOpenBrackets(MetricTree start)
Called for each node to open essential n-plet-brackets, iff necessary
for the following duration values.
|
Modifier and Type | Method and Description |
---|---|
protected void |
MetricSplitter.do_collect_genuine_beams(MetricTree parent,
StemEnd se_parent,
List<MetricTree> subtrees) |
protected void |
MetricSplitter.parseSiblingsAndDottings(List<MetricTree> irep,
boolean isPause,
Set<MetricTree> printThem,
Map<MetricTree,StemEnd> stemEnds)
Delivers all nodes which shall appear in the notation as a symbol, in the
Set
#result . |
protected void |
MetricSplitter.parseSiblingsAndDottings(List<MetricTree> irep,
boolean isPause,
Set<MetricTree> printThem,
Map<MetricTree,StemEnd> stemEnds)
Delivers all nodes which shall appear in the notation as a symbol, in the
Set
#result . |
protected void |
MetricSplitter.parseSiblingsAndDottings(List<MetricTree> irep,
boolean isPause,
Set<MetricTree> printThem,
Map<MetricTree,StemEnd> stemEnds)
Delivers all nodes which shall appear in the notation as a symbol, in the
Set
#result . |
(package private) void |
MetricSplitter.splitDots_withBeams(List<MetricTree> irep,
Set<MetricTree> printThem,
Map<MetricTree,StemEnd> stemEnds,
int maxDots,
int startPos,
int endPos,
boolean leftNotRight,
boolean positiveDotting)
Add nodes from Initial Coverage to result, representing a sequence
of dotted values not exceeding maxDots.
|
(package private) void |
MetricSplitter.splitDots_withBeams(List<MetricTree> irep,
Set<MetricTree> printThem,
Map<MetricTree,StemEnd> stemEnds,
int maxDots,
int startPos,
int endPos,
boolean leftNotRight,
boolean positiveDotting)
Add nodes from Initial Coverage to result, representing a sequence
of dotted values not exceeding maxDots.
|
(package private) void |
MetricSplitter.splitDots_withBeams(List<MetricTree> irep,
Set<MetricTree> printThem,
Map<MetricTree,StemEnd> stemEnds,
int maxDots,
int startPos,
int endPos,
boolean leftNotRight,
boolean positiveDotting)
Add nodes from Initial Coverage to result, representing a sequence
of dotted values not exceeding maxDots.
|
(package private) void |
MetricSplitter.splitDots(List<MetricTree> irep,
Set<MetricTree> printThem,
int maxDots,
int startPos,
int endPos,
boolean leftNotRight) |
(package private) void |
MetricSplitter.splitDots(List<MetricTree> irep,
Set<MetricTree> printThem,
int maxDots,
int startPos,
int endPos,
boolean leftNotRight) |
protected boolean |
MetricSplitter.testForSyncopeAndHemiola(List<MetricTree> irep)
Returns whether the node list, representing one event, can be replaced
by one single symbol, due to syncope or hemiola rules.
|
Constructor and Description |
---|
EssentialBracket(MetricTree context,
PrimeFactors primes,
int startPos,
int endPos)
Prime factors give the proportion: if 1/d, then the 1 is
replaced by the nearest_power_of_two: 1/3 -> 2/3,
1/7 = 8/7.
Multiply written duration (=note symbols) by proportion n/d to get MEANT duration. |
MetricNotHitException(MetricTree metricTree,
Rational startPos) |
MetricSplitter(MetricTree metricTree) |
MetricSplitter(MetricTree metricTree,
MetricSplitter.Parameters_explicitMode parameters_explicit,
MetricSplitter.Parameters_automatedMode parameters_automated,
MetricSplitter.Parameters_approximationMode parameters_approximation,
MetricSplitter.Parameters_beams parameters_beams) |
MetricTree(int num,
int den,
MetricTree... args)
Create one node with arg nodes as sub-nodes, and an explicit duration.
|
MetricTree(MetricTree... args)
Create one node with arg nodes as sub-nodes.
|
MetricTree(Rational rat,
MetricTree... args)
Create one node with arg nodes as sub-nodes, and an explicit duration.
|
Constructor and Description |
---|
MetricTree(List<MetricTree> args)
Create one node with arg nodes as sub-nodes.
|
MetricTree(Rational rat,
List<MetricTree> args)
Create one node with arg nodes as sub-nodes, and an explicit duration.
|