class_audiostreamgibberish - vkbsb/godot GitHub Wiki
AudioStreamGibberish
####Inherits: AudioStream ####Category: Core
Brief Description
Simple gibberish speech stream playback.
Member Functions
- void set_phonemes ( Object phonemes )
- Object get_phonemes ( ) const
- void set_pitch_scale ( float pitch_scale )
- float get_pitch_scale ( ) const
- void set_pitch_random_scale ( float pitch_random_scale )
- float get_pitch_random_scale ( ) const
- void set_xfade_time ( float sec )
- float get_xfade_time ( ) const
Description
AudioStream used for gibberish playback. It plays randomized phonemes, which can be used to accompany text dialogs.
Member Function Description
set_phonemes
- void set_phonemes ( Object phonemes )
Set the phoneme library.
get_phonemes
- Object get_phonemes ( ) const
Return the phoneme library.
set_pitch_scale
- void set_pitch_scale ( float pitch_scale )
Set pitch scale for the speech. Animating this value holds amusing results.
get_pitch_scale
- float get_pitch_scale ( ) const
Return the pitch scale.
set_pitch_random_scale
- void set_pitch_random_scale ( float pitch_random_scale )
Set the random scaling for the pitch.
get_pitch_random_scale
- float get_pitch_random_scale ( ) const
Return the pitch random scaling.
set_xfade_time
- void set_xfade_time ( float sec )
Set the cross-fade time between random phonemes.
get_xfade_time
- float get_xfade_time ( ) const
Return the cross-fade time between random phonemes.