From jparmenter at gmail.com Mon May 1 00:43:25 2006 From: jparmenter at gmail.com (Joshua Parmenter) Date: Sun, 30 Apr 2006 17:43:25 -0700 Subject: [fomus-devel] problems with 0.1.66 Message-ID: <96C229E4-397B-4A3C-9EFC-5AE457655C11@gmail.com> Hi all... I was looking around to see if there was a more appropriate place to post a questions / problem. If this is the wrong list, I apologize and would appreciate a re-direct. If not, here is the problem I am having. Here is a sample head of a .ly file... % LilyPond score file % FOMUS v0.1.66 \version "2.6" octUp = #(set-octavation 1) octReset = #(set-octavation 0) octDown = #(set-octavation -1) markAccIn = \once \override TextScript #'script-priority = #-100 beamL = #(def-music-function (par loc num) (number?) #{\set stemLeftBeamCount = #$num #}) beamR = #(def-music-function (par loc num) (number?) #{\set stemRightBeamCount = #$num #}) beamLR = #(def-music-function (par loc numl numr) (number? number?) # {\set stemLeftBeamCount = #$numl \set stemRightBeamCount = #$numr #}) textSpan = #(def-music-function (par loc dir str) (number? string?) # {\override TextSpanner #'direction = #$dir \override TextSpanner #'edge-text = #(cons $str "") #}) noteHead = #(def-music-function (par loc sty) (symbol?) #{\once \override NoteHead #'style = #$sty #}) .... In LilyPond, I get an error: Parsing...ERROR: Unbound variable: def-music-function I am starting out with both LilyPond and FOMUS... any suggestions on how to get rid of the error, or solve it either on the FOMUS or LilyPond side? Second, is there a variable on the lisp side to change the LilyPond version number? FOMUS can't detect my OSX .app version (2.8)... I'm hand changing it for now, and that seems to be fine, but it would be nice if this is something I can change in the .fomus file. Also, for simple tests, I can delete the beamL (etc.) definitions and the code will compile, but once those vars are used in the .ly file, there are (of course) problems. Thanks for any help. Josh OS X 10.4.6 MacBook, SBCL 0.9.12 ****************************************** Joshua Parmenter joshp at u.washington.edu Post-Doctoral Research Associate - Center for Digital Arts and Experimental Media Raitt Hall - University of Washington Seattle, Washington 98195 http://www.dxarts.washington.edu http://www.realizedsound.net/josh/ From dpsenick at uiuc.edu Mon May 1 04:32:54 2006 From: dpsenick at uiuc.edu (David Psenicka) Date: Sun, 30 Apr 2006 23:32:54 -0500 Subject: [fomus-devel] problems with 0.1.66 In-Reply-To: <96C229E4-397B-4A3C-9EFC-5AE457655C11@gmail.com> References: <96C229E4-397B-4A3C-9EFC-5AE457655C11@gmail.com> Message-ID: <44558F76.7060809@uiuc.edu> Thanks for the post--the error is the reason why fomus tries to detect the lilypond version, the "def-music-function" changed a few times from version to version (I think now it's "define-music-function"). I'll make this user-settable (I'll try to update this by tomorrow). Also, I think the reason why it can't get the version number is because it can't find the lilypond executable--I haven't tested it w/ OSX/lilypond 2.8 yet, so something might have changed, I'll have to look at this too. There's a setting ("LILYPOND-EXE") for specifying the path to the lilypond executable so you can override fomus's default. I think this should fix the problem until I get the next update out. Let me know if you run across any other issues. -David Joshua Parmenter wrote: > Hi all... > > I was looking around to see if there was a more appropriate place to > post a questions / problem. If this is the wrong list, I apologize > and would appreciate a re-direct. If not, here is the problem I am > having. > > Here is a sample head of a .ly file... > > % LilyPond score file > % FOMUS v0.1.66 > > \version "2.6" > octUp = #(set-octavation 1) > octReset = #(set-octavation 0) > octDown = #(set-octavation -1) > markAccIn = \once \override TextScript #'script-priority = #-100 > beamL = #(def-music-function (par loc num) (number?) #{\set > stemLeftBeamCount = #$num #}) > beamR = #(def-music-function (par loc num) (number?) #{\set > stemRightBeamCount = #$num #}) > beamLR = #(def-music-function (par loc numl numr) (number? number?) # > {\set stemLeftBeamCount = #$numl \set stemRightBeamCount = #$numr #}) > textSpan = #(def-music-function (par loc dir str) (number? string?) # > {\override TextSpanner #'direction = #$dir \override TextSpanner > #'edge-text = #(cons $str "") #}) > noteHead = #(def-music-function (par loc sty) (symbol?) #{\once > \override NoteHead #'style = #$sty #}) > > .... > > In LilyPond, I get an error: > > Parsing...ERROR: Unbound variable: def-music-function > > I am starting out with both LilyPond and FOMUS... any suggestions on > how to get rid of the error, or solve it either on the FOMUS or > LilyPond side? > > Second, is there a variable on the lisp side to change the LilyPond > version number? FOMUS can't detect my OSX .app version (2.8)... I'm > hand changing it for now, and that seems to be fine, but it would be > nice if this is something I can change in the .fomus file. > > Also, for simple tests, I can delete the beamL (etc.) definitions and > the code will compile, but once those vars are used in the .ly file, > there are (of course) problems. > > Thanks for any help. > > Josh > > OS X 10.4.6 MacBook, SBCL 0.9.12 > > ****************************************** > Joshua Parmenter > joshp at u.washington.edu > Post-Doctoral Research Associate - Center for Digital Arts and > Experimental Media > Raitt Hall - University of Washington > Seattle, Washington 98195 > > http://www.dxarts.washington.edu > http://www.realizedsound.net/josh/ > > > _______________________________________________ > fomus-devel mailing list > fomus-devel at common-lisp.net > http://common-lisp.net/cgi-bin/mailman/listinfo/fomus-devel > From jparmenter at gmail.com Mon May 1 22:50:08 2006 From: jparmenter at gmail.com (Joshua Parmenter) Date: Mon, 1 May 2006 15:50:08 -0700 Subject: [fomus-devel] problems with 0.1.66 In-Reply-To: <44558F76.7060809@uiuc.edu> References: <96C229E4-397B-4A3C-9EFC-5AE457655C11@gmail.com> <44558F76.7060809@uiuc.edu> Message-ID: Hi David, I did some more poking around today, and noticed that if I set my lilypind-exe value to: :lilypond-exe "/Applications/LilyPond.app/Contents/Resources/bin/ lilypond" then all worked as it should. It detected the version to be 2.8, and the functions were automatically set to define- rather than def- Thanks... Josh ****************************************** Joshua Parmenter joshp at u.washington.edu Post-Doctoral Research Associate - Center for Digital Arts and Experimental Media Raitt Hall - University of Washington Seattle, Washington 98195 http://www.dxarts.washington.edu http://www.realizedsound.net/josh/ On Apr 30, 2006, at 9:32 PM, David Psenicka wrote: > Thanks for the post--the error is the reason why fomus tries to > detect the lilypond version, the "def-music-function" changed a few > times from version to version (I think now it's "define-music- > function"). I'll make this user-settable (I'll try to update this > by tomorrow). > > Also, I think the reason why it can't get the version number is > because it can't find the lilypond executable--I haven't tested it > w/ OSX/lilypond 2.8 yet, so something might have changed, I'll have > to look at this too. There's a setting ("LILYPOND-EXE") for > specifying the path to the lilypond executable so you can override > fomus's default. I think this should fix the problem until I get > the next update out. Let me know if you run across any other issues. > > -David > > Joshua Parmenter wrote: > >> Hi all... >> >> I was looking around to see if there was a more appropriate place >> to post a questions / problem. If this is the wrong list, I >> apologize and would appreciate a re-direct. If not, here is the >> problem I am having. >> >> Here is a sample head of a .ly file... >> >> % LilyPond score file >> % FOMUS v0.1.66 >> >> \version "2.6" >> octUp = #(set-octavation 1) >> octReset = #(set-octavation 0) >> octDown = #(set-octavation -1) >> markAccIn = \once \override TextScript #'script-priority = #-100 >> beamL = #(def-music-function (par loc num) (number?) #{\set >> stemLeftBeamCount = #$num #}) >> beamR = #(def-music-function (par loc num) (number?) #{\set >> stemRightBeamCount = #$num #}) >> beamLR = #(def-music-function (par loc numl numr) (number? >> number?) # {\set stemLeftBeamCount = #$numl \set >> stemRightBeamCount = #$numr #}) >> textSpan = #(def-music-function (par loc dir str) (number? >> string?) # {\override TextSpanner #'direction = #$dir \override >> TextSpanner #'edge-text = #(cons $str "") #}) >> noteHead = #(def-music-function (par loc sty) (symbol?) #{\once >> \override NoteHead #'style = #$sty #}) >> >> .... >> >> In LilyPond, I get an error: >> >> Parsing...ERROR: Unbound variable: def-music-function >> >> I am starting out with both LilyPond and FOMUS... any suggestions >> on how to get rid of the error, or solve it either on the FOMUS >> or LilyPond side? >> >> Second, is there a variable on the lisp side to change the >> LilyPond version number? FOMUS can't detect my OSX .app version >> (2.8)... I'm hand changing it for now, and that seems to be fine, >> but it would be nice if this is something I can change in >> the .fomus file. >> >> Also, for simple tests, I can delete the beamL (etc.) definitions >> and the code will compile, but once those vars are used in >> the .ly file, there are (of course) problems. >> >> Thanks for any help. >> >> Josh >> >> OS X 10.4.6 MacBook, SBCL 0.9.12 >> >> ****************************************** >> Joshua Parmenter >> joshp at u.washington.edu >> Post-Doctoral Research Associate - Center for Digital Arts and >> Experimental Media >> Raitt Hall - University of Washington >> Seattle, Washington 98195 >> >> http://www.dxarts.washington.edu >> http://www.realizedsound.net/josh/ >> >> >> _______________________________________________ >> fomus-devel mailing list >> fomus-devel at common-lisp.net >> http://common-lisp.net/cgi-bin/mailman/listinfo/fomus-devel >> > _______________________________________________ > fomus-devel mailing list > fomus-devel at common-lisp.net > http://common-lisp.net/cgi-bin/mailman/listinfo/fomus-devel From dpsenick at uiuc.edu Tue May 2 19:29:11 2006 From: dpsenick at uiuc.edu (David Psenicka) Date: Tue, 02 May 2006 14:29:11 -0500 Subject: [fomus-devel] problems with 0.1.66 In-Reply-To: References: <96C229E4-397B-4A3C-9EFC-5AE457655C11@gmail.com> <44558F76.7060809@uiuc.edu> Message-ID: <4457B307.5020307@uiuc.edu> This CVS update should fix it (I need to double check it, but it should work), thanks!