lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mixing notation and lyric entry


From: Jan Warchoł
Subject: Re: Mixing notation and lyric entry
Date: Wed, 15 Dec 2010 16:41:53 +0100

2010/12/15 Michael Ellis <address@hidden>>
> Jan Warchol wrote "I don't know how it could be done, and i strongly 
> recommend not doing
> this. Separating different types of content is in my opinion very
> beneficial"
> I agree that separating content is useful.  As you point out, it allows one 
> to easily recombine it in various formats.  It's just that I prefer to have 
> the computer do the work whenever possible.  Let me see if I can clarify what 
> I mean by that.
> Conceptually, I could write a preprocessor that would use special comment 
> prefixes '%!T' and '%!!T' to take input like
> %!T  These are lyr- rics
> %!!T do8  re mi fa
> %!T  and a few more.
> %!!T sol la ti do
> and output the music and the lyrics in separate variable assignments
> \tenormelody = \relative do { do8 re mi fa sol la ti do }
> \tenorlyric   =  \lyricmode  { These are ly-rics and a few more }
> and then use these in your template, right?  I can code that up in Python in 
> a heartbeat, but it's an unappealing solution for obvious reasons.   Hence 
> the query about how to do it with LilyPond and Scheme.

Ah, i understand. Yeah, this is a good idea. wish i could help with that :/

cheers,
Janek



reply via email to

[Prev in Thread] Current Thread [Next in Thread]