Sound Byte Libs 29c5ff3
C++ firmware library for audio applications on 32-bit ARM Cortex-M processors
Loading...
Searching...
No Matches
Classes | Enumerations
sbl::components::cv Namespace Reference

CV/gate input components. More...

Classes

class  CvInput
 Smoothed CV input with EWMA filtering and range scaling. More...
 
struct  CvInputConfig
 
struct  GateConfig
 
class  GateInput
 Gate input with Schmitt trigger hysteresis and edge detection. More...
 
struct  VoctCalibration
 Linear calibration parameters for V/Oct conversion. More...
 
class  VoctInput
 V/Oct pitch CV input with smoothing and calibration. More...
 

Enumerations

enum class  Smoothing : uint8_t { None = 0 , Light = 1 , Medium = 3 , Heavy = 5 }
 Smoothing presets for CvInput EWMA filter. More...
 

Detailed Description

CV/gate input components.

Enumeration Type Documentation

◆ Smoothing

enum class sbl::components::cv::Smoothing : uint8_t
strong

Smoothing presets for CvInput EWMA filter.

Values are the EWMA shift exponent (alpha = 1/2^shift). Higher values = more smoothing, slower response.

Enumerator
None 

Raw passthrough (no filtering)

Light 

alpha=1/2, settles in ~4 samples (pitch, fast CV)

Medium 

alpha=1/8, settles in ~24 samples (pots, knobs)

Heavy 

alpha=1/32, settles in ~96 samples (noisy sources)

Definition at line 35 of file input.hpp.