Package eu.bandm.music.top
Class CwnToFloatSig_withComment<S extends Score_cwn>
java.lang.Object
eu.bandm.music.top.CwnToFloatSig_basic<S>
eu.bandm.music.top.CwnToFloatSig_withComment<S>
Creates as output a basic sig sequencer data to be put into a
CwnSequencerFloat
, etc.-
Field Summary
Modifier and TypeFieldDescriptionFields inherited from class eu.bandm.music.top.CwnToFloatSig_basic
articulation2code, currentRationalDuration, defaultInitialTempo, eventNumber, expandingChunkSize, filenamestem, generationDate, initialChunkSize, INTERNAL_SOURCE, measureNumber, mm60, msec_per_whole, msg, outDir, score, sig_text_column_header, sig_text_eof, sig_text_header, sourceIndication, values_articulation, values_duration, values_fifths, values_number, values_octaves, values_when, voice_in_arrays
-
Constructor Summary
ConstructorDescriptionCwnToFloatSig_withComment
(CwnToFloatSig_basic<S> prototype) CwnToFloatSig_withComment
(MessageReceiver<SimpleMessage<eu.bandm.tools.util.xml.XMLDocumentIdentifier>> msg, S score, @Opt String sourceIndication, @Opt String filenamestem, @Opt File outDir, int initialChunkSize, int expandingChunkSize) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
extraColumns
(@Opt PrintWriter txt, @Opt DataOutputStream dos, Event e, int trigger) Write out additional file column entries (text and binary) and fill the additional arrays.protected void
Must be overriden by each subclass to construct the newly introduced arrays.protected void
resizeArrays
(int newsize) Every subclass must override this method by code which adjusts its newly introduced data arrays accordingly.Methods inherited from class eu.bandm.music.top.CwnToFloatSig_basic
articulation2code, closeArrays, convert, dump, dumpExtraColumns, enlargeArrays, getValues_articulation, getValues_duration, getValues_fifths, getValues_number, getValues_octaves, getValues_when, initialTempo, main, note_duration_to_msec, rat_to_msec, setMM, setMM, writeEvent
-
Field Details
-
values_durationText
-
values_pitchText
-
-
Constructor Details
-
CwnToFloatSig_withComment
-
CwnToFloatSig_withComment
-
-
Method Details
-
newArrays
protected void newArrays()Must be overriden by each subclass to construct the newly introduced arrays. Code must callsuper.newArrays()
. Is only called ifCwnToFloatSig_basic.initialChunkSize
> 0.- Overrides:
newArrays
in classCwnToFloatSig_basic<S extends Score_cwn>
-
resizeArrays
protected void resizeArrays(int newsize) Every subclass must override this method by code which adjusts its newly introduced data arrays accordingly. The code in every subclass must invokesuper.resizeArrays(int);
.- Overrides:
resizeArrays
in classCwnToFloatSig_basic<S extends Score_cwn>
-
extraColumns
protected void extraColumns(@Opt @Opt PrintWriter txt, @Opt @Opt DataOutputStream dos, Event e, int trigger) throws IOException Write out additional file column entries (text and binary) and fill the additional arrays.- Overrides:
extraColumns
in classCwnToFloatSig_basic<S extends Score_cwn>
- Throws:
IOException
-
getValues_durationText
-
getValues_pitchText
-