-
... f you like, record a soundfile (wait 8 sec) ( var time = 8; var f = { var mod = Line.kr(0, 1, time); var imp = Impulse.ar(mod.linexp(0, 1, 1, 16) * [2, 3]); var fmod = SinOsc.ar(mod.linexp(0, 1, 244 * rrand(0.4, 1.4), 0.01)); fmod = fmod * ...
-
... le to hear the rhythmic aspects of this procedure properly //must have run this line before any of the examples f= BBCutBuffer(Platform.resourceDir +/+ "sounds/break.aiff",8); //default cutups BBCut2(CutBuf1(f),BBCutProc11.new).play(2.4); ( ...
-
... s called automatically. The entire suite of scripting objects is only about 500 lines of code, so it should be fairly easy to learn the whole thing quite quickly. There are almost no private methods. x = Mx.new.app; x.play; // while scripti ...
-
... the server to send a reply, so by the time we get around to executing the last line of code f has been set to 880, as we expected. In the previous example this wasn't a problem, as we were only executing a line at a time. But there will be ...
-
... GUI.popUpMenu.new(win, Rect(123, 212, 65, 14)) .items_(["filled", "unfilled", "lines"]) .value_(params[1]) .font_(GUI.font.new("Helvetica", 9)) .background_(Color.white) .canFocus_(false) .action_({ arg ch; switch (ch.value) {0} { multisli ...
-
... s new Inherited class methods Instance methods Accessing Instance Variables nextLine indentedRemaining bounds innerBounds gap margin Subclassing and Internal Methods left top shift maxHeight maxRight currentBounds used reset Inherited insta ...
-
... and margins: // remove header (and Music engraved note at bottom) \header { tagline = ##f composer = ##f } \paper { paper-width = 7\cm paper-height = 7\cm top-margin = 0.1\cm left-margin = 0.1\cm } */ LPObj { classvar <>lilypondPath = "/Ap ...
-
... (dims[0]+1)), 35 + (22*l), 20, 20) ).states_([['p']]).action_({ // dice pattern line buttons[l].do({ |b| one_button.(b, density_one) }); // tweak it }).mouseOverAction_({ status.string = 'randomize pattern' }), Button( w, Rect( 10 ...
-
... FT({ LocalBuf(128, 1) }.dup, in); chain = PV_BrickWall(chain, SinOsc.kr(rate * XLine.kr(1, 15 * [1, 1.6], sustain), Rand(0, pi)) ); Out.ar(out, IFFT(chain) * XLine.kr(1, 0.001, sustain, doneAction: Done.freeSelf)) // inverse FFT }).add; ) ( ...
-
... ; //event.wfsSynth.checkSoundFile; } }) } draw { |scaledUserView, maxWidth| var lineAlpha = if( event.disabled ) { 0.5 } { 0.875 }; var scaledRect, innerRect; var px5sq; var pixelScale; pixelScale = scaledUserView.pixelScale; this.createRec ...