News for hackers. Stuff that matters.
Re:Audio libraries considered challenging (2022) by HPsquared on Saturday January 13, 2024 @09:14PM (#38986752)
Preventing buffer underruns is one thing, but it's also possible to mitigate their effect.

Voice communication codecs seem to manage well with covering up gaps in the stream - they do various tricks to "continue making the same sound" if there's a short gap, and can even "catch up" by replaying quickly if there's a longer gap. Quite effective.

EDIT: but, of course, a human voice over a phone with a heavy low-pass filter is a much, much easier thing to replicate and "fill the gaps" than full-spectrum, general-purpose audio. Perhaps therein lies the difficulty.

Re:Audio libraries considered challenging (2022) by cwillu on Monday January 22, 2024 @02:50PM (#39094445)
Voice comms benefit from already generally working in the frequency domain due to the heavy use of codecs; repeating the current spread of frequencies is much less intrusive than repeating entire samples: chirping or warbling instead of stuttering or clipping.