SynthLab SDK
SynthLab::XFadeData Struct Reference

Data about a crossfade operation. More...

#include <synthstructures.h>

Public Attributes

double linearGain [2] = { 0.0, 0.0 }
 linear coefficients
 
double constPwrGain [2] = { 0.0, 0.0 }
 constant power coefficients
 
double squareLawGain [2] = { 0.0, 0.0 }
 square law coefficients
 
bool crossfadeFinished = false
 crossfade is done
 

Detailed Description

Data about a crossfade operation.

  • includes gain coefficients for linear, constant power and square law
  • note the crossfade done flag, that lets caller know when crossfade is completed
Author
Will Pirkle http://www.willpirkle.com
Remarks
This object is included in Designing Software Synthesizer Plugins in C++ 2nd Ed. by Will Pirkle
Version
Revision : 1.0
Date
Date : 2021 / 05 / 02

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