Documentation
Search…
English
Weights & Biases
Quickstart
Examples
Guides
Reference
Command Line Interface
Python Library
Data Types
wandb.data_types.Audio
wandb.data_types.BoundingBoxes2D
wandb.data_types.Graph
wandb.data_types.Histogram
wandb.data_types.Html
wandb.data_types.Image
wandb.data_types.ImageMask
wandb.data_types.Molecule
wandb.data_types.Object3D
wandb.data_types.Plotly
wandb.data_types.Table
wandb.data_types.Video
Integrations
Import & Export API
wandb.Artifact
wandb.Run
wandb.agent
wandb.config
wandb.controller
wandb.finish
wandb.init
wandb.log
wandb.save
wandb.summary
wandb.sweep
wandb.watch
Weave
App UI
Java Library
About Us
Homepage
Powered By
GitBook
wandb.data_types.Audio
View source on GitHub
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
View source
1
@classmethod
2
durations
(
3
audio_list
4
)
Copied!
path_is_reference
View source
1
@classmethod
2
path_is_reference
(
3
path
4
)
Copied!
resolve_ref
View source
1
resolve_ref
()
Copied!
sample_rates
View source
1
@classmethod
2
sample_rates
(
3
audio_list
4
)
Copied!
Previous
Data Types
Next
wandb.data_types.BoundingBoxes2D
Last modified
1mo ago
Copy link
Contents
Methods
durations
path_is_reference
resolve_ref
sample_rates