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
Control stack

The staged control tick (Drain -> Update -> Merge -> Publish), event transport, merge primitives, CC mapping and calibration. More...

Modules

 Inputs
 Raw samples in, normalized values or events out: buttons, encoders, pots, CV and gate inputs. No hardware access.
 
 Display
 Indicator state: RGB LEDs and colors.
 

Files

file  clock.hpp
 The control clock: the app's one control timebase.
 
file  target_clock.hpp
 The target's control clock: Clock over the system timer.
 
file  calibration.hpp
 Source calibration: fit, standard, routine.
 
file  cam.hpp
 Cam profile evaluation.
 
file  cc_mapper.hpp
 Declarative MIDI CC routing.
 
file  event_queue.hpp
 Events from another context into the control tick.
 
file  merge.hpp
 Merge primitives: one parameter, several sources.
 
file  midi_keys.hpp
 MIDI notes to pitch, gate and velocity for one voice.
 
file  panel_report.hpp
 An app's parameter values as #PANEL lines, for bench frontends.
 
file  param_bank.hpp
 An app's parameters: one merge each, their defaults, and a reset.
 
file  param_echo.hpp
 Send every mapped parameter's value back out as its Control Change.
 
file  scheduler.hpp
 The control context: one base period, divider slots, fixed stage order per run.
 
file  scheduler_report.hpp
 A Scheduler slot's timing as a tagged line.
 
file  selector.hpp
 A continuous control read as one of N positions.
 
file  snapshot.hpp
 A whole struct handed from one context to another, never half-written.
 

Classes

struct  sbl::control::LinearFit
 
struct  sbl::control::VOctStandard
 1 V per octave: the library's pitch is octaves (CvMapping::VOct) More...
 
class  sbl::control::PointCalibration< N, Standard >
 Capture N reference points, then fit. More...
 
struct  sbl::control::Cam
 
struct  sbl::control::CamPitchAxis
 
struct  sbl::control::NoCcStore
 
struct  sbl::control::CcEntry< Target >
 One row of a CC map. More...
 
class  sbl::control::CcMapper< Target >
 Routes MIDI CCs to app targets through a constexpr table. More...
 
class  sbl::control::Clock< Source >
 
class  sbl::control::EventQueue< T, Size >
 Lock-free SPSC event queue from one producing context into the control tick. More...
 
class  sbl::control::Priority< N >
 The highest-priority active source wins. More...
 
class  sbl::control::Latest< N >
 The last source to move wins. More...
 
class  sbl::control::Pickup
 A takeover source must reach the held value before it captures it. More...
 
class  sbl::control::MidiKeys
 
class  sbl::control::PanelReport< Target, N, LINE >
 The values of the parameters a panel shows, as #PANEL lines. More...
 
class  sbl::control::ParamBank< Param, Count, Sources, Merge >
 
class  sbl::control::ParamEcho< Target >
 
class  sbl::control::Scheduler< Slots, Capacity >
 Divider slots over one base period, run in a fixed stage order. More...
 
class  sbl::control::Selector< Positions >
 
class  sbl::control::Snapshot< T >
 Double-buffered struct with a sequence number, for one writer and one reader. More...
 
struct  sbl::control::SystemTimerSource
 

Detailed Description

The staged control tick (Drain -> Update -> Merge -> Publish), event transport, merge primitives, CC mapping and calibration.