LMMS
Loading...
Searching...
No Matches
lmms::OscillatorConstants Namespace Reference

Typedefs

using wavetable_t = std::array<sample_t, WAVETABLE_LENGTH>
using waveform_t = std::array<wavetable_t, WAVE_TABLES_PER_WAVEFORM_COUNT>

Variables

const int MAX_FREQ = 20000
constexpr int WAVETABLE_LENGTH = static_cast<int>(MAX_FREQ / 8.176)
const int SEMITONES_PER_TABLE = 1
const int WAVE_TABLES_PER_WAVEFORM_COUNT = 128 / SEMITONES_PER_TABLE

Typedef Documentation

◆ waveform_t

◆ wavetable_t

Variable Documentation

◆ MAX_FREQ

const int lmms::OscillatorConstants::MAX_FREQ = 20000

◆ SEMITONES_PER_TABLE

const int lmms::OscillatorConstants::SEMITONES_PER_TABLE = 1

◆ WAVE_TABLES_PER_WAVEFORM_COUNT

const int lmms::OscillatorConstants::WAVE_TABLES_PER_WAVEFORM_COUNT = 128 / SEMITONES_PER_TABLE

◆ WAVETABLE_LENGTH

int lmms::OscillatorConstants::WAVETABLE_LENGTH = static_cast<int>(MAX_FREQ / 8.176)
constexpr