PopochiuIAudio
Extends: Node
Description
Property Descriptions
twelfth_root_of_two
var twelfth_root_of_two: float = 1.0594630943593
Used to convert the value of the pitch set on [member PopochiuAudioCue.pitch] to the corresponding value needed for the [code]pitch_scale[/code] property of the audio stream players.
Method Descriptions
semitone_to_pitch
func semitone_to_pitch(pitch: float) -> float
Transforms [param pitch] to a value that can be used to modify the [member AudioStreamPlayer.pitch_scale] or [member AudioStreamPlayer2D.pitch_scale].
is_playing_cue
func is_playing_cue(cue_name: String) -> bool
Returns [code]true[/code] if the [PopochiuAudioCue] identified by [param cue_name] is playing.