> Unbound variable: defun "defun" is from common-lisp, but the lisp-like language in Snd is Scheme (Guile), so you need to use "define". Better might be "definstrument" which should work in both contexts. There's an example in clm.html below the common lisp case (named "scm-simp").