-
OffsetOut write a signal to a bus with sample accurate timing Inherits from: Object : AbstractFunction : UGen : AbstractOut : Out Output signal to a bus, the sample offset within the bus is kept exactly; i.e. if the synth is scheduled to be ...
-
... t starts calculation at the next possible block (normally 64 samples). Using an OffsetOut ugen, one can delay the audio so that it matches sample accurately. For some synthesis methods, one needs subsample accuracy. SubsampleOffset provides ...
-
... er of output buses (default: 0, overridden in subclasses) see subclasses: Out , OffsetOut , SharedOut , XOut , ReplaceOut , LocalOut
-
... play; an Impulse with frequency 0 returns a single impulse: SynthDef ( \imp , { OffsetOut .ar(0, Impulse .ar(0)); FreeSelf .kr( Impulse .kr(0)); }).add; fork { (1 / (1..60).scramble).do { |dt| Synth .grain( \imp ); dt.wait } };
-
... ssigning it to an argument in a SynthDef. When the various output ugens ( Out , OffsetOut , XOut ) write data to a bus, they mix it with any data from the current cycle, but overwrite any data from the previous cycle. ( ReplaceOut overwrite ...
-
... thdef. If ugenfunc returns a larger array, it wraps *sampleAccurate_ always use OffsetOut , if set to true (default: false) for inner workings see jitlib_fading // example a = ProxySynthDef ( "xtest" , { SinOsc .ar(400) * 0.1 }); a.send(s); ...
-
... }.play; ) // single impulses ( SynthDef ( "delta_demand" , { arg amp=0.5, out; OffsetOut .ar(out, TDuty .ar( Dseq ([0]), 0, amp, 2) ) }).send(s); ) fork { 10.do { s.sendBundle(0.2, [ "/s_new" , "delta_demand" , -1]); 1.0.rand.wait } }; // ...
-
... g number of channels // or deliberate hacks. //left speaker ( ~out = { arg out; OffsetOut .ar(out, Impulse .ar(10,0,0.1)) } ) //both speakers ( ~out = { arg out; OffsetOut .ar(out, Impulse .ar([10, 10],0,0.1)) } ) //this plays out into anot ...
-
... timeScale: sustain, doneAction: 2) * audio; audio = Pan2 .ar(audio, pan, amp); OffsetOut .ar(out, audio); }).add; a = Pproto ({ ~newgroup = (type: \group ).yield; ~sf1 = SoundFile ( "sounds/a11wlk01-44_1.aiff" ).asEvent.yield; // (type: \o ...
-
... 5 second synths. ( SynthDef ( "trig1" ,{ var gate; gate = Trig1 .kr(1.0, 0.25); OffsetOut .ar(0, SinOsc .ar(800, 0.3) * EnvGen .kr( Env ([0,0.1,0.1,0],[0.01,1.0,0.01],[-4,4],2), gate, doneAction: 2) ) }).send(s); Routine ({ 1.0.wait; 100.do ...