Audio
less than a minute
Wandb class for audio clips.
Audio(
data_or_path: Union[str, pathlib.Path, list, 'np.ndarray'],
sample_rate: Optional[int] = None,
caption: Optional[str] = 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
@classmethod
durations(
audio_list
)
resolve_ref
resolve_ref()
sample_rates
@classmethod
sample_rates(
audio_list
)
Feedback
Was this page helpful?
Glad to hear it! If you have more to say, please let us know.
Sorry to hear that. Please tell us how we can improve.