> From: [EMAIL PROTECTED]
> Date: Fri, 23 Feb 2001 10:18:13 +0100
>
> Mike,
>
> thank for your help. Just drop me when I become unbearable...
Not at all. For those of you joining our program, Hector is having a
problem with embedded scheme in lilypond files on Windows NT...
>
> This is what I just got from traying to pass your example through ly2dvi
> (WinNT):
>
> BEGINQUOTE
> met.ly:19:40: error: parse error:
> r16^#`(rows ,note ,speed-string)
>
> ]]ly2dvi: Lilypond failed: lilypond met 2>&1
> ENDQUOTE
>
> This is similar to what I was getting previously. I guess something is
> broken in my system (1.3.46 under WinNT). If I understand it properly, a
> parse error means my grammar is wrong, so this looks like serious
> problems...
>
> Thanks again,
>
> Héctor
Hmm. Lilypond requires guile, which is the scheme interpreter which is
"embedded" in the lilypond program. That's the part which is supposed to
interpret the line which croaks. I didn't know that guile was even
available for Windows NT, so there may be a problem there.
Does anyone else on the list have any experience with using Lilypond on
Windows NT?
Mike
> -----Mensaje original-----
> De: Michael Vanier [mailto:[EMAIL PROTECTED]]
> Enviado el: jueves, 22 de febrero de 2001 21:49
> Para: [EMAIL PROTECTED]
> Asunto: Re: Metronome markings
>
>
> > From: [EMAIL PROTECTED]
> >
> > Mike,
> >
> > I read your posting about a metronome mark and its connection
> to schemes in
> > LilyPond.
>
> Actually, that's "scheme" i.e. the programming language "scheme", which is
> a variant of the programming language "lisp". Scheme is incredibly
> powerful but it's not the easiest computer language for beginners
> to learn.
>
> >
> > I am just beginning my journey with LilyPond. I got to love it
> when I saw
> > the quality of printed music it achieves, but never understood
> how to make a
> > metronome mark.
> >
> > I tried with those defines, but ly2dvi complaint and died.
> >
> > So, please, help me out:
> >
> > 1. Is there a way to print metronome marks without learning what schemes
> > are?
>
> You need to write some very simple scheme code (included below).
>
> >
> > 2. (if 1 = NO) How can I print metronome marks through the use
> of schemes /
> > defines?
> >
> > I'm using lilypond 1.3.46 for Win NT.
> >
> > Thank you very much,
> >
> > Héctor Monacci
> > [EMAIL PROTECTED]
> >
> >
>
> Try running this file; it should work.
>
> % Beginning of test file.
> \include "english.ly"
> \include "paper20.ly"
>
> % Definition for metronome markings.
> #(define note
> '(rows (music "noteheads-2" ((kern . -0.1) "flags-stem"))))
> #(define speed-string `(string-append " = 69-80"))
>
> \header
> {
> title = "";
> composer = "";
> tagline = "";
> }
>
> melodya = \notes \relative c'
> {
> \key c \major;
>
> r16^#`(rows ,note ,speed-string)
> [ c16 d e ] [ f16 d e c ]
> [ g'8 c b c ] |
> [ d16 g, a b ]
> [ c16 a b g ]
> [ d'8 g f g ] | \break
> }
>
>
> \score
> {
> \simultaneous
> {
> \context GrandStaff \notes
> <
> \context Staff = top
> <
> \time 4/4;
> \clef treble;
> \property Staff.noAutoBeaming = ##t
> \melodya
> >
> >
> }
>
> \paper
> {
> indent = 0.0;
> linewidth = 6.5 \in;
> }
> }
>
> % End of test file.
>
> The scheme code is only the lines:
>
> #(define note
> '(rows (music "noteheads-2" ((kern . -0.1) "flags-stem"))))
> #(define speed-string `(string-append " = 69-80"))
>
> and
>
> r16^#`(rows ,note ,speed-string)
>
> To change the specific time, change the "69-80" part to (say) "104" or
> whatever. You can also change the size of the noteheads, although I can't
> remember offhand how to do that.
>
> Let me know if this works. If not, send me the error output. I don't use
> Windows NT myself, so there may be a problem with ly2dvi on that platform,
> but hopefully not.
>
> Good luck,
>
> Mike
>
_______________________________________________
Gnu-music-discuss mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/gnu-music-discuss