Hi all. A search of the forum didn't turn up a clear answer to this:
How many 44.1kHz 16b audio channels can one Teensy simultaneously record to SD card, *without dropouts*?
Working on donating to an art project and need to record OR play back 6 channels simultaneously. (Not both simultaneously.) And, need at least 1 GB of audio files. Of course, there's not enough time to make it a large software project, so I am asking What's fairly easy?
It also boils down to: how many Teensy's and audio boards are needed? 6, 3, or 1? I could synchronize multiple recorders, if it's a major software project to pack it into one device.
Paul's CS42448 Audio board (6 Inputs, 8 Outputs) looks like it has been tested and is supported enough for working from internal memory (YAY!), but from SD?
Failing that, three or six standard audio shields and three or six Teensy 3.2's, with SD cards on the audio boards?
The main problem is that SD cards write slowly and also in large blocks. Much buffering required and probably a queue of R/W commands? Hopefully the needed libraries are written for my lazy butt?
Another problem, in one post the CS42448 board's I/O appeared to be incompatible with the T3.6's built-in SD card interface, or was that just a temporary software configuration hurtle?
Assumptions:
Using the best Teensy flavor for the job: such as T3.5 or 3.6 for the SD card built-in and more buffer RAM, faster CPU.
Using the best flash cards available for this task
Using a Windows writable file format on the SD card(s)
Don't need processing except for variable gain control.
Related question: is there a standard audio file format supported by the Teensyduino world that can handle 6 channels, or would I need to open 3 or 6 files simultaneously and write to them "simultaneously" with a queue?
Resources found looking for the answers:
- https://forum.pjrc.com/threads/49232-6-inputs-audio-recorder-with-CS42448-audio-card-from-OSH-Park
- This project: https://github.com/WMXZ-EU/microSoundRecorder
- SdFat https://forum.pjrc.com/threads/36737-Try-SdFat-forTeensy-3-5-3-6
- https://www.sdcard.org/downloads/formatter_4/
- Audacity
Thanks for all the hard/great work you do,
-Philip
How many 44.1kHz 16b audio channels can one Teensy simultaneously record to SD card, *without dropouts*?
Working on donating to an art project and need to record OR play back 6 channels simultaneously. (Not both simultaneously.) And, need at least 1 GB of audio files. Of course, there's not enough time to make it a large software project, so I am asking What's fairly easy?
It also boils down to: how many Teensy's and audio boards are needed? 6, 3, or 1? I could synchronize multiple recorders, if it's a major software project to pack it into one device.
Paul's CS42448 Audio board (6 Inputs, 8 Outputs) looks like it has been tested and is supported enough for working from internal memory (YAY!), but from SD?
Failing that, three or six standard audio shields and three or six Teensy 3.2's, with SD cards on the audio boards?
The main problem is that SD cards write slowly and also in large blocks. Much buffering required and probably a queue of R/W commands? Hopefully the needed libraries are written for my lazy butt?
Another problem, in one post the CS42448 board's I/O appeared to be incompatible with the T3.6's built-in SD card interface, or was that just a temporary software configuration hurtle?
Assumptions:
Using the best Teensy flavor for the job: such as T3.5 or 3.6 for the SD card built-in and more buffer RAM, faster CPU.
Using the best flash cards available for this task
Using a Windows writable file format on the SD card(s)
Don't need processing except for variable gain control.
Related question: is there a standard audio file format supported by the Teensyduino world that can handle 6 channels, or would I need to open 3 or 6 files simultaneously and write to them "simultaneously" with a queue?
Resources found looking for the answers:
- https://forum.pjrc.com/threads/49232-6-inputs-audio-recorder-with-CS42448-audio-card-from-OSH-Park
- This project: https://github.com/WMXZ-EU/microSoundRecorder
- SdFat https://forum.pjrc.com/threads/36737-Try-SdFat-forTeensy-3-5-3-6
- https://www.sdcard.org/downloads/formatter_4/
- Audacity
Thanks for all the hard/great work you do,
-Philip