permacomputing

Source repository for the main permacomputing wiki site
git clone http://git.permacomputing.net/repos/permacomputing.git # read-only access
Log | Files | Refs

commit dc4261ae3443e5d2520f4ebbc56fd0498a27a853
parent 9a30a29fcb2725b317e3cc693f3167a0fd12be6b
Author: ugrnm <ultrageranium@bleu255.com>
Date:   Thu, 26 Nov 2026 15:15:59 +0100

pd workflow

Diffstat:
Mrecomposing_ewaste.mdwn | 40++++++++++++++++++++++++++++++++++++++--
1 file changed, 38 insertions(+), 2 deletions(-)

diff --git a/recomposing_ewaste.mdwn b/recomposing_ewaste.mdwn @@ -172,7 +172,7 @@ Note: this tutorial is based on the first few patches from the [GOTO10 canvas Pd * Groups of 2, installed phones available. Crash course command line so they know how to start <code>pd</code> and the different parts and start to play with the synth (Boris). 120 min (including tea break) -<code>TODO</code> +<code>TODO CLI tutorial + 3 terminals trick</code> Day 2. Saturday 28th of November ================================ @@ -196,7 +196,43 @@ This section of the workshop introduces participants to two musical elements tha Second, a collection of musical pitches referred to by composer Olivier Messiaen (1908-1992) as “modes of limited transposition”. We will introduce and demonstrate these modes as musical elements, explain why we selected them, and how we translated them into Pure Data for integration within parameters of the patch. -* Explaining the development workflow: Know how to run the python script so it runs on the laptop and not on the the phone. Need to derive a little workflow and help them with this. > needs a script. The phone should control the PD patch. (Boris & Aymeric) 60 min +* Explaining the development workflow: Know how to run the python script so it runs on the laptop and not on the the phone. The phone input will be redirected to the development machine and into the Pd patch. (Boris & Aymeric) 60 min + + +Open a terminal on the development machine: + +```sh +ssh user@172.16.42.1 +``` + +On the phone: + +```sh +tmux +cd unbrick01 +git pull +cd pd/startup +./touch2pd.py --remote +``` +Open another terminal on the development machine: + +```sh +cd unbrick01/pd/stable +pw-jack pd -stderr -jack -font-face Terminus chkahichdahk.pd +``` + +This is only one way to do it, please adjust in case you are already connected with the phone, or if Pd is already running. Etc. To confirm that everything works, move your finger across the phone touchscreen, you should see a flow of such messages **on the terminal from which Pd was started**, not the terminal used to ssh into the phone: + +```sh +[...] +udp: null 0.26843 0.7498 +udp: null 0.28512 0.7498 +udp: null 0.29624 0.7498 +udp: null 0.30459 0.7498 +udp: null 0.31015 0.7498 +udp: null 0.31293 0.7498 +[...] +``` 13.00 - 14.00: lunch