sccode = """
SynthDef.new(\\longsaw,
{|amp=1, sus=1, pan=0, freq=0, fmod=0, rate=0, bus=0|
var osc, env;
freq = In.kr(bus, 1);
freq = freq + fmod;
amp=(amp / 8);
osc=Saw.ar(freq);
osc=(osc * amp);
osc = Mix(osc) * 0.5;
osc = Pan2.ar(osc, pan);
	ReplaceOut.ar(bus, osc)}).add;

"""

synth = SCInstrument(
    shortname="longsaw",
    fullname="Longsaw",
    description="Longsaw synth",
    code=sccode,
    arguments={}
)
