    

 ## On this page

  

 

 # sound:compute roughness

 Last update: 31.07.2026 

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

InputNameExpected type(s)Description**Pin 0**   
Requiredinput\_signal[`field`](../../core-concepts/dpf-types.md#field)Input signal in Pa on which to compute roughness.## Outputs

OutputNameExpected type(s)Description**Pin 0**overall\_roughness[`double`](../../core-concepts/dpf-types.md#standard-types)Overall roughness in asper.**Pin 1**specific\_roughness[`field`](../../core-concepts/dpf-types.md#field)Specific roughness in asper/Bark, that is, the roughness values over Bark band indexes.**Pin 2**roughness\_over\_time[`field`](../../core-concepts/dpf-types.md#field)Roughness over time in asper.## 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\_roughness

**License**: avrxp\_snd\_level1

## Changelog

- Version 0.0.0: Initial release.