
It would be great to be able to load sound files into a proper object that you can create a playlist and have volume controls for each sound. It would be nice to only have to push buttons to play the sounds. Something a little less clunky than the sound cubes.



I agree with this as I’ve ran into the limitations of the sound script as well. I saw a similar/related suggestion a few months ago where I left a reply. #603
I’m the author of the Staples Easy Button mod, and I used the sound script transfered from the Sound Cube. The sound file required me to lower the loudness 3-4 times before it sounded half decent in game. This means I had to re-export 3-4 times from both Audacity and Unity till the audio wasn’t making my ears bleed and also sounded ok in 3D space. Any of this that can be moved game side would be extremely helpful and timesaving.
I already made a similar suggestion on the #603 post, but I’ll reiterate my suggestion with some changes below.
1) Add support for linking to small audio files using the UI Assets menu or similar menu.
2) Possible scripting support could include;
playSound(“soundName”, volume, color) – This would be a global function playing a sound to a chosen player, or include no color and play the sound to everyone.
object.playSound(“soundName”, volume) – This object function would automatically use 3D positional sound, just like the sound cube.
3) If sounds need to be cached on load, I think option 1 is better since the files are actually imported or linked at start; but if thats not the case and soundfiles can be loaded at any time, perhaps the function could use a URL directly linking to a sound file. In this manner, we could use tables to store links to multiple sounds and then play or stream them instantly. e.g
soundFiles = {sound1 = link, sound2 = link, sound3 = link}
playSound(url=sound1, volume, color)
4) Option to disable the default click or interaction sounds for buttons or other GUI elements. These could be offered through XML when the button is made, to disable the default sound. clickNoise or clickSound = false would be nice.

We need this!! I want to play sounds on my table with a volume level I can easily control instead of raping my friends’ ears with Soundpad as I am doing now. Just if you do this kindly make the window so you can stretch it and add a search bar to find the sounds you want this time. (and while you are at that please kindly for the love of everything holy; add said search bar to the Music window as well… )