Diff from Variations for Z1 sawtooth by miguel.negrao (03 Apr'13 13:16) to Re: Variations for Z1 sawtooth by grirgz (03 Apr'13 19:41)

name
Re: Variations for Z1 sawtooth
description
Made with code from Jonatan Liljedahl and Glen Fraser. Based on the Korg Z1 sawtooth oscilator.m
code
( { var mod = SinOsc.ar([0.1,0.15,0.2]).range(0,1); var sig = LFPulse.ar(1.1).range(1,10); var sig2 = LFNoise1.ar(0.08).range(0.99,1.01); var saw = LFSaw.ar([10,12,15]*sig*sig2); var out = (saw - ((saw>0)*mod)+(mod*0.5)); Splay.ar(out)*0.41; }.play; { var mod = SinOsc.ar([0.1,0.15,0.2]).range(0,1); var sig = LFPulse.ar(1).range(1,10); var sig2 = LFTri.ar(0.1,[0,1,2,3]).range(1,10*sig); var sig3 = LFNoise1.ar(0.05).range(0.99,1.01); var saw = SinOsc.ar(LFSaw.ar([10,12,15]*sig2*sig3).range(200,300)); var out = (saw - ((saw>0)*mod)+(mod*0.5)); Splay.ar(out)*0.41; }.play )
category tags
code fork
ancestors
1-4Tl