Hello,
I see a lot about playing quad-audio with the sparkfun teensy quad-audio solution, but not much on recording quadio (quad-audio?).
Using polling, it doesn't seem possible to record audio with out "glitches".
I think the issue is probably the length of time it takes to write to the ("Ultra Plus") SD card. You just can't get back to the audio queue fast enough to get a continuous sample.
My question is: Can writing to the SD disk be spawned in a separate task (thread/process)? Or alternatively can the loop() focus on writing to SD only to interrupted by SD sampling? In the latter case maybe interrupt every 5800/2 mics and check?
(Source code in link to forum thread above) or here
Thanks,
QC
I see a lot about playing quad-audio with the sparkfun teensy quad-audio solution, but not much on recording quadio (quad-audio?).
Using polling, it doesn't seem possible to record audio with out "glitches".
I think the issue is probably the length of time it takes to write to the ("Ultra Plus") SD card. You just can't get back to the audio queue fast enough to get a continuous sample.
My question is: Can writing to the SD disk be spawned in a separate task (thread/process)? Or alternatively can the loop() focus on writing to SD only to interrupted by SD sampling? In the latter case maybe interrupt every 5800/2 mics and check?
(Source code in link to forum thread above) or here
Thanks,
QC