UNPKG

@mastra/node-speaker

Version:

Output PCM audio data to the speakers - Fork with CoreAudio buffer underflow fixes

11 lines (7 loc) 180 B
'use strict' /** * Pipe data to stdin and it will be played through your speakers. */ const Speaker = require('../') const speaker = new Speaker() process.stdin.pipe(speaker)