Thanks to visit codestin.com
Credit goes to github.com

Skip to content

jeff-hykin/animalese

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Animalese

Ever wanted to generate the talking sound from animal crossing? Well this guy solved that in 2014 (go star his repo not mine).
Try it out online here!

This library just makes his code work with modern javascript tooling (ES imports, type hints, etc). Try it in your browser console with const { animalese, playSound } = await import("https://esm.sh/gh/jeff-hykin/[email protected]/animalese.js")

import { animalese, playSound } from "https://esm.sh/gh/jeff-hykin/[email protected]/animalese.js"

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

// this next line only works in the browser (not deno or node js ... yet)
playSound("Hello World", {pitch: 1}).then(()=>console.log("audio finished"))

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published