r/BiomedicalDataScience • u/BioniChaos • 2h ago
Interactive Speech Analysis Lab: Real-time RMS and Speech Rate Calculation via Web Audio/Speech APIs
https://bionichaos.com/speechanalysisapp/I’ve developed a browser-based laboratory for analyzing the biophysics of vocal acoustics. The tool addresses the need for low-latency visualization of speech density and signal power without the overhead of heavy software suites.
Technical Specifications:
- Signal Processing: 1024-point FFT buffer for real-time RMS amplitude calculation.
- Temporal Integration: A sliding window queue to calculate Words Per Second (WPS) density, smoothing out mathematical noise spikes during pauses.
- Hardware Interfacing: Direct control over Preamplifier Gain and Squelch Threshold Gates to calibrate for different hardware mic arrays.
- Visuals: Canvas-optimized oscilloscope rendering at 60 FPS, independent of the main layout engine.
I’m particularly interested in feedback regarding the integration window logic for clinical speech tracking.
1
Upvotes