I am trying to setup the live call in to my browser, to listen into a call enabled the monitorplan
Frontend:
- Vue.js
- Socket.IO client
Backend:
- Node.js
- Socket.IO server
- TypeScript
Current Implementation:
- Transmitting via WebSocket using base64 encoding
- Processing with bandpass filters and gain control
- Sample rate: 16kHz
- Frame size: 1024 samples
- Mono channel
- 16-bit audio
Issue:
The audio transmission works, but I'm experiencing two major issues:
1. Voice sounds like a chipmunk/helium voice (high-pitched) or it sounds like really low nothing natural
2. Audio has crackling artifacts during playback
The audio data flow seems correct (getting proper byte lengths in logs), and the WebSocket connection is stable. I've tried different sample rates (48kHz, 44.1kHz, 16kHz) and various buffer sizes, but still can't get natural-sounding voice.
What could be causing the pitch shift and crackling? Is there an issue with my sample rate handling or buffer processing that I'm missing?
Any help would be greatly appreciated!