Hey folks, here’s a piece that’s unfinished in more than one sense. It’s a “live coding” algorithm written in ChucK. It’s a work in progress in the sense that I haven’t decided how to parameterize and structure the algorithm or the way in which I use it–basically I alter volume, time, and base pitch throughout (it generates tones by randomly selecting from a scale based in that pitch).
I’d be very happy for feedback on the following:
the selection of tones: are there too many tones in the scale? (is it too complex)?
dynamics, it goes from very soft to pretty loud, maybe better to have a more gentle curve?
somewhat repetitive–at one point I had overlaid some gentle percussion and a basic sine wave fundamental. maybe other elements? rhythmic noise?
if you’re interested in the code, it’s below the link:
/*
degree ratio
2m 1.066666667
2 1.125
3m 1.2
3 1.25
4 1.333333333
tri 1.40625
5 1.5
6m 1.6
6 1.666666667
7m 1.8
7 1.875
12 2
*/
Moog s => Envelope e => NRev r => Echo echo => Echo echo2 => Pan2 p => dac;
0.5 => echo2.mix;
.9=>r.mix;
[1., 1.25, 1.3333, 1.40, 1.5, 1.6666, 1.875, 2.0] @=> float scalepick[];
660=> float basefreq;
0 => int index;
1=>e.keyOn;
.6=>s.gain;
while (true) {
Math.random2(0,scalepick.cap()-1) => index;
Math.random2f(-1.,1.)=>p.pan;
basefreq*scalepick[index]=>s.freq;
// 55.=>s.freq;
1=>s.noteOn;
2.5::second =>now;
}