Adding Music to Legend of Tux

From LD Smith Games Workshop
Jump to navigation Jump to search

This is the process I used for adding music to the Legend of Tux.

Converting to OGG Format

First, find a public domain music file in either mp3 or wav format. Public domain music ensure that there will be no copyright issues. In the future, I may try to compose my own music for the game, but I would rather focus my effort on gameplay right now.

Download, install, and run Audacity.

File => Open

Select the mp3 or wav file

Lotux music002.jpg

I like to make the level music about 3 minutes. Select the position around 3:00. You can enlarge the view with the magnifying glass button.

Press Play (the green triangle). When there is a pause in the music, press the pause button (double black bars).

Click where the music is paused, the press Stop (yellow square)

Then select Edit => Select => Cursor to End, then press Delete

File => Export as Ogg Vorbis

Navigate to the music directory, and save as levelX.ogg (where X is the level number)


Public Domain Music and Sound Effects

http://www.partnersinrhyme.com/

http://www.pacdv.com/sounds/interface_sounds.html


Creative Commons Music and Sound Effects

http://www.jamendo.com/en/

http://www.freesound.org/


Credits

Music

File Source URL Author License
level1.ogg a b c


Sound Effects

File Source URL Author License
sword.wav http://www.freesound.org/samplesViewSingle.php?id=60756 morgantj http://creativecommons.org/licenses/sampling+/1.0/
orb_pickup.wav http://www.freesound.org/samplesViewSingle.php?id=32953 HardPCM http://creativecommons.org/licenses/sampling+/1.0/
enemy_die.wav http://www.freesound.org/samplesViewSingle.php?id=31301 Erdie http://creativecommons.org/licenses/sampling+/1.0/