MCPcopy Create free account
hub / github.com/FunAudioLLM/Fun-Audio-Chat / asSamples

Function asSamples

web_demo/client/src/audio-processor.ts:16–18  ·  view source on GitHub ↗
(mili)

Source from the content-addressed store, hash-verified

14}
15
16function asSamples(mili) {
17 return Math.round(mili * sampleRate / 1000);
18}
19
20class MoshiProcessor extends AudioWorkletProcessor {
21 constructor() {

Callers 1

constructorMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected