Skip to main content
Module

x/gtts/mod.ts>save

A simple deno text-to-speech library using the google translate api.
Latest
function save
import { save } from "https://deno.land/x/gtts@0.1.1/mod.ts";

Convert text to speech and save to a .wav file

Examples

Example 1

await save("./demo.wav", "hello text to speech", { language: "en-us" });

Parameters

path: string
text: string
optional
options: Partial<SaveOptions>