This was done on 10027100 version dash music easy config setup, it SHOULD work for other versions, but im NOT too sure about Live2.0, i cant test it, anyways here it is
First thing you will want to do is choose your sound(s)(wav) add them into a folder and define it as a new group, like this EG:
OPEN up the default.xip/default.xap and ADD it, like this
DEF theSegaSounds Group
{
children
[
AudioClip { url "Audio/SegaSounds/sega.wav" volume 1.00 }
AudioClip { url "Audio/SegaSounds/start.wav" volume 1.00 }
AudioClip { url "Audio/SegaSounds/ring.wav" volume 1.00 }
]
}
Folder is just called SegaSounds, and add it into Audio folder in XBOX C:(you of course can use ANY names you want, but i suggest avoiding Spaces etc, to be sure)
ok in the default.xip/default.xap, lets say i wanted start.wav to play on dash bootup and i want ring.wav to play when i push the the "R" shoulder button,
BOTH are gonna be mainmenu, so look and find :
// Main Menu Area sounds
ADD your wanted sounds in at the bottom like this
DEF theStartSound AudioClip { url "Audio/SegaSounds/start.wav" volume 1.00 }
DEF theRingSound AudioClip { url "Audio/SegaSounds/ring.wav" volume 1.00 }
DEF theRestartSound AudioClip { url "Audio/SegaSounds/restart.wav" volume 1.00 }
(NOTE you can cross them into ANY Menu area from the SAME added folder thats not a problem and if you want a sound for menu transforms etc, thats EASY, no need for functions etc)
just add it like so :
DEF theSettingsMenuIn AudioClip { url "Audio/SegaSounds/Restart.wav" volume 0.92 }
ok now add the functions like this : underneath the last of the Menu Area sounds
function PlayStartSound()
{
theStartSound.Play();
}
function PlayRingSound()
{
theRingSound.Play();
}
OK, now with THAT done, i wanted start.wav to play on startup of the dash
so find :
function onLoad()
{
then add
PlayStartSound();
and as for the other you can go like this, Find : OnRightDown
(if it dont FIND that try OnXDown and ADD a new one for OnRightDown nearby to it)
i am gonna use "R" trigger tho' so in this EG put :
function OnRightDown() {
PlayRingSound();
}
you can also advance it to work WITH another function like if you have done the modification shown
HERE you can do stuff like
function OnRightDown() {
PlayRingSound();
setBeginUpdate();
UpdateMainMenu();
}
This will result in the sound effect AND background change at the same time.
so there ya have it, EnJoY, have fun, and experiment a little