Godot Node for pure audio playback powered by LibVLC.
Supports local audio files (MP3, FLAC, WAV, OGG, M4A) and streaming audio (Internet Radio, Shoutcast, Icecast, HTTP streams).
Class methods
_godot_register_node_class
SourceInstance methods
_exit_tree
Lifecycle callback called when the node exits the tree hierarchy.
Source_godot_call_virtual(method_name :
String, delta :
Float64) :
Void Virtual method and property dispatch hooks overridden by class registration macros.
Delta timestep is received with 64-bit precision (Float64).
SourceDispatches generic virtual methods with raw arguments and return buffer.
Source_godot_get_property(prop_name :
String, ret_ptr :
Pointer(
Void)) :
Void Invoked by the GDExtension bridge when retrieving an exposed @export property.
Source_godot_set_property(prop_name :
String, val_ptr :
Pointer(
Void)) :
Void Invoked by the GDExtension bridge when setting an exposed @export property.
SourcePer-frame process callback receiving delta timestep in seconds (Float64).
Source_ready
Lifecycle callback called when the node enters the active scene tree.
Sourcebind_playback_started(callback :
Proc(
R), once :
Bool = false) :
UInt64 forall
R Playback lifecycle signals
Sourcebind_playback_started(once :
Bool = false, &block : ->
Void) :
UInt64 Playback lifecycle signals
SourceCalls the named method on the object with variable arguments.
Sourceemit_error_occurred(*args : *T) : Void forall T
Sourceemit_length_changed(*args : *T) : Void forall T
Sourceemit_playback_started
Playback lifecycle signals
Sourceemit_position_changed(*args : *T) : Void forall T
Sourceerror_occurred=(val : Godot::BoundSignal) : Godot::BoundSignal
Identity setter enabling compound operator sugar (node.error_occurred += ->handler, node.error_occurred -= ->handler)
Sourceerror_occurred_signal_hash
Sourcelength_changed=(val : Godot::BoundSignal) : Godot::BoundSignal
Identity setter enabling compound operator sugar (node.length_changed += ->handler, node.length_changed -= ->handler)
Sourcelength_changed_signal_hash
Sourceplay
Starts or resumes audio playback
Sourceplayback_finished=(val : Godot::BoundSignal) : Godot::BoundSignal
Identity setter enabling compound operator sugar (node.playback_finished += ->handler, node.playback_finished -= ->handler)
Sourceplayback_finished_signal_hash
Sourceplayback_paused=(val : Godot::BoundSignal) : Godot::BoundSignal
Identity setter enabling compound operator sugar (node.playback_paused += ->handler, node.playback_paused -= ->handler)
Sourceplayback_paused_signal_hash
Sourceplayback_resumed=(val : Godot::BoundSignal) : Godot::BoundSignal
Identity setter enabling compound operator sugar (node.playback_resumed += ->handler, node.playback_resumed -= ->handler)
Sourceplayback_resumed_signal_hash
Sourceplayback_started
Playback lifecycle signals
Sourceplayback_started=(val : Godot::BoundSignal) : Godot::BoundSignal
Identity setter enabling compound operator sugar (node.playback_started += ->handler, node.playback_started -= ->handler)
Sourceplayback_started_signal_hash
Playback lifecycle signals
Sourceplayback_started_slot
Playback lifecycle signals
Sourceplayback_stopped=(val : Godot::BoundSignal) : Godot::BoundSignal
Identity setter enabling compound operator sugar (node.playback_stopped += ->handler, node.playback_stopped -= ->handler)
Sourceplayback_stopped_signal_hash
Sourceplaying?
Returns true if currently playing
Sourceposition_changed=(val : Godot::BoundSignal) : Godot::BoundSignal
Identity setter enabling compound operator sugar (node.position_changed += ->handler, node.position_changed -= ->handler)
Sourceposition_changed_signal_hash
Sourceseek(time_ms :
Int64) :
Void Seeks to timestamp in milliseconds
SourceSeeks to normalized progress ratio (0.0 .. 1.0)
Sourceselect_audio_track(track_id :
Int32) :
Void Selects an active audio track by ID
Sourceset_equalizer_preset(preset_name :
String) :
Void Applies an audio graphic equalizer preset
Sourceset_volume(new_volume :
Int32) :
Void Sets audio volume (0..100)
Sourcestop
Stops playback and resets position
Sourcetoggle_pause
Toggles between play and pause
Sourceunbind_playback_started(callback :
Proc(
R)) :
Bool forall
R Playback lifecycle signals
SourcePlayback lifecycle signals
SourceMacros
autoload(*args, **kwargs)
DSL directives for in-body autoload configuration
Sourceautoload_node(*args, **kwargs)
Source