Re: Scheme variables and chordmode

2008-03-03 Thread Gilles THIBAULT
dostroke = #(define-music-function (parser location chord length) (ly:music? num ber?) #{ \chordmode { e,$length:5.8 } #} ) I presume you can all see what I'm trying to achieve here. However, I c

Re: Scheme variables and chordmode

2008-02-28 Thread Mats Bengtsson
Unfortunately, there are some limitations on what you can do, syntactically, within a #{ ... #} construct and you have hit upon one of these limitations. If you read section "Building complicated functions" in the manual, you will see how to handle such cases using pure Scheme constructs. /M

Scheme variables and chordmode

2008-02-27 Thread Timothy S. Nelson
Hi all. I'm a programmer, but a scheme beginner. I'm using the following code. dostroke = #(define-music-function (parser location chord length) (ly:music? num ber?) #{ \chordmode { e,$length:5.8 }