Distorted sound issue

when I equip the pizza tool as shown in the video, the sound becomes distorted for some reason.
However, when I equip and instantly unequip the tool, the sound seems to be normal but coming from a different place.

I tried changing the sound volume but that doesn’t seem to fix the issue.
Could somebody please help me out?

1 Like

This seems like its happening because the sound is getting contantly played and paused, but i cannot say for certain that is whats happening without seeing the code that makes the sound play. Or is it configured to play once when its instanced? We need more information in order to find a fix…


here is the script (OpenSound = the “pizza!” sound)

is there a choruseffect in it or something I don’t get why it’s doing this.

also you can hear it far away because when you unequip items in backpack the audios still play and it’s positioned somewhere infront of you.

Nope, there’s no effect at all

what is the cframe of your tool’s Handle when you play the sound?
If the cframe is really big then it may distort the sound
(also restart roblox studio maybie)

Looking at the code, the syntax is pretty messy. You are using a deprecated mode of listening for an event. Try changing :connect() to :Connect(), it uses a newer API, maybe its just an issue of the old system. Also, the semicolon you typed on the first line is unnecessary.

That still doesn’t change the result unfortunately

the position of the pizza is about “-23.4, 8.65, 51.75” with an orientation of “-3.391, -92.122, 6.063”

Could i see the properties of the sound itself? When the tool is further, the sound seems to be normal, so im guessing it has something to do with the falloff.

here ya go


Could you add a Print(“anything on here”) to the functions onActivated() and onEquipped() just to see if they are being executed multiple times?

did it, and got printed only once
image

What happens if you remove that ; at the end:

local Tool = script.Parent;

To:

local Tool = script.Parent

That also doesn’t seem like to fix anything

1 Like

Hello! This weird sound issue is probably caused by specific distortion effect in sound engine (when things or listener/camera moves too quickly) that might be used excessively.

  1. Try disabling “VolumetricAudio” in SoundService inside of explorer window, if enabled.
  2. Try resetting AssemblyLinearVelocity of the handle? (set to vector.zero)
  3. Try OpenSound.Playing = true instead, this prevents rapid replaying.

Additionally, if you don’t want sound playing after tool is unequipped, add this:

function onUnequipped()
     Tool.Handle.OpenSound:Stop()
end
Tool.Unequipped:Connect(onUnequipped)

If none helps, file a bug report Bug Reports (or I could do that for you if you don’t have access)