链接Javascript Audio API? [英] Link up with Javascript Audio API?

查看:58
本文介绍了链接Javascript Audio API?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有人知道是否有可能以某种方式将Javascript音频API链接到kinect?我假设您需要将外部javascript文件链接到xaml页面,但这是否可能?这完全是徒劳的吗?



我的目标是将Kinect的x,y坐标扭曲为通过javascript音频API生成的声音。



帮助。 

解决方案

音频api用于输入,而不是输出。我也假设你在询问Windows Store / WinJS api for v2。你想要做的事情将是自包含在一个应用程序中,所以你可以自由地做你想要的,因为api存在于
WinJS中。


你可以使用WEB UI使用类似v1.8示例代码中的WebServer示例的图层。这篇博客展示了如何通过它展示音频语音事件,如果有帮助的话。


http://blogs.msdn.com/b/kinectforwindows/archive/2013/10/02/using -kinect-web服务器到暴露语音事件到Web-clients.aspx


does anyone know if it possible at all to somehow link the Javascript audio API to the kinect? Im assuming that you will need to link the external javascript file into the xaml page but is this even possible? Is this completely futile?

My goal is to kink the x,y coordinates of the Kinect to a sound generated through the javascript audio API.

help. 

解决方案

The audio api's are for input, not output. I am also assuming you are asking about the Windows Store/WinJS api's for v2. What you are looking to do would be self contained within an application so you are free to do what you want given the api's exist in WinJS.

You can use a WEB UI layer using something like the WebServer sample in the v1.8 sample code. This blog shows how you can expose audio speech events through that if it helps.

http://blogs.msdn.com/b/kinectforwindows/archive/2013/10/02/using-kinect-webserver-to-expose-speech-events-to-web-clients.aspx


这篇关于链接Javascript Audio API?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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