ESCSpeechPlayer

Extends: Control

Description

Speech player

Property Descriptions

global_id

export var global_id: String = "_speech"

Global id of the background music player

stream

var stream: AudioStreamPlayer

Reference to the audio player

Method Descriptions

set_state

func set_state(p_state: String, p_force: bool = false) -> void

Set the state of this player

Parameters

  • p_state: New state to use

  • p_force: Override the existing state even if the stream is still playing

pause

func pause()

Pause the speech player

resume

func resume()

Unpause the speech player