-
a learning example where you can control patterns with running ugens via control bus. acid-like. ( SynthDef(\acid, { arg out, freq = 1000, gate = 1, pan = 1, cut = 4000, rez = 0.8, amp = 1, sustain = 1, release = 0.5; var sig, env; ...
-
... simple example using the shared memory interface to get the current status of a bus, and also setting a bus from the GUI. The circle turns red depending on the oscillator value, and the oscillator frequency and amplitude are controlled by ...
-
( var n = 20, baseFreq = 45.midicps; var lsin, rsin, arg1, arg2, sig; var bus, busIndex, scale, freq, freqIndex, amp; var responder; scale = Scale.nikriz.ratios * baseFreq; bus = Bus.control( s, 2 * n ); bus.setn( { 1.0.rand2 } ...
-
... a lot of data via osc (1024*3 values 61times/second). play any sound on output bus 0 and 1 to test it. e.g. {SoundIn.ar!2}.play updated to work with sc3.9 and processing 3.3.6 /* //--processing code: import oscP5.*; import netP5.*; O ...
-
... , damp); Out.ar(out, verb!2); }).add; //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- CONTROL OSC DEF -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- SynthDef(\ControlOsc, { | out = 0, freq = 60, phase = 0pi, amp = 1 | Out.kr(out, SinOsc.kr(fre ...
-
... ains arbitrary mapping. Works with "Full Skeleton" mode. Can be adapted to "OSC control" mode by changing "/Right_hand" and "Left_Hand" in the OSCDefs with the correct joint names. In that case You'd also need sigle channel buses. OSCDef a ...
-
... Out.ar(0, signal ! 2) }).add; SynthDef(\line, { arg start, end, dur, bus; var env = Env([start, end], [dur]); var signal = EnvGen.kr(env, doneAction: 2); Out.kr(bus, signal ! bus.numChannels); }).add; ) ( ~no ...
-
... se headphones to avoid feedback. s.boot; s.options.memSize=128*1024; //Define busses ~b=Bus.audio(s,1); ~b2=Bus.audio(s,1); ~b3=Bus.audio(s,1); ~b4=Bus.audio(s,1); ~c1=Bus.control(s); ~c2=Bus.control(s); ~c3=Bus.control(s); ~buff= ...
-
I bought a Sequential OB-6 recently and you can control all the parameters with NRPN messages. I wanted to control these NRPN parameters with patterns, adding LFOs for instance. MIDIClient.init; ~ob6 = MIDIOut.newByName("OB-6", "OB-6"); ...
-
Messing around with Control buses and later Control Ndefs and using getSynchronous to use the exact value of the UGen in the draw function. Extra: you can click on the zone of the moving circle to pause and resume the running synth on that ...