SynthLab SDK
SynthLab::PCMSampleOutput Struct Reference

Holds the audio output samples from reading a PCM sample file. More...

#include <synthbase.h>

Public Attributes

double audioOutput [STEREO_CHANNELS] = { 0.0, 0.0 }
 array of audio output samples
 
uint32_t numActiveChannels = 0
 number of active channels; not used in SynthLab but available
 

Detailed Description

Holds the audio output samples from reading a PCM sample file.

  • contains an audio output array of 2 slots for mono or stereo PCM samples
  • you can easily increase this by altering the static declaration here
  • the numActiveChannels is used for multi-channel operation
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: