简体   繁体   English

HTML5音频,左右声道分离

[英]HTML5 Audio, separate left and right channels

I have an mp3 file with 2 channels, right and left. 我有一个带有2个左右声道的mp3文件。

Is there is any way to play it in the browser with the two channels separated ? 有没有办法在两个通道分开的浏览器中播放它?

So I will have two <audio> elements, one per each channel. 因此,我将有两个<audio>元素,每个通道一个。

Why are you trying to do this? 你为什么要这样做? Using Web Audio, you can split the channels apart (via the ChannelSplitterNode) and process them separately. 使用Web Audio,可以将通道分开(通过ChannelSplitterNode)并分别进行处理。

您需要将立体声音频文件分成两个音频文件,一个带有左声道,另一个带有右声道。

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

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