Just use --dither 3 --pdf 1
Out of luck. 96 kHz -> 44.1 kHz is not supported:
powerbook% ./ssrc_hp --rate 44.1 --bits 16 --twopass --normalize --dither 3 --pdf 1 foo.wav bar.wav
Shibatch sampling rate converter version 1.30(high precision)
frequency : 96000 -> 44
attenuation : 0dB
bits per sample : 24 -> 16
nchannels : 2
length : 9967488 bytes, 17.3047 secs
dither type : ATH based noise shaping, triangular p.d.f, amp = 0.9
Warning: ATH based noise shaping for destination frequency 44Hz is not available, using triangular dither
Pass 1
Resampling from 96000Hz to 44Hz is not supported.
44/gcd(96000,44)=11 must be divided by 2 or 3.
And not much better for 96 kHz -> 48 kHz either:
powerbook% ./ssrc_hp --rate 48 --bits 16 --twopass --normalize --dither 3 --pdf 1 foo.wav bar.wav
Shibatch sampling rate converter version 1.30(high precision)
frequency : 96000 -> 48
attenuation : 0dB
bits per sample : 24 -> 16
nchannels : 2
length : 9967488 bytes, 17.3047 secs
dither type : ATH based noise shaping, triangular p.d.f, amp = 0.9
Warning: ATH based noise shaping for destination frequency 48Hz is not available, using triangular dither
Pass 1
ssrc_hp(1044) malloc: *** vm_allocate(size=2097156096) failed (error code=3)
ssrc_hp(1044) malloc: *** error: can't allocate region
ssrc_hp(1044) malloc: *** set a breakpoint in szone_error to debug
zsh: bus error ./ssrc_hp --rate 48 --bits 16 --twopass --normalize --dither 3 --pdf 1
Oh well, at least the fast version seems to work:
powerbook% ./ssrc --rate 32 --bits 16 --twopass --dither 3 --pdf 1 foo.wav bar.wav
Shibatch sampling rate converter version 1.30
frequency : 96000 -> 32
attenuation : 0dB
bits per sample : 24 -> 16
nchannels : 2
length : 9967488 bytes, 17.3047 secs
dither type : ATH based noise shaping, triangular p.d.f, amp = 0.9
Warning: ATH based noise shaping for destination frequency 32Hz is not available, using triangular dither
Pass 1
100% processed, ETA = 0sec
peak : -41.6046dB
Pass 2
100% processed
Got my Zoom H4 only couple of hours ago, so just playing around and getting to know the equipment. That's the reason why the peak level is so low.