-
Template to create a 2x3 FM Synth. There are two independent FM synths, of type `car(mod1(mod2))`. This is intended to be a starting point for further exploration. ( Ndef(\a, { var fundFreqs, ratios, levels, snd; fundFreqs = [730, 1 ...
-
just a very limited attempt for reference purpose of a hoped for eguitar synth ´ based on https://sccode.org/1-5aC#c982 ( var gspring; gspring = { |freq| var delay, sinc, env, line, impul; delay = freq ...
-
Basic example - how to use a MIDI keyboard with a simple synth MIDIIn.connectAll; // MIDIClient.init; ( // A SynthDef with ADSR envelope SynthDef("quick2", {arg freq = 440, amp = 0.1, gate = 1; var snd, env; env = Env.adsr(0.01, ...
-
This is our first work and posting. Please give us advice. From Japan. ( SynthDef("pulse",{ arg freq,delayTime,amp = 1.0,attack = 0.01; var out,out2,env; env = EnvGen.kr(Env.perc(attack, 1, 5, 10),doneAction: 2); z = SinOsc.ar(fr ...
-
... lin(~mnd[~pitchLo].asFloat, ~mnd[~pitchHi].asFloat, ~yres, 0.0).round; }; //SYNTHDEF SynthDef(\mouseTheremin, { arg pitchLo = 30, pitchHi = 80, pitchres=1.0; var osc, freq, env, envgate, pitch, amp; amp = MouseX.kr(-40, 10).dbamp ...
-
... frecuencia base, la frecuencia de modulacion y la apmlitud de modulacion.. ( SynthDef(\modulo,{arg carrfreq=440, modfreq=1, moddepth=0.01; //make sure there are control arguments to affect! Out.ar(0, SinOsc.ar(carrfreq + (moddepth ...
-
... .read(s, "insert/path/to/file/here/leaves_twigs_decode_004_edit.wav"); ( SynthDef("playamp", { arg krBus; var sig, amp, trig, thresh; thresh = MouseX.kr((-15),(-60)); sig = PlayBuf.ar(2,c,0.99,loop:inf); ...
-
A basic FM matrix synth (Ndef) with GUI // still have to work out the right modulation index calculation q = q ? (); q.numOscs = 5; ( Ndef(\fmMatrix, { var numOscs = q.numOscs; var oscs; var modFreqs = \modFreqs.kr({|i| 1 ...
-
... d. ( s.waitForBoot({ var squiggleBus; squiggleBus = Bus.control(s, 6); SynthDef(\generateINeedYouSquiggle, { | controlOutBus | var time, speed, rotations, commonpart, xy, sc; // a nice squiggle in polar coordinates: r = si ...
-
... { var seconds = 400; var source, effect, verbBus, verb, pulse1, pulse2; SynthDef(\verb, {|outbus = 0, inbus, room = 0.15, damp = 0.5, seconds = 400| var mix = SinOsc.kr(0.06).range(0.50, 1); var input = In.ar(inbus); var ve ...