Package eu.bandm.music.top
Class MwHaiku_to_cwn
java.lang.Object
eu.bandm.music.top.MwHaiku_to_cwn
Converts a (time-less) stream of Haiku syllables and phonems into a CWN score.
After parsing and updating, the
MwHaiku
instance has a sequence of
MwHaiku.GenEvent
, with their "rawDuration" already set.
Each such genEvent ("e0", "e1", .. in the following) is translated into
a musical event in the newly constructed .
Pauses are inserted after each syllable in the original text.
The result is rendered in a "merely technical" 4/4 metrum.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected TpTop
makeTp
(Score_cwn result, Rational when, eu.bandm.tools.location.Location<eu.bandm.tools.util.xml.XMLDocumentIdentifier> origLoc) Evidenttranslate
(MwHaiku haikus, MessageReceiver<SimpleMessage<eu.bandm.tools.util.xml.XMLDocumentIdentifier>> msg)
-
Constructor Details
-
MwHaiku_to_cwn
public MwHaiku_to_cwn()
-
-
Method Details
-
makeTp
protected TpTop makeTp(Score_cwn result, Rational when, eu.bandm.tools.location.Location<eu.bandm.tools.util.xml.XMLDocumentIdentifier> origLoc) Evident -
translate
public Score_cwn translate(MwHaiku haikus, MessageReceiver<SimpleMessage<eu.bandm.tools.util.xml.XMLDocumentIdentifier>> msg)
-