Skip to main content
Module

x/swissKnife/mod.ts>speak

Deno Swiss Knife tools
Go to Latest
function speak
import { speak } from "https://deno.land/x/swissKnife@1.3/mod.ts";

Speak a text using default configuration.

Parameters

text: string

input string to speak

optional
options: SpeakOptions = [UNSUPPORTED]
  • { rate: 0, volume: 50 } set the rate and volume Return the process exit code

Returns

Promise<number>