Gianclgar / GDScriptAudioImport

A script in GDScript for importing .wav and .ogg audio files at runtime
MIT License
108 stars 13 forks source link

In-memory based parsing and some appreciation. #9

Open follower opened 3 years ago

follower commented 3 years ago

Appreciation

Thanks for your efforts developing GDScriptAudioImport! I was glad to find this project existed when I discovered Godot unexpectedly didn't handle parsing WAV files at run time!

Modification to support in-memory (non file-based) parsing

A couple of suggestions if you or anyone else happens to develop the code any further:

I would be inclined to make the modifications myself just to tidy up the implementation a bit but given this functionality will hopefully be (re-)implemented in engine at some point* it's not obvious that it's worth spending the time refining the existing code further.

Anyway, thanks again & hope some of these notes are useful to someone along the way. :)

Gianclgar commented 2 years ago

Thanks a lot for your comment, thoughts and research!

I would be inclined to make the modifications myself just to tidy up the implementation a bit but given this functionality will hopefully be (re-)implemented in engine at some pointhttps://github.com/godotengine/godot/pull/47389 it's not obvious that it's worth spending the time refining the existing code further.

I feel exactly the same way. Hope this gets implemented soon in Godot core so this project become successfully useless hahaha. Maybe it'll still help someone learn about WAV parsing and / or Godot itself.

Cheers!