Sample rate conversion 352/384K to 192K Topic is solved

Sub forums for various specialist XMOS applications. e.g. USB audio, motor control and robotics.
User avatar
akp
Respected Member
Posts: 480
Joined: Thu Nov 26, 2015 11:47 pm

Re: Sample rate conversion 352/384K to 192K  Topic is solved

Postby akp » Mon Dec 07, 2020 1:55 pm

It seems your input samples are 32 bit and your output are 24 bit but left shifted by 4 bits, correct?

If that's the case then my only comment is that I would right shift the input 32 bit samples by two before adding, rather than afterwards. Otherwise you could get an overflow when you add the two signed integers and that might cause a problem. You won't lose any fidelity.
View Solution
Zed1970
Active Member
Posts: 38
Joined: Tue Oct 15, 2019 10:36 am

Postby Zed1970 » Tue Dec 08, 2020 11:20 am

Thanks, appreciate the help. Case close!

Edit: I experienced some distortion in louder dynamic pieces of music and the >>2 first as suggested resolved it.

Who is online

Users browsing this forum: No registered users and 2 guests