> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# sound:sound composer - generate sound from spectrum source

**Version: 0.0.0**

## Description

Generate a sound from a spectrum (as a Field), given the duration and the method (IFFT or Hybrid) to use for the sound generation.

## Inputs

| Input | Name | Expected type(s) | Description |
| - | - | - | - |
| **Pin 0** Required | source\_spectrum | [`field`](https://developer.synopsys.com/docs/dpf/dpf-framework/core-concepts/dpf-types#field) | Spectrum, as a Field, from which the sound is generated. The expected unit of this spectrum is Pa^2/Hz. |
| **Pin 1** Required | duration | [`double`](https://developer.synopsys.com/docs/dpf/dpf-framework/core-concepts/dpf-types#standard-types) | Duration in seconds of the generated sound. |
| **Pin 2** Required | method | [`string`](https://developer.synopsys.com/docs/dpf/dpf-framework/core-concepts/dpf-types#standard-types) | Method to use for the sound generation. Supported input strings are: 'IFFT', 'Hybrid'. |
| **Pin 3** | sampling\_frequency | [`double`](https://developer.synopsys.com/docs/dpf/dpf-framework/core-concepts/dpf-types#standard-types) | (Optional) Sampling frequency in Hz of the generated sound. Default: 44100 Hz. |

## Outputs

| Output | Name | Expected type(s) | Description |
| - | - | - | - |
| **Pin 0** | generated\_sound | [`field`](https://developer.synopsys.com/docs/dpf/dpf-framework/core-concepts/dpf-types#field) | Generated sound, as a Field. |

## Configurations

| Name | Expected type(s) | Default value | Description |
| - | - | - | - |
| **mutex** | [`bool`](https://developer.synopsys.com/docs/dpf/dpf-framework/core-concepts/dpf-types#standard-types) | 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**: sound\_composer\_generate\_sound\_spectrum

**License**: avrxp\_snd\_level1

## Changelog

* Version 0.0.0: Initial release.
