From dpsenick at uiuc.edu Sun Jun 11 16:44:22 2006 From: dpsenick at uiuc.edu (David Psenicka) Date: Sun, 11 Jun 2006 11:44:22 -0500 Subject: [fomus-devel] Update In-Reply-To: <96C229E4-397B-4A3C-9EFC-5AE457655C11@gmail.com> References: <96C229E4-397B-4A3C-9EFC-5AE457655C11@gmail.com> Message-ID: <448C4866.8030605@uiuc.edu> Development has been a little slow lately due to me moving and some other work I've been needing to finish... I'll be devoting more time again to the project in a few weeks. The project now has a main branch and a development branch (with CVS tag "dev")--the default main branch is the one I'm using for releases and should always compile and contain bug fixes, etc.. I'm tarballing each main branch update and making them accessible at . The test suite is also available under a separate module ("fomustest" or "testfomus"). -David From monged at gmail.com Tue Jun 13 01:40:11 2006 From: monged at gmail.com (Brian) Date: Tue, 13 Jun 2006 02:40:11 +0100 Subject: [fomus-devel] Error: NIL is not a number Message-ID: <448e16c3.6c2912fd.1470.fffffb54@mx.gmail.com> Hi, I've just set up fomus on cygwin (clisp, cm) but I'm having a little trouble getting it working. I'm just trying the first example in the docs as listed below but I get an error message: "*** - -: NIL is not a number". I know this is a pretty common Lisp error (excuse the unintentional pun!) but I'm not sure where I should be looking to resolve it. Any suggestions would be very much appreciated. Thanks a million, Brian This is the example code: ------------------------- (fomus :output '(:lilypond :view t) :ensemble-type :orchestra :parts (list (make-part :name "Piano" :instr :piano :events (loop for off from 0 to 10 by 1/2 collect (make-note :off off :dur (if (< off 10) 1/2 1) :note (+ 48 (random 25)) :marks (when (<= (random 3) 0) '(:staccato))))))) This is the error message I'm getting (including some initial startup warnings): ------------------------------------------ CM[1]> (load "/usr/local/lisp/fomus/load.lisp") ... WARNING: DEFUN/DEFMACRO: redefining function MAKE-PART in /usr/local/lisp/fomus/classes.fas, was defined in /usr/local/lisp/cm/bin/clisp_2.38_cygwin_nt-5.1-i686/pkg.fas WARNING: DEFUN/DEFMACRO: redefining function MAKE-NOTE in /usr/local/lisp/fomus/classes.fas, was defined in /usr/local/lisp/cm/bin/clisp_2.38_cygwin_nt-5.1-i686/pkg.fas ... WARNING: DEFUN/DEFMACRO: redefining function GET-INSTR-SYMS in /usr/local/lisp/fomus/util.fas, was defined in /usr/local/lisp/cm/bin/clisp_2.38_cygwin_nt-5.1-i686/pkg.fas ... WARNING: DEFUN/DEFMACRO: redefining function FOMUS in /usr/local/lisp/fomus/interface.fas, was defined in /usr/local/lisp/cm/bin/clisp_2.38_cygwin_nt-5.1-i686/pkg.fas WARNING: DEFUN/DEFMACRO: redefining function FOMUS-FILE in /usr/local/lisp/fomus/interface.fas, was defined in /usr/local/lisp/cm/bin/clisp_2.38_cygwin_nt-5.1-i686/fomus.fas ... ;; FOMUS v0.2.1 ;; Lisp music notation formatter ;; Copyright (c) 2005, 2006 David Psenicka, All Rights Reserved ;; See file "COPYING" for terms of use and distribution. ;; Loaded file /usr/local/lisp/fomus/final.fas ;; Loaded file /usr/local/lisp/fomus/load.lisp T CM[2]> (fomus "/usr/local/lisp/fomus1.txt") ;; Loading input file "/usr/local/lisp/fomus1.txt"... ;; Formatting music... *** - -: NIL is not a number The following restarts are available: USE-VALUE :R1 You may input a value to be used instead. ABORT :R2 ABORT Break 1 CM[3]> From dpsenick at uiuc.edu Wed Jun 14 17:09:22 2006 From: dpsenick at uiuc.edu (David Psenicka) Date: Wed, 14 Jun 2006 12:09:22 -0500 Subject: [fomus-devel] Error: NIL is not a number In-Reply-To: <448e16c3.6c2912fd.1470.fffffb54@mx.gmail.com> References: <448e16c3.6c2912fd.1470.fffffb54@mx.gmail.com> Message-ID: <449042C2.8010501@uiuc.edu> Brian, I made an attempt a while ago to get fomus working in CLISP but didn't quite get all the bugs worked out--so unfortunately it might take a little time to solve this. :( There are a few things that CLISP is picky about that work fine in all the other Lisps. I'll take a look at it and try to get an update out shortly. Brian wrote: > Hi, > > I've just set up fomus on cygwin (clisp, cm) but I'm having a little > trouble getting it working. > >