Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2366) Code (121) Doc (629) Help (191) Quark (1309) Plugin (116) SCDoc ↗ Forum ↗ Google ↗
  1. Sweep Help

    ... )); SinOsc .ar( Sweep .kr(trig, 700) + 500, 0, 0.2) }.play; ) // using sweep to index into a buffer s.sendMsg( "/b_allocRead" , 0, "sounds/a11wlk01.wav" ); ( { var trig; trig = Impulse .kr( MouseX .kr(0.5, 10, 1)); BufRd .ar(1, 0, Sweep .ar ...

  2. Pswitch Help

    ... is itself a pattern, it first completely embeds it before looking for the next index. see also Pswitch1 ( var a, b; a = Pseq ([1, 2, 3], 2); b = Pseq ([65, 76]); c = Pswitch ([a, b, 800], Pseq ([2, 2, 0, 1], inf )); x = c.asStream; 24.do({ ...

  3. Buffers Help

    ... s in a buffer. Buffer-get and Buffer-set are straightforward to use and take an index as an argument. Multichannel buffers interleave their data, so for a two channel buffer index 0 = frame1-chan1, index 1 = frame1-chan2, index 2 = frame2-c ...

  4. Pswitch1 Help

    ... . If the element is itself a pattern, it embeds only one of its values for each index, and thus switches between all patterns in the list. see also: Pswitch ( var a, b; a = Pseq ([1, 2, 3], inf); b = Pseq ([65, 76], inf); c = Pswitch1 ([a, ...

  5. MIDIResponder Help

    ... m this port. The number may be the system UID (obtained from MIDIClient.sources[index].uid) or the index itself. If nil, the responder will match any port. chan : The MIDI channel(s) to match. num : The control or note number(s) to match. v ...

  6. Dbufrd Help

    ... e either demand ugen or any other ugen. bufnum buffer number to read from phase index into the buffer loop when phase exceeds number of frames in buffer, loops when set to 1 (default :1) see also [ Dbufwr ] // example b = Buffer .alloc(s, 2 ...

  7. Node Help

    ... , 1); // two pairs x.set(0, 660, 1, 0); // freq is the first argument, so it's index is 0. out is index 1. x.free; Values that are arrays are sent using the OSC array type-tags ($[ and $]). These values will be assigned to subsequent contr ...

  8. ReplaceOut Help

    ... audio bus. *kr(bus, channelsArray) - write a signal to a control bus. bus - the index of the bus to write out to. The lowest numbers are written to the audio hardware. channelsArray - an Array of channels or single output to write out. You ...

  9. SharedIn Help

    ... de arguments or the set method of Bus (or /c_set in messaging style). bus - the index of the shared control bus to read from numChannels - the number of channels (i.e. adjacent buses) to read in. The default is 1. You cannot modulate this n ...

  10. SerialPort Help

    ... s; // opening the port // instance creation arguments // // port device path or index // baudrate baudrate [4800..230400] // databits 5 | 6 | 7 | 8 // stopbits true | false // parity nil | 'even' | 'odd' // crtscts hardware flow control (tr ...

prev 11 12 13 14 15 16 17 18 19 20 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow