AudioSettings.xml 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <AssetDeclaration xmlns="uri:ea.com:eala:asset" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  3. <Tags/>
  4. <Includes>
  5. <!-- Some settings are different for 360 vs. PC. This is a cheap way to vary things between platforms. There is one
  6. PlatformSpecificAudioDefines under pc and one under xenon; the correct one will be picked up. -->
  7. <Include type="instance" source="DATA:Includes/PlatformSpecificAudioDefines.xml"/>
  8. </Includes>
  9. <!-- The first set of attributes are the low-level engineering attributes that keep the audio engine running. Scary, scary, don't touch, only
  10. engineers training in the ancient art of audio programming should release the fivefold seals on these attributes, yada yada yada.
  11. The second set of attributes control the sound of the main audio engine. These are meant for sound designers to muck with to change the
  12. global sound of the game.
  13. The third set of attributes control various sounds which are not in the main audio engine. Again, they are meant for the sound designers
  14. to fiddle with. -->
  15. <AudioSettings
  16. id="TheAudioSettings"
  17. ForceResetTime="0s"
  18. EmergencyResetTime="0s"
  19. AudioFootprintInBytes="8388608"
  20. MaxRequestsPerStream="20"
  21. StreamBufferSizePerChannel="=$PLATFORM_SPECIFIC_STREAM_BUFFER_SIZE_PER_CHANNEL"
  22. SuppressOcclusion="false"
  23. MinOcclusion="0%"
  24. DelayPriorToPlayingToReadSoundFile="1s"
  25. ReadAheadTime="3s"
  26. QueueAheadTime=".5s"
  27. LongTime="60s"
  28. DontLoadThirdVariationWhenFileReadQueueIsLongerThan="=$PLATFORM_SPECIFIC_DONT_LOAD_THIRD_VARIATION_WHEN_FILE_READ_QUEUE_IS_LONGER_THAN"
  29. DontLoadSecondVariationWhenFileReadQueueIsLongerThan="=$PLATFORM_SPECIFIC_DONT_LOAD_SECOND_VARIATION_WHEN_FILE_READ_QUEUE_IS_LONGER_THAN"
  30. DontLoadForLowPrioritySoundsWhenFileReadQueueIsLongerThan="=$PLATFORM_SPECIFIC_DONT_LOAD_FOR_LOW_PRIORITY_SOUNDS_WHEN_FILE_READ_QUEUE_IS_LONGER_THAN"
  31. WhatIsLowPriorityForDontLoadForLowPrioritySoundsWhenFileReadQueueIsLongerThan="LOW"
  32. VolumeToGainConversionFactor="1.6667"
  33. PositionDeltaForReverbCheck="10"
  34. TimeToFadeAudio="2s"
  35. MinSampleVolume="2"
  36. AmbientStreamHysteresisVolume="10"
  37. PanRadiusScaleValue="900"
  38. PanSize=".75"
  39. DefaultSoundVolume="75%"
  40. DefaultAmbientVolume="60%"
  41. DefaultMovieVolume="70%"
  42. DefaultVoiceVolume="70%"
  43. DefaultMusicVolume="50%"
  44. VolumeMultiplierFor2DSounds="=$PLATFORM_SPECIFIC_2D_VOLUME_MULTIPLIER"
  45. VolumeMultiplierFor3DSounds="=$PLATFORM_SPECIFIC_3D_VOLUME_MULTIPLIER"
  46. AutomaticSubtitleDuration="20s"
  47. AutomaticSubtitleLines="8"
  48. VoiceMoveToCampMaxCampnessAtStartPoint="0"
  49. VoiceMoveToCampMinCampnessAtEndPoint="5000"
  50. MinDelayBetweenEnterStateVoice="5s"
  51. TimeSinceLastAttackForVoiceRetreatToCastle="3s"
  52. DistanceToLookForEnemiesForVoiceRetreatToCastle="1000"
  53. PostPostGameMusicWait="10s"
  54. PlayEnemySightedEventsOnlyFromNearbyUnits="false"
  55. CapturedUnitsVoicePriorityOffset="-50"
  56. UISelectionVoicePriorityOffset="1000"
  57. AddToSelectionVoiceTimeout=".75s"
  58. MinVolumeBeforeFade="10"
  59. MaxVolumeBeforeFade="20"
  60. >
  61. <AutomaticSubtitleWindowColor R="0.0" G="0.0" B="0.0" A=".50"/>
  62. <AutomaticSubtitleTextColor R="1.0" G="0.8" B="0.0" A="1.0"/>
  63. <!-- Amount to lower other sounds while movies are playing -->
  64. <VolumeSliderMultiplierForMovie Slider="VOICE" Multiplier="0.35" />
  65. <VolumeSliderMultiplierForMovie Slider="SOUNDFX" Multiplier="0.6" />
  66. <VolumeSliderMultiplierForMovie Slider="MUSIC" Multiplier="0.6" />
  67. <VolumeSliderMultiplierForMovie Slider="AMBIENT" Multiplier="0.75" />
  68. <TacticalMicSettings
  69. id="TacticalMicSettings"
  70. MicrophonePreferredFractionCameraToGround="86%"
  71. MicrophoneMinDistanceToCamera="100"
  72. MicrophoneMaxDistanceToCamera="300"
  73. VolumeMicrophonePullTowardsTerrainLookAtPoint="100%"
  74. PanningMicrophonePullTowardsTerrainLookAtPoint="35%"
  75. ZoomMinDistance="130.0"
  76. ZoomMaxDistance="425.0"
  77. ZoomSoundVolumePercentageAmount="20%"
  78. ZoomFadeDistanceForMaxEffect="200"
  79. ZoomFadeZeroEffectEdgeLength="260"
  80. ZoomFadeFullEffectEdgeLength="135"
  81. />
  82. <LivingWorldMicSettings
  83. id="LivingWorldMicSettings"
  84. MicrophonePreferredFractionCameraToGround="80%"
  85. MicrophoneMinDistanceToCamera="100"
  86. MicrophoneMaxDistanceToCamera="4500"
  87. VolumeMicrophonePullTowardsTerrainLookAtPoint="100%"
  88. PanningMicrophonePullTowardsTerrainLookAtPoint="40%"
  89. ZoomMinDistance="130.0"
  90. ZoomMaxDistance="1000.0"
  91. ZoomSoundVolumePercentageAmount="20%"
  92. ZoomFadeDistanceForMaxEffect="200"
  93. ZoomFadeZeroEffectEdgeLength="260"
  94. ZoomFadeFullEffectEdgeLength="135"
  95. />
  96. <ShellMicSettings
  97. id="ShellMicSettings"
  98. />
  99. <VolumeCompressorSettings
  100. Threshold="-6"
  101. Ratio="10"
  102. AttackTime="2ms"
  103. ReleaseTime="70ms"
  104. AppliesEquallyToAllChannels="true"
  105. />
  106. </AudioSettings>
  107. </AssetDeclaration>