From 8aca939bb9bc587dbff4fdb42471581893fd42b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luka=20Prin=C4=8Di=C4=8D?= Date: Tue, 2 May 2023 18:58:58 +0200 Subject: [PATCH] add upgrade notes, add run folder --- 2023_Upgrade_notes.md | 36 +++++++++++++++++++++++++++ run/processing-runsketch.sh | 14 +++++++++++ run/runjitakami.sh | 49 +++++++++++++++++++++++++++++++++++++ run/runjitscd.sh | 26 ++++++++++++++++++++ 4 files changed, 125 insertions(+) create mode 100644 2023_Upgrade_notes.md create mode 100755 run/processing-runsketch.sh create mode 100755 run/runjitakami.sh create mode 100755 run/runjitscd.sh diff --git a/2023_Upgrade_notes.md b/2023_Upgrade_notes.md new file mode 100644 index 0000000..91a0b93 --- /dev/null +++ b/2023_Upgrade_notes.md @@ -0,0 +1,36 @@ +# trans.fail/xenotopic.network upgrade notes + +`(maj 2023)` + +## general + +- jitakami/processing midi(values 0-127)->osc values (0-1000?) (one day) +- jitakami/p5: titles in source instead of images? + - titles as osc messages? (type[ography] engine?) + + +## ZERO + +add: +- bass/kick +- percusion? +- pads? + + +## INTERRUPT + + + +## TRAP + +## PARITY + +## ADJUST + +## CARRY + +## OVERFLOW + + + + diff --git a/run/processing-runsketch.sh b/run/processing-runsketch.sh new file mode 100755 index 0000000..426454d --- /dev/null +++ b/run/processing-runsketch.sh @@ -0,0 +1,14 @@ +#!/bin/bash +if [[ -z $1 ]]; then + echo "error. no argument." + echo "need the sketch path" +else + +export DISPLAY=":0" +~/.local/src/processing/processing/processing-java \ + --force \ + --sketch=$1 \ + --run \ + --output=$1/output + +fi diff --git a/run/runjitakami.sh b/run/runjitakami.sh new file mode 100755 index 0000000..3a5f51e --- /dev/null +++ b/run/runjitakami.sh @@ -0,0 +1,49 @@ +#!/bin/bash + +# where is our location of this script? +DIR="$(dirname -- "$(readlink -f "${BASH_SOURCE}")")" + +# where is our sketch? path to the folder, not .pde! +SKETCH=$DIR"/../pde/jitakami/" + +# is your processing-java in $PATH? +PROCESSING="processing-java" +#PROCESSING="/home/random/.local/src/processing/processing/processing-java" + +# depends on how your dual-head is setup +# see also processing preferences for secondary display setting +#export DISPLAY=":0" + +# needed on my awesome window manager +wmname LG3D + +# restart on exit/kill. use "entr killall java" to restart on save: +# ls ~/PROJECTS/INTERFACE\ FRACTURES/IF4Q/pde/IF4Q/*.pde | entr killall java +while (true) +do + echo " + + +"; + echo "---------------------------------------------------" + echo "Hello to JITAKAMI!" + echo + echo "~~~ Processing version:..." + # clear + + # version of processing? + processing-java --help|grep "Command line" + + echo + echo "~~~ Program starting - - - - - - - - - - - - - - - - - - - - - - - - - - - - - " + + $PROCESSING \ + --force \ + --sketch="$SKETCH" \ + --run \ + --output="$SKETCH"/output + + echo + echo "~~~ Program has quit. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - " + echo +done diff --git a/run/runjitscd.sh b/run/runjitscd.sh new file mode 100755 index 0000000..ca77f30 --- /dev/null +++ b/run/runjitscd.sh @@ -0,0 +1,26 @@ +#!/bin/bash + +# where resides sclang executable? +SCLANG=/usr/local/bin/sclang + +# echo this file: $BASH_SOURCE +# echo this dir: `dirname $BASH_SOURCE` +# main IF4Q.scd is ../scd/IF4Q.scd from here.. +SCDMAIN=`dirname $BASH_SOURCE`/../scd/jitakami.scd + +#echo $SCLANG $SCDMAIN + + +export DISPLAY=":0.0" +while (true) +do + $SCLANG $SCDMAIN + echo + echo "~~~ Program has quit. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - " + echo + sleep 3; +done + + + +