Gin
Loading...
Searching...
No Matches
Public Attributes | List of all members
VoicedOscillatorParams Struct Reference

Parameters for VoicedStereoOscillator configuration. More...

#include <gin_oscillators.h>

Inheritance diagram for VoicedOscillatorParams:

Public Attributes

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

Parameters for VoicedStereoOscillator configuration.

Defines the multi-voice settings for a voiced stereo oscillator including the number of voices, stereo panning, voice spread, detuning amount, and overall gain.

See also
VoicedStereoOscillator

Member Data Documentation

◆ voices

int VoicedOscillatorParams::voices = 1

Number of voices (1-N for unison)

◆ pan

float VoicedOscillatorParams::pan = 0.0f

Stereo pan position (-1.0 = left, 0.0 = center, 1.0 = right)

◆ spread

float VoicedOscillatorParams::spread = 0.0f

Stereo spread amount (0.0 = mono, 1.0 = full stereo)

◆ detune

float VoicedOscillatorParams::detune = 0.0f

Detune amount between voices (in semitones or cents)

◆ gain

float VoicedOscillatorParams::gain = 1.0f

Overall gain/volume (0.0 to 1.0+)


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