Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

How do you make a Muffled Audio Effect?

Asked by 7 years ago

Hello, I was wondering how people make the muffled audio effect. So let's say music is playing, as soon as you go under water as in your cam, your music goes muffled. To give it that realism effect, and to be honest I have no clue how to achieve this.

1 answer

Log in to vote
1
Answered by
RayCurse 1518 Moderation Voter
7 years ago

There are classes in Roblox called sound effects. There are several different types but since you want to have an underwater sound type of effect, you should probably use the FlangeSoundEffect. Sound effects will apply to the audio they are parented to. For example, if you have a sound called audio you could do this:

local soundEffect = Instance.new("FlangeSoundEffect")
soundEffect.Depth = 0.6
soundEffect.Mix = 0.9
soundEffect.Rate = 8
soundEffect.Parent = audio

You can read more about these sound effects here:

http://wiki.roblox.com/index.php?title=API:Class/SoundEffect http://wiki.roblox.com/index.php?title=API:Class/FlangeSoundEffect

0
Nice answer I didn't even know these existed <3 Goulstem 8144 — 7y
Ad

Answer this question