MCPcopy Create free account
hub / github.com/LabSound/LabSound / discreteTimeConstantForSampleRate

Method discreteTimeConstantForSampleRate

src/internal/src/AudioUtilities.cpp:23–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21}
22
23double lab::AudioUtilities::discreteTimeConstantForSampleRate(double timeConstant, double sampleRate)
24{
25 return 1.0 - std::exp(-1.0 / (sampleRate * timeConstant));
26}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected