From 3987deccba8417269587a2f3b90f453cbc2a1bf9 Mon Sep 17 00:00:00 2001 From: David Runge Date: Sat, 23 Mar 2019 18:38:51 -0700 Subject: .config/SuperCollider/startup.scd: Adding setup for Focusrite Scarlett 18i20 and a MOTU UltraLite AVB. --- .config/SuperCollider/startup.scd | 31 ++++++++++++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) (limited to '.config/SuperCollider') 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 ") @@ -76,6 +88,23 @@ if(PathName("/dev/fw1").isFile, { \spdif->Array.series(2, 12, 1) ]) ]) + }{ + ~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") }{ -- cgit v1.2.3-70-g09d2