diff options
-rw-r--r-- | .config/SuperCollider/startup.scd | 29 |
1 files changed, 25 insertions, 4 deletions
diff --git a/.config/SuperCollider/startup.scd b/.config/SuperCollider/startup.scd index 2945522..5815eaa 100644 --- a/.config/SuperCollider/startup.scd +++ b/.config/SuperCollider/startup.scd @@ -30,19 +30,40 @@ 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") }{ - ['RME Babyface', 12, 10] + Dictionary.with(*[ + \name->'RME Babyface', + \numInputs->10, + \numOutputs->12 + ]) } { ~alsaDevices.contains("XUSB") }{ - ['Behringer XUSB', 32, 32] + Dictionary.with(*[ + \name->'Behringer XUSB', + \numInputs->32, + \numOutputs->32 + ]) } { ~alsaDevices.contains("Scarlett 18i20") }{ - ['Focusrite Scarlett 18i20', 20, 18] + Dictionary.with(*[ + \name->'Focusrite Scarlett 18i20', + \numInputs->18, + \numOutputs->20 + ]) } { ~alsaDevices.contains("Fireface UFX ") @@ -76,5 +97,5 @@ postln("Initializing and connecting MIDI devices."); MIDIClient.init; MIDIIn.connectAll; -//TODO: load all quarks from ~/git/audio automatically, don't use symlinks +//TODO: use Quarks interface to install/update needed Quarks instead of symlinking. |