After some time looking at creating custom sounds in a resource pack, I quickly realized how bad the sound implementation is, and how little we can actually do with sounds.
The Suggestion:
Make it so that the playsound command can play any sound within the sound folder. This includes being able to use numbered sounds, or sounds with custom path and name.
* Support for custom sound paths to ogg files not originally in the game
Edit: I have also created a ticket if people want to watch it HERE
How this improve Minecraft:
Map makers, servers, and modders will all be able to add in custom sounds and not ruin the sounds intended for minecraft. It will create much richer content and not over-write what was intended as the game. it will give more freedom for awesome content and great new ideas that can be carried out and done much more professionally with added sounds, rather than replacing game sounds.
~ Awesome maps with voice overs
~ Custom sound effects for redstone powered games
~ Intros and custom music for maps and server
~ Servers that have custom content and games can add in actual sounds that make the quality way better.
Background:
Right now the only way to get a custom sound is to replace existing sounds. This is probably one of the worst things ever because if we want to add in custom sounds (like intros, voice overs, custom sound effects), we don't want to replace and ruin sounds that occur in the game.
The only thing that is really holding this back is the added limits of the playsound command. The playsound command is structured to support the sound file format such as '../sound/sound.ogg' and it is typed in with dots and no file extensions. However, it can only play sounds that are already in the game, and don't support adding in a custom folder, such as '../sound/RingSounds/intro.ogg', and being able to play sounds from said folder.
This is what happens currently. I was testing different sounds and voices and the problem is, you can't select which one you want to use. This makes it near impossible to actually trigger something based on an event, because it will randomly choose one and it could be wrong for your purposes.
Edits:
Edit1-
After moseying around in the client code it seems as though the soundpool of all the sounds only gets added the sounds from the default resource pack (the one in the .minecraft directory). And now that i look at the way it is being handled I can see why it was skipped over (to start with I hope). It loads all the default sounds when the game starts. This means when you switch a resource pack it currently does not scan the resource pack being switched to in order to find sounds. Now in the grand scheme of things it can't be too hard to make a default list and then a list for the currently loaded resource pack, so hopefully they do add this and just change around the SoundManager a bit.
I thought Mojang planing on adding Custom sould files via Resource packs, it can be done now but that requires adding more sounds to
assets/sound/your custom folder and defult sounds, then new sounds in resource pack but it confuses alot of people.
i think this counts as modding though.
Rollback Post to RevisionRollBack
*The Creator of the Rotator thread* (over 90% Support) Click the Rotator picture to Find out more info*
I mean seriously, on the front page of the forums there's music using only sounds from minecraft, yet we can't do anything like it with playsound because of randomization?
The Suggestion:
Make it so that the playsound command can play any sound within the sound folder. This includes being able to use numbered sounds, or sounds with custom path and name.
* Support for custom sound paths to ogg files not originally in the game
Edit: I have also created a ticket if people want to watch it HERE
How this improve Minecraft:
Map makers, servers, and modders will all be able to add in custom sounds and not ruin the sounds intended for minecraft. It will create much richer content and not over-write what was intended as the game. it will give more freedom for awesome content and great new ideas that can be carried out and done much more professionally with added sounds, rather than replacing game sounds.
~ Awesome maps with voice overs
~ Custom sound effects for redstone powered games
~ Intros and custom music for maps and server
~ Servers that have custom content and games can add in actual sounds that make the quality way better.
Background:
Right now the only way to get a custom sound is to replace existing sounds. This is probably one of the worst things ever because if we want to add in custom sounds (like intros, voice overs, custom sound effects), we don't want to replace and ruin sounds that occur in the game.
The only thing that is really holding this back is the added limits of the playsound command. The playsound command is structured to support the sound file format such as '../sound/sound.ogg' and it is typed in with dots and no file extensions. However, it can only play sounds that are already in the game, and don't support adding in a custom folder, such as '../sound/RingSounds/intro.ogg', and being able to play sounds from said folder.
This is what happens currently. I was testing different sounds and voices and the problem is, you can't select which one you want to use. This makes it near impossible to actually trigger something based on an event, because it will randomly choose one and it could be wrong for your purposes.
Edits:
Edit1-
After moseying around in the client code it seems as though the soundpool of all the sounds only gets added the sounds from the default resource pack (the one in the .minecraft directory). And now that i look at the way it is being handled I can see why it was skipped over (to start with I hope). It loads all the default sounds when the game starts. This means when you switch a resource pack it currently does not scan the resource pack being switched to in order to find sounds. Now in the grand scheme of things it can't be too hard to make a default list and then a list for the currently loaded resource pack, so hopefully they do add this and just change around the SoundManager a bit.
Something Something
assets/sound/your custom folder and defult sounds, then new sounds in resource pack but it confuses alot of people.
i think this counts as modding though.
I mean seriously, on the front page of the forums there's music using only sounds from minecraft, yet we can't do anything like it with playsound because of randomization?
Support.