SharpnessDIN45692#
- class ansys.sound.core.psychoacoustics.SharpnessDIN45692(signal=None, field_type='Free')#
Computes the sharpness of a signal according to the DIN 45692 standard.
Note
The calculation of this indicator is based on the specific loudness result from the loudness model for stationary sounds defined in the ISO 532-1 standard. This is the same loudness model used in the
LoudnessISO532_1_Stationaryclass.Examples
Compute the sharpness of a signal according to the DIN 45692 standard.
>>> from ansys.sound.core.psychoacoustics import SharpnessDIN45692 >>> sharpness = SharpnessDIN45692(signal=my_signal) >>> sharpness.process() >>> sharpness_value = sharpness.get_sharpness()
See also
- Calculate psychoacoustic indicators
Example demonstrating how to compute various psychoacoustic indicators.
Class instantiation takes the following parameters.
- Parameters:
Methods
Get the DIN 45692 sharpness.
Get the DIN 45692 sharpness as a NumPy array.
Get the DIN 45692 sharpness.
Plot the output.
Compute the DIN 45692 sharpness.
Attributes
Sound field type.
Input signal in Pa.