我如何COM preSS多个Web Audio源/曲目成一个? [英] How do I compress multiple Web Audio sources/tracks into one?

查看:215
本文介绍了我如何COM preSS多个Web Audio源/曲目成一个?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在基于网络音频API的基于Web的音乐编辑和混音。用户可以混合在一起的多轨道,轨道作物等轨道一起实际的混合只涉及一次播放所有的来源。

We are making an web based music editor and mixer based on the Web Audio api. Users can mix together multiple tracks, crop tracks, etc. The actual mixing together of the tracks just involves playing back all the sources at once.

我们希望可以添加保存混合并使其可供下载到用户的计算机的选项。是否有某种方式来做到这一点的前端(像所有源连接到一个目的地/出口节点),甚至后端(我们使用的是回报率)?

We want to be able to add the option to save the mix and make it available for download to a user's computer. Is there some way to do this on the front end (like connecting all the sources to one destination/export node), or even the backend (we are using RoR)?

推荐答案

RecorderJS不正是你所需要的,它不可能是更容易使用。真的,真的很棒库。

RecorderJS does exactly what you need, and it could not possibly be easier to use. Really, really great library.

https://github.com/mattdiamond/Recorderjs

P.S。看看 OfflineAudioContext 和我回答这个问题(<一个href=\"http://stackoverflow.com/questions/16969201/web-audio-api-scheduling-sounds-and-exporting-the-mix\">Web音频API:调度的声音,做音频的​​速度快于实时混音输出混合)的信息

P.S. Look into OfflineAudioContext and my answer to this question (Web audio API: scheduling sounds and exporting the mix) for info on doing a faster-than-realtime mixdown of your audio.

这篇关于我如何COM preSS多个Web Audio源/曲目成一个?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆