v50 Steam/Premium information for editors
  • v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
  • Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.

Editing Utility:SoundSense/Documentation

Jump to navigation Jump to search

Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.


The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 29: Line 29:
 
command prompt. Type in "java -version" and press [Enter].
 
command prompt. Type in "java -version" and press [Enter].
  
A few lines starting with [java version "1.7.0_03"] or something similar should appear. If  
+
A few lines starting with [java version "1.7.0_03"] or something similar should apear. If  
 
that case is the case, you are good to go. But if you see [java version "1.6.x_xx" or an  
 
that case is the case, you are good to go. But if you see [java version "1.6.x_xx" or an  
 
earlier version (lower number), you will need to download and install the latest java.
 
earlier version (lower number), you will need to download and install the latest java.
Line 68: Line 68:
 
===Moments of Silence===
 
===Moments of Silence===
  
Occasionally, the music in SoundSense will stop for a short period (10, 20, or 30 seconds)  
+
Occationally, the music in SoundSense will stop for a short period (10, 20, or 30 seconds)  
 
before resuming. This is not a bug - it is intentional. This was done to let ears rest a  
 
before resuming. This is not a bug - it is intentional. This was done to let ears rest a  
 
bit between tracks. (Research shows that ears which get a rest have time to recover and  
 
bit between tracks. (Research shows that ears which get a rest have time to recover and  
Line 86: Line 86:
 
Adventure Mode kind of works. The battle sounds function quite well because they are  
 
Adventure Mode kind of works. The battle sounds function quite well because they are  
 
mostly the same as those in Fortress Mode. But SoundSense is still a bit lacking in other  
 
mostly the same as those in Fortress Mode. But SoundSense is still a bit lacking in other  
adventure sounds. The problem is that Adventure Mode does not log many other useful
+
adventure sounds. The problem is that Adventure Mode does not log many other usefull
 
events. For example, encountering a megabeast or a quest mob is resolved in chat, leaving  
 
events. For example, encountering a megabeast or a quest mob is resolved in chat, leaving  
 
no message in the game log to trigger SoundSense.
 
no message in the game log to trigger SoundSense.
Line 221: Line 221:
 
* ''weight'' - number; This controls the likelihood of a sound being chosen. Default is 100.
 
* ''weight'' - number; This controls the likelihood of a sound being chosen. Default is 100.
 
* ''volumeAdjustment'' - number; This can be used to adjust the volume of the sample. The value can range from -40 to +6 decibles and the default is 0.
 
* ''volumeAdjustment'' - number; This can be used to adjust the volume of the sample. The value can range from -40 to +6 decibles and the default is 0.
* ''randomBalance'' - boolean, if set to true will randomply distribute sound between stereo channels.
+
* ''randomBalance'' - boolean, if set to true will randomply distribute sound betweem stereo channels.
 
* ''balanceAdjustment'' - number, adjusts stereo channel, can range for -1 (full left) to 1 (full right).
 
* ''balanceAdjustment'' - number, adjusts stereo channel, can range for -1 (full left) to 1 (full right).
  
Line 235: Line 235:
  
 
SoundSense supports .wav encoded in the "Windows PCM" format. However, some files with the  
 
SoundSense supports .wav encoded in the "Windows PCM" format. However, some files with the  
.wav extension are actually encoded in some other proprietary format. A sound format  
+
.wav extention are actually encoded in some other proprietary format. A sound format  
 
conversion utility (such as FormatFactory) could be used to fix them.
 
conversion utility (such as FormatFactory) could be used to fix them.
  
Line 271: Line 271:
 
It is rather easy. Locate '''seasons.xml''' in ''soundpack/seasons'' directory.
 
It is rather easy. Locate '''seasons.xml''' in ''soundpack/seasons'' directory.
  
This file contains definition of two sets of sounds: First, there are four definitions for playing voiced announcements (''<sound logPattern="Spring has arrived!" haltOnMatch="false" playbackThreshhold="3">'') which are not interesting and should be left alone.
+
This file contains definition of two sets of sounds: First, there are four definitions for playing voiced anouncements (''<sound logPattern="Spring has arrived!" haltOnMatch="false" playbackThreshhold="3">'') which are not interesting and should be left alone.
  
Seccond are main definitions of season music which start with ''<sound logPattern="(Spring has arrived!)|(Spring has arrived on the calendar\.)" loop="start" channel="music" playbackThreshhold="0">''.
+
Seccond are main defintions of season music which start with ''<sound logPattern="(Spring has arrived!)|(Spring has arrived on the calendar\.)" loop="start" channel="music" playbackThreshhold="0">''.
  
 
You can simply add new ''<soundFile fileName="'''Name of your.mp3'''"/>'' and put it in seasons directory.
 
You can simply add new ''<soundFile fileName="'''Name of your.mp3'''"/>'' and put it in seasons directory.
 
[[ru:SoundSense]]
 
[[ru:SoundSense]]

Please note that all contributions to Dwarf Fortress Wiki are considered to be released under the GFDL & MIT (see Dwarf Fortress Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel Editing help (opens in new window)