;Method 1: Multiple oscillator sr = 44100 kr = 441 ksmps = 100 nchnls = 1 instr 1 a1 oscil p4, p5, 1 a2 oscil p4 / 3, p5 * 3, 1 a3 oscil p4 / 5, p5 * 5, 1 a4 oscil p4 / 7, p5 * 7, 1 out a1+a2+a3+a4 endin : score f1 0 8192 10 1 i1 0 1 30000 110 e
;Method 2: Wave table ; orc file instr 1 a1 oscil p4, p5, 1 out a1 endin ; score file (GEN 10) f1 0 8192 10 1 0 0.3333 0 0.2 0 0.1428571 i1 0 1 30000 440 e ; score file (GEN 9) f1 0 8192 9 1 1 0 3 0.3333 0 5 0.2 0 7 0.1428571 0 9 0.1111111 0 11 0.09091 0 i1 0 1 30000 110 e