Search Results for

    Show / Hide Table of Contents

    Class TalkPhoneme

    トークの音素データ

    Inheritance
    object
    TalkPhoneme
    Implements
    IEquatable<TalkPhoneme>
    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

    余白( [pau][sil] )の場合は文字列無

    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の計算式 2^cent/1200 の ln()

    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

    Implements

    IEquatable<T>
    In this article
    Back to top LibSasara