-
... r.w.close }); spec.do({ arg sp; sp.free }); isPlaying = false; } asString { var out; out = "MultiEQ.new(" ++ numChannels ++ ", "; // initialize string spec.do( { // loop through filters arg s, i; (i > 0).if({ out = out ++ ", " }); // skip c ...
-
... s the wavefolder into a regular old distortion like guitarists use. I learned about saturating wavefolders at this helpful site: https://ccrma.stanford.edu/~jatin/ComplexNonlinearities/Wavefolder.html By Josh Mitchell June 2020. */ SynthDef ...
-
... e shows how a fm synthdef might be related to a curve ( SynthDef ( "fm" , { arg out, amp, carrier, modulator, depth; var sin; sin = SinOsc .ar( SinOsc .ar(modulator, 0, depth, carrier)); Out .ar(out, sin * amp); }).memStore; ) ( var carrier ...
-
... t (1..8) generates an Array with Integers from 1 to 8 SynthDef ( \array_1a , { |out = 0, freq = 440, otAmps = #[1,1,1,1,1,1,1,1], dampExp = 0, att = 0.01, rel = 0.6, amp = 0.1, gate = 1, freqLag = 0.02, otLag = 0.02| var sig, env, freqs, am ...
-
( SynthDef(\cheapPiano2, { arg //Standard values out = 0, freq = 440, amp = 0.1, att = 0.001, rel = 1, pan = 0, resonantFreq = 4320, //These range from 0 to 1 tone = 0.25, hipass = 0, resonance = 0.2; var hammer, snd, delay, noise; // Delay ...
-
... /Default set in .init var <> bend; var <> bendenv = nil; var <> texture; var <> out = 0; var <> grainRate = 20; var <> grainDur = 0.15; var <> midiChannel = 0; var <> gestureID; //identifies which .key/.playEnv call (gesture) a voice belong ...
-
... to test it you could use this synth, and run in tidal ( SynthDef(\testnote, { |out, sustain = 0.2, freq = 0, amp = 1, pan = 0, width = 0.3| var env, sound; sound = SinOsc.ar(freq, 0.5pi); env = EnvGen.ar(Env.perc(Rand(0.01, 0.02), sustain ...
-
... ) } units { ^MxQuery(model.allUnits(false).all.collect(this.prFind(_)), this) } outlets { ^this.units.outlets } inlets { ^this.units.inlets } channels { ^MxQuery(model.channels.collect(this.prFind(_)), this) } channel { arg i; var c; c = mo ...
-
AllBuf { classvar <inChannels, <outChannels, <modes, mode; *new {|maxinchans=2, outchans=2, force=false, verbose=true| ^this.init(maxinchans, outchans, force, verbose) } *init{|maxchansIn, outchans, force=false, verbose| modes = [\normal, \ ...
-
... inherent delay that's large enough to matter any time you use LocalIn and LocalOut for feedback, which I've forgotten about and then been reminded of by unexpected noises quite a few times. Rather than get annoyed by this, I tried gaining ...