Closed nicolascarre closed 4 years ago
The microphone is a available through platform standard recording APIs on Linux and Windows. If you are looking for integration with Azure Speech Services look here:
https://docs.microsoft.com/en-us/azure/cognitive-services/speech-service/
I have already researched about Speech, I don't find anything about a sample array.
The Sensor SDK does not currently support accessing the microphones through the API. The system-level audio APIs should be used instead. The Kinect Viewer app uses libsoundio, which is a cross-platform audio library. You could also use a platform-specific api like WASAPI on Windows, or PulseAudio on linux.
Here is some relevant code from the viewer that correlates microphones to a specific kinect device: https://github.com/microsoft/Azure-Kinect-Sensor-SDK/blob/develop/tools/k4aviewer/platform/windows/k4adevicecorrelator.cpp
This is an area we could improve the documentation.
I can't compile the k4aviewer from the source code, I have already tried a lot of things, nothing is working. Is there somewhere a good documentation of how to integrate the libsoundio ?
I can't compile the k4aviewer from the source code, I have already tried a lot of things, nothing is working. Is there somewhere a good documentation of how to integrate the libsoundio ?
Hi @nicolascarre please open a new issue and follow our bug template.
Here is the new issue : https://github.com/microsoft/Azure-Kinect-Sensor-SDK/issues/606
Hello, Any update expected about using the microphone ?
@PierrePlantard, the Azure Kinect DK microphone is supported by Speech device SDK. Please follow the link to see the full documentation.
@nicolascarre @PierrePlantard --- I tried a third party library odas for audio recording: https://github.com/xiaotaw/odas.git. Hope it helps.
Hi @xiaotaw, thank you for the link, we will test it !
Hello, Is there a way to get the sound received from the microphone ? Actually I just need to know what is the volume in decibel. From some others device, I was retrieving a sample array, then compute the volume in db. I see nothing about the microphone in the sdk. Thanks for your help Hi, nicolascarre.Do you resolve the problem? I had a same question, too.
Hi @ttxiaoxitt, Yes we finally found a solution. We use the NAudio library. If you need help I can provide you a sample.
Hello @nicolascarre !
I am in a similar situation as you currently. I am trying to access the microphone array data retrieved by the Kinect DK (in decibels of each microphone). I have looked into using ODAS or WASAPI. Do you mind helping me? It appears you were able to arrive at a solution.
Hi, @nicolascarre I would like heve the sample, please thank you very much.
Hi @ttxiaoxitt, Yes we finally found a solution. We use the NAudio library. If you need help I can provide you a sample.
I'm in a similar situation,too.May I have the sample? Thank you very much.
Hi @ttxiaoxitt, Yes we finally found a solution. We use the NAudio library. If you need help I can provide you a sample.
@nicolascarre Hey Nicolas - would you please provide your sample using NAudio to capture audio? It would be most appreciated. Thank you!
Hi @ttxiaoxitt, Yes we finally found a solution. We use the NAudio library. If you need help I can provide you a sample.
@nicolascarre Hi Nicolas, is it possible for you to share the NAudio audio capture sample? Thanks a lot!
Try Microsoft Media Foundation: https://docs.microsoft.com/en-us/windows/win32/medfound/audio-video-capture-in-media-foundation
I believe this repository could help! With it you could know how to access to the raw data of the microphone array, and how to save the color image with C#.
for C++ have a look: https://github.com/busybeaver42/kv3 This example comes with the right cfg files for the kinect azure micro phone array.
Hello,
Is there a way to get the sound received from the microphone ? Actually I just need to know what is the volume in decibel. From some others device, I was retrieving a sample array, then compute the volume in db. I see nothing about the microphone in the sdk.
Thanks for your help