lilypond-user
[Top][All Lists]
Advanced

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

Re: Scheme question: symbol to music


From: Johan Vromans
Subject: Re: Scheme question: symbol to music
Date: 12 Nov 2008 23:47:04 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4

Graham Percival <address@hidden> writes:

> On Wed, Nov 12, 2008 at 05:28:37PM +0100, Johan Vromans wrote:
> > What I'm trying to achieve is to have input lines processed
> > selectively based on whether certain symbols are defined.
> 
> Umm, use \tag?

I use this for other purposes:

  allMusic = {
    <<
      \include "chordstaff.ly"
      \include "leadstaff.ly"
      ...
      \tag #'midiOnly \include "ticktock.ly"
    >>
  }

  \score {
    \removeWithTag #'midiOnly \allMusic
    \layout {
    }
  }

  \score {
    \removeWithTag #'scoreOnly \unfoldRepeats \allMusic
    \midi {
    }
  }

I don't think the \tag mechanism is suitable for the purpose I
described in my other posting.

-- Johan




reply via email to

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