Roughness#
- class ansys.sound.core.psychoacoustics.Roughness(signal=None)#
Computes the roughness for stationary sounds.
Reference: Daniel and Weber, “Psychoacoustical roughness: implementation of an optimized model.” Acta Acustica united with Acustica, 83, pp. 113-123 (1997).
Methods
Convert a DPF fields container to a NumPy array.
Get Bark band frequencies.
Get Bark band indexes.
Get roughness data in a tuple as a PDF fields container or field.
Get roughness data in a tuple as a NumPy array.
Roughness.get_roughness
([channel_index])Get the roughness in asper for a signal.
Roughness.get_specific_roughness
([channel_index])Get the specific roughness for a signal.
Plot the specific roughness.
Compute the roughness.
Attributes
Signal.