I don’t want to bypass swears or anything I just want to make something not many people have made. I have all my audio converted in to text and hosted on a website that I will not name for the sake of my computer.
So… What do you need help with?
making a wav player I got the data but don’t know how to play it well I got to go so I’ll be back in a while (a few hours maybe 9? or so)
are you asking for a text to speech function?
It’s simple once you understand how it works. It involves Fast Fourier Transform and additive synthesis. Basically how one works is that you layer a bunch of sine waves to play at the same time, and these overlap eachother to make a signal. You use FFT to split the wav file into multiple signals. You need to encode the wav file into bytes, in which you send over to roblox to work around the httplimit, and then decode those bytes into an array. Then you can do FFT and perform all the synthesis magic.
yes I have everything in the format required I have two numbers for every frame and those numbers are divided and then played but they play really slow and I don’t know how to fix that I also do not think I am doing it right if you know how to do it could you provide some lua code for me?
What do you mean by slow? Like is it playing fewer samples per frame or?
I have a sound that’s less then a second long and it turns in to this super long sound
wait have I seen you in lua sandbox?
Yes indeed you have
What’s in that copy thing I can’t paste anything