-
... Pulse .ar(400,0.5,0.2), Pulse .ar(500,0.1,0.2), Pulse .ar(600,0.5,0.2) ] A more complex example based on the Saw example above is given below. In this example, the XLine is expanded to two instances, one going from 8000 Hz to 400 Hz and the ...
-
Using samples Playing a pattern in time with a sampled loop A deceptively complex requirement... here, we will loop the a11wlk01.wav sample between 0.404561 and 3.185917 seconds (chosen for its surprisingly accurate four-beat groove), and o ...
-
... pically used to make editable envelopes interfaces, it can be used to draw very complex interconnection graphs as well. Some Important Issues Regarding SCEnvelopeView The instance variable step must be explicitly set for the defautlKeyDownA ...
-
... rt 4 The preceeding sections showed how to use Streams and Patterns to generate complex sequences of values for a single parameter at a time. This section covers Environments and Events, which are used to build a symbolic event framework fo ...
-
... z = buf.clump(2).flop; z = [ Signal .newFrom(z[0]), Signal .newFrom(z[1])]; x = Complex (z[0], z[1]); //{m.setInputValue(\magnitudes, x.magnitude.resamp1(m.bounds.height * 0.5));}.defer {m.setInputValue( \magnitudes , x.magnitude * 0.025); ...
-
... ait; w.close }, AppClock ); }); CmdPeriod .doOnce({w.close}); w.front; }); ) // complex drag and drop example // try dragging the buttons to white slot, adn then between white slots, or simply out fo the view ( var w, f, slots; var insert, ...
-
... ern by itself is not so exciting. But patterns can be used together to get more complex results. Patterns within list patterns We saw list patterns ( Pseq , Prand , etc.) that returned numbers from a preset list, either in the order given o ...
-
... the instruction to interpret and print a command line. Here is a slightly more complex example, showing how you can use the variables listed for each call in the call stack to help locate the error. Routine ({ var a; a = 5; loop { var b; b ...
-
... ction , and then revert to the previous graphics state. This allows you to make complex transformations of the graphics state without having to explicitly revert to get back to 'normal'. ( // modified by an example of Stefan Wittwer w = Win ...
-
... tset] Note: This fast forwarding might create a cpu peak if the pattern is very complex/fast or quant is very long. This is hard to avoid, so it simply has to be taken into account. // examples ( Pdef ( \x ).quant_([8, 0, 0, 1]); Pdef ( \y ...