~kmdodrill/my-brother-lives-in-a-canyon

my-brother-lives-in-a-canyon/src/Speaker.gd -rw-r--r-- 132 bytes
80dd997c — Kenneth Dodrill Remove misc prints 1 year, 14 days ago
                                                                                
1
2
3
4
5
6
7
extends AudioStreamPlayer

var speech_playback_position: float = 0.0

func speak(sound: AudioStream):
    stream = sound
    play()