LoudnessISO532_1_TimeVarying#
- class ansys.sound.core.psychoacoustics.LoudnessISO532_1_TimeVarying(signal=None, field_type='Free')#
Computes ISO 532-1:2017 loudness for time-varying sounds.
This class computes the loudness of a signal according to the ISO 532-1:2017 standard, corresponding to the “Zwicker method”, for time-varying sounds.
See also
Examples
Compute the percentile loudness of a time-varying signal in free field, and display its loudness over time.
>>> from ansys.sound.core.psychoacoustics import LoudnessISO532_1_TimeVarying >>> loudness = LoudnessISO532_1_TimeVarying(signal=my_signal, field_type="Free") >>> loudness.process() >>> N5 = loudness.get_N5_sone() >>> N10 = loudness.get_N10_sone() >>> L5 = loudness.get_L5_phon() >>> L10 = loudness.get_L10_phon() >>> loudness.plot()
See also
- Calculate psychoacoustic indicators
Example demonstrating how to compute various psychoacoustic indicators.
Class instantiation takes the following parameters.
- Parameters:
Methods
Get the L10 percentile loudness level.
Get the L5 percentile loudness level.
Get the maximum instantaneous loudness level in phon.
Get the N10 percentile loudness.
Get the N5 percentile loudness.
Get the maximum instantaneous loudness in sone.
LoudnessISO532_1_TimeVarying.get_loudness_level_phon_vs_time()Get the instantaneous loudness level in phon.
Get the instantaneous loudness in sone.
Get time-varying loudness data.
Get time-varying loudness data in a tuple of NumPy arrays.
Get the time scale of the instantaneous loudness and loudness level.
Plot the instantaneous loudness, in sone, and loudness level, in phon.
Compute the time-varying ISO532-1 loudness.
Attributes
Sound field type.
Input signal in Pa.