stechyo / godot-steam-audio

Immersive spatial audio extension for Godot, using Valve's SteamAudio
MIT License
322 stars 7 forks source link

Investigate a restructuring of this extension that changes the code from stream-based to effect-based #40

Open stechyo opened 7 months ago

stechyo commented 7 months ago

As of 0.1.0, this extension relies on replacing user-provided audio streams with SteamAudioStreams that hijack the raw audio as it is is being mixed and apply SteamAudio effects over it. This works well for basic use cases, but it can cause jank and issues (#39, #29, #25, #24).

I'm opening this ticket as a reminder to investigate the possiblity of using audio effects to replace SteamAudioStream. If I can access raw audio as it's being mixed this way, I might be able to heavily reduce bugs (I might be trading advanced stream use-case bugs for advanced audio effect bugs, but I think I prefer it that way). This may also fix #18 (that would honestly be the best part).

MasterDingo commented 1 month ago

Is there any progress? Maybe, some help is needed?

stechyo commented 1 month ago

I'm not sure how feasible this way of doing things is. From what I've seen in the Godot source code, it would be a lot more complicated to extend audio effects than the current way this extension works.