«What If 130830» by Luka P.

on 30 Aug'13 16:19 in rhythmic

A piece i'm working on for a dance performance.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
( // 'random' sequences of rhythms, reverb,...
z = {
    var trig, seq;
    trig = Impulse.kr(6);
    seq = Drand([
        Dseq([4,0,0,1,Drand([1,4]),1,0,1]),
        Dseq([1,0,2,0,Drand([0,1,4]),0,1,1]),
        Dseq([4,0,0,2,Drand([1,2,4]),0,1,1]),
        Dseq([4,0,1,2,Drand([0,1,4]),1,2,0]),
        Dseq([1,1,4,1,Drand([1,4]),2,3,3]),
        Dseq([4,1,0,1,Drand([0,4]),1,0,1])
    ], inf);

	g = HenonN.ar(
		[120,120],
		LFNoise2.kr(1, 0.2, 1.2),
		LFNoise2.kr(1, 0.15, 0.15)
	)
	* 0.2
	+ SinOsc.ar([61,40], mul:0.7)

	// add lovely chaos noise (taken from documentation example)
	+ {
		LatoocarfianC.ar(
			SampleRate.ir/4,
			LFNoise2.kr(2,1.5,1.5),
			LFNoise2.kr(2,1.5,1.5),
			LFNoise2.kr(2,0.5,1.5),
			LFNoise2.kr(2,0.5,1.5)
		) * 0.1 // volume
	}
	+
	{ FBSineN.ar(
    LFNoise2.kr(1, 1e4, 1e4),
    LFNoise2.kr(1, 32, 33),
    LFNoise2.kr(1, 0.5),
    LFNoise2.kr(1, 0.05, 1.05),
    LFNoise2.kr(1, 0.3, 0.3)
	) * 0.2 * SinOsc.kr(0.01) }
	;

    trig = Demand.kr(trig, 0, seq * 0.2) * trig;
	{ MoogFF.ar(
		g,
		SinOsc.kr(0.1,0,1,1) * 1000 + 3000)}.dup
	* Decay.kr(trig, Demand.kr(trig,0,Drand([1,2,4,6], inf)*0.1)) // envelope
	;
};

{
	GVerb.ar(
		in: EnvGen.kr(Env.linen(20, 240, 40, 0.6, \sine)) * z * 0.9,
		roomsize: 30,
		revtime: 4, // SinOsc.kr(0.1,0,4,4.1),
		damping:0.4, // SinOsc.kr(0.12,0,0.4,0.5),
		inputbw:1,
		spread:15,
		drylevel:SinOsc.kr(0.02,0,0.5,0.5),
		earlyreflevel:SinOsc.kr(0.01,0,0.5,0.5),
		taillevel:SinOsc.kr(0.02,pi,0.05,0.05)
	);
}.play
)
raw 1552 chars (focus & ctrl+a+c to copy)
reception
comments