Skip to main content

sound:resample

Version: 0.0.0

Description

Resample a signal to a target sampling frequency.

Inputs

InputNameExpected type(s)Description
Pin 0
Required
signal_to_resamplefields_container, fieldInput signal(s) to resample, as a fields_container. Each signal (stored as a field) is resampled.
Pin 1
Required
target_fsdoubleTarget sampling frequency, in Hz.

Outputs

OutputNameExpected type(s)Description
Pin 0resampled_signalfields_container, fieldResampled signal(s), whose sampling frequency is target_fs. The type of the output will be the same as the input on pin 0. For example, a Field as an input will result in a Field for the output.

Configurations

NameExpected type(s)Default valueDescription
mutexboolfalseIf this option is set to true, the shared memory is prevented from being simultaneously accessed by multiple threads.

Scripting

Category: sound

Plugin: sound

Scripting name: None

Full name: None

Internal name: resample

License: avrxp_snd_level1

Changelog

  • Version 0.0.0: Initial release.