使用Nodejs捕获系统音频输出 [英] Capture system audio output with Nodejs

查看:775
本文介绍了使用Nodejs捕获系统音频输出的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

javascript中是否存在某种方式或是否存在nodejs模块,我可以使用它来捕获系统的输出(win / osx)。例如,如果用户通过iTunes / MPlayer(任何音乐播放器)播放某些内容,我可以捕获发送到扬声器(输出)的音频流并通过网络发送吗?

Is there a way in javascript or is there a nodejs module, that I can use to capture the output of a system (win/osx). For example, if a user is playing something via iTunes/MPlayer (any music player), I can capture the audio stream that's going to the speakers (output) and send it over the web?

推荐答案

这可能会在某种程度上做你想做的事: https://www.npmjs.com/package/node-core-audio

This might go some way to doing what you want: https://www.npmjs.com/package/node-core-audio

这篇关于使用Nodejs捕获系统音频输出的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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