Class TalkPhoneme
トークの音素データ
Implements
Namespace: LibSasara.Model
Assembly: LibSasara.dll
Syntax
public record TalkPhoneme : IEquatable<TalkPhoneme>
Properties
Data
音素文字列
Declaration
public string? Data { get; set; }
Property Value
Type | Description |
---|---|
string | 余白( |
Index
index
Declaration
public int Index { get; set; }
Property Value
Type | Description |
---|---|
int |
Speed
音素グラフの長さ差分
Declaration
public decimal? Speed { get; set; }
Property Value
Type | Description |
---|---|
decimal? |
Remarks
もとの長さからの差分。単位は秒(sec.)。
※もとの長さは不明なので外部連携インターフェイスや.labファイルから取得する。
SasaraLabel
Tone
音素グラフの高さ(PIT)差分
Declaration
public decimal? Tone { get; set; }
Property Value
Type | Description |
---|---|
decimal? | Centの計算式 |
Volume
大きさ
Declaration
public decimal? Volume { get; set; }
Property Value
Type | Description |
---|---|
decimal? |
Remarks
音素グラフのVOL差分
Methods
CulcTone(double, double)
元の周波数と目標の周波数から必要なToneの値を求める
Declaration
public static decimal CulcTone(double baseHz, double targetHz)
Parameters
Type | Name | Description |
---|---|---|
double | baseHz | 元の周波数(Hz) |
double | targetHz | 目標の周波数(Hz) |
Returns
Type | Description |
---|---|
decimal |