audioJS

audio-speaker

Status calibrated

npm2.3.2licenseMIT

Output audio data to speaker in browser/node — unscoped alias of @audio/speaker

Overview

Install
Updated
Family
speaker, 1 packages under it

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) // end

Full docs: @audio/speaker.