aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2019-03-02 14:38:05 +0100
committerDavid Runge <dave@sleepmap.de>2019-03-02 14:38:05 +0100
commitf3983913ec33b568ce0d0d9be853d0aafcddc5d0 (patch)
treefb9de80375911b0ea187fde923a7737b78d0e7a4
parent2332acc8bdf18a1e5a654926422357028e1e614e (diff)
downloaddotfiles-f3983913ec33b568ce0d0d9be853d0aafcddc5d0.tar.gz
dotfiles-f3983913ec33b568ce0d0d9be853d0aafcddc5d0.tar.bz2
dotfiles-f3983913ec33b568ce0d0d9be853d0aafcddc5d0.tar.xz
dotfiles-f3983913ec33b568ce0d0d9be853d0aafcddc5d0.zip
.config/SuperCollider/startup.scd: Always evaluating the internal audio card last.
-rw-r--r--.config/SuperCollider/startup.scd26
1 files changed, 11 insertions, 15 deletions
diff --git a/.config/SuperCollider/startup.scd b/.config/SuperCollider/startup.scd
index 98d571e..4bf8669 100644
--- a/.config/SuperCollider/startup.scd
+++ b/.config/SuperCollider/startup.scd
@@ -31,15 +31,6 @@ if(PathName("/dev/fw1").isFile, {
// holding Symbols for accessing groups of inputs and outputs by name
~audioInterfaceOptions = case
{
- ~alsaDevices.contains("PCH")
- }{
- Dictionary.with(*[
- \name->'Internal',
- \numInputs->2,
- \numOutputs->2
- ])
- }
- {
~alsaDevices.contains("Babyface")
}{
Dictionary.with(*[
@@ -47,8 +38,7 @@ if(PathName("/dev/fw1").isFile, {
\numInputs->10,
\numOutputs->12
])
- }
- {
+ }{
~alsaDevices.contains("XUSB")
}{
Dictionary.with(*[
@@ -56,8 +46,7 @@ if(PathName("/dev/fw1").isFile, {
\numInputs->32,
\numOutputs->32
])
- }
- {
+ }{
~alsaDevices.contains("Scarlett 18i20")
}{
Dictionary.with(*[
@@ -65,8 +54,7 @@ if(PathName("/dev/fw1").isFile, {
\numInputs->18,
\numOutputs->20
])
- }
- {
+ }{
~alsaDevices.contains("Fireface UFX ")
}{
Dictionary.with(*[
@@ -88,6 +76,14 @@ if(PathName("/dev/fw1").isFile, {
\spdif->Array.series(2, 12, 1)
])
])
+ }{
+ ~alsaDevices.contains("PCH")
+ }{
+ Dictionary.with(*[
+ \name->'Internal',
+ \numInputs->2,
+ \numOutputs->2
+ ])
};
});
});