]> de.git.xonotic.org Git - xonotic/xonotic.wiki.git/blob - Music.md
rename files before conversion
[xonotic/xonotic.wiki.git] / Music.md
1 h1. Music
2
3 {{>toc}}
4
5 h2. Requirements
6
7 * Vorbis OGG -q4 or above (-q7 or above preferred), or a format good enough for being able to be converted to that (e.g. FLAC, WAV)
8 * GPL v2 compatible _(for more information see our [[legal]] page)_
9 * About 3 to 10 minutes
10 * Preferably with matching ending and beginning _(so the track loops smoothly)_
11
12 h2. Music Style
13
14 h3. Overview
15
16 While we don't want to tie us to a specific genre, the music must match the visuals of the game. As it is being discussed on "this thread":http://forums.xonotic.org/showthread.php?tid=81 seems that we are about to use a futuristic ambient for the game, so its more than likely that the kind of music that we want will fit within the Electronic genre.
17
18 h3. Track Duration
19
20 Currently most contributions come in the format of a regular CD track, that is 3, 4 or 5 minutes long. This is currently an issue because the duration of most matches is about 15-20 minutes, that means that one listens to the very same track many times in row, which is kind of boring. For this reason we would like to have longer tracks, as long as this is possible for artists. However tracks longer than 10 or 15 minutes are not advisable as that will increase dramatically the size of the release package. Note that this is a file size size constraint, not a duration one, tracks that are more easily compressed can have a longer duration.
21
22 h3. Matching start and ending
23
24 In spite of having longer tracks its more than likely that a track gets played at two or more times during a match, for this is important that the end and beginning of the track can be matched without disruptions, giving a sense of continuity.
25
26 For this the ideal way is to find a start and end sample index, so that that region is perfectly (clickless) loopable. These can be set as LOOP_START and LOOP_END tags in the Vorbis file, and the engine will seek back to LOOP_START when reaching LOOP_END.
27
28 h3. Complexity
29
30 As this game is extremely fast we don't want to have overly complex tracks at the point of being distracting or that one can't even understand while playing (e.g. a mad breakbeat tune)
31
32 h3. Variations
33
34 Furthermore this game is based a lot on listening, as a way to know if a shot hit or not, or if there is someone nearby picking up items, etc. For this reason we want to avoid abrupt variations in the volume of tracks and/or the abuse of very high pitched sounds.
35
36 h3. Suggested Genres
37
38 Electronica, Drum and Bass, House, Jungle, 8 bit, Fake bit, Techno, Hybrid, Ambient, Experimental
39
40 h3. Moods
41
42 * Wanted
43 ** Intense, Trippy, Energetic, Cerebral, Hypnotic, Playful, Ominous, Ambitious, Fast
44 * Unwanted 
45 ** Dramatic, Complex, Clinical, Visceral
46
47 h3. Reference tracks
48
49 Following tracks could be taken as a reference of the style that we want
50
51 "Forgotten Tides":http://www.jamendo.com/en/track/145959
52 "Foregone Destruction":http://www.youtube.com/watch?v=yNrI6N2jQCk&feature=related
53 "Skyward Fire":http://www.youtube.com/watch?v=2bFUNKg0mzg&feature=related
54 "Botpack 9":http://www.youtube.com/watch?v=6gwdsQDwAb8&feature=related
55 "Stairs":http://blkrbt.googlepages.com/stairs.ogg
56 "Rabble Rouser":http://www.youtube.com/watch?v=ki71pm8yDKI&hd=1
57
58 h2. Links
59
60 * Licensing
61 ** Our [[Legal]] wiki page
62 ** http://wiki.creativecommons.org/GarageBand
63 * Tools
64 ** OpenMPT http://www.lpchip.com/modplug
65 ** LMMS http://www.lmms.sourceforge.net
66 ** Ardour http://www.ardour.org
67 ** Rosegarden http://www.rosegardenmusic.com/
68 ** http://linux-sound.org/
69 * Sound banks
70 ** "The Free Sound Project":http://www.freesound.org/tagsViewSingle.php?id=99
71 ** http://ccmixter.org/
72 ** http://freepats.zenvoid.org/olpc-sounds/
73 *** http://lopho.org/xonotic/olpc_sound_samples_v2.torrent
74
75 h2. How-To's
76
77 *How to add a sound track to Xonotic?*
78
79 * Copy the track file to the _data/sound/cdtracks_ folder
80 * Add the name of the track (without the extension) at the end of the cvar _g_cdtracks_remaplist_, on the file _defaultXonotic.cfg_. Count all tracks and remember the position of the added one, this information will be used on the following step.
81 * Open the file <name of map>.mapinfo (_on data/xonotic-maps.pk3dir/maps_)  and add a line with the text "cd loop x". This x should be the position of the track within the cvar _g_cdtracks_remaplist_.
82
83 *How to add a sound track to a non official map?*
84
85 * Copy the track to the folder _sound/cdtracks/_ (inside the pk3 file)
86 * Open the file _<name of map>.mapinfo_ and add a line with the text "cd loop <track filename>"