frames * channelsYou can instantiate an audio object using the
mlop.Audio constructor.
| Parameter | Type | Description |
|---|---|---|
data | Union[str, np.ndarray] | The audio data to log. Can be a path to an audio file or a NumPy array. |
rate | int | The sample rate of the audio data. Defaults to 48000. |
caption | str | A caption for the audio. |