audiofileΒΆ

Read, write, and get information about audio files.

read

Read audio file.

write

Write (normalized) audio files.

bit_depth

Bit depth of audio file.

channels

Number of channels in audio file.

duration

Duration in seconds of audio file.

has_video

If file contains video.

samples

Number of samples in audio file.

sampling_rate

Sampling rate of audio file.

convert_to_wav

Convert any audio/video file to WAV.