TSignalVariableRateConverter::RateVector Property

__declspec(property(get = GetRateVector, put = SetRateVector)) TVec*RateVector;

Defines sample positions at which to resample the Input signal.

Read: TVec *GetRateVector();
Write: void SetRateVector(TVec *Value);
Remarks:

To increase the sampling frequency by 2x this vector would contain values: 0, 0.5, 1, 1.5, 2...

To decrease sampling frequency by 2x this vector would contain values: 0, 2, 4, 6, 8....

The sampling frequency can also vary from sample to sample: 0, 2, 4.5, 6.3, 8....

However, the maximum increase and maximum decrease factors have to be specified as parameters to MaxFactor and MinFactor properties. Attempting to sample the signal out of this range would cause aliasing in the signal.

Declared in Dew::Signal::TSignalVariableRateConverter · Dew.Signal/SignalProcessing.h · Cross-compiler