Created
December 30, 2018 19:22
-
-
Save digitalohm/2b25e78328b1cc9e3dc69df660c44a48 to your computer and use it in GitHub Desktop.
sc startup
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
s.options.numBuffers = 1026*2; | |
s.options.memSize = (512*1024); | |
s.options.device = "Soundflower (64ch)"; | |
s.options.numOutputBusChannels = 16; | |
//s.options.maxLogins = 50; | |
s.waitForBoot { | |
~dirt = SuperDirt(2, s); // two output channels, increase if you want to pan across more channels | |
//~dirt.loadSoundFiles("/Users/digitalohm/samples/*"); | |
~dirt.loadSoundFiles("/Users/digitalohm/Library/Application Support/SuperCollider/downloaded-quarks/Dirt-Samples/*"); | |
s.sync; // wait for samples to be read | |
~dirt.start(57120, [0,2,4,6,8,10,12,14]); // start listening on port 57120, create N busses each sending audio to channel 0 | |
MIDIClient.init; | |
//MIDIClient.destinations; //This command is used to view your midi devices | |
~midiOut = MIDIOut.newByName("IAC Driver", "IAC Bus 1"); // substitute your own device here | |
~midiOut.latency = 0.0; | |
~dirt.soundLibrary.addMIDI(\midi, ~midiOut); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment