OpenRoadCode
Public API reference for OpenRoadCode
Loading...
Searching...
No Matches
browser_music_analysis_session.WebBrowserMusicAnalysisSession Class Reference

Analyze PCM16 frames supplied by a browser microphone capture. More...

Public Member Functions

dict[str, object] push_pcm16 (self, bytes audio, int sample_rate_hz)
 Analyze one little-endian mono PCM16 frame and return browser state.
dict[str, object] state (self)
 Return the latest analysis state, or an idle state before first audio.
dict[str, object] start_zeroize (self)
 Begin collecting frames for ambient-noise calibration.
dict[str, object] finish_zeroize (self)
 Finish ambient-noise calibration.
dict[str, object] clear_zeroize (self)
 Clear the ambient-noise calibration.

Detailed Description

Analyze PCM16 frames supplied by a browser microphone capture.


The documentation for this class was generated from the following file:
  • apps/webUi/browser_music_analysis_session.py