Resample Class Reference
[ProcessingBasic Processing]

resamples all observations using a piecewise cubic bezier polynomial for interpolation between samples More...

#include <Resample.h>

Inherits Marsyas::MarSystem.


Public Member Functions

 Resample (std::string name)


Detailed Description

resamples all observations using a piecewise cubic bezier polynomial for interpolation between samples

Normally this Marsystem expects as input samples witch are to be interpolated. Multiple observations will be interpolated independently.

Controls: mrs_bool ctrl_tangentMode - false: (default)tangent at interpolation point is derived from the previous and immediately following sample; true: tangents at each interpolation point are parallel to the axis along the indices of the samples which alows for smooth transition at frame endings, maximum amplitude will be limited to the maximum prior to interpolation mrs_bool ctrl_samplingRateAdjustmentMode - adjust new resulting SamplingRate for following Marsystems mrs_real stretch - desired stretch ratio (number of output samples = input number of samples*stretch) mrs_real offStart - (default:0) offset from the start (towards the end) of the Samples (if only a part of the samples should be used to interpolate) mrs_real offEnd - (default:0) offset from the end (towards the start) of the Samples (if only a part of the samples should be used to interpolate)

Definition at line 54 of file Resample.h.


Constructor & Destructor Documentation

Resample ( std::string  name  ) 

Marsystem for resampling the audio Samplingrate

Definition at line 33 of file Resample.cpp.


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

Generated on Wed May 23 00:02:23 2012 for Marsyas by  doxygen 1.5.6