-
... cents. For octave-based systems, you would usually use 1200. Discussion: ex: ( SynthDef("fm", {arg out, amp, carrier, modulator, depth; var sin; sin = SinOsc.ar(SinOsc.ar(modulator, 0, depth, carrier)); Out.ar(out, sin * amp); }).add; ) ( ...
-
... nce methods . signalRange Examples // modulate frequency of a sine oscillator ( SynthDef("help-AnalogIn", { |out = 0| Out.ar(out, SinOsc.ar(AnalogIn.ar(0).exprange(200, 5000), 0, 0.1) ) }).play; ) ⧉ ✔ helpfile source: /usr/local/share/Super ...
-
... cids ) // sonify the aminoacids by mapping them to degrees in a TET-72 scale: ( SynthDef(\amino, { | out, freq = 440, sustain = 1.0, pan, p, amp = 0.1 | var u; u = EnvGen.ar(Env.perc(0.001, sustain), doneAction:2) * SinOsc.ar(freq, SinOsc.a ...
-
... se messages create and manage scene content. /satie/scene/createSource nodeName synthdefName \<groupName\> \<key1 value1 ... keyN valueN\> Instantiate an audio generator plugin. nodeName : the name of the instance. synthDefName : the name o ...
-
... no) b=Buffer.read(s,"/data/audio/mirdata/stevebeattrack/samples/100.wav"); ( a= SynthDef(\help_autotrack,{arg vol=1.0, beepvol=1.0, lock=0; var trackb,trackh,trackq,tempo; var source, beep; source= PlayBuf.ar(1,b.bufnum,1.0,1,0,1); #trackb, ...
-
... ///////////////////// これは1つのUGenがオーディオ・レートで動作し、他のUGenがコントロール・レートで動作するという一例です。 ( SynthDef("anExample", { Out.ar( 0, SinOsc.ar( [440, 443] + SinOsc.kr([7, 8], 0, 7), // コントロール・レートはCPUサイクルをセーブする 0, 0.2 ) ) }).add; ) Synth("anExample") ⧉ ✔ コントロ ...
-
... a.asStream; 6.do({ b.next.postln }); ) // Pser used as a sequence of pitches: ( SynthDef(\help_sinegrain, { |out = 0, freq = 440, sustain = 0.05| var env; env = EnvGen.kr(Env.perc(0.01, sustain, 0.2), doneAction: Done.freeSelf); Out.ar(out, ...
-
... Inherited class methods Instance Methods Inherited instance methods Examples ( SynthDef("help-NRand", { |out = 0, n = 0| Out.ar(out, FSinOsc.ar( NRand(1200.0, 4000.0, n), 0, Line.kr(0.2, 0, 0.01, doneAction: Done.freeSelf)) ) }).add; ) ( n ...
-
... asStream; 16.do({ b.next.postln }); ) // Pshuf used as a sequence of pitches: ( SynthDef(\help_sinegrain, { |out = 0, freq = 440, sustain = 0.05| var env; env = EnvGen.kr(Env.perc(0.01, sustain, 0.2), doneAction: Done.freeSelf); Out.ar(out, ...
-
... nge; var son = FSinOsc.ar(freq, 0.5pi, env); son }.plot(dur); ) // ... now as a SynthDef ( SynthDef(\gabor, { |out, i_freq = 440, i_sustain = 1, i_pan = 1, i_amp = 0.1, i_width = 0.25| var env = LFGauss.ar(i_sustain, i_width, loop: 0, doneA ...