clab-220625

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
clab-220625 [2022/06/24 22:28] renickclab-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, including questions =====
  
 https://docs.google.com/document/d/16nOTFyoelqnN0lKkzB7QNuxE1u3laCD2MKDfiCMBnNQ/edit?usp=sharing https://docs.google.com/document/d/16nOTFyoelqnN0lKkzB7QNuxE1u3laCD2MKDfiCMBnNQ/edit?usp=sharing
 +
 +===== a javascript tutorial =====
 +
 +https://renickbell.net/doku.php?id=12-week-p5js
 +
 +===== a startup.scd file for you =====
 +
 +<code>
 +/*
 +This is an example startup file. You can load it from your startup file
 +(to be found in Platform.userAppSupportDir +/+ "startup.scd")
 +*/
 +
 +
 +(
 +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 = 64; // 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 = 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)
 + // 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
 +
 + // 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];
 + );
 + };
 +
 + s.latency = 0.3; // increase this if you get "late" messages
 +};
 +);
 +
 +</code>
 +
 +
  
  • clab-220625.1656134900.txt.gz
  • Last modified: 2022/06/24 22:28
  • by renick