-
First Steps This document is OSX (SCapp) specific in key commands, though the principles extend to all platforms. See the helpfile Shortcuts for key commands in other editors. Hello World, I'm SuperCollider It is traditional when learning a ...
-
... last) Return a new List consisting of the values starting at first , then every step of the distance between first and second , up until last . ( var y, z; z = List [1, 2, 3, 4, 5, 6]; y = z.copySeries(0, 2, 5); y.postln; ) putSeries(first, ...
-
... Color .rand) .action_({ |sl| [ \sliderX , sl.x, \sliderY , sl.y].postln; }); t.step_(0.01); n= CompositeView .new(w, 200@300); n.decorator= FlowLayout (n.bounds); v = { |i| DragBoth (n, Rect (0, i * 20, 200, 20)).align_( \center ).backgrou ...
-
... nd then start synthesis and play them back. The interpreter made sure that each step was only done when the necessary previous step had been completed. In SC3 the separation of language and synth apps creates a problem: How does one side kn ...
-
... value , to return whatever you want your view to return. The instance variable, step , is also often used to allow value to be quantized. thumbSize is used for both width and height of a slider thumb, while thumbWidth or thumbHeight are typ ...
-
... // just returns an instance of Harmonics with size Instance Methods ramp(start, step) a.ramp(1.0, 1.0); // returns a harmonic series b = Buffer .alloc(s, 512, 1); // harmonic series for freqs, ramp down for amps b.sine2(a.ramp(1.0, 1.0).pos ...
-
... ree , Pif ( Ptime ( inf ) < 4.0, Pwhite (-4, 11, inf )), \dur , 0.25 ).play; ) Pstep(levels, durs, repeats): Repeat a 'level' value for its corresponding duration, then move to the next. Pseg(levels, durs, curves, repeats): Similar to Pstep ...
-
... .drawsWaveForm = true ; a.gridOn = true ; a.gridResolution = 0.2; w.front; ) // step by step examples: ( // make a simple SCSoundFileView w = SCWindow .new( "soundfile test" , Rect (10, 700, 750, 100)); w.front; a = SCSoundFileView .new(w, ...
-
... r than -1; a natural minor scale degree below the tonic is a flat 7, and a half step higher than that is the leading tone. ( TempoClock .default.tempo = 84/60; p = Pbind ( \scale , #[0, 2, 3, 5, 7, 8, 10], \root , 2, \degree , Pseq (#[rest, ...
-
... various parameters ( Pdef ( \x , Pbind ( \instrument , \gabor , \freq , Pbrown (step:0.01).linexp(0, 1, 100, 14000), \dur , Pbrown ().linexp(0, 1, 0.004, 0.02), \legato , Pbrown (1, 3, 0.1, inf ), \pan , Pwhite () * Pbrown () ) ).play ) // ...