aboutsummaryrefslogtreecommitdiffstats
path: root/.config/SuperCollider
diff options
context:
space:
mode:
Diffstat (limited to '.config/SuperCollider')
-rw-r--r--.config/SuperCollider/startup.scd11
1 files changed, 8 insertions, 3 deletions
diff --git a/.config/SuperCollider/startup.scd b/.config/SuperCollider/startup.scd
index 8406ad5..4d51dbf 100644
--- a/.config/SuperCollider/startup.scd
+++ b/.config/SuperCollider/startup.scd
@@ -3,12 +3,17 @@ Server.local.options.numInputBusChannels = 2;
Server.local.options.sampleRate = 48000.0;
if(PathName("/dev/fw1").isFile, {
- postln("Adding settings for RME Fireface 800.");
load(Platform.userConfigDir++"/startupfiles/rme_fireface800.scd");
});
-
if(("aplay -l |grep Babyface > /dev/null".systemCmd) == 0, {
- postln("Adding settings for RME Babyface.");
load(Platform.userConfigDir++"/startupfiles/rme_babyface.scd");
});
+if(("aplay -l |grep XUSB > /dev/null".systemCmd) == 0, {
+ load(Platform.userConfigDir++"/startupfiles/behringer_xusb.scd");
+});
+if(("aplay -l |grep 'Scarlett 18i20' > /dev/null".systemCmd) == 0, {
+ load(Platform.userConfigDir++"/startupfiles/focusrite_scarlett18i20.scd");
+});
+postln("Loaded settings for: "++Server.local.options.device);
+//TODO: load all quarks from ~/git/audio automatically, don't use symlinks