Sound Byte Libs 0.5.1-121-g3358a44
C++ firmware library for audio applications on 32-bit ARM Cortex-M processors
Loading...
Searching...
No Matches
lut.hpp File Reference

Lookup table interpolation functions. More...

Detailed Description

Lookup table interpolation functions.

Definition in file lut.hpp.

#include <cstdint>

Go to the source code of this file.

Namespaces

namespace  sbl
 Root namespace for all Sound Byte Libs code.
 
namespace  sbl::dsp
 
namespace  sbl::dsp::lut
 Lookup-table access and the generated tables.
 
namespace  sbl::dsp::lut::detail
 

Functions

constexpr uint8_t sbl::dsp::lut::detail::log2_of (uint16_t n)
 
template<uint16_t Size>
float sbl::dsp::lut::lookup_linear (const float *table, uint32_t phase)
 
template<uint16_t Size>
float sbl::dsp::lut::lookup_cubic (const float *table, uint32_t phase)
 
template<uint16_t Size>
float sbl::dsp::lut::crossfade (const float *table_a, const float *table_b, uint32_t phase, float balance)