How can I extract the preceding audio (from microphone) as a buffer when silence is detected (JS)? How can I extract the preceding audio (from microphone) as a buffer when silence is detected (JS)? javascript javascript