From f09683724593367197bb5f282636327183be0302 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Phillip=20K=C3=BChne?= Date: Mon, 29 Jan 2024 22:38:28 +0100 Subject: [PATCH] Add utility scripts --- tools/superdirt.sh | 4 ++++ tools/tidal | 2 ++ 2 files changed, 6 insertions(+) create mode 100755 tools/superdirt.sh create mode 100755 tools/tidal diff --git a/tools/superdirt.sh b/tools/superdirt.sh new file mode 100755 index 0000000..121a5dd --- /dev/null +++ b/tools/superdirt.sh @@ -0,0 +1,4 @@ +#!/bin/sh +# Make SuperCollider construct the Path to the default SuperDirt startup file and load it. +# Afterwards direct stdin to sclang so we can control it. +(echo -e 'load(Platform.userAppSupportDir+/+"/downloaded-quarks/SuperDirt/superdirt_startup.scd")' && cat) | sclang \ No newline at end of file diff --git a/tools/tidal b/tools/tidal new file mode 100755 index 0000000..acd4c94 --- /dev/null +++ b/tools/tidal @@ -0,0 +1,2 @@ +#!/bin/sh +ghci -ghci-script $(ghc -e 'import Paths_tidal' -e 'getDataDir>>=putStr')/BootTidal.hs