Gin
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
VoicedStereoOscillatorParams Struct Reference

Extended parameters for band-limited voiced stereo oscillator. More...

#include <gin_oscillators.h>

Inheritance diagram for VoicedStereoOscillatorParams:

Public Member Functions

void init (StereoOscillator::Params &p) const
 

Public Attributes

Wave wave = Wave::sawUp
 
float pw = 0.5
 
float fold = 0.0f
 
float asym = 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 band-limited voiced stereo oscillator.

Extends VoicedOscillatorParams with waveform-specific parameters for band-limited oscillators including waveform type, pulse width, and waveshaping effects.

Additional Parameters:

See also
VoicedOscillatorParams, BLLTVoicedStereoOscillator

Member Function Documentation

◆ init()

void VoicedStereoOscillatorParams::init ( StereoOscillator::Params p) const

Member Data Documentation

◆ wave

Wave VoicedStereoOscillatorParams::wave = Wave::sawUp

Referenced by init().

◆ pw

float VoicedStereoOscillatorParams::pw = 0.5

Referenced by init().

◆ fold

float VoicedStereoOscillatorParams::fold = 0.0f

Referenced by init().

◆ asym

float VoicedStereoOscillatorParams::asym = 0.0f

Referenced by init().


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