AudioLength

AudioLength[audio]

返回 Audio 对象 audio 中的样本数量.

更多信息

  • AudioLength 返回在 Audio 对象的每个通道中储存的实际样本数量.
  • 音频长度由样本数除以采样率计算得出.

范例

打开所有单元关闭所有单元

基本范例  (2)

Audio 对象的样本数:

音频文件的样本数量:

范围  (1)

单通道音频的采样数:

属性和关系  (1)

从采样数和采样率计算音频时长:

这与 Duration 的计算相同:

Wolfram Research (2016),AudioLength,Wolfram 语言函数,https://reference.wolfram.com/language/ref/AudioLength.html.

文本

Wolfram Research (2016),AudioLength,Wolfram 语言函数,https://reference.wolfram.com/language/ref/AudioLength.html.

CMS

Wolfram 语言. 2016. "AudioLength." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/ref/AudioLength.html.

APA

Wolfram 语言. (2016). AudioLength. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/ref/AudioLength.html 年

BibTeX

@misc{reference.wolfram_2024_audiolength, author="Wolfram Research", title="{AudioLength}", year="2016", howpublished="\url{https://reference.wolfram.com/language/ref/AudioLength.html}", note=[Accessed: 22-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_audiolength, organization={Wolfram Research}, title={AudioLength}, year={2016}, url={https://reference.wolfram.com/language/ref/AudioLength.html}, note=[Accessed: 22-November-2024 ]}