I have a 2d6 button for a tennis serve and I’ve added a tennis ball sound to it, however that same sound could get repetative, so can I add multiple sounds so each time it will be a slightly different sound?
Thanks!
I have a 2d6 button for a tennis serve and I’ve added a tennis ball sound to it, however that same sound could get repetative, so can I add multiple sounds so each time it will be a slightly different sound?
Thanks!
Sure!
If random selection is good enough, then you could use Random() to select from one of a number of sound files. Also, obviously adjust the file type to whatever you are using. Put this is the Sound file field of the action or dice button:
e.g. For possible sound files numbered 1-5:
If you wish to have a fixed progression of sounds then you’ll need to track the number of rolls in a global property and reference that instead of using the Random() function.
I haven’t used Random() yet, where/what file type do I put to hold these sounds? Do I just add a new folder with them all?
I’m not sure where to put the sounds.
You need to make or source your sounds. They can be wav or mp3.
Add each file in turn via the select button, as if you were going to use just that one sound file. This action brings the files imto the module.
Now replace the last file name with the Random expression.
Do all the sounds have to have the same file name?
I have: Tball1, Tball2, Tball3, Tball4 and Tball5
Do they all need to be Tball?
Oh I did it! I just had to make every file type the same name.
Thanks!!
Randomizing the sound files like that is a great way to keep things fresh. Having them named consistently definitely helps simplify the process.