Web Microphone API
A combination of web APIs in the browser used to access the microphone and process audio, including getUserMedia for obtaining audio tracks and the Web Audio API for PCM data processing.
Timeline (last 90 days)
Chirp Pong's architecture is pure static HTML, with no backend, no WebSocket, and no WebRTC; the game state is encoded as an audio signal played through the speaker, and the other end captures and decodes it using the Web Microphone API.
The Web Microphone API mentioned in the article actually corresponds to the combination of MediaDevices.getUserMedia and the Web Audio API in browsers: the former requests microphone permission and obtains an audio track, while the latter uses AudioContext to turn the audio stream into programmable PCM data (such as reading samples frame by frame with ScriptProcessorNode or AudioWorkletNode).
All Facts (2)
Chirp Pong's architecture is pure static HTML, with no backend, no WebSocket, and no WebRTC; the game state is encoded as an audio signal played through the speaker, and the other end captures and decodes it using the Web Microphone API.
50%UnverifiedThe Web Microphone API mentioned in the article actually corresponds to the combination of MediaDevices.getUserMedia and the Web Audio API in browsers: the former requests microphone permission and obtains an audio track, while the latter uses AudioContext to turn the audio stream into programmable PCM data (such as reading samples frame by frame with ScriptProcessorNode or AudioWorkletNode).
50%