|
From: | David Kastrup |
Subject: | Re: using a scheme function, but with a different name |
Date: | Tue, 18 Mar 2014 11:58:52 +0100 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
Stefan Thomas <address@hidden> writes: > Dear David, > thanks for Your help. > There seems to be a problem with the function itself. > Whith the below quoted snippet, I get the error: > taktartentest.ly:3:21: error: GUILE signaled an error for the expression > beginning here > fourquarterRests = # > (define-music-function (parser location ANFANG ENDE ) > (number? number? ) > Here is the snippet: > > \version "2.18.0" > fourquarterRests = #(define-music-function (parser location ANFANG ENDE ) > (number? number? ) Where is the function body? > global = { > \time 4/4 s1*4 > } > Music = \relative c' { > \fourquarterRests #1 #2 > c4 c d d e e d d > } > \score { > << > \new Devnull \global > \new Staff \Music >>> > } The following seems to be missing: >> > #{ \scaleDurations #(cons (+ 1(- ENDE ANFANG)) 1) {R1 } #}) -- David Kastrup
[Prev in Thread] | Current Thread | [Next in Thread] |