ITtsEngineSite ITtsEngineSite ITtsEngineSite ITtsEngineSite Interface

定義

提供用來寫入音訊資料和事件的方法。Provides methods for writing audio data and events.

public interface class ITtsEngineSite
public interface ITtsEngineSite
type ITtsEngineSite = interface
Public Interface ITtsEngineSite

屬性

Actions Actions Actions Actions

決定引擎應該執行的一個或多個動作。Determines the action or actions the engine should perform.

EventInterest EventInterest EventInterest EventInterest

判斷引擎應該引發的事件。Determines the events the engine should raise.

Rate Rate Rate Rate

取得引擊的讀出速率。Gets the speaking rate of the engine.

Volume Volume Volume Volume

取得引擊的讀出音量。Gets the speaking volume of the engine.

方法

AddEvents(SpeechEventInfo[], Int32) AddEvents(SpeechEventInfo[], Int32) AddEvents(SpeechEventInfo[], Int32) AddEvents(SpeechEventInfo[], Int32)

將一或多個事件加入至 EventInterest 屬性。Adds one or more events to the EventInterest property.

CompleteSkip(Int32) CompleteSkip(Int32) CompleteSkip(Int32) CompleteSkip(Int32)

傳回略過的項目數。Returns the number of items skipped.

GetSkipInfo() GetSkipInfo() GetSkipInfo() GetSkipInfo()

傳回要略過的項目的數目和類型。Returns the number and type of items to be skipped.

LoadResource(Uri, String) LoadResource(Uri, String) LoadResource(Uri, String) LoadResource(Uri, String)

載入位於指定 URI 的資源。Loads the resource at the specified URI.

Write(IntPtr, Int32) Write(IntPtr, Int32) Write(IntPtr, Int32) Write(IntPtr, Int32)

輸出音訊資料。Outputs audio data.

適用於