amperwest1
New member
------------------------------------
Admin Edit: ICS-52000 microphones do not appear to work well with Teensy at 44100 Hz sample rate.
------------------------------------
Firstly apologies if in wrong part of forum, please move/advise if wrong. My first post so be gentle.
I am working on an audio recording project looking at using the Invensense ics52000 (https://www.invensense.com/products/ics-52000/), I have bought the larger development board(to allow expansion later in project) (https://www.digikey.com/en/product-highlight/i/invensense/ics-52000-tdm-array-demo-board).
(the array board has jumper selection to allow 4,8,12,16 mics on the line, currently using only 4)
I have followed the previous threads on here using the 4 microphone array board from notwired, and have successfully recorded sound with one microphone to sd card using the recorder example and Dreggory's final code post on another thread.(https://forum.pjrc.com/threads/48563-Cheap-ICS-52000-Microphone-Array-Board-for-TDM-evaluation)
However, my project is hoping to use 4x microphones sharing the TDM bus with potential to use 8 microphones.
From what I've learnt from the previous code and playing with the GUI designer is that I can attach queues to the TDM input device and then read them sequentially using available() and then read() functions. I have tried expanding Dreggory's code by adding 8x queues and then writing them to Sd in the same style, but when I import these files into Matlab/Audacity the files are much shorter (4sec instead of 11sec) and often missing data. (testing by playing pure 300Hz sine wave from speaker closer to mic array)
Sorry for the long post, I just wanted to show that I'm working through it before asking for help, so a few questions:
-One microphone records at 44.1kHz, does this mean 4 at at 44.1k or is the frequency divided by 4?
-Is the teensy 3.6 capable of this speeds with writing to the SD card for long period of time (end product is looking at ~10min recording time)
- Is it possible to use the audio library for this task or will I have to 'roll my own'?
Thanks in advance
Admin Edit: ICS-52000 microphones do not appear to work well with Teensy at 44100 Hz sample rate.
------------------------------------
Firstly apologies if in wrong part of forum, please move/advise if wrong. My first post so be gentle.
I am working on an audio recording project looking at using the Invensense ics52000 (https://www.invensense.com/products/ics-52000/), I have bought the larger development board(to allow expansion later in project) (https://www.digikey.com/en/product-highlight/i/invensense/ics-52000-tdm-array-demo-board).
(the array board has jumper selection to allow 4,8,12,16 mics on the line, currently using only 4)
I have followed the previous threads on here using the 4 microphone array board from notwired, and have successfully recorded sound with one microphone to sd card using the recorder example and Dreggory's final code post on another thread.(https://forum.pjrc.com/threads/48563-Cheap-ICS-52000-Microphone-Array-Board-for-TDM-evaluation)
However, my project is hoping to use 4x microphones sharing the TDM bus with potential to use 8 microphones.
From what I've learnt from the previous code and playing with the GUI designer is that I can attach queues to the TDM input device and then read them sequentially using available() and then read() functions. I have tried expanding Dreggory's code by adding 8x queues and then writing them to Sd in the same style, but when I import these files into Matlab/Audacity the files are much shorter (4sec instead of 11sec) and often missing data. (testing by playing pure 300Hz sine wave from speaker closer to mic array)
Sorry for the long post, I just wanted to show that I'm working through it before asking for help, so a few questions:
-One microphone records at 44.1kHz, does this mean 4 at at 44.1k or is the frequency divided by 4?
-Is the teensy 3.6 capable of this speeds with writing to the SD card for long period of time (end product is looking at ~10min recording time)
- Is it possible to use the audio library for this task or will I have to 'roll my own'?
Thanks in advance
Last edited by a moderator: