The sound card is working fine if I play a WAV via aplay.
If I load a simple adc~ > dac~ patch in pure data (command line, not using X) and play a guitar through it, the sound is choppy and isn't the right frequency. There is distortion and glitching and the frequency of the notes played back is not the same frequency as what I am playing on the guitar.
Running Jack2 (from the autostatic respository) makes a different choppy sound, slightly less chopped but still distorted and wrong frequency.
I've tried starting Pure Data with 44100 and 48000 sampling and it subtly changes the chopping, and changes the out of tune-ness of the wrong frequencies, but it's still terrible.
I got the sound card running by installing the madfuload package. Just upgraded the Pure Data to 0.45-3 with no improvement. Have slowed the USB to 1.1 by editing /boot/cmdline.txt.
I am starting Pure Data like so:
Code: Select all
pd -nogui patch.pd &
Code: Select all
pd -nogui -r 48000 patch.pd &
Code: Select all
jackd -P70 -p16 -t2000 -dalsa -p128 -r44100 -n3 -s -S &
Any ideas how to look for what might be causing the choppy audio? Playing music through aplay sounds fine so i think this is a Pure Data issue?