async function init()

in frontend/src/hooks/useAudio.ts [20:27]


    async function init() {
      wavRecorder.current = new WavRecorder({ sampleRate: 24000 });
      await wavRecorder.current.begin();
      setAudioRecorderIsReady(true);
      wavPlayer.current = new WavStreamPlayer({ sampleRate: 24000 });
      await wavPlayer.current.connect();
      setAudioPlayerIsReady(true);
    }