Sound - LoopFade and TrimmedTime


#1

Introduction


As a Roblox developer, it is currently too hard to make the new royalty-free audio loop perfectly. Sure, we can re-upload the music but it costs $$$. It can also be used for fixing some sounds.

It can be scriptable, but it won’t be as efficient as audio mixing or trimming.
I will use Sony Vegas as a small example.

Details


About LoopFade


You will be able to input the fade in/out time - in this case it would be something like 0.2.
Once it is set, the looped audio will overlay itself, to make a more natural loop.

About TrimmedTime

obraz
You will be able to input start and end time of the audio.
It can be mixed with LoopFade for even cooler looping.

obraz
Or maybe you want to add a delay between sounds?
Say no more! TrimmedTime.End can be bigger than audio’s length.

The End


If Roblox is able to address this, it would save some devs money (by not having them re-upload the said audio). We will also make sure only a part of audio is played.

Down there, you will see some of the worthy mentions.


#2

Yes this would be amazingly helpful, I am currently a large developer in the Napoleonic era and it would be much easier if I could just upload a large table of voices and sound effects without having to do it one at a time and just use the TrimmedTime option to play the sounds I select.

Nice suggestion! :+1:


#3

You can do both of these already fairly easily via. scripts so it isn’t really necessary to have a dedicated feature for it.

Make a modular system to handle it for you and it will be efficient.


#4

Well, I just said it’d be even better.
Audio might be off sometimes, at least server side.


#5

I support this, and sure you could do this in Lua but then if the user’s PC lags, freezes or loses connection then the sound might play past its supposed “end” and leak other lines.


#6

I really support this! This would be pretty helpful in games w/ constant music or a theme of music to blend different songs and have them sound good.

personally i’d change the name of LoopFade to CrossFade since that’s the term I usually associate w/ that technique, but that’s just person taste


#7

I originally thought of it as a method to play just one sound.

Maybe there could be a function for 2 sounds?


#8

I support, that would be very useful.