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.
- BlingPiece asked 7 years ago
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.
- Guest answered 7 years ago
Please login first to submit.