ビブラートデータポイントのリストを表すクラス
| コンストラクタの概要 | |
|---|---|
static VibratoBPList
|
new(string textNum,string textBPX,string textBPY)
初期化を行う |
static VibratoBPList
|
new(table<double> x,table<int> y)
初期化を行う |
| メソッドの概要 | |
|---|---|
VibratoBPList
|
clone()
コピーを作成する |
VibratoBP
|
get(int index)
指定したインデックスのデータ点を取得する |
string
|
getData()
データ点のリストを、文字列に変換する。 |
int
|
getValueAt(double x,int defaultValue)
指定した位置のビブラートカーブの値を取得する |
void
|
set(int index,VibratoBP value)
指定したインデックスのデータ点を設定する |
void
|
setData(string value)
"key1=value=1,key2=value2" のような文字列から、データ点のリストを設定する |
int
|
size()
データ点の個数を返す |
| コンストラクタの詳細 |
|---|
public static VibratoBPList new(string textNum,
string textBPX,
string textBPY)
textNum - データ点の個数の文字列表現
textBPX - x 軸のデータ点の値をカンマ区切りで繋げた文字列
textBPY - y 軸のデータ点の値をカンマ区切りで繋げた文字列
public static VibratoBPList new(table<double> x,
table<int> y)
x - x 軸の値のリスト
y - y 軸の値のリスト
| メソッドの詳細 |
|---|
public VibratoBPList clone()
public VibratoBP get(int index)
index - 0から始まるインデックス
public string getData()
public int getValueAt(double x,
int defaultValue)
x - 取得したい x 軸の値
defaultValue - ビブラートカーブのデフォルト値
public void set(int index,
VibratoBP value)
index - インデックス(最初のインデックスは0)
value - 設定するデータ点
public void setData(string value)
value - データ点の文字列形式
public int size()