Polybench® for biosignals / reference 1.34.1
Re-samples the input signal and puts out the signal with another sample frequency

Resampler

Overview

The Resampler changes the sampling frequency of a signal, by resampling it at a higher or lower frequency. Resampling is performed without interpolation.

You can connect any kind of signal to the Resampler.

Operator ports

Input S: Any sample type. The connection is not limited to one type of signal.

Output S_t: Any sample type. The connection is not limited to one type of signal.

Properties

Find more information about changing properties here: "Properties Viewer"

ResampleFrequency
type: Real value
Resample frequency (must be > 0). The maximum value depends on your computer (be careful)


Caption
type: Word or phrase
The name of the object in the project. This name must not contain '.', '$' nor '@' characters.

For more information about the rules and usage of the Caption property, please refer to "Caption property - background and usage".

Documentation
type: See description
Optional documentation of this object. If this object is an operator, the Documentation text is displayed below the operator symbol.

Variable Parameters

Find more information about Variable Parameters here: "Variable Parameters"

ResampleFrequency
type: See description
Resample frequency (must be > 0). The maximum value depends on your computer (be careful)

Details

If the resample frequency is greater than the input frequency, then the last sample is put out multiple times, in such a way that the input samples are spreaded over the new output signal statistically equally.

If the resample frequency is less than the input frequency, then samples are left out of the input signal, in such a way that the input samples are spread over the new output signal statistically equally.

The Resampler in effect produces a new signal and is therefore interpreted as signal source by Polybench. This means that if you require the resampled signal to mix with another signal that has not been resampled by the same Resampler, that the signals then need to be synchronized by a Synchronizer operator (see "Synchronizer").

Please note that if you change the resample frequency in the properties, that this value is only updated at the output if the system is running.