When I record audio using this library and download it, I see that the audio is in mono. Below is a screenshot of the audio in Audacity where you can see that it is mono.
Note, this could not be a hardware issue. I have a mic that records in stereo, tested that it indeed is recording in stereo using Audacity, but I can't get any stereo recordings from this library using that mic.
When I record audio using this library and download it, I see that the audio is in mono. Below is a screenshot of the audio in Audacity where you can see that it is mono.
Note, this could not be a hardware issue. I have a mic that records in stereo, tested that it indeed is recording in stereo using Audacity, but I can't get any stereo recordings from this library using that mic.
Would adding
channelCount
somewhere in here fix it? https://github.com/YZarytskyi/react-voice-visualizer/blob/main/src/hooks/useVoiceVisualizer.tsx#L139