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

Function gen_cosine_4

include/LabSound/core/WindowFunctions.h:83–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81 }
82
83 inline float gen_cosine_4(const float max_index, const uint32_t idx, const float alpha, const float beta, const float gamma, const float delta, const float epsilon)
84 {
85 return gen_cosine_3(max_index, idx, alpha, beta, gamma, delta) + epsilon * std::cos((4 * static_cast<float>(LAB_TAU) * idx) / max_index);
86 }
87
88 inline float gaussian(const float max_index, const uint32_t idx, const float sigma)
89 {

Callers 1

Calls 1

gen_cosine_3Function · 0.85

Tested by

no test coverage detected