Uses of Class
eu.bandm.music.entities.MTreeSpec
Package
Description
Prototypical realization of the "TabStaff+" design for
notating Tactie User Interfaces (TUIs) like the "Ableton Push",
as presented by L.Wilde and C.White on Tenor2024 in Zürich.
Code and additional resources for the jnlp/java-web-start demonstration of the
MetricSplit algorithm.
All fundamental entities for modeling music.
Top-level data structures, modelling different score formats, combining the
entities defined in lower level packages.
-
Uses of MTreeSpec in eu.bandm.music.applications.tabstaff
-
Uses of MTreeSpec in eu.bandm.music.demoMetric
Modifier and TypeFieldDescriptionDMBatch.current_mtspec
(package private) MTreeSpec
DemoMetric2.mTreeSpec
-
Uses of MTreeSpec in eu.bandm.music.entities
Modifier and TypeFieldDescriptionprotected SortedMap<BigDecimal,
MTreeSpec> MetrumSpecs.barnum2mtree
Complete map, for opimized retrieval.MTreeCollector.commonDefs
Map all measure numbers to the mtree spec which is valid in that measure, according to the global "M" voice.(package private) final Translet.Parser<MTreeSpec>
MKinds.mtreeparser
MetrumSpecs.mtrees
MKinds.mtrees
protected static final Translet.Parser<MTreeSpec>
MTreeSpec.parser_alt
protected static final Translet.Parser<MTreeSpec>
MTreeSpec.parser_concat
static final Translet.Parser<MTreeSpec>
MTreeSpec.parser_summand
protected static final Translet.Recursive<MTreeSpec>
MTreeSpec.parser_summand_recursive
static final Translet.Parser<MTreeSpec>
MTreeSpec.parser_timed
MTreeCollector.voiceDefs
Map measure numbers to localdefinitions of meter names to mtree specs, per voices.Modifier and TypeMethodDescriptionstatic MTreeSpec
static MTreeSpec
Set every element in the list (but the very first) as the alternative of its predecssor.MTreeCollector.get
(Vox v, BigDecimal t) Return the mtree specification valid for a particular voice and measure number.ATTENTION, only toTops are allowed in which an EVENT is defined! All other measures are NOT expanded above!MTreeSpec.initialize()
Deprecated, for removal: This API element is subject to removal in a future version.MTreeSpec.initialize
(MessageReceiver<SimpleMessage<?>> msg) MTreeSpec.initialize
(Modifiers.Reaction redundantDuration) Deprecated, for removal: This API element is subject to removal in a future version.useinitialize(Reaction, MessageReceiver)
instead.MTreeSpec.initialize
(Modifiers.Reaction redundantDuration, MessageReceiver<SimpleMessage<?>> msg) May only be called for the topmost node, representing a complete metric tree/ measure.MTreeSpec.parseAndInitialize
(MessageReceiver<SimpleMessage<eu.bandm.tools.util.xml.XMLDocumentIdentifier>> msg, String s) Create one top node and all described sub nodes by parsing a specification text.static MTreeSpec
static MTreeSpec
Create and return one node which contains n times the given subnode as its childs.static MTreeSpec
Create and return one node which contains n times the given subnode as its childs and has the explicitly given duration.MTreeCollector.searchBackwards
(SortedMap<BigDecimal, M> explicitMeterNames, M metername, BigDecimal barnum) Search for the mtree spec definition for a particular meter name, which is valid at a particular measure number.protected MTreeSpec
MTreeSpec.self()
Necessary to avoid "unchecked cast" warning when returning "this" instance in the parameterized superclassMTree_
.Modifier and TypeMethodDescriptionstatic MTreeSpec
(package private) void
MetrumSpecs.checkNameConsistency
(MessageReceiver<SimpleMessage<eu.bandm.tools.util.xml.XMLDocumentIdentifier>> msg, Event e, MetrumSpecs.Name name, MTreeSpec mtree) static MTree
MTree.install
(MTreeSpec mt, MTree.CheckedParameters params) Only factory method for a user to create an MTree.static MTreeSpec
static MTreeSpec
Create and return one node which contains n times the given subnode as its childs.static MTreeSpec
Create and return one node which contains n times the given subnode as its childs and has the explicitly given duration.Modifier and TypeMethodDescriptionstatic MTreeSpec
Set every element in the list (but the very first) as the alternative of its predecssor.protected void
MTreeSpec.propagateToAlts
(Rational dura, Set<MTreeSpec> visited, Modifiers.Reaction redundantDuration, MessageReceiver<SimpleMessage<?>> msg) Distribute found duration to all alternatives,protected void
MTreeSpec.propagateToChilds
(Set<MTreeSpec> visited, Modifiers.Reaction redundantDuration, MessageReceiver<SimpleMessage<?>> msg) Either all children do not have a duration, then the duration is distributed equally among them, or only one child does not have a duration and gets the rest.MTreeSpec.propagateUp
(Set<MTreeSpec> contributors) If this has no duration, then induce it from its childs.ModifierConstructorDescriptionMSplitter
(MTreeSpec metricTreeSpec, MTree.CheckedParameters parameters_brackets, MCover.CheckedParameters_approximate parameters_approximate, MCover.CheckedParameters_divide parameters_divide, MSplitter.CheckedParameters parameters_explicit, MessageReceiver<SimpleMessage<?>> msg) Full constructor, specifying all parameters.MSplitter
(MTreeSpec metricTreeSpec, MessageReceiver<SimpleMessage<?>> msg) Simplified constructor, setting all to default but the metric tree spefication.Create one node with arg nodes as sub-nodes, and an explicit duration.Create one node with arg nodes as sub-nodes.Create one node with arg nodes as sub-nodes, and an explicit duration.ModifierConstructorDescriptionMKinds
(MessageReceiver<SimpleMessage<eu.bandm.tools.util.xml.XMLDocumentIdentifier>> msg, boolean redef, Translet.Parser<MTreeSpec> mtreeparser, String separator, String... backends) Create one node with arg nodes as sub-nodes, and an explicit duration.Create one node with arg nodes as sub-nodes. -
Uses of MTreeSpec in eu.bandm.music.top
Modifier and TypeFieldDescriptionCwn_to_lilypond.metricSplitters
Local cache of one metric splitter each (with its internal cache) per metric tree specifications.Cwn_to_musicXml.metricSplitters
Local cache of one metric splitter each (with its internal cache) per metric tree specifications.Modifier and TypeMethodDescriptionvoid
Score_cwn.addCompleteMeasure
(int den, int nom, @Opt MTreeSpec mt) Append at the end of all measure specifications a new measure with the given name (looking like "den/nom") and MTree specification.void
Score_cwn.addCompleteMeasure
(MetrumName name, @Opt MTreeSpec mt) Append at the end of all measure specifications a new measure with the given name (looking like "den/nom") and MTree specification.protected MSplitter
Cwn_to_lilypond.getMetricSplitter
(MTreeSpec mt) Get a metric splitter (with its internal cache) for the given metric tree specifications, or construct a new one.protected MSplitter
Cwn_to_musicXml.getMetricSplitter
(MTreeSpec mt) Get a metric splitter (with its internal cache) for the given metric tree specifications, or construct a new one.
initialize(Reaction, MessageReceiver)
instead.