音频Kinect v2 [英] Audio Kinect v2
问题描述
我怎样才能为kinect v2设备统一录音?zh
我如何检测想要的字/命令?
任何人都有脚本吗?
Hi, How can I get audioclip in unity for kinect v2 device?
and How can I detect wanted word/command?
anybody has script?
推荐答案
可以使用AudioBeamFrameReader api获取音频样本(参见AudioBasics-WPF示例代码)。
Audio samples can be acquired using the AudioBeamFrameReader api's(see AudioBasics-WPF sample code).
对于语音命令,Unity中不支持语音。由于Unity不使用Microsoft .Net框架,因此无法在Unity中直接使用语音平台API。您必须找到一个与Unity
一起使用的包装器或类似的库才能使其工作。
As for speech commands, there is no support for speech in Unity. Since Unity does not use the Microsoft .Net framework you cannot use the speech platform api's directly in Unity. You would have to find a wrapper or similar library that works with Unity to get that to work.
这篇关于音频Kinect v2的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!