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.
Sample rate conversion 352/384K to 192K Topic is solved
-
- XCore Expert
- Posts: 580
- Joined: Thu Nov 26, 2015 11:47 pm
-
- Active Member
- Posts: 55
- Joined: Tue Oct 15, 2019 10:36 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.
Edit: I experienced some distortion in louder dynamic pieces of music and the >>2 first as suggested resolved it.