> ## 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 ISO/TS 20065

**Version: 0.0.0**

## Description

Computes tonality according to the ISO/TS 20065:2022 standard

## 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 tonality ISO/TS 20065:2022. |
| **Pin 1** | window\_length | [`double`](https://developer.synopsys.com/docs/dpf/dpf-framework/core-concepts/dpf-types#standard-types) | Analysis window length in s. Default: 3. |
| **Pin 2** | overlap | [`double`](https://developer.synopsys.com/docs/dpf/dpf-framework/core-concepts/dpf-types#standard-types) | Percentage in % of each analysis window that overlaps with the next. Default: 0 %. |

## Outputs

| Output | Name | Expected type(s) | Description |
| - | - | - | - |
| **Pin 0** | output\_mean\_audibility\_dl | [`double`](https://developer.synopsys.com/docs/dpf/dpf-framework/core-concepts/dpf-types#standard-types) | Tonality (mean audibility DL) in dB. |
| **Pin 1** | output\_mean\_audibility\_uncertainty | [`double`](https://developer.synopsys.com/docs/dpf/dpf-framework/core-concepts/dpf-types#standard-types) | Tonality's uncertainty in dB. |
| **Pin 2** | output\_decisive\_audibility\_over\_time | [`field`](https://developer.synopsys.com/docs/dpf/dpf-framework/core-concepts/dpf-types#field) | Tonality over time (decisive audibility over time DLj) in dB. |
| **Pin 3** | output\_decisive\_audibility\_uncertainty\_over\_time | [`field`](https://developer.synopsys.com/docs/dpf/dpf-framework/core-concepts/dpf-types#field) | Tonality's uncertainty over time in dB. |
| **Pin 4** | output\_decisive\_frequency\_over\_time | [`field`](https://developer.synopsys.com/docs/dpf/dpf-framework/core-concepts/dpf-types#field) | Decisive frequency over time in Hz. |
| **Pin 5** | output\_calculation\_details | [`any_collection`](https://developer.synopsys.com/docs/dpf/dpf-framework/core-concepts/dpf-types#any-collection) | ISO/TS 20065:2022 calculation details. This data container contains a collection of the computation details for each analyzed spectrum. |
| For each spectrum, stored details is organized in fields, where each field corresponds to one of the following output parameters, and provides its values for all detected tones: | | | |

* **audibility**: Decisive audibilities DLj in dB
* **uncertainties**: Uncertainty in dB
* **frequencies**: Decisive frequency in Hz
* **types**: Tone type ('' for individual tones, or '**FG**' for groups of tones)
* **critical\_band\_lower\_limits**: Critical band lower limit, in Hz
* **critical\_band\_upper\_limits**: Critical band upper limit, in Hz
* **mean\_narrowband\_masking\_noise\_levels**: Mean narrow-band masking noise level Ls, in dBA
* **tone\_levels**: Tone level Lt, in dBA
* **masking\_noise\_levels**: Masking noise level Lg, in dBA
* **masking\_indices**: Masking index av, in dB |

## 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\_isots\_20065

**License**: avrxp\_snd\_level1

## Changelog

* Version 0.0.0: Initial release.
