audio-speaker
v2.3.2
Published
Output audio data to speaker in browser/node — unscoped alias of @audio/speaker
Readme
audio-speaker
Output audio data to speaker in browser/node.
audio-speaker is the unscoped alias of @audio/speaker — same code, same releases. Both names are maintained; the scope is canonical and hosts the per-platform binary packages (@audio/speaker-darwin-arm64, @audio/speaker-linux-x64, …).
import speaker from 'audio-speaker'
let write = speaker({ sampleRate: 44100, channels: 2 })
write(pcmBuffer)
write(null) // endFull docs: @audio/speaker.
