Skip to main content

Audio

Wandb class for audio clips.

Audio(
data_or_path, sample_rate=None, caption=None
)
Args
data_or_path(string or numpy array) A path to an audio file or a numpy array of audio data.
sample_rate(int) Sample rate, required when passing in raw numpy array of audio data.
caption(string) Caption to display with audio.

Methodsโ€‹

durationsโ€‹

View source

@classmethod
durations(
audio_list
)

resolve_refโ€‹

View source

resolve_ref()

sample_ratesโ€‹

View source

@classmethod
sample_rates(
audio_list
)
Was this page helpful?๐Ÿ‘๐Ÿ‘Ž