// title: Midterm Question 2 // author: Mason McCormack // description: // code: ( SynthDef("sawSynth", {arg freq, amp; Out.ar(0, Splay.ar(LPF.ar(in: Saw.ar(freq * [0.99, 1.0, 1.001, 1.008], mul:Env.perc(attackTime:0.1, releaseTime:2, level:amp).kr(2)),freq: 2000))) }).add; ) ( Pbind( \instrument, "sawSynth", \degree, Pseq([1,3,5,7], inf), \dur, 0.111, ).play )