ASPiK SDK
Loading...
Searching...
No Matches
AudioDetectorParameters Struct Reference

Custom parameter structure for the AudioDetector object. NOTE: this object uses constant defintions: More...

#include <fxobjects.h>

Public Member Functions

AudioDetectorParametersoperator= (const AudioDetectorParameters &params)
 

Public Attributes

double attackTime_mSec = 0.0
 attack time in milliseconds
 
double releaseTime_mSec = 0.0
 release time in milliseconds
 
unsigned int detectMode = 0
 detect mode, see TLD_ constants above
 
bool detect_dB = false
 detect in dB DEFAULT = false (linear NOT log)
 
bool clampToUnityMax = true
 clamp output to 1.0 (set false for true log detectors)
 

Detailed Description

Custom parameter structure for the AudioDetector object. NOTE: this object uses constant defintions:

  • const unsigned int TLD_AUDIO_DETECT_MODE_PEAK = 0;
  • const unsigned int TLD_AUDIO_DETECT_MODE_MS = 1;
  • const unsigned int TLD_AUDIO_DETECT_MODE_RMS = 2;
  • const double TLD_AUDIO_ENVELOPE_ANALOG_TC = -0.99967234081320612357829304641019; // ln(36.7%)
Author
Will Pirkle http://www.willpirkle.com
Remarks
This object is included in Designing Audio Effects Plugins in C++ 2nd Ed. by Will Pirkle
Version
Revision : 1.0
Date
Date : 2018 / 09 / 7

Member Function Documentation

◆ operator=()

AudioDetectorParameters & AudioDetectorParameters::operator= ( const AudioDetectorParameters params)
inline

all FXObjects parameter objects require overloaded= operator so remember to add new entries if you add new variables.


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