January 3, 2021
This sketch uses the SpeechSynthesis class to say random words and numbers, just like a real-life numbers station.
- Use the p5.sound library to play random tones.
- Set the variables in the SpeechSynthesisUtterance object to give each word a random pitch, rate, and volume.
- Add random words from other sources. Try the script from your favorite movie, or a public domain book. Do you notice any patterns in the randomness?