Skip to main content

sound:compute tonality ISO 1996-2:2007

Version: 0.0.0

Description

Compute the tonal audibility and the tonal adjustment of a signal, according to annex C of the ISO 1996-2:2007 standard.

Inputs

InputNameExpected type(s)Description
Pin 0
Required
input_signalfieldInput signal in Pa on which to compute the ISO 1996-2:2007 tonality.
Pin 1noise_thresholddoubleNoise pause detection threshold (also referred to as level excess) in dB. Must be positive. Default: 1 dB.
Pin 2effective_analysis_bwdoubleEffective analysis bandwidth in Hz. Must be in the range ]0, 5]. Default: 5 Hz.
Pin 3noise_bandwidthdoubleNoise bandwidth, in proportion to the critical bandwidth, that is taken into account for the calculation of the masking noise level (the default value 0.75 means that the masking noise level is estimated in a band delimited by 75 % of the critical bandwidth on each side of the tone). Must be in the range [0.75, 2]. Default: 0.75.

Outputs

OutputNameExpected type(s)Description
Pin 0tonalitydoubleTonal audibility, in dB.
Pin 1tonal_adjustementdoubleTonal adjustment Kt, in dB.
Pin 2calculation_detailsdata_treeISO 1996-2:2007 calculation details. The DataTree elements can be accessed, each as a double, using the following identifiers:
  • Tonal audibility (dB)
  • Tonal adjustement (dB)
  • Lower critical band limit (Hz)
  • Higher critical band limit (Hz)
  • Total noise level (dBA)
  • Total tonal level (dBA) |

Configurations

NameExpected type(s)Default valueDescription
mutexboolfalseIf 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_iso1996_2

License: avrxp_snd_level1

Changelog

  • Version 0.0.0: Initial release.