    

 ## On this page

  

 

 # sound:compute tonality ECMA-418-2

 Last update: 31.07.2026 

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

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

OutputNameExpected type(s)Description**Pin 0**tonality[`double`](../../core-concepts/dpf-types.md#standard-types)Psychoacoustic tonality in tuHMS.**Pin 1**tonality\_over\_time[`field`](../../core-concepts/dpf-types.md#field)Psychoacoustic tonality over time in tuHMS.**Pin 2**tone\_frequency\_over\_time[`field`](../../core-concepts/dpf-types.md#field)Frequency of the most prominent tone over time, in Hz.## 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**: compute\_tonality\_ecma418\_2

**License**: avrxp\_snd\_level1

## Changelog

- Version 0.0.0: Initial release.