Sharpness#
- class ansys.sound.core.psychoacoustics.Sharpness(signal=None)#
Computes the sharpness of a signal according to Zwicker & Fastl’s model.
Class instantiation takes the following parameters.
- Parameters:
- signal
Field
|FieldsContainer
Signal in Pa to compute sharpness on as a DPF field or fields container.
- signal
Methods
Convert a DPF fields container to a NumPy array.
Get the sharpness in a tuple of a DPF fields container or field.
Get the sharpness as a NumPy array.
Sharpness.get_sharpness
([channel_index])Get the sharpness as a float value.
Plot the output.
Compute the sharpness.
Attributes
Input sound signal in Pa as a DPF field or fields container.