TonalityAures#
- class ansys.sound.core.psychoacoustics.TonalityAures(signal=None, overlap=90.0, account_for_w1=False, w1_threshold=3.0)#
Computes the tonality of the signal according to Aures model.
References
W. Aures, “Procedure for calculating the sensory pleasantness of various sounds”, Acustica 59(2), pp. 130-141, December 1985.
E. Terhardt, G. Stoll, M. Seewann, “Algorithm for extraction of pitch and pitch salience from complex tonal signals”, J. Acoust. Soc. Am. 71(3), pp. 679-688, March 1982.
Class instantiation takes the following parameters.
- Parameters:
- signal
Field
, default:None
Signal in Pa on which to compute Aures tonality.
- overlap
float
, default: 90.0 Overlap in % between two successive windows.
- account_for_w1bool, default:
False
Specifies whether bandwidth weighting w1 should be taken into account or not.
- w1_threshold
float
, default: 3.0 Threshold for bandwidth weighting. Ignored when
account_for_w1
is set to False.- For more information about the parameters, please refer to the Ansys Sound SAS user guide.
- signal
Methods
Convert a DPF fields container to a NumPy array.
Get the relative loudness weighting wGr over time.
Get Aures' tonality data.
Get the Aures tonality data as NumPy arrays.
Get the time scale.
Get the tonal component weighting wT over time.
Get the overall Aures tonality in tu.
Get the Aures tonality over time.
Plot the tonality over time.
Compute the Aures tonality.
Attributes
Specifies whether bandwidth weighting w1 should be taken into account or not.
Overlap in % between two successive windows.
Input signal in Pa.
Threshold in dB for the bandwidth weighting w1.