Skip to main content

sound:compute tonality ISO1996-2:2007 over time

Version: 0.0.0

Description

Compute the tonal audibility and tonal adjustment over time of a signal, where tonal audibility and tonal adjustment are defined in accordance with 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 over time.
Pin 1window_lengthdoubleAnalysis window length in ms. Default: 1000 ms.
Pin 2overlapdoublePercentage in % of each analysis window that overlaps with the next. Default: 75 %.
Pin 3noise_thresholddoubleNoise pause detection threshold (also referred to as level excess) in dB. Must be positive. Default: 1 dB.
Pin 4effective_analysis_bwdoubleEffective analysis bandwidth in Hz. Must be in the range ]0, 5]. Default: 5 Hz.
Pin 5noise_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 0tonality_over_timefieldTonal audibility over time, in dB.
Pin 1tonal_adjustement_over_timefieldTonal ajdustment Kt over time, in dB.
Pin 2calculation_detailsany_collectionISO 1996-2:2007 over time calculation details. These details are stored in a collection of ansys::dpf_sound::PsychoacousticIndicators_TonalityISO1996_2_OverTime_results.
Each element of the collection contains the computation details for a segment of the input signal.

For each segment, the computation details consists of the parameters that can be accessed, each as a double, using the following identifiers:

  • segment_start_time_s: start time of the segment under consideration, in s
  • segment_end_time_s: end time of the segment under consideration, in s
  • lower_critical_band_limit_Hz: lower critical band limit in Hz of the main detected tone or group of tones
  • higher_critical_band_limit_Hz: upper critical band limit in Hz of the main detected tone or group of tones
  • total_noise_level_dBA: total tone level in dBA in the identified critical band
  • total_tonal_level_dBA: total noise level in dBA in the identified critical band |

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_over_time

License: avrxp_snd_level1

Changelog

  • Version 0.0.0: Initial release.