![]() |
Klang C++ 0.7.15
Language Reference (draft)
|
Language Guide / Functions ยท Generated namespace reference Inverse hyperbolic cosine. Accepts values from 1 upwards. For example, applying it to Based on acosh
klang::acosh1 + abs(sample) gives a curve that starts at zero for a silent input.std::acosh.Direct call
const signal shaped = acosh(1 + abs(sample));Signal flow
const signal shifted = 1 + abs(sample);
const signal shaped = shifted >> acosh;