Currently SoundService.PlayLocalSound is a rather unknown but nifty little tool to preview audios programmatically for use in plugins. However it is almost useless for two main reasons.
-
You can’t stop the sound(this is less of an issue though since you can do it with a hack - attaching the sound to a 3D object and moving the object away)
-
(The big one) PlayLocalSound doesn’t respect sound effects.
If we could at least get #2 fixed, it would allow us to make our own fully functioning sound previewing plugins, which is something I’ve wanted to make and open source for awhile now to the community but can’t because of these limitations.
My use case aside, if such an API is given to us it shouldn’t simply not include two of the largest things that would make it useful. I feel like this could even be a bug/mistake because the built in previewer respects sound effects but the API does not.