diff options
author | David Runge <dave@sleepmap.de> | 2019-03-23 18:38:51 -0700 |
---|---|---|
committer | David Runge <dave@sleepmap.de> | 2019-03-23 18:38:51 -0700 |
commit | 3987deccba8417269587a2f3b90f453cbc2a1bf9 (patch) | |
tree | 8233731ae8008b835f57dc249ffbd8b49d8389f5 /.config/SuperCollider | |
parent | 5bbcada1e8e28cf6c664ef54a9e13f6d3d4f0c41 (diff) | |
download | dotfiles-3987deccba8417269587a2f3b90f453cbc2a1bf9.tar.gz dotfiles-3987deccba8417269587a2f3b90f453cbc2a1bf9.tar.bz2 dotfiles-3987deccba8417269587a2f3b90f453cbc2a1bf9.tar.xz dotfiles-3987deccba8417269587a2f3b90f453cbc2a1bf9.zip |
.config/SuperCollider/startup.scd: Adding setup for Focusrite Scarlett 18i20 and a MOTU UltraLite AVB.
Diffstat (limited to '.config/SuperCollider')
-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(*[ |