Extension for godot used to generate purely synthetic engine sounds in real-time.
Based on DasEtwas/enginesound.
[configuration]
entry_symbol = "gdext_rust_init"
compatibility_minimum = "4.2.0"
[libraries]
linux.release.x86_64 = "res://addons/@bendn/enginesound/libenginesound.so"
linux.debug.x86_64 = "res://addons/@bendn/enginesound/libenginesound.so"
macos.release = "res://addons/@bendn/enginesound/libenginesound.dylib"
macos.debug = "res://addons/@bendn/enginesound/libenginesound.dylib"
windows.debug.x86_64 = "res://addons/@bendn/enginesound/libenginesound.dll"
windows.release.x86_64 = "res://addons/@bendn/enginesound/libenginesound.dll"
- make a
AudioStreamPlayer
(2d, 3d, or global) - put a
EngineStream
in theAudioStreamPlayer
- call
play()
on theAudioStreamPlayer
- call
set_stream()
on theEngineStream
with theAudioStreamPlayers
's stream playback (stream.set_stream(get_stream_playback())
) - make a
_process
function that callsupdate()
on theEngineStream
-
i could include it in the addon but godot doesnt like non toplevel
.gdextension
files. ↩