lilypond-user
[Top][All Lists]
Advanced

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

Re: Compiler layout parameters


From: Eluze
Subject: Re: Compiler layout parameters
Date: Wed, 26 Feb 2014 02:11:45 -0800 (PST)

Carlo Vanoni wrote
> I'm a programmer, and I'm used to use command line parameters when
> compiling a program.
> As an example:
> 
> gcc my_source_code.c -I"include_folder" -o my_program
> 
> Here, I tell the compiler to watch inside "include_folder" for files to
> include during the copilation process.
> 
> My idea is to define a layout behaviour at compile time.
> Why? Here is an example.
> I have a bass guitar transcription. For teaching purpose, I add to each
> note which left-hand finger to use. Then, I would like to have a more
> clean score for me, without oll these numbers on top of the note.
> Basically, I would like to use the seme .ly file with all the infos, and
> then use (pseudo code here...)
> 
>   lilypond my_score.ly omit_finger_tips ##f
> 
> to create the teaching score, and
> 
>   lilypond my_score.ly omit_finger_tips ##t
> 
> to create the cleaner score.
> 
> Is there a way to do this?
> And does it make any sense to you?

certainly this makes sense!

you can use 

\layout{
  \context{
    \Voice
    \remove New_fingering_engraver
  }
}

to remove the fingering in a compilation.

best put this in a file which you can include or not when invoking LilyPond.

Eluze



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Compiler-layout-parameters-tp159878p159881.html
Sent from the User mailing list archive at Nabble.com.



reply via email to

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