Xcore Mic Array signal analysis with Audacity. Topic is solved

If you have a simple question and just want an answer.
shaileshwankhede
Experienced Member
Posts: 65
Joined: Fri Dec 02, 2016 1:30 pm

Xcore Mic Array signal analysis with Audacity.

Post by shaileshwankhede »

Hello,

Has anyone tried using Xcore Mic array with audacity software on windows 10? I have configured XCore mic array for - Sending individual mics (with gain applied) and using it in audacity. I can see xmos mic device for recording but number of channels are only 2(stereo) instead of 7 channels mic data with audio host as MME. If I change audio host to Windows WASAPI, I can see upto 8 channels but cannot record (Even with stereo). It gives message '"error opening sound device. Please check recording device setting and project sample rate.

My ultimate goal is to analyze 7 mic data and perform some calculations over it.

Thanks,
Shailesh
View Solution
henk
Verified
Respected Member
Posts: 347
Joined: Wed Jan 27, 2016 5:21 pm

Post by henk »

I got that message on my mac and it disappeared once I had upgraded to the latest Audacity.

Cheers,
Henk
shaileshwankhede
Experienced Member
Posts: 65
Joined: Fri Dec 02, 2016 1:30 pm

Post by shaileshwankhede »

Hi Henk,

Were you able to see 7 Mic data in that case?

Thanks,
Shailesh
henk
Verified
Respected Member
Posts: 347
Joined: Wed Jan 27, 2016 5:21 pm

Post by henk »

Hi Shailesh,

Yes, although I did need to amplify the signal a bit (otherwise they are all hovering around 0).

Cheers,
Henk
User avatar
johned
XCore Addict
Posts: 185
Joined: Tue Mar 26, 2013 12:10 pm

Post by johned »

Hi Shailesh,
I can confirm that this works fine on my Windows 10 laptop, using WASAPI.
Have you re-flashed your board at all ?
One thing to note is that Windows caches USB device configurations and this can cause driver problems. You might want to use a tool such as nirsoft USBDevView to remove all existing cached mic arrays - you can spot these easily because the XMOS VID is 20b1.
Also ensure that you have configured the mic array correctly in the Sound Control Dialog (Recording). You should also be able to see the level bars showing that audio is being sampled.
Finally, make sure the Project Rate is set to the correct frequency in Audacity (bottom left of the status bar).
I hope this helps.
All the best,
John
shaileshwankhede
Experienced Member
Posts: 65
Joined: Fri Dec 02, 2016 1:30 pm

Post by shaileshwankhede »

Thanks John,
Your suggestion was helpful.
Now I am able to see 8 channels with windows WASAPI. Problem was sample format was configured to 32bits in Audacity. I changed it to 16bits as shown in recording device properties and its working now.

Thanks,
Shailesh