Tabula Sonora 0.1.0
A native C++20 implementation of the Roland Sound Canvas VA synth voice
Loading...
Searching...
No Matches
ts::LfoConfig Struct Reference

One LFO's static configuration. More...

#include <tabulasonora/lfo_engine.hpp>

Public Member Functions

constexpr int depth (LfoDestination destination) const noexcept
 The depth for one destination.

Public Attributes

int waveform = 0
 Waveform index, after the selector nibble is mapped.
int initial_phase = 0
 Starting phase, from the top two bits of the waveform byte.
int increment = 0
 Phase increment per control tick.
int delay_rate = 0
 Per-tick increment of the delay accumulator; zero means never start.
int fade_rate = 0
 Per-tick increment of the fade-in accumulator.
int pitch_depth = 0
 Depth applied to pitch, in milli-semitones.
int tvf_depth = 0
 Depth applied to the filter cutoff.
int tva_depth = 0
 Depth applied to amplitude.

Detailed Description

One LFO's static configuration.

Member Function Documentation

◆ depth()

int ts::LfoConfig::depth ( LfoDestination destination) const
inlinenodiscardconstexprnoexcept

The depth for one destination.

Member Data Documentation

◆ waveform

int ts::LfoConfig::waveform = 0

Waveform index, after the selector nibble is mapped.

◆ initial_phase

int ts::LfoConfig::initial_phase = 0

Starting phase, from the top two bits of the waveform byte.

◆ increment

int ts::LfoConfig::increment = 0

Phase increment per control tick.

◆ delay_rate

int ts::LfoConfig::delay_rate = 0

Per-tick increment of the delay accumulator; zero means never start.

◆ fade_rate

int ts::LfoConfig::fade_rate = 0

Per-tick increment of the fade-in accumulator.

◆ pitch_depth

int ts::LfoConfig::pitch_depth = 0

Depth applied to pitch, in milli-semitones.

◆ tvf_depth

int ts::LfoConfig::tvf_depth = 0

Depth applied to the filter cutoff.

◆ tva_depth

int ts::LfoConfig::tva_depth = 0

Depth applied to amplitude.


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