简体   繁体   English

识别 wav 文件中的频道?

[英]Identify channels in a wav file?

I have numerous audio wav files.我有很多音频 wav 文件。

Every audio files have 2 channels and each channel contains voices of 2 different persons so I want to get the channel where the activity is more or we can say the channel where the speaker is saying more and I have to delete the other channel.每个音频文件都有 2 个频道,每个频道都包含 2 个不同人的声音,所以我想获得活动更多的频道,或者我们可以说说话者说话更多的频道,我必须删除另一个频道。

As of now I am doing this with audacity but can i do it via python or any terminal command in ubuntu?到目前为止,我正在大胆地执行此操作,但是我可以通过 python 或 ubuntu 中的任何终端命令执行此操作吗?

最好的想法是将两个通道分开,然后获取两者的大小,因为 wav 文件的大小与该通道中的活动成正比。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM