Hi, im back with an audio project.
I need to read one .raw audio file and get the samples value.

My code now

File dataFile = SD.open("amen.raw");
int16_t numSamples = (dataFile.size() - (dataFile.size()%256)) >> 1; // return samples_available;
int16_t buf[numSamples] = {0}; // buffer

double audio  = dataFile.read();
I should create an array (or two if the file is stereo) with the values of the samples for further use.
right now I don't know how to create the array which I will then use to store the samples values.