In this video, I use the p5.Speech library for text-to-speech (TTS). The p5.Speech library is an initiative from the NYU Ability Project (

let voice = new p5.Speech(voiceReady);

should be:

let voice = new p5.Speech();
voice.onLoad = voiceReady;

Next Video:

Full code:

Support this channel on Patreon:
To buy Coding Train merchandise:
To Support the Processing Foundation:

Send me your questions and coding challenges!:

The Coding Train website:

Links discussed in this video:
NYU Ability Project:
p5.Speech on GitHub:
p5.Speech examples:

Videos discussed
Programming with Text playlist:

Source Code for the all Video Lessons:


For an Introduction to Programming:
For More Coding Challenges:

Help us caption & translate this video!