Hello, but this is not the right list for your question. Please use https://sourceforge.net/projects/sox/lists/sox-users
Hello there, I'm not aware of such a wrapper, but I wonder if using python’s popen facility to pipe data through libsoxr’s example # 3 (a stand-alone process with most of libsoxr options available on the command line) might work here?
Hello Philippe, I suggest the following: 1. Disable all the WITH_xxx build options, except for WITH_CR32. 2. Use SOXR_NO_DITHER in soxr_io_spec. 3. Try using the MQ recipe for soxr_quality_spec (which can in fact be more efficient than LQ in some circumstances). 3. Try overriding passband_end to 0.8 and stopband_begin to 1.2 in soxr_quality_spec (or even .75, 1.25). That's as much as I can think of at the moment (though I did experiment with IIR filters at one time but it didn't yield any improvement)—hope...
Aliasing is selected by setting the stopband_begin parameter (see soxr.h) to a value >1. With the default passband_end setting of 0.913, setting stopband_begin 1.087 gives a half-band response i.e. aliasing above the passband. Whereas setting it to 1.05 should mimic the SoX "allow aliasing" setting (which allows aliasing only above the 3dB point).
Maybe. Though still not sure why it works for me and not for you. Perhaps due to different versions. I can try again with ubuntu 19.04 once it comes out in a couple of weeks time.
I tested on Ubuntu 18.10 with your daemon settings sbove and SOXR_STEEP_FILTER forced on in the soxr code and audio played normally. I then used the following script to capture some resampled output; the resulting spectrogram shows that all is as expected: steep filter is being applied and no distortion occurring. Please can you try the same script and report the result? 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20#!/bin/sh set -e sink_name=capture rate=96000 format=s24 pactl load-module module-null-sink...
Please can you provide details of your pulseaudio config files (and alsa if appropriate).
Hello again, I'll try to look into this sometime in the next week.