// SuperCollider Function
// Camera Obscura by Andres Burbano
// Code based on Listening to Images WorkShop
// By Daniel Sauter 
 ( 
        SynthDef("sine", { arg out=0, val1=60, val2=80, val3=100; 
  var sine, saw, impulse; 
   impulse = impulse; 
   sine = SinOsc.ar(val1, 0, 0.1); 
   saw = Saw.ar(val2, 0.2); 
   val3=val3/150; 
   impulse = CombN.ar( Impulse.ar(1/val3), 0.125, 0.125, 2); 
   Out.ar(out, (sine+saw+impulse)); 
 }).store; 
 )