Skip to content

Instantly share code, notes, and snippets.

@ben-biddington
Created February 26, 2015 07:11
Show Gist options
  • Save ben-biddington/687641b7028789428f6c to your computer and use it in GitHub Desktop.
Save ben-biddington/687641b7028789428f6c to your computer and use it in GitHub Desktop.
Notes on getting overtone to work (it doesn't yet)

boneymin

Follow the advice here under section "If you can't start jackd without root rights"

Add user to audio group

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;

Disabling pulse audio

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 )

Checking Jack

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

Running Jack through pulse audio

using this

Install ``

Edit /etc/pulse/default.pa and add these lines:

load-module module-jack-sink
load-module module-jack-source
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment