# Sound in Processing with Jackd on Linux Ubuntu

**URL:** <https://discourse.processing.org/t/sound-in-processing-with-jackd-on-linux-ubuntu/18139>\
**Category:** Processing\
**Created:** [February 26, 2020, 12:20pm UTC](https://discourse.processing.org/t/sound-in-processing-with-jackd-on-linux-ubuntu/18139 "2020-02-26T12:20:49Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![jeanFrancoisHicter](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jeanfrancoishicter/32/8182_2.png) [@jeanFrancoisHicter](https://discourse.processing.org/u/jeanFrancoisHicter)\
**Post date:** [February 26, 2020, 12:20pm UTC](https://discourse.processing.org/t/sound-in-processing-with-jackd-on-linux-ubuntu/18139/1 "2020-02-26T12:20:49Z")

</div>

Hey, folks!  
I use Processing with _sound_ library.  
The sound is heavily chopped – as I make dramatic LFO treatments – with the native _Pulseaudio_ server, so I try to use _Jackd_ to see if it is better…  
But I have no sound as I start _Jackd…_  
How to force Processing to use _Jackd?_

---

<div class="post-metadata">

**Author:** ![neilcsmith](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/neilcsmith/32/144_2.png) [@neilcsmith](https://discourse.processing.org/u/neilcsmith)\
**Post date:** [February 26, 2020, 12:44pm UTC](https://discourse.processing.org/t/sound-in-processing-with-jackd-on-linux-ubuntu/18139/2 "2020-02-26T12:44:54Z")

</div>

You can potentially run jackd with the pulseaudio sink, but I’m sceptical that will improve matters much. I’m not sure the Processing Sound library has a jackd backend? You could look at using Beads instead, which does although I don’t know how much development has been done in recent times.

You could also try using [PraxisLIVE](https://www.praxislive.org) which has its own audio library, Pipes, that will be released separately soon and supports this. I wrote the Java binding for jackd that is also used in Beads and other libraries originally for PraxisLIVE.

---

<div class="post-metadata">

**Author:** ![jeanFrancoisHicter](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jeanfrancoishicter/32/8182_2.png) [@jeanFrancoisHicter](https://discourse.processing.org/u/jeanFrancoisHicter)\
**Post date:** [February 26, 2020, 1:20pm UTC](https://discourse.processing.org/t/sound-in-processing-with-jackd-on-linux-ubuntu/18139/3 "2020-02-26T13:20:17Z")

</div>

> You can potentially run jackd with the pulseaudio sink

I do, but it doesn’t work for Processing. It works for Spotify, for example.

> Beads

Thanks for the tip, I will try this! 🙂

> PraxisLIVE

Looks powerful! Thanks! 🙂

---

<div class="post-metadata">

**Author:** ![jeanFrancoisHicter](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jeanfrancoishicter/32/8182_2.png) [@jeanFrancoisHicter](https://discourse.processing.org/u/jeanFrancoisHicter)\
**Post date:** [February 26, 2020, 1:41pm UTC](https://discourse.processing.org/t/sound-in-processing-with-jackd-on-linux-ubuntu/18139/4 "2020-02-26T13:41:32Z")

</div>

As I try to launch PraxisLIVE, I have this error message in terminal: _Cannot find java. Please use the --jdkhome switch._

What am I supposed to do?

---

<div class="post-metadata">

**Author:** ![jeanFrancoisHicter](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jeanfrancoishicter/32/8182_2.png) [@jeanFrancoisHicter](https://discourse.processing.org/u/jeanFrancoisHicter)\
**Post date:** [February 26, 2020, 1:56pm UTC](https://discourse.processing.org/t/sound-in-processing-with-jackd-on-linux-ubuntu/18139/5 "2020-02-26T13:56:24Z")

</div>

> Beads

Do you have, by any chance, a tutorial for Beads? All the links I found are dead… 😑

---

<div class="post-metadata">

**Author:** ![jeanFrancoisHicter](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jeanfrancoishicter/32/8182_2.png) [@jeanFrancoisHicter](https://discourse.processing.org/u/jeanFrancoisHicter)\
**Post date:** [February 26, 2020, 2:13pm UTC](https://discourse.processing.org/t/sound-in-processing-with-jackd-on-linux-ubuntu/18139/6 "2020-02-26T14:13:57Z")

</div>

Found this, finally: [https://www.yumpu.com/en/document/read/51513113/sonifying-processing-the-beads-tutorial-computer-music-blog](https://www.yumpu.com/en/document/read/51513113/sonifying-processing-the-beads-tutorial-computer-music-blog)

---

<div class="post-metadata">

**Author:** ![neilcsmith](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/neilcsmith/32/144_2.png) [@neilcsmith](https://discourse.processing.org/u/neilcsmith)\
**Post date:** [February 26, 2020, 2:34pm UTC](https://discourse.processing.org/t/sound-in-processing-with-jackd-on-linux-ubuntu/18139/7 "2020-02-26T14:34:35Z")

</div>

Was trying to find you a link to that that was still alive! Glad you found one.

With PraxisLIVE I assume you didn’t install via .deb? You need OpenJDK 8 installed. Or an OpenJDK 11 from anywhere but Ubuntu - Processing libs will crash the distro JDK 11.

---

<div class="post-metadata">

**Author:** ![jeanFrancoisHicter](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jeanfrancoishicter/32/8182_2.png) [@jeanFrancoisHicter](https://discourse.processing.org/u/jeanFrancoisHicter)\
**Post date:** [February 26, 2020, 2:53pm UTC](https://discourse.processing.org/t/sound-in-processing-with-jackd-on-linux-ubuntu/18139/8 "2020-02-26T14:53:49Z")

</div>

I installed the .deb package, yes. As I can’t find a package in the official repository…

---

<div class="post-metadata">

**Author:** ![jeanFrancoisHicter](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jeanfrancoishicter/32/8182_2.png) [@jeanFrancoisHicter](https://discourse.processing.org/u/jeanFrancoisHicter)\
**Post date:** [February 26, 2020, 6:20pm UTC](https://discourse.processing.org/t/sound-in-processing-with-jackd-on-linux-ubuntu/18139/9 "2020-02-26T18:20:34Z")

</div>

> OpenJDK 8 installed

It works! 🙂  
Now, I’ve got to learn! 😃

> Processing

I tried _minim_ library: it works _jacked and smooth…_ The problem was the _sound_ library… I wonder why this is the official documented library of Processing? 🤔
