What's Up With Xbox Media Center

December 12, 2005

Big Pimpin: Custom Interface Sounds

A few months ago, interface sounds finally made it into Xbox Media Center. Being a Tivo owner, this is something I'd wanted for a while. Luckily for us, the developers kept it open enough for us to add our own "Sound Themes." Here I'll show you how to add your own.

Project Mayhem III, the default skin for Xbmc, comes with its own sounds embedded into the package. Incorporating new sounds is almost as simple as adding audio files to your /sounds folder. With a catch. You just need to have an edited XML file to go along with them.

Audio Files


Let's start with the audio files. Find some sound effects you'd like to use for your interface sounds. Some of the controls you're going to make audible are cursor movement, selecting, going back, screenshots, and interface popups. I downloaed the Tivo sound effects (thanks to Sean M. Burke) and luckily for me, they were already wav files. If your's aren't then use Quicktime or any other of the numerous free applications out there that will convert them for you.

Now rename your files with logical names.

files


XML File


The supporting XML file is used to map your sound files to the interface commands. Doing so will tell Xbmc to fire off your sound effect everytime one of the commands occurs. The format is normal XML and is simple to edit. Here's a blurb from it so you can see its format.

<sounds>
<actions>
<action>
<name>left</name>
<file>cursor.wav</file>
</action>
<action>
<name>select</name>
<file>click.wav</file>
</action>

...

<action>
<name>previousmenu</name>
<file>back.wav</file>
</action>
<action>
<name>screenshot</name>
<file>shutter.wav</file>
</action>
</actions>
</sounds>


There's just two elements for each Action item. Name and File. Name will be the corresponding control name, IE. up, down, select, previousmenu, etc. File is the filename of the sound effect. Save your file and you're done.

Upload your sound theme to /sounds in your Xbmc directory. Keep separate folders for each theme. Inside your folder you should have all of your sounds plus the XML file you created.

Once it's uploaded, restart your Xbox Media Center and go to the Appearance settings. Choose your sounds from the menu and you're done. Custom interface sounds!

Try your own, or use my Tivo sound theme as a starting block.

8 Comments:

  • That's awesome! I'll be adding the TiVo sounds to my own XBMC install :-P

    By Anonymous Anonymous, at 5:48 AM  

  • What seven names did you change them to?

    Eg.

    gablock.wav -> ???

    By Anonymous Anonymous, at 4:47 PM  

  • Ooo. Tivo sounds!

    (Now I'll be able even more confused over which remote to use. It's already really bad, with me going "why isn't this playing when I hit play???")

    By Blogger Dejafu, at 4:46 PM  

  • Then you need the remote that I officially endorse!

    http://www.ofausa.com/remote.php?type=URC%206131

    This one for all is perfect for xbmc/tivo users. And its one of the nicest remotes i've ever owned. And its CHEAP. You can pick it up on ebay for really cheap.

    Who needs an LCD screen and USB connectivity, the ease of use and simple layout of this remote rules them all.

    By Blogger Jon, at 4:57 PM  

  • Jon, love the site, and the tips on the sounds.

    I use the OFA remote as well, a couple different variations. Haven't set it up for the xbmc yet, but I'm looking in to it. Do you use the x3ir, or the dvd dongle?

    Also have you hacked your tivos? Can the OFA's be set up to control two identical tivos with just the "set remote code" function? I'm using the sony software on one and hughes software on the other to keep the remote codes unique at the moment, but would like to upgrade. I just don't want to be seeing double!

    Keep up the good work!

    phil

    By Anonymous Anonymous, at 12:56 PM  

  • I use the xbox dongle. and only have one hacked tivo. So i dont know the answer about multple tivos.

    By Blogger Jon, at 3:00 PM  

  • This comment has been removed by the author.

    By Anonymous Anonymous, at 2:10 AM  

  • By Anonymous Anonymous, at 2:10 AM  

Post a Comment

<< Home