Xiao BLE Sense SD Audio,

Hello, I would like to know how I can record audio on an SD card, I suppose there will be a buffer limitation to record.
Let’s see if anyone can guide me.
Thank you

In this tutorial:

I can’t initialize SD, why?
serial message: initialization failed!
I use slot SD, what is CS in this sketch?
Thank you.

I got it, you had to declare the pin and put it in the SD BEGIN

const int chipSelect = 4;