Méthode | Description | |
---|---|---|
FillBuffer ( short buffer, int offset, int size ) : int | size が overlapSize よりも小さいとき、動作保証対象外。 | |
Skip ( int size ) : bool | ||
TimeStretcher ( System.Stream stream, double rate ) : System |
初期化。
|
|
TimeStretcher ( System.Stream stream, double rate, int overlapSize, int margin ) : System |
初期化。
|
Méthode | Description | |
---|---|---|
Correlation ( short a, short b, int offset ) : double |
a と b+offset の相関値を求める。
|
|
Crossfade ( short a, short b, int offset, short dest ) : void |
a と b の信号をクロスフェードさせながら混ぜる。
|
|
GetOffset ( short a, short b, int max ) : int |
2つの信号 a と b を混ぜるとき、最も違和感なく混ざる位置オフセットを探す。 a と b の相互相関が最も高い位置を探す。
|
public FillBuffer ( short buffer, int offset, int size ) : int | ||
buffer | short | |
offset | int | |
size | int | |
Résultat | int |
public TimeStretcher ( System.Stream stream, double rate ) : System | ||
stream | System.Stream | 内部ストリーム |
rate | double | 変換レート |
Résultat | System |
public TimeStretcher ( System.Stream stream, double rate, int overlapSize, int margin ) : System | ||
stream | System.Stream | 内部ストリーム |
rate | double | 変換レート |
overlapSize | int | オーバーラップ部分の長さ |
margin | int | |
Résultat | System |