Sound Byte Libs 29c5ff3
C++ firmware library for audio applications on 32-bit ARM Cortex-M processors
Loading...
Searching...
No Matches
Static Public Member Functions | Static Public Attributes | List of all members
sbl::dsp::RationalWarp Struct Reference

#include <warp.hpp>

Collaboration diagram for sbl::dsp::RationalWarp:

Static Public Member Functions

static uint16_t warp (uint16_t phase, uint16_t curve)
 

Static Public Attributes

static constexpr uint32_t STAGES_K = 128
 

Detailed Description

Definition at line 107 of file warp.hpp.

Member Function Documentation

◆ warp()

static uint16_t sbl::dsp::RationalWarp::warp ( uint16_t  phase,
uint16_t  curve 
)
inlinestatic

Definition at line 114 of file warp.hpp.

References sbl::dsp::Q16_ONE, STAGES_K, sbl::dsp::U16_MAX, and sbl::dsp::U16_MID.

Member Data Documentation

◆ STAGES_K

constexpr uint32_t sbl::dsp::RationalWarp::STAGES_K = 128
staticconstexpr
Note
ISR-safe — bounded computation, no I/O.

Definition at line 112 of file warp.hpp.

Referenced by warp().


The documentation for this struct was generated from the following file: