Uploaded audio file sounds weird in-game

I’ve tried this with mp3 and wav files. When i import the audio, it sounds fine.


But when i use it in-game, it’s VERY quiet and distorted. (ignore the emote lol…)

I had to turn the volume up to 10 for you to even hear that (listen at 0:14)

If it matters, these are the audio settings. No other effect objects are located inside the sound.

	local sound
	if emoteData.music then
		sound = Instance.new("Sound")
		sound.SoundId = emoteData.music
		sound.Volume = 0.3
		sound.Looped = emoteData.loop
		sound.RollOffMaxDistance = 25
		sound.RollOffMode = Enum.RollOffMode.InverseTapered
		sound.Name = "EmoteMusic"
		sound.Parent = rootPart
		sound.TimePosition = emoteData.cut or 0
		sound:Play()
	end

update: put it in workspace and it sounds fine, but i still want it to emit from the character?

I tried to re-create this using a localscript inside of startercharacterscripts with the following code:

local sound = script["sound"]:Clone()
sound.Parent = script.Parent:FindFirstChild("HumanoidRootPart")
sound.Volume = 0.3
sound.Looped = true
sound.RollOffMaxDistance = 25
sound.RollOffMode = Enum.RollOffMode.InverseTapered
sound.Name = "EmoteMusic"
sound.TimePosition = 0
sound:Play()

And I simply cannot re-create the issue you are experiencing.

Are you running this on the client also?

no, this is a server script, the code i sent was just a snippet. other emote music sounds just fine?

So you’ve tested it with other Audios and it works perfectly fine? It’s just your sound?

1 Like

yes, ive tested the emote with other sounds and it works fine

Whenever I use audios personally I would make it ~1-5 because Roblox makes it really quiet. This is really the only problem i see, so if this doesn’t work, then make sure that the audio properties fully match when you emote and that everything in your script is good.

1 Like

^ nevermind i read your post wrong. Genuinely this might just be a bug on Roblox’s part. I searched up another post on the DevForum about this and someone had the problem fixed in ~1 day. When you get the chance make sure to update your studio.

1 Like

Do you have the new acoustic simulation feature enabled? If so, you can either disable the feature or disable AudioCollision temporarily on your character’s BaseParts when emoting.

That feature basically just enhances audios in your game (sounds bouncing off walls, getting absorbed by the walls, etc. which is more realistic). The glitchiness is probably caused by the sounds getting trapped and leaking from a part in your character because of the emote’s fast animations.

1 Like

ah, i completely forgot about having that on.

edit: turned off the beta feature and nothing really changed…

That’s a bit strange… You should probably contact support or report this bug. I have no other ideas of why that happens.

1 Like

yeah because the acoustic simulation only gets applied to sounds using the new audio api (audio players, audio emitters etc)
it does kind of sound like a doppler effect issue (yes doppler effect is a actual feature in roblox you can tweak it in soundservice properties) but judging by the fact that you tested it with other sounds and it worked normally it’s hard to say for sure

1 Like