Sound Byte Libs 0.5.1-340-gab5b79a
C++ firmware library for audio applications on 32-bit ARM Cortex-M processors
Loading...
Searching...
No Matches
sbl::control::VOctStandard Struct Reference

1 V per octave: the library's pitch is octaves (CvMapping::VOct) More...

Detailed Description

1 V per octave: the library's pitch is octaves (CvMapping::VOct)

References are volts. A standard with a different scale - 1.2 V per octave, or a Hz-per-volt input - supplies its own expected.

Definition at line 102 of file calibration.hpp.

#include <calibration.hpp>

Static Public Member Functions

static constexpr float expected (float volts)
 The value a reference should read once corrected.
 

Static Public Attributes

static constexpr float OCTAVES_PER_VOLT = 1.0f
 

Member Function Documentation

◆ expected()

static constexpr float sbl::control::VOctStandard::expected ( float  volts)
inlinestaticconstexpr

The value a reference should read once corrected.

Parameters
voltsReference voltage
Returns
Octaves

Definition at line 110 of file calibration.hpp.

References OCTAVES_PER_VOLT.

Member Data Documentation

◆ OCTAVES_PER_VOLT

constexpr float sbl::control::VOctStandard::OCTAVES_PER_VOLT = 1.0f
staticconstexpr

1 V per octave

Definition at line 103 of file calibration.hpp.

Referenced by expected().


The documentation for this struct was generated from the following file: