使用KinectStudio API录音 [英] Audio recording using KinectStudio API
本文介绍了使用KinectStudio API录音的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用KStudio API来记录kinect v2中的原始数据。
我找到了一些文档,我现在可以记录原始颜色和IR数据。但是,我找不到使用EventStreamDataTypeIDs类包含音频光束的方法。你能告诉我如何在录制的xef文件中添加音频吗?
我附上了我的部分代码。
      private void InitKStudio()
      {
          client = KStudio.CreateClient();
          client.ConnectToService();
$
          streamCollection = new KStudioEventStreamSelectorCollection();
          streamCollection.Add(KStudioEventStreamDataTypeIds.UncompressedColor);
          streamCollection.Add(KStudioEventStreamDataTypeIds.RawIr);
       
      }
提前谢谢!
解决方案
参见
https://social.msdn.microsoft.com/Forums/en-US/b5aba44f-6928-4121-b500-52cdd5a92de1/record-data-depth-and-audio-kinect-for-windows- V2?论坛= kinectv2sdk
Hi, I'm using KStudio APIs to record raw data from the kinect v2.
I found some documents and I can now record the raw color and IR data. However, I cannot find a way to include the audio beam using EventStreamDataTypeIDs class. Would you let me know how to add audio in the recorded xef file?
i am attaching a part of my code.
private void InitKStudio()
{
client = KStudio.CreateClient();
client.ConnectToService();
streamCollection = new KStudioEventStreamSelectorCollection();
streamCollection.Add(KStudioEventStreamDataTypeIds.UncompressedColor);
streamCollection.Add(KStudioEventStreamDataTypeIds.RawIr);
}
Thank you in advance!
解决方案
see https://social.msdn.microsoft.com/Forums/en-US/b5aba44f-6928-4121-b500-52cdd5a92de1/record-data-depth-and-audio-kinect-for-windows-v2?forum=kinectv2sdk
这篇关于使用KinectStudio API录音的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文