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

Custom structure that holds information about each FFT bin. This includes all information needed to perform pitch shifting and time stretching with phase locking (optional) and peak tracking (optional). More...

#include <fxobjects.h>

Public Member Functions

BinDataoperator= (const BinData &params)
 
void reset ()
 

Public Attributes

bool isPeak = false
 flag for peak bins
 
double magnitude = 0.0
 bin magnitude angle
 
double phi = 0.0
 bin phase angle
 
double psi = 0.0
 bin phase correction
 
unsigned int localPeakBin = 0
 index of peak-boss
 
int previousPeakBin = -1
 index of peak bin in previous FFT
 
double updatedPhase = 0.0
 phase update value
 

Detailed Description

Custom structure that holds information about each FFT bin. This includes all information needed to perform pitch shifting and time stretching with phase locking (optional) and peak tracking (optional).

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=()

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

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

◆ reset()

void BinData::reset ( )
inline

reset all variables to 0.0


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