[CM] GUILE -> Abnormal Exit (snd-rt)

Kjetil S. Matheussen k.s.matheussen@notam02.no
Mon, 19 Mar 2007 14:18:23 +0100 (CET)


On Mon, 19 Mar 2007, Esben Stien wrote:

> "Kjetil S. Matheussen" <k.s.matheussen@notam02.no> writes:
>
>> look at the source for san-dysth
>
> Thank you. I'm trying to dig through;). It's a great synth, though;).
>

By the way. A very quick way to get a soft synth up and running is to
use the source for san-dysth, and replace the "synthesize" function
with your own sound generator.

For example, change "synthesize" into:

(define (synthesize)
   (* (read-glide-var volume)
      (oscil osc (hz->radians freq))))

Plus add some code to set the "freq" variable and reset the phase of "osc" 
in the "not-playing-func" function, and it will work, including attack, 
decay, reverb, autopanning, etc.