MCPcopy Create free account
hub / github.com/OpenMOSS/MOSS-TTS / __init__

Method __init__

moss_tts_realtime/fast_api.py:91–94  ·  view source on GitHub ↗
(self, sample_rate: int)

Source from the content-addressed store, hash-verified

89
90class BufferedAudioTracker:
91 def __init__(self, sample_rate: int):
92 self.sample_rate = sample_rate
93 self.start_time: Optional[float] = None
94 self.samples_emitted = 0
95
96 def add_chunk(self, chunk: np.ndarray) -> None:
97 if chunk.size == 0:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected