cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H745 DISCO line in audio

jokerhung
Visitor

I have wrote software for recording audio from line in to wav file for STM32H745 discovery board.

But output file is distortion (original file and output file is in attachment) 

Input file and output file is the same sample rate (32khz, 16 bit, 2 channel)

I have compared 2 file in audacity in following picture.

Could anyone have experiment to fix this problem ?

 
566d2d3e-9fad-4d38-82af-b911108f5231.jfif

 

 

1 REPLY 1
AScha.3
Chief II

Mickey Mouse speaking ... 🙂

So you have mixed up the data , maybe 16b -> 2x 8b -> 2x16b , producing like double speed audio.

Check, how you handle the data flow.

If you feel a post has answered your question, please click "Accept as Solution".