Monthly Archives: March 2013

Support for libsoxr in alsa rate plugin

Preliminary results of libsoxr integration Plugin rate API modified to allow float. This avoids the information loss of int24->int16 conversion currently occuring in alsa-lib (int24->float32 is bit perfect). Libsamplerate (and libsoxr) use float internally. The sweep file generated by: sox -V -r 44100 -c 2 -s -b 24 -n sweep.wav synth 10 sine 1:22000 vol -6dB Spectrum of the sweep sox sweep.wav -n spectrogram -w Kaiser -z 180 -o spectrum-sweep.png Devices defined in .asoundrc: pcm.raw { type hw card 0 device 0 format S32_LE } pcm.flexibleraw { type plug slave.pcm raw } pcm.dumpratefile { type file #slave.pcm flexibleraw slave.pcm null … Continue reading

Posted in Linux Audio | 1 Comment