Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
clab-220625 [2022/06/24 22:14] – created renick | clab-220625 [2022/06/25 02:30] (current) – renick | ||
---|---|---|---|
Line 8: | Line 8: | ||
- Install node, vim, tmux | - Install node, vim, tmux | ||
- Install libraries | - Install libraries | ||
+ | - Check whether a startup.scd is necessary on mac | ||
+ | - Explain interactive programming in JavaScript | ||
+ | - Explain some basics in JavaScript | ||
- Explain konduktiva usage within infrastructure | - Explain konduktiva usage within infrastructure | ||
- Explain konduktiva from hiphop example | - Explain konduktiva from hiphop example | ||
Line 14: | Line 17: | ||
- Explain how to extend konduktiva | - Explain how to extend konduktiva | ||
- Explain something about Geometries.js | - Explain something about Geometries.js | ||
+ | |||
+ | ===== a shared google doc where you can write things simultaneously, | ||
+ | |||
+ | https:// | ||
+ | |||
+ | ===== a javascript tutorial ===== | ||
+ | |||
+ | https:// | ||
+ | |||
+ | ===== a startup.scd file for you ===== | ||
+ | |||
+ | < | ||
+ | /* | ||
+ | This is an example startup file. You can load it from your startup file | ||
+ | (to be found in Platform.userAppSupportDir +/+ " | ||
+ | */ | ||
+ | |||
+ | |||
+ | ( | ||
+ | s.reboot { // server options are only updated on reboot | ||
+ | // configure the sound server: here you could add hardware specific options | ||
+ | // see http:// | ||
+ | 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" | ||
+ | s.options.numWireBufs = 64; // increase this if you get " | ||
+ | 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 = SuperDirt(2, | ||
+ | ~dirt.loadSoundFiles; | ||
+ | // for example: ~dirt.loadSoundFiles("/ | ||
+ | // s.sync; // optionally: wait for samples to be read | ||
+ | ~dirt.start(57120, | ||
+ | |||
+ | // optional, needed for convenient access from sclang: | ||
+ | ( | ||
+ | ~d1 = ~dirt.orbits[0]; | ||
+ | ~d4 = ~dirt.orbits[3]; | ||
+ | ~d7 = ~dirt.orbits[6]; | ||
+ | ~d10 = ~dirt.orbits[9]; | ||
+ | ); | ||
+ | }; | ||
+ | |||
+ | s.latency = 0.3; // increase this if you get " | ||
+ | }; | ||
+ | ); | ||
+ | |||
+ | </ | ||
+ | |||