简体   繁体   English

如何使用MEAN.js应用程序获取音频元数据

[英]how to get audio metadata using MEAN.js application

I want to upload audio file (either .wav or .flac) only if it match certain Sample Rate ,Channel and bit rate. 我只想上传符合特定采样率,频道和比特率的音频文件(.wav或.flac)。 but I have few doubts in implementing this functionality? 但是在实现此功能方面我几乎没有疑问?

1) is it possible with client side scripting like AngularJs? 1)像AngularJs这样的客户端脚本可以实现吗?

2) If its not possible with AngularJs than its possible to get the metadata information first on server with Node.js and upload only if it matches criteria.? 2)如果使用AngularJs无法实现,那么它首先可以使用Node.js在服务器上获取元数据信息,并仅在符合条件时上传。

Please let me know in case you need more information for the same. 如果您需要更多相同信息,请告诉我。

Have you tried working with Web Audio API ? 您是否尝试过使用Web Audio API You don't necessarily need AngularJS and it's supported in all major browsers ( Web Audio API Browser support ). 您不一定需要AngularJS,并且所有主要浏览器都支持AngularJS( Web音频API浏览器支持 )。

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

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