SoundyUtils

class in Doozy.Engine.Soundy

Description

Sound related utility methods

Static Methods

  • public static float SemitonesToPitch(float semitones) – Converts semitones value to a pitch value (returns a value between 0f and 4f)

  • public static float PitchToSemitones(float pitch) – Converts a pitch value to a semitone value

  • public static float DecibelToLinear(float dB) – Converts decibels to linear (returns a value between 0f and 1f). Check FactorRatioLevelDecibel Calculator for details

  • public static float LinearToDecibel(float linear) – Converts linear to decibels (returns a value between -80f and 0f). Check FactorRatioLevelDecibel Calculator for details