View the source code
| Args | Description |
|---|---|
data_or_path | (string または numpy array) オーディオファイルへのパス、またはオーディオデータの numpy 配列。 |
sample_rate | (int) サンプルレート、生の numpy 配列のオーディオデータを渡す場合に必要。 |
caption | (string) オーディオと一緒に表示するキャプション。 |
Audio(
data_or_path, sample_rate=None, caption=None
)
| Args | Description |
|---|---|
data_or_path | (string または numpy array) オーディオファイルへのパス、またはオーディオデータの numpy 配列。 |
sample_rate | (int) サンプルレート、生の numpy 配列のオーディオデータを渡す場合に必要。 |
caption | (string) オーディオと一緒に表示するキャプション。 |
durations@classmethod
durations(
audio_list
)
resolve_refresolve_ref()
sample_rates@classmethod
sample_rates(
audio_list
)