Signal Resampling

Summary

Doc_BoxAlgorithm_SignalResampling.png
  • Plugin name : Signal Resampling
  • Version : 2.0
  • Author : Quentin Barthelemy
  • Company : Mensia Technologies SA
  • Short description : Resamples and re-epochs input signal to chosen sampling frequency
  • Documentation template generation date : Nov 2 2017

Description

The input signal is resampled, down-sampled or up-sampled, at a chosen sampling frequency and then re-epoched.

This plugin can apply a downsampling or an upsampling, to/from any sampling frequency, including non-integer sampling rate conversion. The signal is low-pass filtered with a FIR filter to avoid spectral aliasing, using a sinc function-based fractional delay filter bank.

If the sampling rate is badly conditioned, this plugin can induce latency.

Inputs

1. Input signal

An input multichannel signal $ X \in \mathbb{R}^{C \times N_1} $, composed of $ C $ channels and $ N_1 $ temporal samples, at the sampling frequency $ F_1 $.

  • Type identifier : Signal (0x5ba36127, 0x195feae1)

Outputs

1. Output signal

An output multichannel signal $ Y \in \mathbb{R}^{C \times N_2} $, composed of $ C $ channels and $ N_2 $ temporal samples, at the sampling frequency $ F_2 $.

  • Type identifier : Signal (0x5ba36127, 0x195feae1)

Settings

1. New Sampling Frequency

New sampling frequency $ F_2 > 0 $. No processing is applied if $ F_2 = F_1 $.

  • Type identifier : Integer (0x007deef9, 0x2f3e95c6)
  • Default value : [ 128 ]

2. Sample Count Per Buffer

Number of temporal samples $ N_2 > 0 $ per resampled buffer.

  • Type identifier : Integer (0x007deef9, 0x2f3e95c6)
  • Default value : [ 8 ]

3. Low Pass Filter Signal Before Downsampling

Low-pass filtering activation, to avoid spectral aliasing.

  • Type identifier : Boolean (0x2cdb2f0b, 0x12f231ea)
  • Default value : [ true ]

Examples

Miscellaneous