LoadWav#
- class ansys.sound.core.signal_utilities.LoadWav(path_to_wav='')#
Loads a signal from a WAV file.
Class instantiation takes the following parameters.
- Parameters:
- path_to_wav
str
, default: “” Path to the WAV file to load. The path can be set during the instantiation of the object or with the
LoadWav.set_path()
method.
- path_to_wav
Methods
Convert a DPF fields container to a NumPy array.
Get the signal loaded from the WAV file as a DPF fields container.
Get the signal loaded from the WAV file as a NumPy array.
Plot the resulting signals in a single figure.
Load the WAV file.
Attributes
Path to the WAV file.