aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.config/SuperCollider/startup.scd7
1 files changed, 7 insertions, 0 deletions
diff --git a/.config/SuperCollider/startup.scd b/.config/SuperCollider/startup.scd
index 4bf8669..1bc834d 100644
--- a/.config/SuperCollider/startup.scd
+++ b/.config/SuperCollider/startup.scd
@@ -87,9 +87,12 @@ if(PathName("/dev/fw1").isFile, {
};
});
});
+~additionalChannels = Dictionary.with(*[\inputs -> Dictionary.with(*[]), \outputs -> Dictionary.with(*[])]);
Server.local.options.numInputBusChannels = ~audioInterfaceOptions.at(\numInputs);
Server.local.options.numOutputBusChannels = ~audioInterfaceOptions.at(\numOutputs);
postln("Loaded settings for: "++~audioInterfaceOptions.at(\name));
+postln("Additional channels: "++~additionalChannels.at(\inputs).values++"/ "++~additionalChannels.at(\outputs).values);
+
//postln("Initializing and connecting MIDI devices.");
//MIDIClient.init;
//MIDIIn.connectAll;
@@ -98,3 +101,7 @@ postln("Loaded settings for: "++~audioInterfaceOptions.at(\name));
if (File.exists(Platform.userConfigDir++"/synthdefs.scd"), {
File.readAllString(Platform.userConfigDir++"/synthdefs.scd").interpret;
});
+
+if (File.exists(Platform.userConfigDir++"/functions.scd"), {
+ File.readAllString(Platform.userConfigDir++"/functions.scd").interpret;
+});