public class DeviationInstanceWrapper extends CMXFileWrapper
| 修飾子とタイプ | クラスと説明 |
|---|---|
class |
DeviationInstanceWrapper.ChordDeviation |
class |
DeviationInstanceWrapper.Control |
class |
DeviationInstanceWrapper.ExtraNote |
class |
DeviationInstanceWrapper.MissNote |
class |
DeviationInstanceWrapper.NoteDeviation |
| 修飾子とタイプ | フィールドと説明 |
|---|---|
static java.lang.String |
TOP_TAG
newOutputData()に指定するトップタグ名.スペルミス防止.
|
| コンストラクタと説明 |
|---|
DeviationInstanceWrapper() |
addChild, addChild, addChildAndText, addChildAndText, addChildAndText, addChildOf, addClassTable, addDocumentTypeTable, addLinks, addLinks, addPathFirst, addPathLast, addSibling, addSibling, addText, addText, addText, changeCurrentNode, checkFinalized, createDocument, finalizeDocument, getAbsolutePath, getDocument, getFileName, getParentPath, getPath, getTopTagAttribute, getTopTagAttributeNS, getURI, init, isFinalized, println, read, readfile, readfile, readfile, resetXPath, returnToParent, returnToPrevCurrentNode, selectNodeList, selectNodeList, selectSingleNode, selectSingleNode, setAttribute, setAttribute, setAttribute, setAttributeNS, setAttributeNS, setAttributeNS, setNamespaceContext, setTopTagAttribute, setTopTagAttributeNS, wrap, write, write, writefile, writefile, writeGZippedFile, writeGZippedFilepublic static final java.lang.String TOP_TAG
protected void analyze()
throws java.io.IOException
CMXFileWrapperThis method defines the initial processing required for extracting information from the XML document. This is called by the runAll() method in the CMXCommand class after readfile() method before run() method. The default implementation does not do anything.
このメソッドでは, XMLドキュメントから情報を取り出す上で必要な初期の処理を 記述します. これは, CMXCommandクラスのrunAll()メソッドから, readfile()メソッドの後, run()メソッドの前に呼び出されます. デフォルトの実装では何もしません.
analyze クラス内 CMXFileWrapperjava.io.IOExceptionpublic int getBaseVelocity()
public DeviationInstanceWrapper.ChordDeviation getChordDeviation(MusicXMLWrapper.Note note)
public java.util.LinkedList<DeviationInstanceWrapper.ExtraNote> getExtraNotesList(DeviationInstanceWrapper dev, java.lang.String partID)
dev - 対象とするDeviationInstanceWrapperpartID - パートIDpublic TreeView<DeviationInstanceWrapper.ExtraNote> getExtraNoteView(java.lang.String partid)
public double getInitialSilence()
public DeviationInstanceWrapper.MissNote getMissNote(MusicXMLWrapper.Note note)
public TreeView<DeviationInstanceWrapper.Control> getNonPartwiseControlView()
public java.util.LinkedList<DeviationInstanceWrapper.Control> getNonPartwiseList(DeviationInstanceWrapper dev)
dev - public DeviationInstanceWrapper.NoteDeviation getNoteDeviation(MusicXMLWrapper.Note note)
public TreeView<DeviationInstanceWrapper.Control> getPartwiseControlView(java.lang.String partid)
public MusicXMLWrapper getTargetMusicXML() throws java.io.IOException
java.io.IOExceptionpublic java.lang.String getTargetMusicXMLFileName()
public DeviationInstanceWrapper.Control searchNonPartwiseControl(int measure, double beat)
public DeviationInstanceWrapper.Control searchNonPartwiseControl(int measure, double beat, java.lang.String type)
public void setBaseVelocity(int velocity)
public CSVWrapper toCSV(int divisionPerMeasure, int windowPerMeasure)
public DeviationDataSet toDeviationDataSet() throws java.io.IOException
java.io.IOExceptionpublic SCCDataSet toSCCDataSet(int ticksPerBeat) throws java.io.IOException, javax.xml.transform.TransformerException
java.io.IOExceptionjavax.xml.transform.TransformerExceptionpublic SCCXMLWrapper toSCCXML(int ticksPerBeat) throws java.io.IOException, javax.xml.transform.TransformerException
java.io.IOExceptionjavax.xml.transform.TransformerException