Vixen
02b45cc4
csharp
public static class Decibels

Between a linear gain and its value in decibels.

No guide page documents this yet — the page shows what the code says about itself.

Remarks

Public because every mixer surface a human touches is calibrated in decibels and every buffer is not, so the conversion belongs somewhere both an effect and an editor slider can reach it.

Methods (2)

  • public static float ToLinear(float decibels)

    What a decibel value is as a multiplier.

  • public static float FromLinear(float linear)

    What a multiplier is in decibels.

Used by (16)

  • AudioEventVixen.Audio
  • AudioFadeVixen.Audio
  • CompressorEffectVixen.Audio
  • DistortionEffectVixen.Audio
  • DynamicsTestsVixen.Audio.Tests
  • FadeTestsVixen.Audio.Tests
  • GateEffectVixen.Audio
  • LimiterEffectVixen.Audio
  • MixControlVixen.Audio
  • MixerAssetTestsVixen.Audio.Tests
  • MixerBuilderVixen.Audio
  • MixerParametersVixen.Audio
  • MixerSnapshotsVixen.Audio
  • MusicPlayerVixen.Audio
  • OversamplingTestsVixen.Audio.Tests
  • VoiceParametersVixen.Audio