aboutsummaryrefslogtreecommitdiffstats
path: root/.config/SuperCollider/startup.scd
blob: a6c1c593d06f30941533e4e44a0ade0a2fdc3c06 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Server.local.options.numOutputBusChannels = 2;
Server.local.options.numInputBusChannels = 2;

~config;

if(PathName("/dev/fw1").isFile, {
  postln("Adding settings for RME Fireface 800.");
  ~config = File.new(Platform.userConfigDir++"/startupfiles/rme_fireface800.scd", "r");
});

if(("aplay -l |grep Babyface > /dev/null".systemCmd) == 0, {
  postln("Adding settings for RME Babyface.");
  ~config = File.new(Platform.userConfigDir++"/startupfiles/rme_babyface.scd", "r");
});

if(~config.isNil.not, {
  ~config.readAllString.interpret;
});