-
... ere comes from the great Eli Fieldsteel's tutorials on how to write an FM-based SynthDef (https://www.youtube.com/watch?v=UoXMUQIqFk4), so I'll just describe the things I added beyond very a very basic sine wave FM synth. First, the modulat ...
-
... e: https://pbs.twimg.com/media/DeD9P3aVQAMSIF2.jpg:large ( s.waitForBoot({ SynthDef(\voice, { | freq=440, time=5, pan=0.0 gate=0, atk=1, rls=5, sus=0.7, detune=0, width=0.5, amp=0.0, amptime=5, ampFreqRel = 1.0, out=0 ...
-
... les s.boot; {SinOsc.ar(440, 0, 0.5) + PinkNoise.ar(0.4)}.play; // a sample sig (SynthDef(\partialsynth, {arg fftbuf; var in, chain, out; in = SinOsc.ar(440, 0, 0.5) + PinkNoise.ar(0.4); chain = FFT(fftbuf, in); // resynhtesize according to ...
-
... les s.boot; {SinOsc.ar(440, 0, 0.5) + PinkNoise.ar(0.4)}.play; // a sample sig (SynthDef(\partialsynth, {arg fftbuf; var in, chain, out; in = SinOsc.ar(440, 0, 0.5) + PinkNoise.ar(0.4); chain = FFT(fftbuf, in); // resynhtesize according to ...
-
... hed the math on what I was trying to do but it sounds better this way */ ( SynthDef(\DistKlangBlip, { | out = 0, release = 1, freq1 = 1, freq2 = 5, freq3 = 8, freqMult = 4 | var env = Linen.kr(Impulse.kr(0), 0.01, 1, release, d ...
-
... = a.asStream; 6.do({ b.next.postln; }); ) Pser used as a sequence of pitches: ( SynthDef ( \help_sinegrain , { arg out=0, freq=440, sustain=0.05; var env; env = EnvGen .kr( Env .perc(0.01, sustain, 0.2), doneAction:2); Out .ar(out, SinOsc . ...
-
//redFrik - bitcrusher RedEfxBitx : RedEffectModule { *def {|lag= 0| ^SynthDef(\redEfxBitx, {|out= 0, mix= -1, rate= 0.5, bits= 4| var dry, wet, crux; dry= In.ar(out, 2); crux= (dry*bits+bits).floor-bits/bits; wet= Latch.ar(crux, Impulse.ar ...
-
/* Retrieved from http://sccode.org/1-5aD */ SynthDef(\everythingrhodes,{|out= 0 freq = 440 amp = 0.1 gate=1 lforate = 4.85 lfowidth= 0.5 cutoff= 2000 rq=0.5 pan = 0.0| //Electric Piano var pulse, filter, env; pulse = Pulse.ar(freq*[1,33.5. ...
-
/* Retrieved from http://sccode.org/1-5aD */ SynthDef(\organ_tonewheel2, { //subtractive tonewheel organ with cheap CPU usage arg freq = 440, amp = 0.9, atk = 0.001, sus = 0.4, rel = 0.1, tune = 0.29, tuneRate = 6.0, rq = 1; var sig, env, v ...
-
/* This is a synthDef based on Karplus-Strong synthesis (just like Pluck.ar). Karplus-Strong synthesis involves an initial impulse being sent through a delay, which then, through a feedback loop, creates a sound with a frequency given by 1/ ...