A collection of noisy, fun, cool, geeky, techy, wired or just plain wierd stuff for your consideration!

IxiLang percussive SynthDefs

“loading noise synthdefs”.postln;

/*
if testing you need to use create the SynthDescLib:
SynthDescLib(\noise);
*/

SynthDef(\hitone,
{arg freq;
var aud, env;
env = EnvGen.kr(Env.perc(0.05, 0.25, 0.3, -4), doneAction:2);
aud = SinOsc.ar(110,0,10);
Out.ar([0,1], (aud.wrap2(1) ) *env);
}).add(\new);

SynthDef(\hittwo,
{arg freq;
var aud, env;
env = EnvGen.kr(Env.perc(0.05, 0.25, 0.3, -4), doneAction:2);
aud = SinOsc.ar(110);
Out.ar([0,1], (aud *env));
}).add(\new);

SynthDef(\hitthree,
{arg freq;
var aud, env;
env = EnvGen.kr(Env.perc(0.05, 0.25, 0.5, -4), doneAction:2);
aud = Crackle.ar(2);
Out.ar([0,1], (aud * env));
}).add(\new);

SynthDef(\hitfour,
{arg freq;
var aud, env;
env = EnvGen.kr(Env.perc(0.25,0.25 ,0.3, -4), doneAction:2);
aud = Blip.ar(1000, 20);
Out.ar([0,1], (aud * env));
}).add(\new);

SynthDef(\hitfive,
{arg freq;
var aud, env;
env = EnvGen.kr(Env.perc(0.25,0.25 ,0.3, -4), doneAction:2);
aud = VarSaw.ar([500,1000],[0,0],[0.25,0.75],[0.3,0.3]);
Out.ar([0,1], (aud * env));
}).add(\new);

SynthDef(\hitsix,
{arg freq;
var aud, env;
env = EnvGen.kr(Env.perc(0.5,0.5 ,0.3, -4), doneAction:2);
aud = SyncSaw.ar(100, Line.kr(100,800,1),0.3);
Out.ar([0,1], (aud * env));
}).add(\new);

SynthDef(\hitseven,
{arg freq;
var aud, env;
env = EnvGen.kr(Env.perc(0,0.5 ,0.3, -4), doneAction:2);
aud = Pulse.ar(2500,Line.kr(0.1,0.9,0.5),0.3);
Out.ar([0,1], (aud * env));
}).add(\new);

SynthDef(\hiteight,
{arg freq;
var aud, env;
env = EnvGen.kr(Env.perc(0,0.5 ,0.3, -4), doneAction:2);
aud = LFNoise1.ar(5000,0.3);
Out.ar([0,1], (aud * env));
}).add(\new);

SynthDef(\hitnine,
{arg freq;
var aud, env;
env = EnvGen.kr(Env.perc(0,0.2 ,0.3, -4), doneAction:2);
aud = WhiteNoise.ar(0.3);
Out.ar([0,1], (aud * env));
}).add(\new);

SynthDef(\hitten,
{arg freq;
var aud, env;
env = EnvGen.kr(Env.perc(0.25,0.25 ,0.3, -4), doneAction:2);
aud = Dust.ar(50,0.3);
Out.ar([0,1], (aud * env));
}).add(\new);

SynthDef(\hiteleven,
{arg freq;
var aud, env;
env = EnvGen.kr(Env.perc(0,0.5 ,0.3, -4), doneAction:2);
aud = Saw.ar(100,0.3);
Out.ar([0,1], (aud * env));
}).add(\new);

SynthDef(\hittwelve,
{arg freq;
var aud, env;
env = EnvGen.kr(Env.perc(0.5,0 ,0.3, -4), doneAction:2);
aud = Saw.ar(440,0.3);
Out.ar([0,1], (aud * env));
}).add(\new);

SynthDef(\hitthirteen,
{arg freq;
var aud, env;
env = EnvGen.kr(Env.perc(0.5,0 ,0.3, -4), doneAction:2);
aud = SinOsc.ar(440,0,0.3);
Out.ar([0,1], (aud * env));
}).add(\new);

SynthDef(\hitfourteen,
{arg freq;
var aud, env;
env = EnvGen.kr(Env.perc(0.25,0.5 ,0.3, -4), doneAction:2);
aud = SinOsc.ar(4400,0,0.3);
Out.ar([0,1], (aud * env));
}).add(\new);

SynthDef(\hitfifteen,
{arg freq;
var aud, env;
env = EnvGen.kr(Env.perc(0,0.1 ,0.3, -4), doneAction:2);
aud = Pulse.ar(150,0.5,0.3);
Out.ar([0,1], (aud * env));
}).add(\new);

SynthDef(\hitsixteen,
{arg freq;
var aud, env;
env = EnvGen.kr(Env.perc(0,1 ,0.3, -4), doneAction:2);
aud = Klang.ar(`[ [800, 1000, 1200],[0.3, 0.3, 0.3],[pi,pi,pi]],1,0);
Out.ar([0,1], (aud * env));
}).add(\new);

SynthDef(\hitseventeen,
{arg freq;
var aud, env;
env = EnvGen.kr(Env.perc(1,0 ,0.3, -4), doneAction:2);
aud = Klang.ar(`[ [100, 200, 500],[0.3, 0.3, 0.3],[0.5pi,pi,0.75pi]],1,0);
Out.ar([0,1], (aud * env));
}).add(\new);

SynthDef(\hiteightteen,
{arg freq;
var aud, env;
env = EnvGen.kr(Env.perc(0.5,0 ,0.3, -4), doneAction:2);
aud = VarSaw.ar(Line.kr(100, 1000, 0.5),0,0.5,0.3);
Out.ar([0,1], (aud * env));
}).add(\new);

SynthDef(\hitnineteen,
{arg freq;
var aud, env;
env = EnvGen.kr(Env.perc(0.2,0 ,0.3, -4), doneAction:2);
aud = Saw.ar(Line.kr(1000, 100, 0.2),0.3);
Out.ar([0,1], (aud * env));
}).add(\new);

SynthDef(\hittwenty,
{arg freq;
var aud, env;
env = EnvGen.kr(Env.perc(0.5,0.5 ,0.3, -4), doneAction:2);
aud = SinOsc.ar(Line.kr(100, 50, 1),0.3);
Out.ar([0,1], (aud * env));
}).add(\new);

SynthDef(\hittwentyone,
{arg freq;
var aud, env;
env = EnvGen.kr(Env.perc(0,0.5 ,0.3, -4), doneAction:2);
aud = LFPulse.ar(10000, 0, Line.kr(1,0,0.5),0.3);
Out.ar([0,1], (aud * env));
}).add(\new);

SynthDef(\hittwentytwo,
{arg freq;
var aud, env;
env = EnvGen.kr(Env.perc(0,0.25 ,0.3, -4), doneAction:2);
aud = LFPulse.ar(XLine.kr(10, 500,0.25),0,0.5,0.3);
Out.ar([0,1], (aud * env));
}).add(\new);

SynthDef(\hittwentythree,
{arg freq;
var aud, env;
env = EnvGen.kr(Env.perc(0,0.5 ,0.3, -4), doneAction:2);
aud = Saw.ar(XLine.kr(500, 20,0.5),0.3);
Out.ar([0,1], (aud * env));
}).add(\new);

SynthDef(\hittwentyfour,
{arg freq;
var aud, env;
env = EnvGen.kr(Env.perc(0,1 ,0.3, -4), doneAction:2);
aud = Dust.ar(Line.kr(1000,1,1),0.3);
Out.ar([0,1], (aud * env));
}).add(\new);

SynthDef(\hittwentyfive,
{arg freq;
var aud, env;
env = EnvGen.kr(Env.perc(1,0 ,0.3, -4), doneAction:2);
aud = Pulse.ar(Line.kr(1000,100,1),Line.kr(1,0,1),0.3);
Out.ar([0,1], (aud * env));
}).add(\new);

SynthDef(\hittwentysix,
{arg freq;
var aud, env;
env = EnvGen.kr(Env.perc(0,0.25 ,0.3, -4), doneAction:2);
aud = Blip.ar(440,Line.kr(100,10,0.25),0.3);
Out.ar([0,1], (aud * env));
}).add(\new);

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s