-
... //create instruction set; just interpolate (0,0) -> (1,1) -> (0,1) -> (1,0) and loop, with 441 sample interpolation between each point c=[6,0,7,0,6,1,7,1,0,0.0882,6,0,7,1,0,0.0882,6,1,7,0,0,0.0882,6,0,7,0,0,0.0882,9,4]++Array.fill(50,0.0); ...
-
... ///////////////////////////////// サンプルをループする サウンド・ファイルを何度も何度も繰り返し再生するには、PlayBufのloopアーギュメント(コントロール)を使います。 しかし、PlayBufのインスタンスのloopアーギュメントに任せてファイル全体をループする代わりに、正確な繰り返しが起きる様にスケジューリングすることで、より細かくコントロールすることもできます。 ////////////////////////////////// ...
-
... he number of items to output this time. (In Pshuf, it is the number of times to loop over the shuffled list.) The list will be reshuffled automatically across repeats. The specific behavior depends upon the local flag (see below). (Pshuf ma ...
-
... >Modality EventList Extension a list of recorded events in time. See also: EventLoop , KeyPlayer , TaskProxy Description EventList is a list of Events which is usually recorded and used for playback. EventLists are used in EventLoop, KeyPla ...
-
... ith patterns. (See Adverbs for Binary Operators .) This adverb is like a nested loop: in streamA +.x streamB , the first value of streamA is added to every value of streamB in succession, then the second value of streamA is added to every s ...
-
... w(pi) / pi; ps = Array.geom( 7, 4 %/ 1, 4 %/ 7 ); f = rrand( 20, 16000 ); l = { loop { next_i=is.choose; if ( f <= 200 ) { next_i = max(next_i,next_i.reciprocal) }; if ( f >= 2600 ) { next_i = min(next_i,next_i.reciprocal) }; " -> ".post; f ...
-
... |out = 0, bufnum = 0, rate = 1, startPos = 0, amp = 0.1, sustain = 1, pan = 0, loop = 1| var audio; rate = rate * BufRateScale.ir(bufnum); startPos = startPos * BufFrames.ir(bufnum); audio = BufRd.ar(1, bufnum, Phasor.ar(0, rate, startPos, ...
-
... fsize / 2).reciprocal; }; Out.kr(~bus, mags); (sig * 0.1).dup }.play; t = Task{ loop{ 0.1.wait; ~bus.getn(~binfreqs.size, {|vals| {m.value = vals}.defer; }) } }.play; w.onClose_{~bus.free; x.free; t.stop; }; ) w.close; ⧉ ✔ helpfile source: ...
-
... ////////////////// // ... エンベロープの時間をシンセが作られるたびに毎回違ったものにスケーリングする ( r = Routine({ loop({ Synth("timeScale", [\ts, 0.01.rrand(0.3)]); 0.5.wait; }) }); ) r.play ⧉ ✔ /////////////////////////////////////////////////////////////////////////////// ...
-
... ams as a sequence of pitches var stream, dur; dur = 1/8; stream = Routine.new({ loop({ if (0.5.coin, { // run of fifths: 24.yield; 31.yield; 36.yield; 43.yield; 48.yield; 55.yield; }); rrand(2,5).do({ // varying arpeggio 60.yield; #[63,65]. ...