New answers tagged

0

This part is clearly wrong (but there might be other issues as well) float max=0; for(int c=0;c<SIZE2;c++) { if(max<=sample[c]) max=sample[c]; } for(int c=0;c<SIZE2;c++) { if(sample[c]>127) sample[c]=sample[c]-max; sample[c]=sample[c]/32768; } To convert samples stored in S16_LE format (which corresponds to 16 ...


Top 50 recent answers are included