#💬 vxsqiʹs Feedback
1 messages · Page 1 of 1 (latest)
took me about 3 months to figure out how to do it. any sound, song, video you hear are made of multiple waves
yeah i read your message. pretty fucking impressive. imguessing thatts why theres some crackling
how this works is it basically layers multiple waves together of different phase and amplitude using 512-1024 sine waves (depending on window size) and reads fft data. this is done each signal.
you can use buffers to do this as they have byte read capabilities. you just keep adjusting the offset after you created buffer.fromstring(wavdata)
is the roblox client streaming the music?
you can fire remoteevents from an external server?
oh, no i meant
so to convert the youtube links to wav, i use python with ffmpeg on my webserver which runs on my pc
and this is done everytime on a serverscript, requests to my endpoint with a youtube link and the webserver responds back with the wav file
the entire wav file?
yes
thats a lot
also, this is because of roblox's audio engine fmod. when you change the timeposition of a sound or audioplayer a lot it will crackle
so the client practically downloads the file
thats why if you might have a sound effect, you will hear the chip at the start of the sound
the server does it, but sends it to the client
The server downloads it from youtube and the client downloads it from the server
ah yep sounds about right
do you want to try it?
nah especially cuz i'd have to like revive my roblox account and install roblox and uhhh eeruuuughh
oh rip
crazy..
I have sopmething similar
but mine is way worse quality lol
ggs on the good quality..
also, are you not parsing the file in-game?
or is that just for extracting the WAV from a video on yt?
Wait a minute.. I think you're config actually helped my thing sound better lol
I had 128 sounds on a window size of 256..
I changed it to what u had.. 512 sounds on a window size of 1024..
🤔
yeah
well the python part
fair
claude wrote my python, but everything roblox is self written