[..] if I want to change the color of
note with sharps AND flats? What should I change?
The attached file does this
Note that the lines :
'tweaks (list (list 'color 1.0 0.0 0.0))) nota)
can be replaced by :
'tweaks (list (cons 'color red))) nota)
and the line :
'tweaks (list
--
View this message in context:
http://www.nabble.com/Color-of-notes-depending-on-accidentals-tp22199560p5258.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.
___
lilypond-user mailing list
lilypond-user@gnu.org
http
2009/2/26 cuco julio.casa...@me.com:
Thanks Gilles
as I am not an expert, what is the code if I want to change the color of
note with sharps AND flats? What should I change?
Thank very much in advance!
The attached file does this, taking Gilles' work as starting point. I
have translated
--
View this message in context:
http://www.nabble.com/Color-of-notes-depending-on-accidentals-tp22199560p7518.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.
___
lilypond-user mailing list
lilypond-user@gnu.org
http
cuco wrote:
Francisco gracias
The file - when compiled - gives the following message error: program too
old: 2.12.1 (file requires 2.12.2.)
I run convert-ly but I get the same error afterwards. Why?
The conversion script only updates to 2.12.1. Just change the \version
statement manually to
If you read the error message once more carefully, you will probably
realize what the problem is, namely that you have a file written for a
newer version than your installation. Of course, convert-ly included in
version 2.12.2 cannot possibly know how to handle features introduced in
newer
Sorry, my bad. Change it manually to read 2.12.1 to avoid this message,
which happens because you have 2.12.1 installed but the file is asking
for 2.12.2.
Jon
cuco wrote:
Francisco gracias
The file - when compiled - gives the following message error: program too
old: 2.12.1 (file requires
[mailto:lilypond-user-bounces+nick.payne=internode.on@gnu.org] On
Behalf Of Jonathan Kulp
Sent: Friday, 27 February 2009 03:24
To: cuco
Cc: lilypond-user@gnu.org
Subject: Re: Color of notes depending on accidentals
cuco wrote:
Francisco gracias
The file - when compiled - gives
Is there is a way to authomatically color notes that are e.g. sharp?
--
View this message in context:
http://www.nabble.com/Color-of-notes-depending-on-accidentals-tp22199560p22199560.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com
cuco wrote:
Is there is a way to authomatically color notes that are e.g. sharp?
You'd need a function that says: If note name ends in is, do \override
NoteHead #'color = #red, but I don't actually know to do this :eek:
___
lilypond-user
Is there is a way to authomatically color notes that are e.g. sharp?
This function colories in red all sharped notes :
%%%
#(define (is-sharped? note)
(let ((p (ly:music-property note 'pitch)))
(and
(ly:pitch? p)
(equal? (ly:pitch-alteration p) SHARP
In the learning material under advanced tweaks with Scheme it shows how to do
that.
Kees
- Original Message -
From: M Watts zwy648...@gmail.com
Date: Wednesday, February 25, 2009 2:03 pm
Subject: Re: Color of notes depending on accidentals
To: cuco julio.casa...@me.com
Cc: lilypond-user
12 matches
Mail list logo