Gin
Loading...
Searching...
No Matches
WTVoicedStereoOscillatorParams Struct Reference

Extended parameters for wavetable voiced stereo oscillator. More...

#include <gin_wtoscillators.h>

Inheritance diagram for WTVoicedStereoOscillatorParams:

Public Member Functions

void init (WTOscillator::Params &p) const

Public Attributes

float position = 0.5
float bend = 0.0f
float formant = 0.0f
float asym = 0.0f
float fold = 0.0f
Public Attributes inherited from VoicedOscillatorParams
int voices = 1
 Number of voices (1-N for unison).
float pan = 0.0f
 Stereo pan position (-1.0 = left, 0.0 = center, 1.0 = right).
float spread = 0.0f
 Stereo spread amount (0.0 = mono, 1.0 = full stereo).
float detune = 0.0f
 Detune amount between voices (in semitones or cents).
float gain = 1.0f
 Overall gain/volume (0.0 to 1.0+).

Detailed Description

Extended parameters for wavetable voiced stereo oscillator.

Extends VoicedOscillatorParams with wavetable-specific parameters including table position morphing, phase distortion, formant shifting, and waveshaping.

Additional Parameters:

  • position: Wavetable position (0.0 to 1.0) for morphing between tables
  • bend: Phase distortion amount (0.0 to 1.0)
  • formant: Formant shift - pitch-independent spectral shifting
  • asym: Asymmetry/waveshaping amount (0.0 to 1.0)
  • fold: Wavefolding amount (0.0 to 1.0)
See also
VoicedOscillatorParams, WTVoicedStereoOscillator

Member Function Documentation

◆ init()

Member Data Documentation

◆ position

float WTVoicedStereoOscillatorParams::position = 0.5

Referenced by init().

◆ bend

float WTVoicedStereoOscillatorParams::bend = 0.0f

Referenced by init().

◆ formant

float WTVoicedStereoOscillatorParams::formant = 0.0f

Referenced by init().

◆ asym

float WTVoicedStereoOscillatorParams::asym = 0.0f

Referenced by init().

◆ fold

float WTVoicedStereoOscillatorParams::fold = 0.0f

Referenced by init().


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