Documentation
Search…
wandb.data_types.Audio
Wandb class for audio clips.
1
Audio(
2
data_or_path, sample_rate=None, caption=None
3
)
Copied!
Arguments
Text
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

1
@classmethod
2
durations(
3
audio_list
4
)
Copied!

path_is_reference

1
@classmethod
2
path_is_reference(
3
path
4
)
Copied!

resolve_ref

1
resolve_ref()
Copied!

sample_rates

1
@classmethod
2
sample_rates(
3
audio_list
4
)
Copied!