> ## 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 roughness

**Version: 0.0.0**

## Description

Compute the roughness of a signal, based on the reference paper from Daniel and Weber, entitled 'Psychoacoustical roughness: implementation of an optimized model' (Acta Acustica united with Acustica, 83, 1997, pp. 113-123).

## Inputs

| Input | Name | Expected type(s) | Description |
| - | - | - | - |
| **Pin 0** Required | input\_signal | [`field`](https://developer.synopsys.com/docs/dpf/dpf-framework/2025-r2/core-concepts/dpf-types#field) | Input signal in Pa on which to compute roughness. |

## Outputs

| Output | Name | Expected type(s) | Description |
| - | - | - | - |
| **Pin 0** | overall\_roughness | [`double`](https://developer.synopsys.com/docs/dpf/dpf-framework/2025-r2/core-concepts/dpf-types#standard-types) | Overall roughness in asper. |
| **Pin 1** | specific\_roughness | [`field`](https://developer.synopsys.com/docs/dpf/dpf-framework/2025-r2/core-concepts/dpf-types#field) | Specific roughness in asper/Bark, that is, the roughness values over Bark band indexes. |
| **Pin 2** | roughness\_over\_time | [`field`](https://developer.synopsys.com/docs/dpf/dpf-framework/2025-r2/core-concepts/dpf-types#field) | Roughness over time in asper. |

## Configurations

| Name | Expected type(s) | Default value | Description |
| - | - | - | - |
| **mutex** | [`bool`](https://developer.synopsys.com/docs/dpf/dpf-framework/2025-r2/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\_roughness

**License**: avrxp\_snd\_level1

## Changelog

* Version 0.0.0: Initial release.
