Uses of Class
eu.bandm.tscore.model.Vox
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.
All fundamental entities for modeling music.
Composition project which translates polyphonic sequences of abstract
"hook signs" (="Haken" = "hkn") into scores for different instruments, like
Viola, Voice, electronic sound synthesis or abstract graphical movies; see
the project documentation (in German).
Top-level data structures, modelling different score formats, combining the
entities defined in lower level packages.
Generic and low level data types and transformation algorithms,
to be used by very different applications of the
tscore
framework.Umod main model class: Generic score model for
denotating time-based sequences of arbitrary events.
-
Uses of Vox in eu.bandm.music.applications.deutscheLaute
-
Uses of Vox in eu.bandm.music.applications.feldproj
Modifier and TypeFieldDescription(package private) Vox
Generate_1.Agent.inVoice
Contains pairs of scalar values from 0.0 to 90.0(package private) Vox
Generate_1.Agent.outVoice
The generated voice, in FeldmanProjection_n formatFeldmanProjection_n.pageVoice
Voice for the "new page starts here" indication of the copied historic original.(package private) Vox
Generate_3.Agent.voice
The resulting voice, contained in the resultingGenerate_3.score
.(package private) final Vox
MidiInterpretation2.Agent.vox
The underling score vocce, needed for stepping through its events.Modifier and TypeFieldDescriptionFeldmanVisual.events
The next event to start in the drawing process (may be wide in the future)FeldmanVisual.iterators
evidentFeldmanVisual.leftStart
The measure start just below or equal to the start of the event inFeldmanVisual.events
FeldmanProjection_n.normalizedEvents
Events after collapsing "hold" events and repeated pauses, in temporal order.FeldmanVisual.rightEnd
The measure start just above or equal to the end of the event inFeldmanVisual.events
FeldmanVisual.voice2staff
evidentAnalysesSecundumCline.voices
protected static Map<Vox,
FeldmanProjection_n.addenda> FeldmanProjection_n.voxAddenda
Evident.Modifier and TypeMethodDescriptionvoid
MidiInterpretation2.addVoice
(Vox vox, MidiInstrument mi, boolean samePos) void
MidiInterpretation2.addVoice
(Vox vox, MidiInstrument mi, @Opt MidiInstrument mi_harmonic, boolean samePos) Add the given voice with two instrument descriptions: one for "normal" events and the other for those marked "harmonics" in the score data.void
Scan these three voices for three overlapping events.(package private) void
Translate the input events (per whole notes) into the interpolated curves (per 1/5 note).protected void
FeldmanProjection_n.getVoiceAddenda
(Vox v) Read the optional addenda specification of the given voice.protected void
FeldmanProjections.loadVoice
(Vox v, MidiInstrument mi, @Opt MidiInstrument mi_harm, boolean samePlace) protected void
FeldmanProjections.loadVoiceByName
(Vox v) Realize the heuristics of the voice names as appropriate to the currently existing scores.protected void
Fill all the caches with the coordinates of the next event in the given voice.void
AnalysesSecundumCline.PerRegister.reflect
(FeldmanProjection_n score, Vox v) void
FeldmanProjection_n.update_voice_durations
(Vox voice) Normalize all events, sort them by start point, and memorize their duration.protected int
Returns the top cooordinate where to draw a box for an event, or of the top line of the staff if no event given.ModifierConstructorDescription(package private)
Only constructor.(package private)
Agent
(Vox vox, MidiInstrument midiInstrument, @Opt MidiInstrument harmonicInstrument, boolean samePos) Only constructor -
Uses of Vox in eu.bandm.music.applications.myKdF
ModifierConstructorDescription(package private)
VoiceData
(CwnToDoubleSig_withComment data, Vox voice) -
Uses of Vox in eu.bandm.music.applications.tabstaff
Modifier and TypeFieldDescription(package private) Vox
Tabstaff.configurationVoice
The voice which controls the layout of the TUI.(package private) Vox
TabstaffAccordic.configurationVoice
Tabstaff.notationVoice
The voice which controls the notationModifier and TypeFieldDescriptionTabstaff.keypressVoices
Whether the voice is a normal one, with keypress data, not a configuration voice.TabstaffAccordic.normalizedEvents
-
Uses of Vox in eu.bandm.music.entities
Modifier and TypeFieldDescriptionMTreeCollector.voiceDefs
Map measure numbers to localdefinitions of meter names to mtree specs, per voices.Modifier and TypeMethodDescriptionvoid
MeasureCollector.analyse
(MessageReceiver<SimpleMessage<eu.bandm.tools.util.xml.XMLDocumentIdentifier>> msg, Iterable<TpTop> topTps, Map<TpTop, BigDecimal> tp2barnum, Vox vox) Is called after parsing, when all primary information is parsed and stored to internal maps, for distributing information, consistency checks and preparing the result collections.void
MetrumSpecs.checkAndCacheGlobalVoice
(MessageReceiver<SimpleMessage<eu.bandm.tools.util.xml.XMLDocumentIdentifier>> msg, Iterable<TpTop> topTps, Map<TpTop, BigDecimal> tp2barnum, Vox mainVox) first step: every metrum name must have a preceding definition: check and expand.(package private) void
MetrumSpecs.checkNotTop
(MessageReceiver<SimpleMessage<eu.bandm.tools.util.xml.XMLDocumentIdentifier>> msg, Vox voice, boolean isMain) FIXME unvollständige takte aber doch noch erlaubt !?!(package private) void
MTreeCollector.checkNotTop
(Vox voice) Verify that mtree source text does appear only with top level time nodes, not with sub-nodes.void
MetrumSpecs.expandLocalVoice
(MessageReceiver<SimpleMessage<eu.bandm.tools.util.xml.XMLDocumentIdentifier>> msg, Iterable<TpTop> topTps, Map<TpTop, BigDecimal> tp2barnum, Vox globalVoice, Vox vox) Distribute a local metric definition in "mtrees" to any subsequent measure (only those which have a TpTop-Event!), as long as it is "running".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!void
MTreeCollector.insertMVoice
(Vox voice, SortedMap<BigDecimal, M> explicitMeterNames) Analyse the "mtree" parameter track of the global metric "M" voice.void
MTreeCollector.insertVoice
(Vox voice) Analyse the "mtree" parameter track of a particular voice which is not the global metric "M" voice.void
MTreeCollector.insertVoice_noMTreeSpecs
(Vox voice) Add the map of all measure numbers to an mtree spec for a voice which is known to have no own/local mtree specifications. -
Uses of Vox in eu.bandm.music.haken
Modifier and TypeFieldDescriptionScore_hkn.Expansion.expanded
Main result of expansion: a list of expanded RelWert per Vox.Score_hkn.Expansion.voices
All voices taking part in this expansion, as given finally on constrcution.Modifier and TypeMethodDescriptionAuxiliary functions for sub-classes=specialized formats, to find a voice for a particular purpose by name.Modifier and TypeMethodDescriptionvoid
Add a pause duration to the last emmitted V-Event for later printing the graphic voices.protected void
Score_hkn.Expansion.collectAdditionalTpRequirements
(Vox v) Collect all requirements of additional Tps into global output registers.protected void
Score_hkn.Expansion.collectTps
(Set<Tp> res, Vox v) Collect all Tps of all events of the given voice into one set.protected void
Score_hkn.Expansion.expandHaken
(Vox v, List<RelWert> result) Returns a list ofRelWert
values by copying these from the K-voice input and translating allHaken
andDoppelHaken
into these.protected void
Score_hkn_vla_v00.flush_accu
(int max, List<Tp> tps, Vox vpause, boolean checkLastForPause) Since a new 4/4 measure is started with every fermata-event (duration="O"="O+O"=5), all events up to such a "maxDuration" event are accumulated and then rendered by this method.protected float
Score_hkn_svg_v00.getPauseByIndex
(List<Tp> tps, Vox vpause, int i) Pause stands with a K-Event and means a Pause BEFORE this event start.protected @Opt QualifiedRational
Score_hkn_vla_v00.getPauseByIndex
(List<Tp> tps, @Opt Vox vpause, int i) protected @Opt QualifiedRational
Score_hkn_vox_v00.getPauseByIndex
(List<Tp> tps, @Opt Vox vpause, int i) Get the duration of the pause to be insert before the event on the i-th K-time point.protected int
Score_hkn.getPauseIndexByIndex
(List<Tp> tps, @Opt Vox vpause, int i, int maxPause) Valid pauses are numbered from 0 to maxPause, with increasing significance.void
Score_hkn_sig_v00.update
(DataOutput out, PrintWriter txt, @Opt Vox vpause, @Opt Vox vdur, @Opt Vox venv, @Opt Vox vdist, @Opt Vox vvib) Translate the score and write the data into a binary and into a text file.void
Score_hkn_svg_v00.update
(PrintWriter pw, String title, @Opt String subtitle, @Opt Vox vpause, @Opt Vox vx, @Opt Vox vy, @Opt Vox vcol, @Opt Vox vsiz, @Opt Vox vfrm) Convert the K-voices and write out to file.void
Score_hkn_vla_v00.update
(String inputFileName, String outputFileStem, @Opt String subtitle, @Opt Vox v_ps, @Opt Vox v_dt0, @Opt Vox v_dt1, @Opt Vox v_th0, @Opt Vox v_th1, @Opt Vox v_ls0, @Opt Vox v_ls1) void
Score_hkn_vox_v00.update
(String inputFileName, String scoreAndPartName, @Opt String subtitle, @Opt Vox v_pause, Vox v_soundness, Vox v_height) Convert the tscore data into a lilypond output.protected void
LilypondGenerator.writeGraphics
(String role, Vox inputVoice, List<RelWert> expanded, List<Tp> tps, Map<Event, RelWert> event2relwert, Map<Event, Haken> event2haken, Map<Event, DoppelHaken> event2doppelHaken) Append a dedicated lilypond voice to the score, which presents a graphic symbol of the underlying K-event.protected void
Generate the lilyPond commands for the sequence of K-Evenst.protected void
Score_hkn_vla_v00.writeToFormat
(Score_hkn.Expansion exp, @Opt Vox vpause) Show one staff with output notes for the viola and changing meters caused by whole-measure fermatas.protected void
Score_hkn_vla_v00.writeVoiceGraphics
(Score_hkn.Expansion exp, String title, @Opt Vox v) ModifierConstructorDescriptionGives the set of voices, the data and time points of which shall be considered. -
Uses of Vox in eu.bandm.music.top
Modifier and TypeFieldDescription(package private) Vox
MlWorat.keyVox
The dedicated voice holding the current tonal key.Score_cwn.meterVoice
The global voice vor metric, tempo, and global expression information.(package private) Vox
MlWorat.sumVox
A synthetic vox with name "~~syntheticSum" which holds for every time point in the input data exaclty one event with all pitch classes appearing there, in any voice.CwnToDoubleSig_basic.voice_in_arrays
Fixed value: the tscoreVox
reflected by the data arrays.CwnToFloatSig_basic.voice_in_arrays
Fixed value: the tscoreVox
reflected by the data arrays.Modifier and TypeFieldDescriptionCwn_to_lilypond.firstLabels
Maps of the labels which shall be printed before the very first staff for this voice.Cwn_to_lilypond.shortLabels
Maps of the labels which shall be printed before the subsequent (non-first) staves for this voice.Formplan_fuge.soundVoices
List of all voices, in source order, without the "global current tonal key" voice.protected Map<Vox,
FunctionalInterval> Cwn_to_lilypond.transpositions
Maps of transpostions to be applied to the score data before writing out.Modifier and TypeMethodDescriptionConvert raw data into haiku input events.Modifier and TypeMethodDescriptionCwn_to_lilypond.staffsByVoiceNames
(List<Vox> voices, int maxnum) Constructs a list of staff names for a list of voices.Modifier and TypeMethodDescriptionprotected <T> boolean
Checks whether the very first event of a particular voice has a necessary parameter.void
Can be called from external (a) multiple times, if ONLY files are generated, or (b) only once, if data arrays are to be filled.void
Can be called from external (a) multiple times, if ONLY files are generated, or (b) only once, if data arrays are to be filled.Cwn_to_lilypond.convertOneVoice
(Vox voice, boolean includeMetric, @Opt List<Format> formatsLyrics) Generate a format for one particular voice (possibly including metric info) which can be read by LilyPond.protected void
Cwn_to_musicXml.convertOneVoice
(Vox voice, List<eu.bandm.music.small_musicXml.Element_part> music_results, List<eu.bandm.music.small_musicXml.Element_score_part> index_results) Generate a format for one certain tscore.Vox (possibly including metric info) in musicXml 3.0 "partwise" format.protected void
GraphartScharen.convertVoice
(Vox v) Writes the complete SVG source of one(1) voice to the output printwriter.protected void
MovingForms.convertVoice
(Vox v) Generate the complete svg/smil target text for one voice.protected void
MwHaiku.dumpRawEvents
(Vox v) Debugging method, dump the events of the Haiku score: syllable text, categories and "lastInLine" / "notLastInWord".void
Score_cwn.dumpVoice
(PrintStream ps, Vox voice) Debugging print which prints only the time point and the pitch, if it is not the metric voice.protected void
Score_cwn.extra_tracks
(Vox v) Hook method to extend this class to parse additional parameter tracks contained in the input source text.Score_cwn.normalizeEvents
(Vox voice, Predicate<Event> mergePauses, Predicate<Event> mergeSounds, List<Event> events, List<QualifiedRational> evStarts, List<Boolean> repeats) Step through the voice, remove "hold" symbols by the prolongating the preceding (sounding) event, merge adjacent "pause" events, and calculate the required sub-division of a quarter for the midi realization of all.int
Score_cwn.normalizeEvents_midi_PPQ
(Vox voice, Predicate<Event> mergePauses, Predicate<Event> mergeSounds, List<Event> events, List<QualifiedRational> evStarts, List<Boolean> repeats) ExecuteScore_cwn.normalizeEvents(Vox,Predicate,Predicate,List,List,List)
, but return the lcm of all duration numerators in the form required for Midi "Parts per quarter".protected void
MwHaiku.printStatistics
(Vox v, PrintWriter p, String inputfilename) Print the whole analysed input score as a vertical table of groupings and frequencies.Set the initial=long and subsequent=short labels to be printed before the staff of a voice.Cwn_to_lilypond.putTransposition
(Vox voice, FunctionalInterval ival) Set a transposition to be applied to the voice before generating the lilypond source.protected void
Emit a lilypond diatonic key change, if the Event carries such a command.protected FunctionalPitchModOctave
Cwn_to_lilypond.transpose
(@Opt Vox v, FunctionalPitchModOctave p) Deliver the pitch transposed UP by the interval which is assigned to the voice inCwn_to_lilypond.transpositions
, if any.protected PitchAndOctave<OctaveRegister,
FunctionalPitchModOctave> Cwn_to_lilypond.transpose
(@Opt Vox v, PitchAndOctave<OctaveRegister, FunctionalPitchModOctave> p) Deliver the pitch transposed UP by the interval which is assigned to the voice inCwn_to_lilypond.transpositions
, if any.void
Score_cwn.update_meterVoice
(Vox v) FIXME DOCME For ADDITIONAL global directices (=events) contained in the main meter voice.void
Score_cwn.update_voice
(Vox v) FIXME DOCMEvoid
Score_cwn.update_voice_articulations
(Vox v) FIXME DOCMEvoid
Score_cwn.update_voice_durations
(Vox v) FIXME DOCMEvoid
Score_cwn.update_voice_lyrics
(Vox v) void
Score_cwn.update_voice_notations
(Vox v) void
Score_cwn.update_voice_pitches
(Vox v) FIXME DOCMEprotected boolean
Formplan_fuge.voiceIsGlobal
(Vox v) Whether this voice is the global "current tonal key" voice.Modifier and TypeMethodDescriptionCwn_to_lilypond.convertVoices
(String sourcename, Part part, List<Vox> voices) Generate a format representing Lilypond source text, for one tscore source "PART" and the given list of voices.eu.bandm.music.small_musicXml.Element_score_partwise
Cwn_to_musicXml.convertVoices
(List<Vox> voices) Generate musicXml output for a selection of Vox elements inCwn_to_musicXml.score
.Cwn_to_lilypond.staffsByVoiceNames
(List<Vox> voices, int maxnum) Constructs a list of staff names for a list of voices. -
Uses of Vox in eu.bandm.tscore.base
Modifier and TypeMethodDescriptionstatic Vox
Util.findVoice
(Container ts, @Opt MessageReceiver<SimpleMessage<eu.bandm.tools.util.xml.XMLDocumentIdentifier>> msg, boolean generateErrors, String voiceName) Searches for the voice with the given name and generates messages if not found.RawParser.VOX_and_name
(Container container, boolean multiple) Parse function (=test, consume and return) for
VOX_and_name ::= VOX ident
Can be called (a) in context of meta values (in a score or in a part, before the first T-line) or (b) in an accolade after the T-line.Modifier and TypeMethodDescriptionvoid
Print the name of the voice and descend into its events, in source order.Timelesses.findToplevel
(Vox vox, String topId) static @Opt eu.bandm.tools.location.Location<eu.bandm.tools.util.xml.XMLDocumentIdentifier>
Util.firstLocation
(Vox v) Returns the location of the first event in a voice, in source text order.static @Opt eu.bandm.tools.location.Location<eu.bandm.tools.util.xml.XMLDocumentIdentifier>
Util.lastLocation
(Vox v) Returns the location of the last event in a voice, in source text order.static void
Util.parseParamTrack
(MessageReceiver<SimpleMessage<eu.bandm.tools.util.xml.XMLDocumentIdentifier>> msg, Vox v, String trackname, String separator, Translet.Parser<?> parser, Modifiers react) Applies a certainTranslet.Parser
parser to the given parameter track.void
Service access point: Process this voice and replace the pattern keywords in its parameter track (with the name given when creating this instance) by pattern expansion.static <T> void
ATTENTION: Different subdivisions are not unified automatically, e.g.static <T> boolean
Util.veryFirstEventHasRequiredParameter
(MessageReceiver<SimpleMessage<eu.bandm.tools.util.xml.XMLDocumentIdentifier>> msg, Event firstEv, Vox v, Map<Event, T> map, String pname) Checks whether the very first event of a particular voice has a necessary parameter.Util.voiceEvents
(Vox v, Iterable<? extends Tp> tps) Util.voiceFilter
(Vox v, Iterable<E> it) AnIterables.FilterIterable
over any Event Iterable which visits only those events of a givenVox
.static void
Util.warnUnusedParams
(MessageReceiver<SimpleMessage<eu.bandm.tools.util.xml.XMLDocumentIdentifier>> msg, Vox v, Set<String> analysed, boolean errorNotWarn) Emits a warning or an error if the source text of a voice contains parameters which are not analysed.ModifierConstructorDescriptionVoicesVisitorSync
(@Opt Predicate<Event> ignoreEvent, Vox... voices) -
Uses of Vox in eu.bandm.tscore.model
Modifier and TypeFieldDescriptionprotected CheckedMap_RD<String,
Vox> Container.voices
Not used in Vox; in TimeScape it holds only timeless parameters for subsequent voices in parts with same name.protected CheckedSet<Vox>
EventSet.voices
All voices events of which appear in the set.protected CheckedList<Vox>
Container.voicesBySource
All voices appearing in the score, in source order of their first appearance.Modifier and TypeMethodDescriptionVox.doclone()
Clones this object.Event.get_voice()
The voice it belongs to.Copies values of all common fields from the argument.__SAX_Parser.matchSAX_Vox()
Modifier and TypeMethodDescriptionContainer.get_voices()
Not used in Vox; in TimeScape it holds only timeless parameters for subsequent voices in parts with same name.EventSet.get_voices()
All voices events of which appear in the set.Container.get_voicesBySource()
All voices appearing in the score, in source order of their first appearance.protected CheckedMap_RD<String,
Vox> __SAX_Parser.parse_1()
protected CheckedSet<Vox>
__SAX_Parser.parse_13()
protected CheckedList<Vox>
__SAX_Parser.parse_2()
Modifier and TypeMethodDescriptionprotected void
void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
void
__SAX_Writer.dumpfields
(Vox e0) void
__SAX_Parser.XMLPARSER_Vox.fillFields
(Vox newobj) void
Dump.follow_events
(Vox element) void
Match.follow_events
(Vox element) void
SingleMatch.follow_events
(Vox element) void
Dump.follow_sortedBySource
(Vox element) void
Match.follow_sortedBySource
(Vox element) void
SingleMatch.follow_sortedBySource
(Vox element) void
Dump.follow_sortedByStart
(Vox element) void
Match.follow_sortedByStart
(Vox element) void
SingleMatch.follow_sortedByStart
(Vox element) void
MATCH_ONLY_00.followAll_events
(Vox element) void
MATCH_ONLY_00.followAll_sortedBySource
(Vox element) void
MATCH_ONLY_00.followAll_sortedByStart
(Vox element) void
void
__SAX_Parser.XMLPARSER_Vox.parsefields
(Vox newobj) protected void
protected void
protected void
Dump.printscalars
(Vox e0) void
Container.put_voices
(String key0, Vox value) Convenience un-Currying method.boolean
The voice it belongs to.protected Format
Modifier and TypeMethodDescriptionboolean
Container.set_voices
(CheckedMap_RD<String, Vox> val) Not used in Vox; in TimeScape it holds only timeless parameters for subsequent voices in parts with same name.boolean
EventSet.set_voices
(CheckedSet<Vox> val) All voices events of which appear in the set.boolean
Container.set_voicesBySource
(CheckedList<Vox> val) All voices appearing in the score, in source order of their first appearance.