Skip to main content
Deno 2 is finally here 🎉️
Learn more

Animalese

Ever wanted to generate the talking sound from animal crossing? Well this guy solved that in 2014.

This library just makes his code work with modern javascript tooling.

import { animalese, playSound } from "https://deno.land/x/animalese@1.0.0.0/animalese.js"

let pitch = 1 // range from 0 to 2
let shorten = false
const base64WavData = animalese("Hello", shorten, pitch).dataURI

// ONLY IN BROWSER
playSound("Hello World", {pitch: 1}).then(()=>console.log("audio finished"))