Jump to content

Audio config question


Recommended Posts

AUDIO
			{
				channel = Ship
				clip = sound_jet_deep
				volume = 0.0 0.0
				volume = 0.05 0.6
				volume = 1.0 1.3
				pitch = 0.0 0.3
				pitch = 1.0 0.6
				loop = true
			}

 

Can someone explain exactly what the values are here and how they correspond to how the audio plays in-game? Primarily regarding volume and pitch.

 

Also the difference between spoolEffect and powerEffect.

Edited by Box of Stardust
Link to comment
Share on other sites

On 3/22/2020 at 5:46 PM, Box of Stardust said:

Primarily regarding volume and pitch.

The volume and pitch entries listed are key=value pairs, specifically, points on a FloatCurve defining how the pitch and volume will be effected by... likely be 'power' in this case (but it could also be 'time within the audio clip).

volume = <key> <value>

defines a single entry in the volume curve, where 'key' is the input time/power, and 'value' is the output for the volume at that input.

These are all based on Unity Animation Curves, documented here: https://docs.unity3d.com/Manual/animeditor-AnimationCurves.html

Link to comment
Share on other sites

12 hours ago, Shadowmage said:

The volume and pitch entries listed are key=value pairs, specifically, points on a FloatCurve defining how the pitch and volume will be effected by... likely be 'power' in this case (but it could also be 'time within the audio clip).

volume = <key> <value>

defines a single entry in the volume curve, where 'key' is the input time/power, and 'value' is the output for the volume at that input.

These are all based on Unity Animation Curves, documented here: https://docs.unity3d.com/Manual/animeditor-AnimationCurves.html

Are the input keys based on engine power/throttle level then? I'd guess so, but just want to be sure. They only go from 0.0 to 1.0, so I'm not sure what else the input value could be. 

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...