-
... in, 0.05, \pan, 0.5] ); */ ); // figure 8.24 - global setup and a player Tdef for the cloud. ( q = q ? (); // some globals q.paramRNames = [\carrRange, \modRange, \indRange, \durRange, \densRange, \ampRange, \panRange]; ...
-
... tiples of 100 Hz. { Mix.ar(SinOsc.ar(freq: 100 * [1, 2, 3, 4, 5], mul: 0.1)) }.play; // This note is made up of 5 freqs that are NOT integer multiples of 100 Hz. { Mix.ar(SinOsc.ar(freq: 100 * [1.01, 1.9, 3, 4.2, 7.4], mul: 0.1)) }.p ...
-
... er = 0.1; ~legato = 2; //~chordSort = { |a, b| a.time < b.time }; // in order played ~chordSort = { |a, b| a.num < b.num }; // lowest to highest //~chordSort = { |a, b| a.num > b.num }; // highest to lowest ~notePat = { |chord| // play ...
-
... emp2.add(out); if((i+1) > (temp.size**2), {temp = temp2}); } }); ) r.play; r.stop; //simple musical examples (//disperser taken from https://scsynth.org/t/phase-rotation-fos/5575 SynthDef(\simpleSaw, { arg roo ...
-
... le) ( ~task.stop; ~task= Task({ ~num.do{|i| Ndef(("alarm"++i).asSymbol).play(fadeTime: ~fadeTime).set(\amp, 7/~num).postln; i.linlin(0, ~num-1, ~fadeTime*2, ~fadeTime/2).wait; }; }).play; ) //--stop alarms ( ~task.stop ...
-
... [4,4,0,4,-1,2s],1), \ctranspose, -24, \dur, 8, ); ) ~melody1.play; ~melody2.play; ~bass1.play; ~bass2.play; ~vio1.play; ~viodrop.play; ~bdrop.play; ( t=TempoClock(155/60); Pspawner({ arg maestro; ma ...
-
... Spec.add(\rate, [1, 40000, \exp]); ) Ndef(\deta).clear ( // the score player Tdef(\player).quant = nil; Ndef(\deta).quant = nil; Ndef(\deta).fadeTime = 0; Tdef(\player, { var score = 48.collect{ ([3, 11, 13, 17, ...
-
... n beats, // and not in absolute time. This means that the TempoClock used for playing the pattern // will influence the timeline. // // Nevertheless, it can already be useful. // // // Manual: // // schedule pattern to start on b ...
-
Modal synthesis of xilophone, marimba, glokenspiel, tubular bells by nicolaariutti (nicolaariutti) Code
... ll, \fs, Pseq( (60..72), 1).midicps, \t60, 6, \pitchy, 4, \dur, 0.25 ).play; ) // tubular bells ( Pbind( \instrument, \bell, \fs, Pseq( (60..72), 1).midicps, \t60, 9, \pitchy, 1, \dur, 1 ).play; ) // xilophone ...
-
... .ar( in: snd, freq: LFNoise2.kr(1).range(lofreq, hifreq) ); snd = Splay.ar(snd); Out.ar(0, snd); }).add; ) // Example 1 - hihat only ( Pbind( \instrument, "hihat", \dur, Pseq([ 1/8, 1/8, ...