Class wandb.Audio
W&B class for audio clips.
Args
str | pathlib.Path | list | np.ndarray
A path to an audio file or a NumPy array of audio data.
Sample rate, required when passing in raw NumPy array of audio data.
Caption to display with audio.
Methods
method Audio.durations()
Calculate the duration of the audio files.
Arguments
method Audio.sample_rates()
Get sample rates of the audio files.
Arguments