-
... s dtune = 0.002, vibspeed = 4, vibdepth = 0.015, ratio = 0.8, glide = 0.15; var env, fenv, vib, ffreq, snd; //Envelopes for amplitude and frequency: env = Env.adsr(att, dec, sus, rel).kr(gate: gate, doneAction: 2); fenv = Env.adsr(fatt, fde ...
-
... tiny bit of runaway low end gets filtered out and the sound is sent through an envelope filter for a vocal sort of sound. */ SynthDef("combs", { arg //Standard Arguments out = 0, pan = 0, amp = 0.1, freq = 440, gate = 1, att = 0.01, dec = ...
-
... er controls preamp = 15, blend = 0, select = 2, focus = 0, threshold = 0.1; var env, snd, thresh; // Envelope: env = Env.adsr( attackTime: att, decayTime: dec, sustainLevel: sus, releaseTime: rel, curve: crv).ar(gate: gate, doneAction: 2); ...
-
... r controls (mix control goes from 0 to 1) mix = 0.1, clickRel = 0.01; var note, env, body, snd; env = Env.perc( attackTime:att * 3, releaseTime: rel, curve: crv).kr(doneAction: 2); note = SinOsc.ar(freq) * env; body = DynKlank.ar( specifica ...
-
... 8), 0.02, 1); var snd = RLPF.ar(Pulse.ar(freq, 0.2), \rfreq.kr(2500), 0.3); var env = EnvGen.kr(Env.adsr, \gate.kr(1), doneAction: 2); snd * env; }); // range of specific parameters Ndef( \sound1 ).addSpec(\freq, [60, 600, \exp]); Ndef( \so ...
-
... ngth + closeLength + dur;\ //minDur.poll;\ open = BufRd .ar(\ 1,\ openBufnum, \ EnvGen .ar( Env ([0, BufFrames .ir(openBufnum), 0], [openLength, 0]), gate: Impulse .ar(0)), \ 0, // no loop \ inter\ );\ \ steps = BufRd .ar(\ 1,\ stepBufnum, ...
-
Event patterns and array args setting and passing arrays and envelopes via patterns Part of: miSCellaneous This tutorial covers some use cases of array args, especially passing arrays to synths with patterns. Examples 1.) Alternative writin ...
-
... StkGlobals. - It's beginner-friendly because it uses only basic UGens: SinOsc, EnvGen, Mix, Pan2, Out. Modified by Josh Mitchell and Bruno Ruviaro in July 2019. */ SynthDef(\FMRhodes1, { arg // standard meanings out = 0, freq = 440, gate = ...
-
// AlgaLib: SuperCollider implementation of Alga, an interpolating live coding environment. // Copyright (C) 2020-2022 Francesco Cameli. // This program is free software: you can redistribute it and/or modify // it under the terms of the GN ...
-
... ody starts midrange, quickly drops down to low freqs, and trails off bodyFreq = EnvGen.ar(Env([261, 120, 51], [0.035, 0.08], curve: \exp)); bodyAmp = EnvGen.ar(Env.linen(0.005, 0.1, 0.3), doneAction: 2); body = SinOsc.ar(bodyFreq) * bodyAmp ...