WriteWav#

class ansys.sound.core.signal_utilities.WriteWav(signal=None, path_to_write='', bit_depth='float32')#

Write a signal to a WAV file.

Methods

WriteWav.convert_fields_container_to_np_array(fc)

Convert a DPF fields container to a NumPy array.

WriteWav.get_output()

Get output.

WriteWav.get_output_as_nparray()

Get output as a NumPy array.

WriteWav.plot()

Plot the output.

WriteWav.process()

Write the signal to a WAV file.

Attributes

WriteWav.bit_depth

Bit depth.

WriteWav.path_to_write

Path to write the the WAV file to.

WriteWav.signal

Signal.