nel and 24k sample rate)
          const audioBuffer = audioCtx.createBuffer(1, audioChunks.length, 24000);
          audioBuffer.copyToChannel(audioChunks, 0);

          // Create an AudioBufferSourceNode
          const source = audioCtx.createBufferSource();
          source.buffer = audioBuffer;

          // Connect the source to the destination (speakers)
          source.connect(audioCtx.destination);

          // Schedule the audio to play
          if (nextStartTime < audioCtx.currentTime) {
    