简体   繁体   English

获取多个音频文件的analyserNode数据

[英]Getting analyserNode data for multiple audio files

I am building an analyserNode for a music visualizer such as this demo , but for multiple tracks that play simultaneously, and I wanted to get frequency, dBs and waveform in real time for each track separately. 我正在为音乐可视化程序(例如此演示)构建analyserNode,但要同时播放多个轨道,我想分别实时获取每个轨道的频率,dB和波形。

I managed to load and play all tracks in sync with SoundJS but the analyser data that passes through the tick(evt) method from the demo represents all tracks. 我设法与SoundJS同步加载和播放所有轨道,但是演示中通过tick(evt)方法传递的分析器数据代表所有轨道。 Is there a way to get this information per sound instance that is playing? 有没有一种方法可以针对正在播放的声音实例获取此信息?

Thanks in advance 提前致谢

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

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