[PD] Re: access environment variables from Pd?

Kjetil Svalastog Matheussen <k.s.matheussen@notam02.no> k.s.matheussen at notam02.no
Thu Jun 23 18:30:51 CEST 2005


>>
> or Guile:
>
> (pd-inlet 0 'any
>             (lambda (x)
>                 (pd-outlet 0 (getenv x))))
>

Didn't test that one. This one works:

(pd-outlets 1)
(pd-inlet 0 'any
	  (lambda (x)
	    (pd-outlet 0 (getenv (symbol->string x)))))






More information about the Pd-list mailing list