Server.local.options.numOutputBusChannels = 2; Server.local.options.numInputBusChannels = 2; Server.local.options.sampleRate = 48000.0; if(PathName("/dev/fw1").isFile, { load(Platform.userConfigDir++"/startupfiles/rme_fireface800.scd"); }); if(("aplay -l |grep Babyface > /dev/null".systemCmd) == 0, { load(Platform.userConfigDir++"/startupfiles/rme_babyface.scd"); }); if(("aplay -l |grep XUSB > /dev/null".systemCmd) == 0, { load(Platform.userConfigDir++"/startupfiles/behringer_xusb.scd"); }); if(("aplay -l |grep 'Scarlett 18i20' > /dev/null".systemCmd) == 0, { load(Platform.userConfigDir++"/startupfiles/focusrite_scarlett18i20.scd"); }); postln("Loaded settings for: "++Server.local.options.device); //TODO: load all quarks from ~/git/audio automatically, don't use symlinks