TimeStretchEngine Class Reference

#include <timestretchengine.h>


Public Member Functions

 TimeStretchEngine (double scale, int sample_rate)
 ~TimeStretchEngine ()
void overlay (double *out, double *in, int size, int skirt)
int process (double *in_buffer, int in_size)
double * get_samples ()
void read_output (double *buffer, int size)

Private Attributes

int window_time
int sample_rate
int window_size
int window_skirt
double * output
int output_allocation
int output_size
int64_t output_sample
double * input
int input_allocation
int input_size
int64_t input_sample
double scale


Detailed Description

Definition at line 8 of file timestretchengine.h.


Constructor & Destructor Documentation

TimeStretchEngine::TimeStretchEngine ( double  scale,
int  sample_rate 
)

TimeStretchEngine::~TimeStretchEngine (  ) 

Definition at line 28 of file timestretchengine.C.

References input, and output.


Member Function Documentation

void TimeStretchEngine::overlay ( double *  out,
double *  in,
int  size,
int  skirt 
)

Definition at line 34 of file timestretchengine.C.

Referenced by process().

int TimeStretchEngine::process ( double *  in_buffer,
int  in_size 
)

Definition at line 57 of file timestretchengine.C.

References input, input_allocation, input_sample, input_size, memcpy, output, output_allocation, output_sample, output_size, overlay(), scale, window_size, and window_skirt.

Here is the call graph for this function:

double * TimeStretchEngine::get_samples (  ) 

Definition at line 145 of file timestretchengine.C.

References output.

void TimeStretchEngine::read_output ( double *  buffer,
int  size 
)

Definition at line 137 of file timestretchengine.C.

References memcpy, output, output_sample, output_size, and window_skirt.


Field Documentation

Definition at line 25 of file timestretchengine.h.

Referenced by TimeStretchEngine().

Definition at line 26 of file timestretchengine.h.

Definition at line 27 of file timestretchengine.h.

Referenced by process(), and TimeStretchEngine().

Definition at line 29 of file timestretchengine.h.

Referenced by process(), read_output(), and TimeStretchEngine().

double* TimeStretchEngine::output [private]

Definition at line 31 of file timestretchengine.h.

Referenced by process(), and TimeStretchEngine().

Definition at line 32 of file timestretchengine.h.

Referenced by process(), read_output(), and TimeStretchEngine().

Definition at line 34 of file timestretchengine.h.

Referenced by process(), read_output(), and TimeStretchEngine().

double* TimeStretchEngine::input [private]

Definition at line 35 of file timestretchengine.h.

Referenced by process(), TimeStretchEngine(), and ~TimeStretchEngine().

Definition at line 36 of file timestretchengine.h.

Referenced by process(), and TimeStretchEngine().

Definition at line 37 of file timestretchengine.h.

Referenced by process(), and TimeStretchEngine().

Definition at line 39 of file timestretchengine.h.

Referenced by process(), and TimeStretchEngine().

double TimeStretchEngine::scale [private]

Definition at line 40 of file timestretchengine.h.

Referenced by process().


The documentation for this class was generated from the following files:

Generated on Mon Apr 28 14:46:06 2008 for Cinelerra by  doxygen 1.5.5