SpeechTilesAndamento Docs
Get started
SDK Reference · Method

getSelectedSSVoice

Returns the last selected voice for a speech-synthesis engine.

Declaration

public func getSelectedSSVoice(
    _ ssEngine: String? = nil
) -> (engine: String, ssVoiceParams: STSSVoiceParams)

Overview

When ssEngine is nil, the selected voice of the active synthesis engine is returned.

If the audio player is not initialized, the method returns an empty engine name and an empty STSSVoiceParams value.

See Also