pcm diapason.speech.realtime.pcm ¶ PCM helpers for realtime voice (16-bit little-endian mono). resample_pcm16(pcm, src_rate, dst_rate) ¶ Resample mono PCM16 between sample rates (linear interpolation). Avoids the stdlib audioop module (removed in Python 3.13).