I wish I read this a few months ago, before started to up-sample my ripped CDs. I made a lot of mistakes during the process. Oh well, "all's well that ends well"
Edited
Edited
Last edited:
Yes I also tried this online tool as well, sometimes it can quickly generate a filter with the required parameters, sometimes not (like your screenshot), sometime it may take a lot of time and even freeze the browserIt's a fun game.
A good web site to design your FIR filter online :
http://t-filter.engineerjs.com/
I use it often for fast design.
An example of what you can get for the first stage :View attachment 158105
It's a fun game.
A good web site to design your FIR filter online :
http://t-filter.engineerjs.com/
I use it often for fast design.
An example of what you can get for the first stage :View attachment 158105
Really it works very well for simple filters.Yes I also tried this online tool as well, sometimes it can quickly generate a filter with the required parameters, sometimes not (like your screenshot), sometime it may take a lot of time and even freeze the browser
sox -V impulse.wav -r 352800 -b 32 long.wav upsample 2 fir F1.txt vol 2 upsample 2 fir F2.txt vol 2 upsample 2 fir F3.txt vol 2
The first stage is x4.I have a question about ESS :
Your datasheet extract tells about only 2 upsampling stages with 128 and 26 taps FIR filters.
x8 oversampling need 3 x2 stages. What about the 3rd stage?
Ok.The first stage is x4.
It's not a lot, but it's enough to be useful. For example, here's something I whipped up quickly in Matlab with coefficients rounded to 24-bit precision as required by the ESS chip:Ok.
128 taps is not a lot for a 1st x4 filter.
More than -120db of attenuation is great, but to get it with 128 taps, you had to choose a bit large transition band.It's not a lot, but it's enough to be useful. For example, here's something I whipped up quickly in Matlab with coefficients rounded to 24-bit precision as required by the ESS chip:
Don't kill the fun of the filter gameContrary to what Rob Watts would have you believe, there is no need for ridiculously long filters.
dsd -V %1 -p rate -vb 74 88200 | sox -V -p "%~dp1%~n1 88k SoX.flac" gain 5 dither
It can, and SoX will warn you if this happens, if you have these kinds of rare and extreme source materials. In this case, you may need to try a negative gain command before using rate.So you are saying that the "decoding" part of the commanddsd -V %1 -p rate -vb 74 88200
can already generate clipping? Does SoX show clipping at this point or it happens in the encoding part?