diff options
author | David Runge <dave@sleepmap.de> | 2019-04-08 23:22:27 +0200 |
---|---|---|
committer | David Runge <dave@sleepmap.de> | 2019-04-08 23:22:27 +0200 |
commit | 64bfe65b131d00292929021873176f78ba34d04a (patch) | |
tree | f08461cc4de81e6bba52fa0ecb18bbb75f99ac46 | |
parent | 063d5265e415d227146d881a3bde097175d4f97e (diff) | |
parent | 3987deccba8417269587a2f3b90f453cbc2a1bf9 (diff) | |
download | dotfiles-64bfe65b131d00292929021873176f78ba34d04a.tar.gz dotfiles-64bfe65b131d00292929021873176f78ba34d04a.tar.bz2 dotfiles-64bfe65b131d00292929021873176f78ba34d04a.tar.xz dotfiles-64bfe65b131d00292929021873176f78ba34d04a.zip |
Merge branch 'master' of sleepmap.de:config/dotfiles
* 'master' of sleepmap.de:config/dotfiles:
.config/SuperCollider/startup.scd: Adding setup for Focusrite Scarlett 18i20 and a MOTU UltraLite AVB.
-rw-r--r-- | .config/SuperCollider/startup.scd | 31 |
1 files changed, 30 insertions, 1 deletions
diff --git a/.config/SuperCollider/startup.scd b/.config/SuperCollider/startup.scd index 1bc834d..061c069 100644 --- a/.config/SuperCollider/startup.scd +++ b/.config/SuperCollider/startup.scd @@ -52,7 +52,19 @@ if(PathName("/dev/fw1").isFile, { Dictionary.with(*[ \name->'Focusrite Scarlett 18i20', \numInputs->18, - \numOutputs->20 + \numOutputs->20, + \inputs->Dictionary.with(*[ + \analog1->Array.series(8, 0, 1), + \spdif->Array.series(2, 8, 1), + \adat1->Array.series(8, 10, 1) + ]), + \outputs->Dictionary.with(*[ + \analog1->Array.series(10, 0, 1), + \headphones1->Array.series(2, 6, 1), + \headphones2->Array.series(2, 8, 1), + \spdif->Array.series(2, 10, 1), + \adat1->Array.series(8, 12, 1) + ]) ]) }{ ~alsaDevices.contains("Fireface UFX ") @@ -77,6 +89,23 @@ if(PathName("/dev/fw1").isFile, { ]) ]) }{ + ~alsaDevices.contains("GRAILUltraLite") + }{ + Dictionary.with(*[ + \name->'Motu UltraLite AVB', + \numInputs->24, + \numOutputs->24, + \inputs->Dictionary.with(*[ + \adat1->Array.series(8, 10, 1), + \analog1->Array.series(10, 0, 1), + ]), + \outputs->Dictionary.with(*[ + \adat1->Array.series(8, 10, 1), + \analog1->Array.with(0,1,4,5,6,7), + \headphones1->Array.with(2,3) + ]) + ]) + }{ ~alsaDevices.contains("PCH") }{ Dictionary.with(*[ |