kinect音乐 [英] kinect music

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

问题描述

我一直想知道如何使用kinect播放音乐。


它会跟踪你的手位和深度,分别控制音调和音量。


如果你举手向右上方,你会获得最高音;最左边产生最低值。


如果你伸出手,它会比你的身体更响;如果它与你的身体保持水平或后面不会产生声音。


它可以跟踪左手和右手以产生和弦 - 可能支持2人(4手)。 / p>

是否可以在没有太多滞后的情况下做到这一点?以及如何编码实际声音?我不希望它是预设的纯音符;我希望它根据位置改变频率,以创造一种逐渐变化的流畅音调。


我应该从哪里开始?

解决方案

最简单的方法是使用midi并将信号馈送到适当的midi参数,例如
例如您可以将音高转换信号馈送到音符或音高和midi代码,并且midi的速度或表达参数可以用同一只手控制。您需要为您的应用设置midi in / out等,然后
您可以使用任何其他midi应用程序作为您要控制的模块。 它的繁琐 设置,但一旦它设置它工作甜蜜。



如果你使用波浪样品等你必须通过 一个不同的乏味 过程 比如在Windows上设置wave播放并设置你想要控制的所有参数等,但是使用midi你可以控制另一个有midi输入/输出的应用程序中的
的波形数据。


I've been wondering about using kinect to play music.

It would track your hand positions and depth to control the tone and volume respectively.

If you raise your hand to the top right, you'd get the highest note; lowest left produces the lowest.

If your hand is outstretched, it would be louder than next to your body; if it was level with your body or behind it would not produce sound.

it could track both left and right hand to produce a chord - support for 2 people (4 hands) maybe.

Is it possible to do this without much lag? and how would I code the actual sound? i don't want it to be preset pure notes; i want it to change in frequency according to position in order to create a kind of smooth flowing tone that gradually changes.

Where should I start?

解决方案

The simplest way to do that is to use midi and feed the signals to the appropriate midi parameters,
For example you could feed the pitch changing hands signal to note on or pitchbend midi codes, and the velocity or expression parameter for the midi can be controlled with the same hand. You would need to setup midi in/out etc for your application and then your be able to use any other midi application as the module your going to control.  Its tedious  to set up but once its set up it work sweet.

If you used wave samples etc Your have to go through  a different tedious  procedure  like setting up wave playback on windows and setting up all the parameters you want to control etc but with midi your be able to control wave data that’s in another application that has midi in/out.


这篇关于kinect音乐的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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