Sound Byte Libs 29c5ff3
C++ firmware library for audio applications on 32-bit ARM Cortex-M processors
Loading...
Searching...
No Matches
Namespaces | Macros | Functions | Variables
convert.hpp File Reference
#include <cstdint>
#include <sbl/dsp/types.hpp>
Include dependency graph for convert.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  sbl
 Root namespace for all Sound Byte Libs functionality.
 
namespace  sbl::dsp
 DSP atoms for audio signal processing.
 

Macros

#define SBL_NAN_DETECTED()   ((void)0)
 

Functions

float sbl::dsp::to_float (Sample s)
 
Sample sbl::dsp::to_sample (float f)
 
void sbl::dsp::to_float (const Sample *in, float *out, uint16_t frames)
 
void sbl::dsp::to_sample (const float *in, Sample *out, uint16_t frames)
 
void sbl::dsp::deinterleave_to_float (const int32_t *interleaved, float *left, float *right, uint16_t frames)
 
void sbl::dsp::interleave_from_float (const float *left, const float *right, int32_t *interleaved, uint16_t frames)
 

Variables

constexpr float sbl::dsp::SAMPLE_SCALE_F = 8388607.0f
 
constexpr float sbl::dsp::SAMPLE_SCALE_INV_F = 1.0f / 8388607.0f
 

Macro Definition Documentation

◆ SBL_NAN_DETECTED

#define SBL_NAN_DETECTED ( )    ((void)0)

Definition at line 20 of file convert.hpp.