NO LONGER IN USE
Clojure
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
test/scsynth_clj/test
.gitignore
README.md
project.clj

README.md

scsynth-clj

Using Jack with Pulseaudio on Ubuntu Maverick Meerkat

dependencies

sudo apt-get install pulseaudio-module-jack jackd2

cat > ~/.jackdrc <<EOF
/usr/bin/jackd -ddummy -r48000 -p1024
EOF

sudo su -c 'echo load-module module-jack-source channels=2 connect=false >> /etc/pulse/default.pa'
sudo su -c 'echo load-module module-loopback source=jack_in >> /etc/pulse/default.pa'

realtime

sudo su -c 'echo @audio - rtprio 99 >> /etc/security/limits.d/audio.conf'
sudo su -c 'echo @audio - memlock unlimited >> /etc/security/limits.d/audio.conf'
sudo su -c 'echo @audio - nice -10 >> /etc/security/limits.d/audio.conf'
sudo su -c 'echo realtime-scheduling = yes >> /etc/pulse/daemon.conf'

no realtime

sudo su -c 'echo @audio - rtprio 95 >> /etc/security/limits.d/audio.conf'
sudo su -c 'echo @audio - memlock unlimited >> /etc/security/limits.d/audio.conf'
sudo su -c 'echo realtime-scheduling = no >> /etc/pulse/daemon.conf'

After starting overtone

jack_connect SuperCollider:out_1 "PulseAudio JACK Source:front-left"
jack_connect SuperCollider:out_2 "PulseAudio JACK Source:front-right"

License

Copyright (C) 2011 Fabian Aussems

Distributed under the Eclipse Public License, the same as Clojure.