<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://dwarffortresswiki.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Nxrcss</id>
	<title>Dwarf Fortress Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://dwarffortresswiki.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Nxrcss"/>
	<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php/Special:Contributions/Nxrcss"/>
	<updated>2026-05-19T01:29:27Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.35.11</generator>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Audio&amp;diff=313358</id>
		<title>Audio</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=Audio&amp;diff=313358"/>
		<updated>2026-01-04T20:53:52Z</updated>

		<summary type="html">&lt;p&gt;Nxrcss: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:audio_preview.png|right]]&lt;br /&gt;
:''For &amp;quot;sounds&amp;quot; that disturb Dwarves while they sleep, see [[Noise]].&lt;br /&gt;
&lt;br /&gt;
''Dwarf Fortress'' contains [[soundtrack|music tracks]] which play at various points in game, including the main menu theme. Some types of '''audio''' seem to be triggered by events, while others play randomly while certain criteria are met. These seem to include some [[weather]] sounds, wild ambience, building sounds, river etc.&lt;br /&gt;
&lt;br /&gt;
According to [[Toady One|Tarn]], there are different settings for every track. One depends on the caverns being opened, one plays only after the second year, one is a first year track.  Strike the Earth plays when you first embark, and then gets mixed in with the others afterward.  And so forth; there's a raw format for this so you can change it if you like.[http://www.bay12forums.com/smf/index.php?topic=169696.msg8403423#msg8403423]&lt;br /&gt;
&lt;br /&gt;
Game Audio settings can be adjusted in the [[Settings#Audio|settings]] menu.&lt;br /&gt;
== Modding==&lt;br /&gt;
&amp;lt;div id=&amp;quot;test1&amp;quot; style=&amp;quot;margin-bottom:-20px;&amp;quot;&amp;gt;{{main|modding}}&amp;lt;/div&amp;gt;{{Modding}}&lt;br /&gt;
All sound and [[Soundtrack|music]] files used by ''Dwarf Fortress'' are stored in the [https://en.wikipedia.org/wiki/Ogg .ogg] format within the &amp;lt;code&amp;gt;[[Game folder|&amp;lt;Dwarf Fortress&amp;gt;]]/data/sound/&amp;lt;/code&amp;gt; subfolders. You can replace the existing ogg files with different ones. That has to be performed manually and isn't actually supported by the game. You can also change some of the definitions of when certain musical cues are played, using available music tokens and sound tokens in the [[raw file]]s found in &amp;lt;code&amp;gt;[[Game folder|&amp;lt;Dwarf Fortress&amp;gt;]]\data\vanilla\vanilla_music\&amp;lt;/code&amp;gt;. You can add new music and sounds with raws in the sound folder{{version|0.50.09}}, formatted like so:&lt;br /&gt;
&lt;br /&gt;
==Identifiers==&lt;br /&gt;
To allow the game to read audio files consistently, they must be given an identifier. Identifiers can be any arbitrary string, just like any other raw object.&lt;br /&gt;
&lt;br /&gt;
Identifier files are stored in a mod's &amp;lt;code&amp;gt;sound/&amp;lt;/code&amp;gt; directory (not the &amp;lt;code&amp;gt;objects/&amp;lt;/code&amp;gt; directory, where the logic for playing them is stored), and their name must start with &amp;lt;code&amp;gt;sound_file_&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;music_file_&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Their first line must be the filename, followed by &amp;lt;code&amp;gt; [OBJECT:SOUND_FILE]&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;[OBJECT:MUSIC_FILE]&amp;lt;/code&amp;gt; respectively.&lt;br /&gt;
&lt;br /&gt;
 sound_file_example&lt;br /&gt;
 [OBJECT:SOUND_FILE]&lt;br /&gt;
 [SOUND_FILE:&amp;lt;identifier&amp;gt;]&lt;br /&gt;
     [FILE:file name]&lt;br /&gt;
&lt;br /&gt;
 music_file_example&lt;br /&gt;
 [OBJECT:MUSIC_FILE]&lt;br /&gt;
 [MUSIC_FILE:&amp;lt;identifier&amp;gt;]&lt;br /&gt;
     [FILE:file name]&lt;br /&gt;
     [AUTHOR:author name]&lt;br /&gt;
     [LOOPS] optional&lt;br /&gt;
     [TITLE:piece title]&lt;br /&gt;
&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#dddddd&amp;quot;&lt;br /&gt;
!Token&lt;br /&gt;
!Arguments&lt;br /&gt;
!Extra Information&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|FILE}}&lt;br /&gt;
|&lt;br /&gt;
* path to audio&lt;br /&gt;
| (Required) Usually stored as &amp;lt;code&amp;gt;sound/...ogg&amp;lt;/code&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|AUTHOR}}&lt;br /&gt;
|&lt;br /&gt;
* string&lt;br /&gt;
| (Music only) Displays as the song author on pause menu.&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|LOOPS}}&lt;br /&gt;
| &lt;br /&gt;
| (Music only) If set, should play continuously until interrupted.{{verify}}&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TITLE}}&lt;br /&gt;
|&lt;br /&gt;
* string&lt;br /&gt;
| (Music only) Displays as track title on pause menu.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Sound effects==&lt;br /&gt;
&lt;br /&gt;
All vanilla sound tokens are found within &amp;lt;code&amp;gt;objects/sound_standard.txt&amp;lt;/code&amp;gt;. All sound definition raws must begin with &amp;lt;code&amp;gt;sound_&amp;lt;/code&amp;gt;, followed by the &amp;lt;code&amp;gt;[OBJECT:SOUND]&amp;lt;/code&amp;gt; token that tells the game that the file contains sound definitions.&lt;br /&gt;
&lt;br /&gt;
 [SOUND:&amp;lt;identifier&amp;gt;]&lt;br /&gt;
     [FILE:&amp;lt;[[Audio#Identifiers|file identifier]]&amp;gt;]&lt;br /&gt;
     [ANNOUNCEMENT:&amp;lt;announcement&amp;gt;]&lt;br /&gt;
     ...&lt;br /&gt;
     [ANNOUNCEMENT:&amp;lt;announcement n&amp;gt;]&lt;br /&gt;
&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#dddddd&amp;quot;&lt;br /&gt;
!Token&lt;br /&gt;
!Arguments&lt;br /&gt;
!Extra Information&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|FILE}}&lt;br /&gt;
|&lt;br /&gt;
* [[Audio#Identifiers|sound file]]&lt;br /&gt;
| (Required) [[Audio#Identifiers|File identifiers]] can be any of various hardcoded sounds (all present in the vanilla raws) or custom [SOUND_FILE] objects.&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ANNOUNCEMENT}}&lt;br /&gt;
|&lt;br /&gt;
* [[Announcements.txt|announcement(s)]]&lt;br /&gt;
| Trigger condition, can use more than one announcement in the list.&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SAVAGE_AREA}}&lt;br /&gt;
| &lt;br /&gt;
| Played randomly in a [[Surroundings#Savage|savage]] area.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Music tracks==&lt;br /&gt;
All vanilla music tokens are found within &amp;lt;code&amp;gt;objects/music_standard.txt&amp;lt;/code&amp;gt;. All music logic raws must begin with &amp;lt;code&amp;gt;music_&amp;lt;/code&amp;gt;, followed by the &amp;lt;code&amp;gt;[OBJECT:MUSIC]&amp;lt;/code&amp;gt; token that tells the game that the file contains music definitions.&lt;br /&gt;
&lt;br /&gt;
 [MUSIC:TRACK_02]&lt;br /&gt;
 	[FILE:EXPANSIVE_CAVERN]&lt;br /&gt;
 		[CARD:EXPANSIVE_CAVERN_CARD_1] for the shuffled deck of short bits&lt;br /&gt;
 		[CARD:EXPANSIVE_CAVERN_CARD_2]&lt;br /&gt;
 		[CARD:EXPANSIVE_CAVERN_CARD_3]&lt;br /&gt;
 		[CARD:EXPANSIVE_CAVERN_CARD_4]&lt;br /&gt;
 	[EVENT:FIRST_CAVERN_OPENED]&lt;br /&gt;
 	[CONTEXT:CAVERNS_OPENED]&lt;br /&gt;
 	[FREQUENCY:UNCOMMON]&lt;br /&gt;
&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#dddddd&amp;quot;&lt;br /&gt;
!Token&lt;br /&gt;
!Arguments&lt;br /&gt;
!Extra Information&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|FILE}}&lt;br /&gt;
|&lt;br /&gt;
* [[Audio#Identifiers|music file]]&lt;br /&gt;
| (Required) Can be any of the many hardcoded [[Audio#Identifiers|files]] for the [[soundtrack]], or it can be a custom [MUSIC_FILE] object.&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CARD}}&lt;br /&gt;
|&lt;br /&gt;
* [[Audio#Identifiers|music file(s)]]&lt;br /&gt;
| Mostly unexplored, listed as a &amp;quot;shuffled deck of short bits.&amp;quot; Appears to be played only if no song is currently playing? Before the song proper starts, the game will play a few of these in random order. You can find the parts in the subfolders in ...\common\Dwarf Fortress\data\sound\tracks folder. &lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CONTEXT}}&lt;br /&gt;
| [[Audio#Contexts|context(s)]]&lt;br /&gt;
| This song can randomly play if any of the contexts are met.&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|EVENT}}&lt;br /&gt;
| [[Audio#Events|event(s)]]&lt;br /&gt;
| When the chosen event occurs, this song automatically plays and overrides the current song. If multiple songs match the event, a random song will be played from among them.&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|FREQUENCY}}&lt;br /&gt;
|&lt;br /&gt;
* UNCOMMON or RARE&lt;br /&gt;
| Can be set to 'UNCOMMON' to set the frequency half as often as the other candidates or 'RARE' to make it 1/5 as often as other candidates.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Contexts===&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#dddddd&amp;quot;&lt;br /&gt;
!Token&lt;br /&gt;
!Extra Information&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ANY}}&lt;br /&gt;
| Can play at any time, including in menus.&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MAIN}}&lt;br /&gt;
| The gamemode is [[Fortress Mode]].&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|FIRST_YEAR}}&lt;br /&gt;
| You are controlling a fortress that is less than one year old.&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SECOND_YEAR_PLUS}}&lt;br /&gt;
| Your fortress has been around for more than one year.&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CAVERNS_OPENED}}&lt;br /&gt;
| Your fortress has access to the [[cavern]]s.&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SPRING}}&lt;br /&gt;
| The current season is [[spring]]. Appears to also be played in Legends mode and the main menu.&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SUMMER}}&lt;br /&gt;
| The current season is [[summer]]. Appears to also be played in Legends mode and the main menu.&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|AUTUMN}}&lt;br /&gt;
| The current season is [[autumn]]. Appears to also be played in Legends mode and the main menu.&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|WINTER}}&lt;br /&gt;
| The current season is [[winter]].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Events===&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#dddddd&amp;quot;&lt;br /&gt;
!Token&lt;br /&gt;
!Extra Information&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|JUST_EMBARKED}}&lt;br /&gt;
| Plays when [[embark|founding]] a new fortress.&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SIEGE}}&lt;br /&gt;
| A [[siege]] is announced.&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|FIRST_CAVERN_OPENED}}&lt;br /&gt;
| A new cave layer is discovered {{verify}}&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MEGABEAST_ATTACK}}&lt;br /&gt;
| Plays when a [[megabeast]]'s arrival is announced. It is unknown if it is also relevant for [[Semi-megabeast|semi-megabeasts]] or [[Titan|titans]].&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|FORGOTTEN_BEAST_ATTACK}}&lt;br /&gt;
| Plays when a [[forgotten beast]]'s arrival is announced.&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DEATH_SPIRAL}}&lt;br /&gt;
| Many citizen deaths have occurred in short succession.&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TAVERN_MUSIC_PRESENT}}&lt;br /&gt;
| Many units have gathered to perform or watch a [[Performer#Music|musical form]].&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TAVERN_DANCE_PRESENT}}&lt;br /&gt;
| Many units have gathered to perform or watch a [[Performer#Dance|dance]].&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|LOST_FORT}}&lt;br /&gt;
| Ending a game: a fortress has just been [[Reclaim fortress mode|abandoned or retired]] or your [[adventurer]] has died.&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|FORT_LEVEL}}{{v|51.01-beta28}}&lt;br /&gt;
| May relate to reaching higher ranks of [[Fortress#Nomenclature]].{{verify}}&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|FIRST_GHOST}}{{v|51.01-beta28}}&lt;br /&gt;
| The first time a [[ghost]] attacks.{{verify}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== See Also== &lt;br /&gt;
* [[Soundtrack]] &lt;br /&gt;
* [https://www.youtube.com/watch?v=mJyMhgadpcQ ambiences and music snippets]&lt;br /&gt;
* [[Soundsense]]&lt;br /&gt;
* [https://github.com/Putnam3145/dwarf-fortress-example-sound-mod Example sound mod] by [[User:Putnam3145|Putnam]]&lt;br /&gt;
&lt;br /&gt;
[[Category:game]]&lt;/div&gt;</summary>
		<author><name>Nxrcss</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Audio&amp;diff=313357</id>
		<title>Audio</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=Audio&amp;diff=313357"/>
		<updated>2026-01-04T20:47:49Z</updated>

		<summary type="html">&lt;p&gt;Nxrcss: /* Music tracks */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:audio_preview.png|right]]&lt;br /&gt;
:''For &amp;quot;sounds&amp;quot; that disturb Dwarves while they sleep, see [[Noise]].&lt;br /&gt;
&lt;br /&gt;
''Dwarf Fortress'' contains [[soundtrack|music tracks]] which play at various points in game, including the main menu theme. Some types of '''audio''' seem to be triggered by events, while others play randomly while certain criteria are met. These seem to include some [[weather]] sounds, wild ambience, building sounds, river etc.&lt;br /&gt;
&lt;br /&gt;
According to [[Toady One|Tarn]], there are different settings for every track. One depends on the caverns being opened, one plays only after the second year, one is a first year track.  Strike the Earth plays when you first embark, and then gets mixed in with the others afterward.  And so forth; there's a raw format for this so you can change it if you like.[http://www.bay12forums.com/smf/index.php?topic=169696.msg8403423#msg8403423]&lt;br /&gt;
&lt;br /&gt;
Game Audio settings can be adjusted in the [[Settings#Audio|settings]] menu.&lt;br /&gt;
== Modding==&lt;br /&gt;
&amp;lt;div id=&amp;quot;test1&amp;quot; style=&amp;quot;margin-bottom:-20px;&amp;quot;&amp;gt;{{main|modding}}&amp;lt;/div&amp;gt;{{Modding}}&lt;br /&gt;
All sound and [[Soundtrack|music]] files used by ''Dwarf Fortress'' are stored in the [https://en.wikipedia.org/wiki/Ogg .ogg] format within the &amp;lt;code&amp;gt;[[Game folder|&amp;lt;Dwarf Fortress&amp;gt;]]/data/sound/&amp;lt;/code&amp;gt; subfolders. You can replace the existing ogg files with different ones. That has to be performed manually and isn't actually supported by the game. You can also change some of the definitions of when certain musical cues are played, using available music tokens and sound tokens in the [[raw file]]s found in &amp;lt;code&amp;gt;[[Game folder|&amp;lt;Dwarf Fortress&amp;gt;]]\data\vanilla\vanilla_music\&amp;lt;/code&amp;gt;. You can add new music and sounds with raws in the sound folder{{version|0.50.09}}, formatted like so:&lt;br /&gt;
&lt;br /&gt;
==Identifiers==&lt;br /&gt;
To allow the game to read audio files consistently, they must be given an identifier. Identifiers can be any arbitrary string, just like any other raw object.&lt;br /&gt;
&lt;br /&gt;
Identifier files are stored in a mod's &amp;lt;code&amp;gt;sound/&amp;lt;/code&amp;gt; directory (not the &amp;lt;code&amp;gt;objects/&amp;lt;/code&amp;gt; directory, where the logic for playing them is stored), and their name must start with &amp;lt;code&amp;gt;sound_file_&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;music_file_&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Their first line must be the filename, followed by &amp;lt;code&amp;gt; [OBJECT:SOUND_FILE]&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;[OBJECT:MUSIC_FILE]&amp;lt;/code&amp;gt; respectively.&lt;br /&gt;
&lt;br /&gt;
 sound_file_example&lt;br /&gt;
 [OBJECT:SOUND_FILE]&lt;br /&gt;
 [SOUND_FILE:&amp;lt;identifier&amp;gt;]&lt;br /&gt;
     [FILE:file name]&lt;br /&gt;
&lt;br /&gt;
 music_file_example&lt;br /&gt;
 [OBJECT:MUSIC_FILE]&lt;br /&gt;
 [MUSIC_FILE:&amp;lt;identifier&amp;gt;]&lt;br /&gt;
     [FILE:file name]&lt;br /&gt;
     [AUTHOR:author name]&lt;br /&gt;
     [LOOPS] optional&lt;br /&gt;
     [TITLE:piece title]&lt;br /&gt;
&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#dddddd&amp;quot;&lt;br /&gt;
!Token&lt;br /&gt;
!Arguments&lt;br /&gt;
!Extra Information&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|FILE}}&lt;br /&gt;
|&lt;br /&gt;
* path to audio&lt;br /&gt;
| (Required) Usually stored as &amp;lt;code&amp;gt;sound/...ogg&amp;lt;/code&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|AUTHOR}}&lt;br /&gt;
|&lt;br /&gt;
* string&lt;br /&gt;
| (Music only) Displays as the song author on pause menu.&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|LOOPS}}&lt;br /&gt;
| &lt;br /&gt;
| (Music only) If set, should play continuously until interrupted.{{verify}}&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TITLE}}&lt;br /&gt;
|&lt;br /&gt;
* string&lt;br /&gt;
| (Music only) Displays as track title on pause menu.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Sound effects==&lt;br /&gt;
&lt;br /&gt;
All vanilla sound tokens are found within &amp;lt;code&amp;gt;objects/sound_standard.txt&amp;lt;/code&amp;gt;. All sound definition raws must begin with &amp;lt;code&amp;gt;sound_&amp;lt;/code&amp;gt;, followed by the &amp;lt;code&amp;gt;[OBJECT:SOUND]&amp;lt;/code&amp;gt; token that tells the game that the file contains sound definitions.&lt;br /&gt;
&lt;br /&gt;
 [SOUND:&amp;lt;identifier&amp;gt;]&lt;br /&gt;
     [FILE:&amp;lt;[[Audio#Identifiers|file identifier]]&amp;gt;]&lt;br /&gt;
     [ANNOUNCEMENT:&amp;lt;announcement&amp;gt;]&lt;br /&gt;
     ...&lt;br /&gt;
     [ANNOUNCEMENT:&amp;lt;announcement n&amp;gt;]&lt;br /&gt;
&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#dddddd&amp;quot;&lt;br /&gt;
!Token&lt;br /&gt;
!Arguments&lt;br /&gt;
!Extra Information&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|FILE}}&lt;br /&gt;
|&lt;br /&gt;
* [[Audio#Identifiers|sound file]]&lt;br /&gt;
| (Required) [[Audio#Identifiers|File identifiers]] can be any of various hardcoded sounds (all present in the vanilla raws) or custom [SOUND_FILE] objects.&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ANNOUNCEMENT}}&lt;br /&gt;
|&lt;br /&gt;
* [[Announcements.txt|announcement(s)]]&lt;br /&gt;
| Trigger condition, can use more than one announcement in the list.&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SAVAGE_AREA}}&lt;br /&gt;
| &lt;br /&gt;
| Played randomly in a [[Surroundings#Savage|savage]] area.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Music tracks==&lt;br /&gt;
All vanilla music tokens are found within &amp;lt;code&amp;gt;objects/music_standard.txt&amp;lt;/code&amp;gt;. All music logic raws must begin with &amp;lt;code&amp;gt;music_&amp;lt;/code&amp;gt;, followed by the &amp;lt;code&amp;gt;[OBJECT:MUSIC]&amp;lt;/code&amp;gt; token that tells the game that the file contains music definitions.&lt;br /&gt;
&lt;br /&gt;
 [MUSIC:TRACK_02]&lt;br /&gt;
 	[FILE:EXPANSIVE_CAVERN]&lt;br /&gt;
 		[CARD:EXPANSIVE_CAVERN_CARD_1] for the shuffled deck of short bits&lt;br /&gt;
 		[CARD:EXPANSIVE_CAVERN_CARD_2]&lt;br /&gt;
 		[CARD:EXPANSIVE_CAVERN_CARD_3]&lt;br /&gt;
 		[CARD:EXPANSIVE_CAVERN_CARD_4]&lt;br /&gt;
 	[EVENT:FIRST_CAVERN_OPENED]&lt;br /&gt;
 	[CONTEXT:CAVERNS_OPENED]&lt;br /&gt;
 	[FREQUENCY:UNCOMMON]&lt;br /&gt;
&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#dddddd&amp;quot;&lt;br /&gt;
!Token&lt;br /&gt;
!Arguments&lt;br /&gt;
!Extra Information&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|FILE}}&lt;br /&gt;
|&lt;br /&gt;
* [[Audio#Identifiers|music file]]&lt;br /&gt;
| (Required) Can be any of the many hardcoded [[Audio#Identifiers|files]] for the [[soundtrack]], or it can be a custom [MUSIC_FILE] object.&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CARD}}&lt;br /&gt;
|&lt;br /&gt;
* [[Audio#Identifiers|music file(s)]]&lt;br /&gt;
| Plays only a part of the instruments chosen randomly. You can find the parts in the subfolders of the tracks in your ...\common\Dwarf Fortress\data\sound\tracks folder. Before the song proper starts, the game will play a few of these in random order. See: [https://www.youtube.com/watch?v=vswxVrgBlJ0&amp;amp;t=204s Stem Jukebox]. &lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CONTEXT}}&lt;br /&gt;
| [[Audio#Contexts|context(s)]]&lt;br /&gt;
| This song can randomly play if any of the contexts are met.&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|EVENT}}&lt;br /&gt;
| [[Audio#Events|event(s)]]&lt;br /&gt;
| When the chosen event occurs, this song automatically plays and overrides the current song. If multiple songs match the event, a random song will be played from among them.&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|FREQUENCY}}&lt;br /&gt;
|&lt;br /&gt;
* UNCOMMON or RARE&lt;br /&gt;
| Can be set to 'UNCOMMON' to set the frequency half as often as the other candidates or 'RARE' to make it 1/5 as often as other candidates.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Contexts===&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#dddddd&amp;quot;&lt;br /&gt;
!Token&lt;br /&gt;
!Extra Information&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ANY}}&lt;br /&gt;
| Can play at any time, including in menus.&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MAIN}}&lt;br /&gt;
| The gamemode is [[Fortress Mode]].&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|FIRST_YEAR}}&lt;br /&gt;
| You are controlling a fortress that is less than one year old.&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SECOND_YEAR_PLUS}}&lt;br /&gt;
| Your fortress has been around for more than one year.&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CAVERNS_OPENED}}&lt;br /&gt;
| Your fortress has access to the [[cavern]]s.&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SPRING}}&lt;br /&gt;
| The current season is [[spring]]. Appears to also be played in Legends mode and the main menu.&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SUMMER}}&lt;br /&gt;
| The current season is [[summer]]. Appears to also be played in Legends mode and the main menu.&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|AUTUMN}}&lt;br /&gt;
| The current season is [[autumn]]. Appears to also be played in Legends mode and the main menu.&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|WINTER}}&lt;br /&gt;
| The current season is [[winter]].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Events===&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#dddddd&amp;quot;&lt;br /&gt;
!Token&lt;br /&gt;
!Extra Information&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|JUST_EMBARKED}}&lt;br /&gt;
| Plays when [[embark|founding]] a new fortress.&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SIEGE}}&lt;br /&gt;
| A [[siege]] is announced.&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|FIRST_CAVERN_OPENED}}&lt;br /&gt;
| A new cave layer is discovered {{verify}}&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MEGABEAST_ATTACK}}&lt;br /&gt;
| Plays when a [[megabeast]]'s arrival is announced. It is unknown if it is also relevant for [[Semi-megabeast|semi-megabeasts]] or [[Titan|titans]].&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|FORGOTTEN_BEAST_ATTACK}}&lt;br /&gt;
| Plays when a [[forgotten beast]]'s arrival is announced.&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DEATH_SPIRAL}}&lt;br /&gt;
| Many citizen deaths have occurred in short succession.&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TAVERN_MUSIC_PRESENT}}&lt;br /&gt;
| Many units have gathered to perform or watch a [[Performer#Music|musical form]].&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TAVERN_DANCE_PRESENT}}&lt;br /&gt;
| Many units have gathered to perform or watch a [[Performer#Dance|dance]].&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|LOST_FORT}}&lt;br /&gt;
| Ending a game: a fortress has just been [[Reclaim fortress mode|abandoned or retired]] or your [[adventurer]] has died.&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|FORT_LEVEL}}{{v|51.01-beta28}}&lt;br /&gt;
| May relate to reaching higher ranks of [[Fortress#Nomenclature]].{{verify}}&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|FIRST_GHOST}}{{v|51.01-beta28}}&lt;br /&gt;
| The first time a [[ghost]] attacks.{{verify}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== See Also== &lt;br /&gt;
* [[Soundtrack]] &lt;br /&gt;
* [https://www.youtube.com/watch?v=mJyMhgadpcQ ambiences and music snippets]&lt;br /&gt;
* [[Soundsense]]&lt;br /&gt;
* [https://github.com/Putnam3145/dwarf-fortress-example-sound-mod Example sound mod] by [[User:Putnam3145|Putnam]]&lt;br /&gt;
&lt;br /&gt;
[[Category:game]]&lt;/div&gt;</summary>
		<author><name>Nxrcss</name></author>
	</entry>
</feed>