Skip to content

five-on-it / apps/tools/src/audio-placeholders / systemSpeaker

Function: systemSpeaker() ​

systemSpeaker(platform?, run?): Speaker

Defined in: apps/tools/src/audio-placeholders.ts:680

The operating system's text-to-speech: Windows' System.Speech (through PowerShell, at 22 050 Hz mono), say on macOS, espeak-ng on Linux. The text goes through a file next to the output, so nothing in it is ever parsed by a shell.

Parameters ​

platform? ​

Platform = process.platform

run? ​

Runner = runProcess

Returns ​

Speaker