sound:create a sound field
Last update: 31.07.2026Version: 0.0.0
Description
Create a DPF field from a vector of samples. This field can then be used as a 'signal' by the DPF Sound operators.
Inputs
| Input | Name | Expected type(s) | Description |
|---|---|---|---|
| Pin 0 Required |
in_data_vector | vector<double> |
Vector containing the signal's samples as double values. The first sample corresponds to time t = 0 s. |
| Pin 1 Required |
in_sampling_frequency | double |
Sampling frequency of the signal in Hz. |
| Pin 2 Required |
in_unit | string |
Unit of the signal. |
Outputs
| Output | Name | Expected type(s) | Description |
|---|---|---|---|
| Pin 0 | out_field | field |
Signal as a DPF field, in the format expected by DPF Sound for a signal. |
Configurations
| Name | Expected type(s) | Default value | Description |
|---|---|---|---|
| mutex | bool |
false | If 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: create_field_from_vector
License: avrxp_snd_level1
Changelog
- Version 0.0.0: Initial release.