Examples#

These examples show how to use PyAnsys Sound for various workflows.

Initialize PyAnsys Sound and check out the license

Initialize PyAnsys Sound and check out the license

Basic operations on a signal from a WAV file

Basic operations on a signal from a WAV file

Spectrogram: compute the STFT and ISTFT

Spectrogram: compute the STFT and ISTFT

Isolate orders

Isolate orders

Extract tonal, transient, and noise components (Xtract)

Extract tonal, transient, and noise components (Xtract)

Calculate TNR and PR

Calculate TNR and PR

Calculate psychoacoustic indicators

Calculate psychoacoustic indicators

Calculate RMS, dBSPL and dBA levels

Calculate RMS, dBSPL and dBA levels

Calculate tonality indicators

Calculate tonality indicators

Use an existing Sound Composer project file

Use an existing Sound Composer project file

Create a Sound Composer project

Create a Sound Composer project

Predict listening test ratings

Predict listening test ratings

Octave and one-third-octave levels computation

Octave and one-third-octave levels computation

Gallery generated by Sphinx-Gallery