public float GetCurrentValue(int curve) { return GetValueAtTime(curve, GetComponent<AudioSource>().time); }