⭐ SAMMY: Text-To-Speech / Speech Synthesizer Extension!

Do you wish your characters could really speak?:star:

For the first time, you CAN!

You can get the extension here, and everything you need to know is right here on the SAMMY website!
image

This audio illusion is based on the principles of ‘formant synthesis’, where multiple sounds called ‘formants’ are layered to synthesize a human voice.
So the formants making up ‘m’ ‘a’ ‘k’ and ‘e’ are about the same every time you say them, cutting out the need to record audio or store massive amounts of data. SAMMY can speak with just 3 sine waves at a time!

SAMMY (Short for Software Automatic Mouth Makecode Yippee) can speak whatever your heart desires! You can either program sounds in manually or use the automatic generator on the website, then SAMMY will do the rest.

Blocks

Say

Make SAMMY say anything!
The function takes a two-dimensional number array as an input!

What does this mean!?


The function takes one array as its unput. Each value of that array is another array with two numbers. The first number determines the sound SAMMY will make, while the second determines how long he holds the sound for.

The block will then play the sound until done. More info on the inputs to this function are available in the how-to section of the website!

Notes

This project has been in the works for quite a few years now, on and off, and I’m happy I was finally able to polish it and make a tool to hopefully make it easier to use. :blush:
I’d like to thank other users who have experimented with formant synthesis like @chembot @richard and @BLADEr , the moderators (of course!), and @unique for running the UAT2 where SAMMY began. This extension wouldn’t have been possible without their help and the rest of the forum’s overwhelming support for the project! :beating_heart:
I’d be happy to answer any questions you have, fix any bugs, or see what you make!!
– Randomuser / Dragondoodle

46 Likes

woke up from the grave to like this peak post.

14 Likes

YOU DID IT!!! I cant believe this is real…

7 Likes

You’re kidding me.
You are kidding me.

6 Likes

omg this is so insane!!! I think it would be great if you could input the phonetic alphabet though or be able to automatically convert words into the correct format, just to make it easier to use. can’t wait for more blocks for pitch control, i wanna make my boi sing hello world by louie zong lol

9 Likes

If I am honest, it kinda sounds more like a melody than speaking.

7 Likes

Wait. @randomuser does this mean that I can have voice lines in my game torment?

6 Likes

who’s making the mp3 player now

5 Likes

quick meme @AlexK

4 Likes

Finally, my son can speak

you definitely got my vote for the reelection ms. president :saluting_face:

7 Likes

I can’t entirely make it out…

Solid Extension, Solid.

6 Likes

Thank you, this is great!!

4 Likes

Yesss!! I can help you make them if you need, or you can use the tool on the website!

3 Likes

That’s so fair, it is an auditory illusion so it can be harder for some people to understand it as a voice!
One tip is to subtitle the voice, so the speech is more obvious.

3 Likes

YESSS I love this song!!!
I have pretty basic pitch control available on the website, but it just adds some number to the frequency (Instead of multiplying the frequency by a number, like Richard pointed out on stream)
I was going to say I’ll get started on a dictionary if the extension takes off.. but WOW! 31 likes already, thank you all so much! :face_holding_back_tears:

4 Likes

That’s fine. I’ll put it back the way it was. Better?

4 Likes

This is so amazing. I’m crying right now.
Great work @randomuser.
You will get a special thanks in every one of my games with your extension

4 Likes

Nooo! :laughing: it’s just : Star : for me now, I appreciate your previous help to get it working!!

4 Likes

Yeah good job @randomuser I like it so much and I will very soon might can even make a speech synthesizer with advanced speech probably, good job.

1 Like

Thank you so much!! :blush:

2 Likes