Skip to content

I2S to SD card #387

Answered by pschatzmann
tomv2 asked this question in Q&A
Oct 2, 2022 · 5 comments · 11 replies
Discussion options

You must be logged in to vote

I suggest that you decide first on what SD card API you want to use and learn how to use files: You can use SD, SDMMC or SDFAT.
A file is just a stream, so it can be used as copy destination by using StreamCopy. At the end don't forget to close the file - otherwise you will not have any data!

Only after you know that your files are working move to the next step!

I suggest that you have a look at the following example which creates and then plays a file using the SD library: https://github.com/pschatzmann/arduino-audio-tools/blob/main/examples/examples-audiokit/streams-audiokit-sd-audiokit/streams-audiokit-sd-audiokit.ino. It uses the AudioKitStream as input and output, so you can just rep…

Replies: 5 comments 11 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by pschatzmann
Comment options

You must be logged in to vote
1 reply
@tomv2
Comment options

Comment options

You must be logged in to vote
1 reply
@MichalisChachalios
Comment options

Comment options

You must be logged in to vote
4 replies
@MichalisChachalios
Comment options

@pschatzmann
Comment options

@MichalisChachalios
Comment options

@pschatzmann
Comment options

Comment options

You must be logged in to vote
5 replies
@MichalisChachalios
Comment options

@pschatzmann
Comment options

@MichalisChachalios
Comment options

@MichalisChachalios
Comment options

@pschatzmann
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants