Can I access and play raw audio samples with GDExtension?

I want to create time controlled audio. Sadly there seems to be no way to do this in GDScript so I wanted to see if there was a way to do it in GDExtension. (Before you tell me to pre-reverse the audio I need the system to be dynamic so I’d have to clip the trailing and leading silence from every single audio file and I don’t want to do that unless necessary.)

I’ve been thinking that the way to do this was to track the audio samples that were just played, then to play them back when I need to, but if any of you know any better way to do that I’d really appreciate your insight.

You can write an AudioStreamGenerator and AudioStreamGeneratorPlayback and do whatever you need to do.