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
calibration.hpp File Reference

Source calibration: fit, standard, routine (AP-033) More...

Detailed Description

Source calibration: fit, standard, routine (AP-033)

Definition in file calibration.hpp.

#include <cstdint>

Go to the source code of this file.

Classes

struct  sbl::control::LinearFit
 measured su → corrected su. Identity until a fit is computed or loaded. More...
 
struct  sbl::control::VOctStandard
 1 V per octave in SBL pitch su (1.0 su spans 8 octaves) More...
 
class  sbl::control::PointCalibration< N, Standard >
 Capture N reference points, then fit. More...
 

Namespaces

namespace  sbl
 Root namespace for all Sound Byte Libs code.
 
namespace  sbl::control
 Control Stack v2: scheduler, event queue, merge, CC mapping, calibration, presets.
 

Enumerations

enum class  sbl::control::CalState : uint8_t { sbl::control::Idle , sbl::control::Capturing , sbl::control::Done , sbl::control::Failed }
 

Functions

bool sbl::control::fit_points (const float *measured, const float *expected, uint8_t n, LinearFit &out)
 Least-squares line through captured points.