Re: [LAD] [SOLVED] libsamplerate: src_simple issue: sign error perhaps?

2021-05-12 Thread Jeanette C.
Ah, output and input samplerate got twisted. I didn't think and followed the documentation of libsamplerate. In the section on the SRC_DATA structure it says: "Finally, the src_ratio field specifies the conversion ratio defined as the input sample rate divided by the output sample rate." In t

[LAD] libsamplerate: src_simple issue: sign error perhaps?

2021-05-12 Thread Jeanette C.
Hey hey, I've used libsamplerate through the src_simple interface to resample a audiofile of a single cycle wave. The output does not look right though: In the input values go from positive to negative floats. In the output values go from small positive floats to big positive floats. The process