Deluge Firmware 1.4.0
Build date: 2026.11.30
Loading...
Searching...
No Matches
deluge::dsp::mic_velocity::Calibration Class Reference

#include <velocity_map.h>

Public Types

using PointLevels = std::array<float, kNumCalibrationPoints>

Public Member Functions

 Calibration (PointLevels const &softDb, PointLevels const &hardDb)
PointLevels const & softDb () const
 The calibrated points' levels (what's saved).
PointLevels const & hardDb () const
float softAt (int32_t x, int32_t y) const
 A pad's soft and hard levels: the points' weighted by closeness (exact on one).
float hardAt (int32_t x, int32_t y) const

Static Public Attributes

static constexpr int32_t kWidth = 18
 Every pad, the sidebar included (the audition pads are its right-hand column).
static constexpr int32_t kHeight = 8

Static Private Member Functions

static int32_t clampX (int32_t x)
static int32_t clampY (int32_t y)

Private Attributes

PointLevels softDb_ {}
PointLevels hardDb_ {}
std::array< std::array< float, kWidth >, kHeight > softAt_ {}
std::array< std::array< float, kWidth >, kHeight > hardAt_ {}

Detailed Description

The softest and hardest a player taps at each calibration point (thump levels in dB of full scale), and from them every pad's, worked out once when it's made


The documentation for this class was generated from the following files:
  • src/deluge/dsp/mic_velocity/velocity_map.h
  • src/deluge/dsp/mic_velocity/velocity_map.cpp