> ## 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:compute tonality ECMA-418-2

**Version: 0.0.0**

## Description

Compute the psychoacoustic tonality of a signal according to the ECMA-418-2 standard (Hearing Model of Sottek). This standard is also know as ECMA74 Annex G.

## Inputs

| Input | Name | Expected type(s) | Description |
| - | - | - | - |
| **Pin 0** Required | input\_signal | [`field`](https://developer.synopsys.com/docs/dpf/dpf-framework/core-concepts/dpf-types#field) | Input signal in Pa on which to compute the ECMA-418-2 psychoacoustic tonality. |
| **Pin 1** | field\_type | [`string`](https://developer.synopsys.com/docs/dpf/dpf-framework/core-concepts/dpf-types#standard-types) | Field type associated with the recording conditions (supported values: 'Free', 'Diffuse'). Default: 'Free'. |
| **Pin 2** | edition | [`int32`](https://developer.synopsys.com/docs/dpf/dpf-framework/core-concepts/dpf-types#standard-types) | Identifier of the standard edition (supported values: 1, for 1st edition, 2020, and 3, for 3rd edition, 2024). Default: 1 |

## Outputs

| Output | Name | Expected type(s) | Description |
| - | - | - | - |
| **Pin 0** | tonality | [`double`](https://developer.synopsys.com/docs/dpf/dpf-framework/core-concepts/dpf-types#standard-types) | Psychoacoustic tonality in tuHMS. |
| **Pin 1** | tonality\_over\_time | [`field`](https://developer.synopsys.com/docs/dpf/dpf-framework/core-concepts/dpf-types#field) | Psychoacoustic tonality over time in tuHMS. |
| **Pin 2** | tone\_frequency\_over\_time | [`field`](https://developer.synopsys.com/docs/dpf/dpf-framework/core-concepts/dpf-types#field) | Frequency of the most prominent tone over time, in Hz. |

## 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**: compute\_tonality\_ecma418\_2

**License**: avrxp\_snd\_level1

## Changelog

* Version 0.0.0: Initial release.
