Follow the advice here under section "If you can't start jackd without root rights"
sudo adduser ben audio
Use this advice and run this command to start Jack:
pasuspender -- jackd -R -d alsa -d hw:1 -S
instead of tagging your soundcard by index (hw:1
above), you can find out its alias using:
➜ cat /proc/asound/cards
0 [HDMI ]: HDA-Intel - HDA Intel HDMI
HDA Intel HDMI at 0xb0a10000 irq 66
1 [PCH ]: HDA-Intel - HDA Intel PCH
HDA Intel PCH at 0xb0a14000 irq 67
And use hw:PCH
instead.
(Find out about your soundcards)
To get a gui control panel for jackd, use qjackctl
;
This may help too. Or perhaps suspending it is the way to go. See also
The file to edit is /etc/pulse/client.conf
Note that jackd takes control of your sound card -- and it will complain if it is in use elsewhere.
As these instructions don't work for me.
You also have to install supercollider
:
sudo apt-get supercollider
And this provides a gui supercollider-ide
.
I also had to start lein repl
as sudo. (This is resolved by this )
Starting with this, this does work:
sox -b 16 -n test.wav rate 44100 channels 2 synth 1 sine 440
aplay -D hw:0 test.wav
Install ``
Edit /etc/pulse/default.pa
and add these lines:
load-module module-jack-sink
load-module module-jack-source