Frogger

This is what happens when frogger doesn’t look both ways before crossing the street / pond:

gi_square ftgen 4, 0, 256, -7, 1, 128, 1, 0, -1, 128, -1

instr 1
    idur = p3
    iamp = p4
    
	kenv line 0.00230, idur, 0.01978
	a1 oscil iamp, 1 / kenv, gi_square
	out a1
endin
...
i 1 0 0.96493 -0.707

Download: dead_frogger.csd