Resample#

class ansys.sound.core.signal_utilities.Resample(signal=None, new_sampling_frequency=44100.0)#

Resample a signal.

Methods

Resample.convert_fields_container_to_np_array(fc)

Convert a DPF fields container to a NumPy array.

Resample.get_output()

Get the resampled signal as a DPF fields container.

Resample.get_output_as_nparray()

Get the resampled signal as a NumPy array.

Resample.plot()

Plot the resulting signals in a single figure.

Resample.process()

Resample the signal.

Attributes

Resample.new_sampling_frequency

Get the new sampling frequency.

Resample.signal

Signal.