From da579694150a27d60a5659a9c6bb869ca1b83b21 Mon Sep 17 00:00:00 2001 From: Raphael Forment Date: Fri, 29 Dec 2023 21:33:57 +0100 Subject: [PATCH] saner boot sequence --- Classes/BuboBoot.sc | 2 +- Classes/Configuration/Startup.scd | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Classes/BuboBoot.sc b/Classes/BuboBoot.sc index 68157c7..e7571fb 100644 --- a/Classes/BuboBoot.sc +++ b/Classes/BuboBoot.sc @@ -24,7 +24,7 @@ Boot { Bank.root = samplePath ? "/Users/bubo/.config/livecoding/samples"; Bank.lazyLoading = true; Server.default.waitForBoot({ - (localPath +/+ "Synthdefs.scd").load; + "-> Loading config from: %".format(localPath +/+ "Startup.scd").postln; (localPath+/+ "Startup.scd").load; StageLimiter.activate; this.fancyPrint(ready, 40); diff --git a/Classes/Configuration/Startup.scd b/Classes/Configuration/Startup.scd index 3eb940e..3f26d79 100644 --- a/Classes/Configuration/Startup.scd +++ b/Classes/Configuration/Startup.scd @@ -1,3 +1,6 @@ -c = currentEnvironment.clock; MIDIClient.init; -m = MIDIOut.newByName("MIDI", "Bus 1"); +p = currentEnvironment; +c = currentEnvironment.clock; +"Loading SynthDefs".postln; +"Synthdefs.scd".loadRelative; +// m = MIDIOut.newByName("MIDI", "Bus 1");