0
0

Hi, I have successfully developed a virtual instrument in C# for Microsoft Kinect (knowing virtually nothing about C# or Kinect SDK! – I am a noob) – I use FMOD to play sine wave sounds and this all works great – with user manipulating pitch with their right arm…

However I really want to be able to manipulate the sound based on the pitch of incoming mic signal – I’m already manipulating volume based on incoming signal – has anyone any C# (or C++ failing that) examples of how I can get use pitch detection in real-time or something similar?

I have tried API docs but I’m a noob and need an actual code example sorry!

Many thanks for any help anyone can offer.

  • You must to post comments
0
0

That sounds like a cool project, something like a virtual [url=http://en.wikipedia.org/wiki/Theremin:3j9krqjh]theremin[/url:3j9krqjh]. You can get the pitch of the incoming signal using getSpectrum. It anaylses the processed audio data and the minimum granularity is determined by DSP block size. The defualt block size on PC is 1024 samples (1024 / 48000) which is ~21 milliseconds.

  • You must to post comments
0
0

Hello Peter, yes that’s exactly what it is – a virtual Theremin – it’s for my MSc project (well a small part of it). I will give getSpectrum a try tonight – many thanks.

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.