Klang C++ 0.7.15
Language Reference (draft)
Loading...
Searching...
No Matches
sinh

Language Guide / Functions · Generated namespace reference

sinh

klang::sinh

Hyperbolic sine.

Preserves the input’s sign and grows faster than linear as the magnitude increases. It can shape a bipolar signal.

-2.5-6.05-1.25-3.03001.253.032.56.05ResultInput x
sinh(x)

Based on std::sinh.

Direct call

const signal shaped = sinh(sample * 0.5);

Signal flow

const signal shaped = sample * 0.5 >> sinh;