diff --git a/usr/home/SuperCollider/archive.sctxar b/usr/home/SuperCollider/archive.sctxar new file mode 100644 index 0000000..098285a --- /dev/null +++ b/usr/home/SuperCollider/archive.sctxar @@ -0,0 +1,22 @@ +var o, p; +o = [ + Archive.prNew, IdentityDictionary.prNew, Array.prNew(32) +]; +p = [ + // Archive + 0, [ dictionary: o[1] ], + // IdentityDictionary + 1, [ array: o[2], size: 0, + proto: nil, parent: nil, + know: false ], + // Array + 2, [ nil, nil, nil, nil, + nil, nil, nil, nil, + nil, nil, nil, nil, + nil, nil, nil, nil, + nil, nil, nil, nil, + nil, nil, nil, nil, + nil, nil, nil, nil, + nil, nil, nil, nil ] +]; +prUnarchive(o,p); diff --git a/usr/home/SuperCollider/downloaded-quarks/Dirt-Samples b/usr/home/SuperCollider/downloaded-quarks/Dirt-Samples new file mode 160000 index 0000000..c74fc80 --- /dev/null +++ b/usr/home/SuperCollider/downloaded-quarks/Dirt-Samples @@ -0,0 +1 @@ +Subproject commit c74fc80f8db8038f6a33648ffef5ac00a07ad402 diff --git a/usr/home/SuperCollider/downloaded-quarks/SuperDirt b/usr/home/SuperCollider/downloaded-quarks/SuperDirt new file mode 160000 index 0000000..adb0ed3 --- /dev/null +++ b/usr/home/SuperCollider/downloaded-quarks/SuperDirt @@ -0,0 +1 @@ +Subproject commit adb0ed30a0834c99c4632828b8e87b6d00cbc5df diff --git a/usr/home/SuperCollider/downloaded-quarks/Vowel b/usr/home/SuperCollider/downloaded-quarks/Vowel new file mode 160000 index 0000000..ab59caa --- /dev/null +++ b/usr/home/SuperCollider/downloaded-quarks/Vowel @@ -0,0 +1 @@ +Subproject commit ab59caa870201ecf2604b3efdd2196e21a8b5446 diff --git a/usr/home/SuperCollider/downloaded-quarks/quarks b/usr/home/SuperCollider/downloaded-quarks/quarks new file mode 160000 index 0000000..0bc7e42 --- /dev/null +++ b/usr/home/SuperCollider/downloaded-quarks/quarks @@ -0,0 +1 @@ +Subproject commit 0bc7e426ac136e1381a0f1d5e1820df19ec8605e diff --git a/usr/home/SuperCollider/sclang_conf.yaml b/usr/home/SuperCollider/sclang_conf.yaml new file mode 100644 index 0000000..76fcb12 --- /dev/null +++ b/usr/home/SuperCollider/sclang_conf.yaml @@ -0,0 +1,8 @@ +includePaths: + - /home/pain/.local/share/SuperCollider/downloaded-quarks/Vowel + - /home/pain/.local/share/SuperCollider/downloaded-quarks/Dirt-Samples + - /home/pain/.local/share/SuperCollider/downloaded-quarks/SuperDirt +excludePaths: + [] +postInlineWarnings: false +excludeDefaultPaths: false \ No newline at end of file diff --git a/usr/home/SuperCollider/startup.scd b/usr/home/SuperCollider/startup.scd new file mode 100644 index 0000000..2651239 --- /dev/null +++ b/usr/home/SuperCollider/startup.scd @@ -0,0 +1,57 @@ +/* +This is an example startup file. +If you want to modify it, best copy it elsewhere to keep the git repository clean. + +You can then load it by calling +"path/to/my/superdirt_startup.scd".load +from the supercollider startup file + +The supercollider startup file is to be found in +Platform.userAppSupportDir +/+ "startup.scd", +or via the menu File > Open startup file +*/ + + +( +s.reboot { // server options are only updated on reboot + // configure the sound server: here you could add hardware specific options + // see http://doc.sccode.org/Classes/ServerOptions.html + s.options.numBuffers = 1024 * 256; // increase this if you need to load more samples + s.options.memSize = 8192 * 32; // increase this if you get "alloc failed" messages + s.options.numWireBufs = 2048; // increase this if you get "exceeded number of interconnect buffers" messages + s.options.maxNodes = 1024 * 32; // increase this if you are getting drop outs and the message "too many nodes" + s.options.numOutputBusChannels = 2; // set this to your hardware output channel size, if necessary + s.options.numInputBusChannels = 2; // set this to your hardware output channel size, if necessary + // boot the server and start SuperDirt + s.waitForBoot { + ~dirt.stop; // stop any old ones, avoid duplicate dirt (if it is nil, this won't do anything) + ~dirt = SuperDirt(2, s); // two output channels, increase if you want to pan across more channels + ~dirt.loadSoundFiles; // load samples (path containing a wildcard can be passed in) + ~dirt.loadSoundFiles("/home/pain/Music/tidal/sounds/samples/*"); // load samples (path containing a wildcard can be passed in) + // for example: ~dirt.loadSoundFiles("/Users/myUserName/Dirt/samples/*"); + // s.sync; // optionally: wait for samples to be read + ~dirt.start(57120, 0 ! 12); // start listening on port 57120, create two busses each sending audio to channel 0 + SuperDirt.default = ~dirt; // make this instance available in sclang (optional) + + // optional, needed for convenient access from sclang: + ( + ~d1 = ~dirt.orbits[0]; ~d2 = ~dirt.orbits[1]; ~d3 = ~dirt.orbits[2]; + ~d4 = ~dirt.orbits[3]; ~d5 = ~dirt.orbits[4]; ~d6 = ~dirt.orbits[5]; + ~d7 = ~dirt.orbits[6]; ~d8 = ~dirt.orbits[7]; ~d9 = ~dirt.orbits[8]; + ~d10 = ~dirt.orbits[9]; ~d11 = ~dirt.orbits[10]; ~d12 = ~dirt.orbits[11]; + ); + + // directly below here, in your own copy of this file, you could add further code that you want to call on startup + // this makes sure the server and ~dirt are running + // you can keep this separate and make it easier to switch between setups + // by using "path/to/my/file.scd".load and if necessary commenting out different load statements + // ... + + }; + + s.latency = 0.3; // increase this if you get "late" messages + + +}; +); +