SynthLab SDK
SynthLab::WaveSequencerParameters Struct Reference

GUI Parameters for wave sequencer object. More...

#include <sequencer.h>

Public Attributes

WaveSequencerStatusMeters statusMeters
 set of meters for outbound monitoring of lane status
 
bool haltSequencer = false
 
double BPM = 120
 
double timeStretch = 1.0
 
bool interpolateStepSeqMod = false
 
bool randomizeStepOrder = false
 
bool randomizePitchOrder = false
 
bool randomizeWaveOrder = false
 
bool randomizeSSModOrder = false
 
uint32_t timingLoopStart = 1
 
uint32_t timingLoopEnd = MAX_SEQ_STEPS
 
uint32_t timingLoopDirIndex = enumToInt(LoopDirection::kForward)
 
double stepDurationMilliSec [MAX_SEQ_STEPS] = { 0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0 }
 
uint32_t stepDurationNoteIndex [MAX_SEQ_STEPS] = { enumToInt(NoteDuration::kQuarter),enumToInt(NoteDuration::kQuarter),enumToInt(NoteDuration::kQuarter),enumToInt(NoteDuration::kQuarter),enumToInt(NoteDuration::kQuarter),enumToInt(NoteDuration::kQuarter),enumToInt(NoteDuration::kQuarter),enumToInt(NoteDuration::kQuarter) }
 
uint32_t stepType [MAX_SEQ_STEPS] = { 0,0,0,0,0,0,0,0 }
 
double xfadeDurationMilliSec [MAX_SEQ_STEPS] = { 0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0 }
 
uint32_t xfadeDurationNoteIndex [MAX_SEQ_STEPS] = { enumToInt(NoteDuration::kQuarter),enumToInt(NoteDuration::kQuarter),enumToInt(NoteDuration::kQuarter),enumToInt(NoteDuration::kQuarter),enumToInt(NoteDuration::kQuarter),enumToInt(NoteDuration::kQuarter),enumToInt(NoteDuration::kQuarter),enumToInt(NoteDuration::kQuarter) }
 
uint32_t modLoopStart [NUM_MOD_LANES] = { 1, 1, 1 }
 
uint32_t modLoopEnd [NUM_MOD_LANES] = { MAX_SEQ_STEPS, MAX_SEQ_STEPS, MAX_SEQ_STEPS }
 
uint32_t modLoopDirIndex [NUM_MOD_LANES] = { enumToInt(LoopDirection::kForward), enumToInt(LoopDirection::kForward), enumToInt(LoopDirection::kForward) }
 
double waveLaneAmp_dB [MAX_SEQ_STEPS] = { 0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0 }
 
double waveLaneValue [MAX_SEQ_STEPS] = { 0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0 }
 
double waveLaneProbability_pct [MAX_SEQ_STEPS] = { 100.0,100.0,100.0,100.0,100.0,100.0,100.0,100.0 }
 
double pitchLaneValue [MAX_SEQ_STEPS] = { 0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0 }
 
double pitchLaneProbability_pct [MAX_SEQ_STEPS] = { 100.0,100.0,100.0,100.0,100.0,100.0,100.0,100.0 }
 
double stepSeqValue [MAX_SEQ_STEPS] = { -1.0,1.0,-0.3,-0.1, 1.0, 0.6, 0.3, 0.0 }
 
double stepSeqProbability_pct [MAX_SEQ_STEPS] = { 100.0,100.0,100.0,100.0,100.0,100.0,100.0,100.0 }
 

Detailed Description

GUI Parameters for wave sequencer object.

  • storage/maintenance for timing lane start/stop/random attributes
  • storage/maintenance for lane step crossfade start/stop/direction
  • storage/maintenance for lane step wave start/stop/direction
  • storage/maintenance for lane step pitch start/stop/direction
Author
Will Pirkle http://www.willpirkle.com
Remarks
This object is included and described in further detail in Designing Software Synthesizer Plugins in C++ 2nd Ed. by Will Pirkle
Version
Revision : 1.0
Date
Date : 2021 / 04 / 26

Member Data Documentation

◆ BPM

double SynthLab::WaveSequencerParameters::BPM = 120

— TIMING ------------------------—

◆ modLoopStart

uint32_t SynthLab::WaveSequencerParameters::modLoopStart[NUM_MOD_LANES] = { 1, 1, 1 }

MOD LANES: Pitch, Wave, Sequencer

◆ pitchLaneValue

double SynthLab::WaveSequencerParameters::pitchLaneValue[MAX_SEQ_STEPS] = { 0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0 }

— PITCH_LANE ------------------------—

◆ stepDurationMilliSec

double SynthLab::WaveSequencerParameters::stepDurationMilliSec[MAX_SEQ_STEPS] = { 0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0 }

— step durations

◆ stepSeqValue

double SynthLab::WaveSequencerParameters::stepSeqValue[MAX_SEQ_STEPS] = { -1.0,1.0,-0.3,-0.1, 1.0, 0.6, 0.3, 0.0 }

— STEP_SEQ_LANE ------------------------—

◆ timingLoopStart

uint32_t SynthLab::WaveSequencerParameters::timingLoopStart = 1

— LOOP points

◆ waveLaneAmp_dB

double SynthLab::WaveSequencerParameters::waveLaneAmp_dB[MAX_SEQ_STEPS] = { 0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0 }

— WAVE_LANE ------------------------—

◆ xfadeDurationMilliSec

double SynthLab::WaveSequencerParameters::xfadeDurationMilliSec[MAX_SEQ_STEPS] = { 0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0 }

— XFADE Times


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