如何从音频文件中获取振幅列表?(how do I get a list of amplitudes from a audio file? [closed])

如何使用linux命令行工具从音频文件中获取振幅列表?

how do I get a list of amplitudes from a audio file using a linux command line tool ?

最满意答案

您的意思是将所有单个样本作为文本获取吗? SoX可以做到这一点。

$ sox file.wav file.dat

将获取音频文件file.wav ,并生成一个文本文件file.dat其中包含时基列(以秒为单位),以及每个音频通道的列,该列按最大可能值进行缩放。

Do you mean getting all the individual samples as text? SoX can do that.

$ sox file.wav file.dat

will take an audio file file.wav, and generate a text file file.dat with a column for the timebase in seconds, and a column for each audio channel scaled by the maximum possible value.

如何从音频文件中获取振幅列表?(how do I get a list of amplitudes from a audio file? [closed])

如何使用linux命令行工具从音频文件中获取振幅列表?

how do I get a list of amplitudes from a audio file using a linux command line tool ?

最满意答案

您的意思是将所有单个样本作为文本获取吗? SoX可以做到这一点。

$ sox file.wav file.dat

将获取音频文件file.wav ,并生成一个文本文件file.dat其中包含时基列(以秒为单位),以及每个音频通道的列,该列按最大可能值进行缩放。

Do you mean getting all the individual samples as text? SoX can do that.

$ sox file.wav file.dat

will take an audio file file.wav, and generate a text file file.dat with a column for the timebase in seconds, and a column for each audio channel scaled by the maximum possible value.