ハンドルを取り扱います。
フィールドの概要 | |
---|---|
boolean
|
addQuotationMark
歌詞・発音記号列の前後にクォーテーションマークを付けるかどうか |
string
|
iconId
ハンドルを特定するための文字列 |
string
|
ids
ハンドルの名前 |
int
|
index
メタテキストに出力されるこのオブジェクトの ID |
int
|
language
歌手の歌唱言語を表す番号(バンクセレクト)。 |
int
|
original
ハンドルのオリジナル |
int
|
program
歌手の種類を表す番号(プログラムチェンジ)。 |
コンストラクタの概要 | |
---|---|
static Handle
|
new(HandleTypeEnum type)
|
static Handle
|
new(TextStream stream,int index,table lastLine)
テキストストリームからハンドルの内容を読み込み初期化する |
メソッドの概要 | |
---|---|
Handle
|
clone()
コピーを作成する |
ArticulationTypeEnum
|
getArticulation()
articulation の種類を取得する |
string
|
getCaption()
キャプションを取得する |
int
|
getDepth()
Depth 値を取得する |
VibratoBPList
|
getDepthBP()
Depth のビブラートカーブを取得する |
string
|
getDisplayString()
Display String 値を取得する |
int
|
getDuration()
Duration 値を取得する |
VibratoBPList
|
getDynBP()
DYN カーブを取得する |
int
|
getEndDyn()
DYN の終了値を取得する |
HandleTypeEnum
|
getHandleType()
ハンドルのタイプを取得する |
int
|
getLength()
Tick 単位の長さを取得する |
Lyric
|
getLyricAt(int index)
指定した位置にある歌詞を取得する |
int
|
getLyricCount()
歌詞の個数を返す |
VibratoBPList
|
getRateBP()
Rate のビブラートカーブを取得する |
int
|
getStartDepth()
Depth の開始値を取得する |
int
|
getStartDyn()
DYN の開始値を取得する |
int
|
getStartRate()
Rate の開始値を取得する |
boolean
|
isCrescendType()
このハンドルがクレッシェンドを表すものかどうかを表すブール値を取得する |
boolean
|
isDecrescendType()
このハンドルがデクレッシェンドを表すものかどうかを表すブール値を取得する |
boolean
|
isDynaffType()
このハンドルが強弱記号を表すものかどうかを表すブール値を取得する |
void
|
setCaption(string value)
キャプションを設定する |
void
|
setDepth(int value)
Depth 値を設定する |
void
|
setDepthBP(VibratoBPList value)
Depth のビブラートカーブを設定する |
void
|
setDuration(int value)
Duration 値を設定する |
void
|
setDynBP(VibratoBPList value)
DYN カーブを設定する |
void
|
setEndDyn(int value)
DYN の終了値を設定する |
void
|
setLength(int value)
長さを設定する |
void
|
setLyricAt(int index,Lyric value)
指定した位置にある歌詞を指定した要素で置き換える |
void
|
setRateBP(VibratoBPList value)
Rate のビブラートカーブを設定する |
void
|
setStartDepth(int value)
Depth の開始値を設定する |
void
|
setStartDyn(int value)
DYN の開始値を設定する |
void
|
setStartRate(int value)
Rate の開始値を設定する |
string
|
toString()
オブジェクトを文字列に変換する |
void
|
write(TextStream stream)
ストリームに書き込む |
フィールドの詳細 |
---|
public boolean addQuotationMark
public string iconId
public string ids
public int index
public int language
public int original
public int program
コンストラクタの詳細 |
---|
public static Handle new(HandleTypeEnum type)
type
- ハンドルの種類
public static Handle new(TextStream stream, int index, table lastLine)
stream
- 読み込み元のテキストストリーム
index
- index
フィールドの値
lastLine
- 読み込んだ最後の行。テーブルの ["value"] に文字列が格納される
メソッドの詳細 |
---|
public Handle clone()
public ArticulationTypeEnum getArticulation()
public string getCaption()
public int getDepth()
public VibratoBPList getDepthBP()
public string getDisplayString()
public int getDuration()
public VibratoBPList getDynBP()
public int getEndDyn()
public HandleTypeEnum getHandleType()
public int getLength()
public Lyric getLyricAt(int index)
index
- 取得する要素のインデックス(最初のインデックスは0)
public int getLyricCount()
public VibratoBPList getRateBP()
public int getStartDepth()
public int getStartDyn()
public int getStartRate()
public boolean isCrescendType()
true
を、そうでなければ false
を返す public boolean isDecrescendType()
true
を、そうでなければ false
を返す public boolean isDynaffType()
true
を、そうでなければ false
を返す public void setCaption(string value)
value
- キャプション
public void setDepth(int value)
value
- Depth 値
public void setDepthBP(VibratoBPList value)
value
- 設定するビブラートカーブ
public void setDuration(int value)
value
- Duration 値
public void setDynBP(VibratoBPList value)
value
- DYN カーブ
public void setEndDyn(int value)
value
- DYN の終了値
public void setLength(int value)
value
- Tick単位の長さ
public void setLyricAt(int index, Lyric value)
index
- 置き換える要素のインデックス(最初のインデックスは0)
value
- 置き換える要素
public void setRateBP(VibratoBPList value)
value
- 設定するビブラートカーブ
public void setStartDepth(int value)
value
- Depth の開始値
public void setStartDyn(int value)
value
- DYN の開始値
public void setStartRate(int value)
value
- Rate の開始値
public string toString()
public void write(TextStream stream)
stream
- 書き込み先のストリーム