gainCoefficient

open fun gainCoefficient(sampleRate: Int, time: Float): Float

Calculates the gain coefficient for a given sample rate and time.

Return

The calculated gain coefficient.

Parameters

sampleRate

The sample rate.

time

The time value.