MCPcopy Create free account
hub / github.com/VCVRack/Rack / exponentialBipolar

Function exponentialBipolar

include/dsp/common.hpp:85–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83*/
84template <typename T>
85T exponentialBipolar(T b, T x) {
86 return (simd::pow(b, x) - simd::pow(b, -x)) / (b - 1.f / b);
87}
88
89
90/** Useful for storing arrays of samples in ring buffers and casting them to `float*` to be used by interleaved processors, like SampleRateConverter */

Callers

nothing calls this directly

Calls 1

powFunction · 0.85

Tested by

no test coverage detected