Skip to main content
Ctrl+K
PyAnsys Sound - Home

Site Navigation

  • Getting started
  • User guide
  • API reference
  • Examples
  • Contribute
  • GitHub

Site Navigation

  • Getting started
  • User guide
  • API reference
  • Examples
  • Contribute
  • GitHub

Section Navigation

  • Signal utilities
    • ApplyGain
    • CreateSoundField
    • CropSignal
    • LoadWav
      • convert_fields_container_to_np_array
      • get_output
      • get_output_as_nparray
      • plot
      • process
      • path_to_wav
    • Resample
    • SumSignals
    • WriteWav
    • ZeroPad
  • Spectrogram processing
  • Psychoacoustics
  • Xtract
  • Server helpers
  • PyAnsys
  • API reference
  • Signal utilities
  • LoadWav
  • get_output_as_nparray

get_output_as_nparray#

LoadWav.get_output_as_nparray()#

Get the signal loaded from the WAV file as a NumPy array.

Returns:
:
np.array

Signal loaded from the WAV file in a NumPy array.

Return type:

Union[Buffer, _SupportsArray[dtype[Any]], _NestedSequence[_SupportsArray[dtype[Any]]], bool, int, float, complex, str, bytes, _NestedSequence[Union[bool, int, float, complex, str, bytes]]]

On this page
  • LoadWav.get_output_as_nparray()
Show Source

© Copyright (c) 2024 ANSYS, Inc. All rights reserved.

Created using Sphinx 7.4.0.

Built with the Ansys Sphinx Theme 0.16.6.
Last updated on