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

The ten GS delay types and the two published conversion tables. More...

#include <tabulasonora/effect_presets.hpp>

Public Attributes

std::vector< std::string > type_names
std::vector< double > time_milliseconds
std::vector< double > ratio_percent
std::vector< std::array< int, 10 > > raw_presets

Static Public Attributes

static constexpr double send_at_full_scale = 0.356
 Send-bus gain at full scale.
static constexpr int pre_delay_samples = 1920
 Fixed input pre-delay ahead of the feedback line, in samples — 60 ms at 32 kHz.
static constexpr std::array< double, 8 > pre_low_pass_coefficients
 Pre-lowpass coefficient ladder; index 0 bypasses, which every preset uses.

Detailed Description

The ten GS delay types and the two published conversion tables.

Member Data Documentation

◆ send_at_full_scale

double ts::DelayPresets::send_at_full_scale = 0.356
staticconstexpr

Send-bus gain at full scale.

◆ pre_delay_samples

int ts::DelayPresets::pre_delay_samples = 1920
staticconstexpr

Fixed input pre-delay ahead of the feedback line, in samples — 60 ms at 32 kHz.

Measured from first arrival; it is not in the preset table.

◆ pre_low_pass_coefficients

std::array<double, 8> ts::DelayPresets::pre_low_pass_coefficients
staticconstexpr
Initial value:
{
0.0, 0.10, 0.18, 0.28, 0.40, 0.55, 0.70, 0.84}

Pre-lowpass coefficient ladder; index 0 bypasses, which every preset uses.

◆ type_names

std::vector<std::string> ts::DelayPresets::type_names

◆ time_milliseconds

std::vector<double> ts::DelayPresets::time_milliseconds

◆ ratio_percent

std::vector<double> ts::DelayPresets::ratio_percent

◆ raw_presets

std::vector<std::array<int, 10> > ts::DelayPresets::raw_presets

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