Hey. Wanted to share this sound coming out of a genetic programming algorithm:
play { // sr = 48 kHz
var in_0 = \p1.ar([0.34823126,0.34823126]).linexp(0, 1, 10, 20000);
var freq_0 = Clip.ar(in_0, lo: 10.0, hi: 20000.0);
var in_1 = Pulse.ar(freq: freq_0, width: 1.0);
var freq_1 = Clip.ar(in_0, lo: 10.0, hi: 20000.0);
var in_2 = LPF.ar(in_1, freq: freq_1);
var resonz_0 = Resonz.ar(in_2, freq: 12.912557, bwr: 1.3554319);
var freq_2 = Clip.ar(in_1, lo: 0.01, hi: 20000.0);
var in_3 = SinOsc.ar(freq: freq_2, phase: 0.0);
var in_4 = LeakDC.ar(in_3, coef: 0.995);
var freq_3 = Clip.ar(in_0, lo: 10.0, hi: 20000.0);
var resonz_1 = Resonz.ar(in_4, freq: freq_3, bwr: 100.0);
var freq_4 = Clip.ar(in_0, lo: 10.0, hi: 20000.0);
var width_0 = Clip.ar(in_1, lo: 0.0, hi: 1.0);
var pulse_0 = Pulse.ar(freq: freq_4, width: width_0);
var in_5 = \p5.ar([0.045953203,0.035953205]).linexp(0, 1, 0.01, 20000);
var freq_5 = Clip.ar(in_5, lo: 0.01, hi: 20000.0);
var in_6 = SinOsc.ar(freq: freq_5, phase: 0.0);
var in_7 = LeakDC.ar(in_6, coef: 0.995);
var freq_6 = Clip.ar(in_0, lo: 10.0, hi: 20000.0);
var rq_0 = Clip.ar(in_5, lo: 0.01, hi: 100.0);
var in_8 = Resonz.ar(in_7, freq: freq_6, bwr: rq_0);
var freq_7 = Clip.ar(in_0, lo: 10.0, hi: 20000.0);
var rq_1 = Clip.ar(in_5, lo: 0.01, hi: 100.0);
var in_9 = Resonz.ar(in_8, freq: freq_7, bwr: rq_1);
var freq_8 = Clip.ar(in_0, lo: 10.0, hi: 20000.0);
var hPF = HPF.ar(in_9, freq: freq_8);
var rq_2 = Clip.ar(in_5, lo: 0.01, hi: 100.0);
var in_10 = Resonz.ar(in_8, freq: 33.651512, bwr: rq_2);
var rq_3 = Clip.ar(in_5, lo: 0.01, hi: 100.0);
var bRF_0 = BRF.ar(in_10, freq: 14.627275, rq: rq_3);
var in_11 = LeakDC.ar(in_6, coef: 0.995);
var freq_9 = Clip.ar(in_0, lo: 10.0, hi: 20000.0);
var rq_4 = Clip.ar(in_5, lo: 0.01, hi: 100.0);
var in_12 = BRF.ar(in_11, freq: freq_9, rq: rq_4);
var freq_10 = Clip.ar(in_0, lo: 10.0, hi: 20000.0);
var rq_5 = Clip.ar(in_5, lo: 0.01, hi: 100.0);
var in_13 = BPF.ar(in_12, freq: freq_10, rq: rq_5);
var param = \p2.ar([0.9755546,0.9755546]).linlin(0, 1, -22050, 22050);
var freq_11 = Clip.ar(param, lo: 10.0, hi: 20000.0);
var bRF_1 = BRF.ar(in_13, freq: freq_11, rq: 9.818253);
var freq_12 = Clip.ar(in_5, lo: 0.01, hi: 20000.0);
var sinOsc_0 = SinOsc.ar(freq: freq_12, phase: 9.574487);
var in_14 = \p3.ar([0.7227913,0.7227913]).linexp(0, 1, 0.01, 20000);
var freq_13 = Clip.ar(in_14, lo: 0.01, hi: 20000.0);
var sinOsc_1 = SinOsc.ar(freq: freq_13, phase: param);
var in_15 = \p4.ar([0.5909877,0.58998764]).linexp(0, 1, 0.01, 20000);
var freq_14 = Clip.ar(in_15, lo: 0.01, hi: 20000.0);
var sinOsc_2 = SinOsc.ar(freq: freq_14, phase: 0.0);
var sinOsc_3 = SinOsc.ar(freq: 3.151957, phase: 1.6066109);
var width_1 = in_3 max: 0.0;
var pulse_1 = Pulse.ar(freq: 9989.597, width: width_1);
var in_16 = Mix(
[resonz_0, resonz_1, pulse_0, hPF, bRF_0, bRF_1, sinOsc_0, sinOsc_1, sinOsc_2, sinOsc_3,
pulse_1]);
var in_17 = in_16 clip2: 1.0;
var leakDC = LeakDC.ar(in_17, coef: 0.995);
var times = leakDC * 0.47;
var bus = \out.kr(0.0);
var attr = \gain.kr(1.0);
var in_18 = times * attr;
Out.ar(bus, in_18);
}
(currently manually translated from ScalaCollider which has slightly different syntax and argument names)
This was done with Mellite’s object ‘Negatum’ and newly integrated automatic parametrisation method.