SoundManager – Replicate and Play One-Shot Sounds With Ease

SoundManager


SoundManager is a lightweight module for playing and replicating one-shot sounds.


Usage

For usage and installation instructions, please take a look at the documentation.


Why

Sounds are an important part of every game, and I felt that the process of cloning sounds on the server to play them was under-performant and tedious. This module uses buffers and an UnreliableRemoteEvent to deliver the best performance possible when replicating sounds.


Other

If you have any questions or issues, you can create an issue on the GitHub page or leave a reply on this post. Thanks for visiting!

Get the module directly here.

3 Likes

Just fixed a tiny bug, everything should work fine now.

What bug do you mean… I newly seen this with effortless :see_no_evil:

Hey! Im trying to download using the repo because I dont have Pesde but I cant seem to clone or localize the repo.

Can you upload a rbxm or model? Thank you!

You should be able to use the link in the documentation to get the module, I’ll add it to the devforum post just in case

Ah thank you, I’m sorry I didn’t bother to read the documentation.

However…

Seems to be private for some odd reason, mind checking its distribution settings?

Should be public now, try again

Will try this with my racing game. Looks nice so far! Well Done and hopes this finds people.

1 Like

This looks so promising and would save me some time, although when I tried it I ran into an issue… It won’t work, I tried putting print statements into the module, nothing happens…

This is my code

local replicatedStorage = game:GetService('ReplicatedStorage')
local soundModule = require(replicatedStorage.Modules.Utils.SoundManager)
soundModule.Play(replicatedStorage.Sounds.Pop, {player})

You need to require it on the client and server for the replication to work. If you are, maybe I didn’t publish the latest version right.

Ohhhh, that makes sense, atm it’s just required on the server. Not sure if you have a disclaimer for that anywhere (If not, you should add one for the slow ones like me <3)
I’ll try it out!

1 Like