[英]Testing Audio Input without actually using microphone
I'm trying to develop a site that uses Annyang.js ( https://www.talater.com/annyang/ ) but I also just got my wisdom teeth taken out. 我正在尝试开发一个使用Annyang.js( https://www.talater.com/annyang/ )的网站,但是我也只是想尽办法。 So the problem is, I don't feel like saying words every time I want to test my site.
所以问题是,我不想每次都想测试我的网站时都说几句话。 (ouch)
(哎哟)
Additionally, I anticipate trying to develop in public places or places like libraries. 此外,我希望尝试在公共场所或图书馆等地方进行开发。 Is there anyway I can force an input in the microphone without speaking into the microphone?
无论如何,我可以在不对着麦克风讲话的情况下强制输入麦克风吗?
I found this chrome flag " --use-fake-device-for-media-stream " exists. 我发现此镀铬标记“ --use-fake-device-for-media-stream”存在。 But when I put it in the command line in chrome, it did not work.
但是,当我将其放在chrome命令行中时,它不起作用。 "Syntax error: unexpected error for ".
“语法错误:“的意外错误。
How can I test audio input by just inputting spoken commands instead of actually saying them and/or properly use the chrome flag? 如何仅通过输入语音命令而不是实际说出语音命令和/或正确使用chrome标志来测试音频输入?
Hmm, that command should be working for you. 嗯,该命令应该对您有用。 Make sure you're typing in the correct command.
确保输入正确的命令。 I'm using OSX but here is my exact command:
我正在使用OSX,但这是我的确切命令:
/Applications/Google\\ Chrome.app/Contents/MacOS/Google\\ Chrome --use-fake-device-for-media-stream
You may need to close all running instances of chrome. 您可能需要关闭所有正在运行的chrome实例。
You can also try typing chrome://flags/
into your navbar to see what other options may be available. 您也可以尝试在导航栏中输入
chrome://flags/
以查看其他可用选项。
Good luck! 祝好运!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.