Class Audio2Vowels

    Definition

    Namespace:
    Tizen.AIAvatar
    Assembly:
    Tizen.AIAvatar.dll

    The Audio2Vowels class is responsible for predicting vowels from audio data using a pre-trained TensorFlow model.

    public class Audio2Vowels
    Inheritance
    object
    Audio2Vowels

    Constructors

    View Source

    Audio2Vowels(string)

    Initializes a new instance of the Audio2Vowels class with the specified TensorFlow model file path.

    Declaration
    public Audio2Vowels(string tensorflowFilePath)
    Parameters
    Type Name Description
    string tensorflowFilePath

    The path to the pre-trained TensorFlow model file.

    Methods

    View Source

    GetSampleRate()

    Gets the current sample rate of the audio data.

    Declaration
    public int GetSampleRate()
    Returns
    Type Description
    int

    The current sample rate.

    View Source

    PredictVowels(byte[])

    Predicts the vowels present in the given audio data.

    Declaration
    public string[] PredictVowels(byte[] audioData)
    Parameters
    Type Name Description
    byte[] audioData

    The audio data to analyze.

    Returns
    Type Description
    string[]

    An array of predicted vowels.

    View Source

    SetSampleRate(int)

    Sets the sample rate of the audio data.

    Declaration
    public void SetSampleRate(int rate)
    Parameters
    Type Name Description
    int rate

    The sample rate to set.

    Extension Methods

    EXamlExtensions.LoadFromEXamlByRelativePath<T>(T, string)
    Extensions.LoadFromXaml<TXaml>(TXaml, string)
    Extensions.LoadFromXaml<TXaml>(TXaml, Type)
    Extensions.LoadFromXamlFile<TXaml>(TXaml, string)
    • View Source
    Back to top Copyright © 2016-2025 Samsung
    Generated by DocFX