goatchurchprime / two-voip-godot-4

MIT License
38 stars 8 forks source link

Implement lead in time buffer #8

Closed goatchurchprime closed 3 months ago

goatchurchprime commented 4 months ago

Keep a preceding buffer of WAV data (chunks) that can be reached back into and compressed after the Vox threshold has been triggered so we can remove clipping of the audio at the start. (Works in the opposite way to the hangtime.)

goatchurchprime commented 3 months ago

This is implemented using the undrop_chunk() function