-
... i built one with SinOsc + DynKlank. feedback and improvements are welcome :) ( SynthDef(\kalimba, { |out = 0, freq = 440, amp = 0.1, mix = 0.1| var snd; // Basic tone is a SinOsc snd = SinOsc.ar(freq) * EnvGen.ar(Env.pe ...
-
... the sound. Be careful when using higher notes or else the filter may clip. ( SynthDef("bass", { arg freq = 440, amp = 0.5, gate = 1; var snd, env, oscfreq, output; oscfreq = {freq * LFNoise2.kr(0.5).range(0.98, 1.02)}!3; snd = Spla ...
-
... MP3 automatically into 8-bit chiptune music. Well, yes and no... s.boot; ( SynthDef("help_mp3_01", { |bufnum = 0| var son, pitch, amp, wibble; son = DiskIn.ar(2, bufnum).mean; pitch = Tartini.kr(son)[0]; amp = Amplitude ...
-
... hoo.com Homepage: http://www.schemawound.com/ */ ( var seconds; { SynthDef(\TheCrawl, {|seconds = 7| var env = EnvGen.ar(Env.linen(0.1, seconds - 0.2, 0.1), doneAction:2); var output = Mix( Pulse.ar( ...
-
... ale(self.scale.degrees.wrapAt(notes).sort); }, bar: 0, bb: 3 ); ) ( SynthDef(\bandpass, { |freq=200,amp=0.1,out=0,pan=0,gate=1,sawCutoff=1000,cutoffSpread=1,masterCutoff=10000,filterGain=2| var audio,env; env = EnvGen ...
-
... sound of some one repeating "yayayaya". Reminiscent of Roller Coaster Tycoon ( SynthDef("AM", { arg freq = 440, modfreq = 5, amp = 0.5, attack = 0.01, decay = 0.3, release = 0.1, pos = 0, gate = 1, phaserfreq = 0, phaserdepth = 0.3; ...
-
... 0,250,dims[0]*22 + 10,dims[1]*22+10)); synths = Array.fill(dims[1], { |i| SynthDef('rstp'++i, { var sig = Pan2.ar( PMOsc.ar(80.exprand(10000), 1.exprand(200), 1.exprand(20)), -1.0.rand2, EnvGen.kr(Env(Array.rand(4, 0, 0 ...
-
... percussion, flute, lead1, bass, score; var parser = TheoryNoteParser.new; SynthDef(\fatsaw, { | out=0, freq = 440, amp=0.1, gate=1, attack=0.01, decay=0.3, sustain=0.5, release=1, filterSpeed=100, filterFreqStart=300, filterFreqEnd ...
-
... ca, accordion, etc. adapted from an example from the SelectXFocus help file. ( SynthDef(\reed, { |out = 0, freq = 440, amp = 0.1, gate = 1, attack = 0.3, release = 0.3| var snd, blow; // pulse with modulating width snd ...
-
... nvs like it does with simple values, but I discovered it only needs .asArray ( SynthDef(\sin, { arg out=0, gate=1, amp=0.1, pan=0, freq=200; var sig; sig = SinOsc.ar(freq); sig = sig * EnvGen.kr(\adsr.kr(Env.adsr(0.1,0.1,0.8,0.1)), g ...