# MODEP and pd concurrently

**URL:** <https://community.blokas.io/t/modep-and-pd-concurrently/471>\
**Category:** MODEP\
**Created:** [March 14, 2018, 9:13am UTC](https://community.blokas.io/t/modep-and-pd-concurrently/471 "2018-03-14T09:13:59Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![martyclark](https://community.blokas.io/user_avatar/community.blokas.io/martyclark/32/198_2.png) [@martyclark](https://community.blokas.io/u/martyclark)\
**Post date:** [March 14, 2018, 9:13am UTC](https://community.blokas.io/t/modep-and-pd-concurrently/471/1 "2018-03-14T09:13:59Z")

</div>

I’m using the excellent MODEP image with my pisound - all worked out of the box no issues. I’m now looking to start experimenting with pd. Is it possible to run pd alongside MODEP, or willI need to ‘stop’ MODEP/ use a fresh install/distro?

For example, I plan to use ny pisound as a guitar preamp/FX unit plus run a synth in pd. Is that possible?

---

<div class="post-metadata">

**Author:** ![ThirdMountain](https://community.blokas.io/user_avatar/community.blokas.io/thirdmountain/32/361_2.png) [@ThirdMountain](https://community.blokas.io/u/ThirdMountain)\
**Post date:** [March 14, 2018, 4:39pm UTC](https://community.blokas.io/t/modep-and-pd-concurrently/471/2 "2018-03-14T16:39:13Z")

</div>

I just posted about this in a reply to another post. I was considering purchasing a sonuus brand guitar to midi converter to play synths in modep… albeit with limitations like only being monophonic and having some latency. I think pure data could be used as an intermediary to accomplish this as well. But I think doing so is going to require more hardware (like a second pisound). It would be super cool if running Pd patches in modep could be accomplished in the future.

---

<div class="post-metadata">

**Author:** ![Giedrius](https://community.blokas.io/letter_avatar_proxy/v4/letter/g/6a8cbe/32.png) [@Giedrius](https://community.blokas.io/u/Giedrius)\
**Post date:** [March 15, 2018, 7:30pm UTC](https://community.blokas.io/t/modep-and-pd-concurrently/471/3 "2018-03-15T19:30:19Z")

</div>

Theoretically that’s possible, though not within the MODEP UI, and can be a bit difficult to get it right.

You’d have to install pure data in the MODEP image and configure Pure Data to use JACK for the backend. Once PD is launched, you’d have to make appropriate Jack connections so it goes to the speakers (or it should even be possible to make it go to some effect in MODEP) using command line tools, or set up a GUI in the image and use qjackctl or patchage to do that.

---

<div class="post-metadata">

**Author:** ![ThirdMountain](https://community.blokas.io/user_avatar/community.blokas.io/thirdmountain/32/361_2.png) [@ThirdMountain](https://community.blokas.io/u/ThirdMountain)\
**Post date:** [March 16, 2018, 7:43am UTC](https://community.blokas.io/t/modep-and-pd-concurrently/471/4 "2018-03-16T07:43:14Z")

</div>

Cool! Is there a way to open a command line while running MODEP? Or how would I go about modifying the disk image to include pure data?

---

<div class="post-metadata">

**Author:** ![martyclark](https://community.blokas.io/user_avatar/community.blokas.io/martyclark/32/198_2.png) [@martyclark](https://community.blokas.io/u/martyclark)\
**Post date:** [March 16, 2018, 8:18am UTC](https://community.blokas.io/t/modep-and-pd-concurrently/471/5 "2018-03-16T08:18:35Z")

</div>

Should just need to connect a monitor via HDMI? Think modep image boots straight to a command line

---

<div class="post-metadata">

**Author:** ![Giedrius](https://community.blokas.io/letter_avatar_proxy/v4/letter/g/6a8cbe/32.png) [@Giedrius](https://community.blokas.io/u/Giedrius)\
**Post date:** [March 16, 2018, 3:57pm UTC](https://community.blokas.io/t/modep-and-pd-concurrently/471/6 "2018-03-16T15:57:21Z")

</div>

Hey, you may use a remote shell (ssh) to connect to it from your computer, you just need to know the IP of the device. (it’s 172.24.1.1 if you’re connected to its hotspot)

`ssh modep@172.24.1.1`

Use ‘blokaslabs’ for password.

Or you can use a HDMI monitor and keyboard as @martyclark said.

---

<div class="post-metadata">

**Author:** ![martyclark](https://community.blokas.io/user_avatar/community.blokas.io/martyclark/32/198_2.png) [@martyclark](https://community.blokas.io/u/martyclark)\
**Post date:** [March 17, 2018, 9:41am UTC](https://community.blokas.io/t/modep-and-pd-concurrently/471/7 "2018-03-17T09:41:11Z")

</div>

@Giedrius thanks. Installed pd on the modep image and have installed pisound app. When attempting to launch a patch (arp odyssey), I’m getting ALSA input/output errors (‘device or resource busy’) - assume this is because modep is connected. Although I will experiment with running pd with jack, if I stop the modep instance would I be able to launch pd with ALSA?

---

<div class="post-metadata">

**Author:** ![Giedrius](https://community.blokas.io/letter_avatar_proxy/v4/letter/g/6a8cbe/32.png) [@Giedrius](https://community.blokas.io/u/Giedrius)\
**Post date:** [March 17, 2018, 9:44am UTC](https://community.blokas.io/t/modep-and-pd-concurrently/471/8 "2018-03-17T09:44:02Z")

</div>

Yes, it’s because of MODEP blocking audio for itself. To run PD using ALSA, stop MODEP by executing:

```auto
sudo systemctl stop mod-ui
sudo systemctl stop mod-host
sudo systemctl stop jack

```

To start it again, use `start` instead of stop and execute in reverse order.

---

<div class="post-metadata">

**Author:** ![martyclark](https://community.blokas.io/user_avatar/community.blokas.io/martyclark/32/198_2.png) [@martyclark](https://community.blokas.io/u/martyclark)\
**Post date:** [March 17, 2018, 12:55pm UTC](https://community.blokas.io/t/modep-and-pd-concurrently/471/9 "2018-03-17T12:55:36Z")

</div>

Cheers @Giedrius that works easy enough for now. Last thing, although I eventually want to run pisound headless, would be useful to look at the pd patches in the gui. I had though the modep image is based on a raspbian image with no desktop? Any recommended options for using pd with a gui?

---

<div class="post-metadata">

**Author:** ![Giedrius](https://community.blokas.io/letter_avatar_proxy/v4/letter/g/6a8cbe/32.png) [@Giedrius](https://community.blokas.io/u/Giedrius)\
**Post date:** [March 17, 2018, 12:56pm UTC](https://community.blokas.io/t/modep-and-pd-concurrently/471/10 "2018-03-17T12:56:51Z")

</div>

It’s built on top of ‘Raspbian Lite’, so any guide on getting GUI installed for it should be good to go: [https://www.raspberrypi.org/forums/viewtopic.php?t=133691](https://www.raspberrypi.org/forums/viewtopic.php?t=133691)

---

<div class="post-metadata">

**Author:** ![martyclark](https://community.blokas.io/user_avatar/community.blokas.io/martyclark/32/198_2.png) [@martyclark](https://community.blokas.io/u/martyclark)\
**Post date:** [March 20, 2018, 10:38pm UTC](https://community.blokas.io/t/modep-and-pd-concurrently/471/11 "2018-03-20T22:38:40Z")

</div>

Cheers @Giedrius managed to install LXDE which I’ll test this weekend.

For info, I also triedto instsll RPD but failed - as in packages installed but x server failed to start. Perhaps missing dependencies.
