[CM] Clean Exit (san-dysth)

Kjetil S. Matheussen k.s.matheussen@notam02.no
Mon, 9 Apr 2007 20:51:30 +0200 (CEST)


On Mon, 9 Apr 2007, Esben Stien wrote:

> "Kjetil S. Matheussen" <k.s.matheussen@notam02.no> writes:
>
>> Can you post the error you get, or describe the problem you have?
>
> This is probably unrelated, but this message pops up when I launch the
> gui:
>
> #<procedure this ((name . rest) (apply (or (hashq-ref methods name) (any (lambd\a (super) (-> super get-method name)) supers) (lambda x (format #t "No such met\hod: \"~A\" in class \"~A\".~%" name this->class-name))) rest))>
>

Thats not an error. Thats just the return value (a dispatcher function).



> I get this error, hitting the "Close" button:
>
> No such method: "volume" in class "<realtime>".
> snd-error!
>

Thats because you haven't used the volume variable in your <rt> function. 
The <rt> macro automatically adds methods for all variables used.

Change
                             (define (synthesize)
                               (* face

to
                             (define (synthesize)
                               (* face (read-glide-var volume)