Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

provide current working-directory to b700ish_patches.scd #1

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 3 additions & 6 deletions b700ish.scd
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,7 @@
// Buchla 700 voice architecture in Supercollider
// Aaron Lanterman, October 21, 2020

// Make sure you also have b700ish_patches.scd file.
// Also, find the line that reads
// "/Users/lanterma/buchla700_supercollider/b700ish_patches.scd".load;
// and change it to an appropriate path on your machine.
// Make sure you also have b700ish_patches.scd file and store it in the same directory as b700ish.scd.

// Execute this whole-file code block to start.
// There's a bug where you need to manually select a patch from the patch menu before sound will start.
Expand All @@ -31,7 +28,7 @@ FreqScope.new;
~levelAeno = 6; ~levelBeno = 7;
~filteno = 8; ~reseno = 9;

"/Users/lanterma/buchla700_supercollider/b700ish_patches.scd".load;
(thisProcess.nowExecutingPath.dirname ++ "/b700ish_patches.scd").load;
if (~currentPatch.isNil,{~currentPatch=0});
~instruments[~currentPatch].value;

Expand Down Expand Up @@ -485,4 +482,4 @@ StaticText(w, Rect(350,50,160,40)).string_("Patch:");
};

~updateGUI.value;
)
)