Skip to content

Instantly share code, notes, and snippets.

@tado
Created March 29, 2023 05:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tado/e2772d07c2dbb45477609cd97171b5e4 to your computer and use it in GitHub Desktop.
Save tado/e2772d07c2dbb45477609cd97171b5e4 to your computer and use it in GitHub Desktop.
SuperDirt multi cannel (22ch)
//SuperDirt setup
s = Server.local;
s.reboot {
s.options.sampleRate = 48000;
s.options.numBuffers = 1024 * 256;
s.options.memSize = 8192 * 32;
s.options.numWireBufs = 64;
s.options.maxNodes = 1024 * 32;
s.options.numOutputBusChannels = 22; // 22ch!!
s.options.numInputBusChannels = 2;
s.volume = -3.0;
s.waitForBoot {
s.waitForBoot {
~dirt = SuperDirt(22, s); // 22ch
~dirt.loadSoundFiles;
~dirt.loadSoundFiles("C:/Users/tado/AppData/Local/SuperCollider/downloaded-quarks/samples-extra/*");
~dirt.start(57120, [0]); // output 22ch in one orbit
};
};
s.latency = 0.5;
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment