    

 ## On this page

  

 

 # sound:create a sound field

 Last update: 31.07.2026 

**Version: 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

InputNameExpected type(s)Description**Pin 0**   
Requiredin\_data\_vector[`vector<double>`](../../core-concepts/dpf-types.md#standard-types)Vector containing the signal's samples as double values. The first sample corresponds to time t = 0 s.**Pin 1**   
Requiredin\_sampling\_frequency[`double`](../../core-concepts/dpf-types.md#standard-types)Sampling frequency of the signal in Hz.**Pin 2**   
Requiredin\_unit[`string`](../../core-concepts/dpf-types.md#standard-types)Unit of the signal.## Outputs

OutputNameExpected type(s)Description**Pin 0**out\_field[`field`](../../core-concepts/dpf-types.md#field)Signal as a DPF field, in the format expected by DPF Sound for a signal.## Configurations

NameExpected type(s)Default valueDescription**mutex**[`bool`](../../core-concepts/dpf-types.md#standard-types)falseIf 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.