-
... en make a class for this (and a future Quark?) Goal was to use less than 100 lines. Turned up working with just 35 :) var window = Window("OSC to MIDI", Rect(200, 200, 690, 540), false).front; var layout = window.addFlowLayout((0@0),(0@ ...
-
... tp://sccode.org/1-4Vn Don't forget to update the path to the audio sample on line 26. Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License: http://creativecommons.org/licenses/by-nc-sa/3.0/ */ ( Server.de ...
-
... h synthesis engine in Mac OS X. If there is something similar from the command line in Linux or windows, should be easy to adapt the command for those platforms. One of the first things one learn as SC beginner is "bla bla".speak and it i ...
-
... tackTime: att, releaseTime: rel, level: amp).kr(doneAction: 2); ramp = XLine.kr( start: sinfreq, end: sinfreq * glissf, dur: rel ); snd = SinOsc.ar( freq: ramp, phase: 0, mul: env, add: 0); snd = Pan2.ar(s ...
-
... g hihat, snare, kick drum; and a sawtooth synth used both for chords and a bass line in the Pbind demonstration. ( // Basic drum kit SynthDef("hihat", {arg out = 0, amp = 0.5, att = 0.01, rel = 0.2, ffreq = 6000, pan = 0; var env, snd ...
-
... ,1,0, 1 ],inf)).lag(0.41)/1.2, [sig, sig1]); // fadein sig = sig * Line.ar(0.001,1,20).explin(0.001,1,0,1); sig; }).play; )
-
... ease feel free to remove your own work. Note that each of the following code lines should be played seperately. You are strongly encouraged to submit your own examples to this page... 140 Character Examples https://swiki.hfbk-ham ...
-
... }; ~w = {|p,mn,mx|Demand.kr(p,0,Diwhite(mn,mx)).max(mn)}; ~l = {|d=12,s=1,e=0|Line.ar(s,e,d,doneAction:2)}; ) /* grid quantizer explained: ~q.(n,m,k,q) means impulse each 2**n beat (starting from 2**(q?n) beat) with m*(2**(n-1-k)) be ...
-
... arg amp = 0.1, freq = 440, decay = 5, dampen = 0.1; var env, snd; env = Env.linen(0, decay, 0).kr(doneAction: 2); snd = Pluck.ar( in: WhiteNoise.ar(amp), trig: Impulse.kr(0), delaytime: freq.reciprocal, ...
-
... cus.ar(mx * n, a, my * n) * 0.2 + OnePole.ar(PinkNoise.ar(0.5 ! 2), 0.4) * Line.kr(0, 1, 3); }.play; ) // jimmy played harmonica in the pub where I was born // (hh) (jrh) (cc 2006) ( { var blas, zieh, mx, my, trig, which ...