-
... de, keycode, key; if(k.includes(key).not,{ k.add(key); // add keystroke to list of keys being held switch(key, 65, {paddleMovements[0] = paddleSpeed*(-1)}, // left player 0 68, {paddleMovements[0] = paddleSpeed}, // right ...
-
... ymbol, { ^JSON.stringify(obj.asString) }); if(obj.isKindOf(Dictionary), { out = List.new; obj.keysValuesDo({ arg key, value; out.add( key.asString.asCompileString ++ ":" + JSON.stringify(value) ); }); ^("{" ++ (out.join(", ")) ++ "}"); }); ...
-
... have gotten a window with a brief description of the class and what it does, a list of some methods, and a description of their arguments. (Remember that 'mul' and 'add' are usually not explained.) Beneath that are some examples of the cla ...
-
One of the common questions on the list is about handling very large sound files with BufRd. BufRd indexes into the buffer using a single-precision float, which supports buffers only up to 2**24 frames (a bit more than six minutes at 44.1 k ...
-
... e little improvised phrasings. */ MIDIClient.init; /* Choose from the list of devices your internal MIDI router, so to send the notes to piano intrument in your favourite DAW */ ~mOut = MIDIOut.new(3); //Set the scale to be ...
-
SuperCollider CLASSES (extension) Undocumented classes EventList (Undocumented class) Source: /home/egor/.local/share/SuperCollider/downloaded-quarks/KtlLoop/Classes/ EventList.sc Inherits from: List : SequenceableCollection : Collection : ...
-
... string representation of an IP address, match it against a CIDR range or range list, determine if it falls into some reserved ranges (examples include loopback and private ranges), and convert between IPv4 and IPv4-mapped IPv6 addresses. [ ...
-
... 0; startingPlayFlag = false; comingFromFieldFlag = false; writtenBufferNames = List.new; runningFlag = false; buffer = Buffer.alloc(s, s.sampleRate * bufferSecs, 1); win = GUI.window.new("- stratosampler -", Rect(point.x, point.y, 820, 240 ...
-
... bject); classes.do { |class| fileClassMap.atFail(class.filenameSymbol, { var newList = List(); fileClassMap[class.filenameSymbol] = newList; newList; }).add(class); class.methods.do { |method| fileMethodMap.atFail(method.filenameSymbol, { v ...
-
... val }{ elapsed = nextElapsed; inval = delta.yield; }; }); } } // Pswitch embeds list items in the stream; Pswitch1 embeds stream values singly // Pwhile embeds its pattern in the stream; Pwhile1 embeds stream values singly Pwhile1 : Pwhile ...