Ring Buffer in AudioWorkletProcessor
This example demonstrates how to handle different buffer sizes between the C++ audio processing kernel (1024 sample frames) and AudioWorkletProcessor (128 sample frames).
See Chrome Developers Article: Audio Worklet Design Pattern for more details.