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

Roughness.convert_fields_container_to_np_array(fc)

Convert a DPF fields container to a NumPy array.

Roughness.get_bark_band_frequencies()

Get Bark band frequencies.

Roughness.get_bark_band_indexes()

Get Bark band indexes.

Roughness.get_output()

Get roughness data in a tuple as a PDF fields container or field.

Roughness.get_output_as_nparray()

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.

Roughness.plot()

Plot the specific roughness.

Roughness.process()

Compute the roughness.

Attributes

Roughness.signal

Signal.