Functions
tEnvPD

ENV~ from PD, modified for LEAF. More...

Functions

void tEnvPD_init (tEnvPD *const, int windowSize, int hopSize, int blockSize, LEAF *const leaf)
 Initialize a tEnvPD to the default mempool of a LEAF instance. More...
 
void tEnvPD_initToPool (tEnvPD *const, int windowSize, int hopSize, int blockSize, tMempool *const)
 Initialize a tEnvPD to a specified mempool. More...
 
void tEnvPD_free (tEnvPD *const)
 Free a tEnvPD from its mempool. More...
 
float tEnvPD_tick (tEnvPD *const)
 
void tEnvPD_processBlock (tEnvPD *const, float *in)
 

Detailed Description

ENV~ from PD, modified for LEAF.

Function Documentation

◆ tEnvPD_init()

void tEnvPD_init ( tEnvPD * const  ,
int  windowSize,
int  hopSize,
int  blockSize,
LEAF *const  leaf 
)

Initialize a tEnvPD to the default mempool of a LEAF instance.

Parameters
envA pointer to the tEnvPD to initialize.
windowSize
hopSize
blockSize
leafA pointer to the leaf instance.

◆ tEnvPD_initToPool()

void tEnvPD_initToPool ( tEnvPD * const  ,
int  windowSize,
int  hopSize,
int  blockSize,
tMempool * const   
)

Initialize a tEnvPD to a specified mempool.

Parameters
envA pointer to the tEnvPD to initialize.
windowSize
hopSize
blockSize
mempoolA pointer to the tMempool to use.

◆ tEnvPD_free()

void tEnvPD_free ( tEnvPD * const  )

Free a tEnvPD from its mempool.

Parameters
envA pointer to the tEnvPD to free.

◆ tEnvPD_tick()

float tEnvPD_tick ( tEnvPD * const  )
Parameters
env

◆ tEnvPD_processBlock()

void tEnvPD_processBlock ( tEnvPD * const  ,
float *  in 
)
Parameters
env
inputBlock