On Thu, May 28, 2015 at 6:43 AM, Peter Gentry
wrote:
> Thankyou David but how is color associated with NoteHead?
>
> I hope these ramblings of a gnarled old scheme/Lily tyro can be of general
> interest
>
> I'm guessing that 'tweaks is some sort of switch to open up properties of
> the cur
x27;tweaks
(list (cons (quote font-size) 3)
(cons (quote stencil) #))
'articulation-type
"stopped"))
'duration
(ly:make-duration 2)
'pitch
(ly:make-pitch 2 1)
AFAICS tweaks are not documented properly anywhere - some of the possible
tweaks are presented without detailed
On Wed, May 27, 2015 at 4:15 AM, Peter Gentry
wrote:
[...]
> (make-music
> 'SequentialMusic
> 'elements
> (list (make-music
> 'NoteEvent
> 'duration
> (ly:make-duration 0)
> 'pitch
> (ly:make-pitch 0 0))
> (make-music
> '
>-Original Message-
>From: Phil Holmes [mailto:m...@philholmes.net]
>Sent: Wednesday, May 27, 2015 11:49 AM
>To: Peter Gentry; lilypond-user@gnu.org
>Cc: 'Thomas Morley'
>Subject: Re: Notehead color on programmed pitch change (now \tweak)
>
>- Or
>-Original Message-
>From: Peter Gentry [mailto:peter.gen...@sunscales.co.uk]
>Sent: Wednesday, May 27, 2015 10:16 AM
>To: 'lilypond-user@gnu.org'
>Cc: 'Thomas Morley'
>Subject: Re: Notehead color on programmed pitch change
>
>
>
>
>-Original Message-
>From: Thomas Morley [mailto:thomasmorle...@gmail.com]
>Sent: Tuesday, May 26, 2015 5:33 PM
>To: Peter Gentry
>Cc: lilypond-user
>Subject: Re: Subject: Re: Notehead color on programmed pitch change
>
>2015-05-26 18:09 GMT+02:00 Peter Gentry :
2015-05-26 18:09 GMT+02:00 Peter Gentry :
> Thanks very much for your solution - I'm not yet sure why it works...how
> does 'tweaks know about notehead color? All very baffling
Well, most (every?) music-event may be tweaked.
Look at the terminal-output from:
\displayMusic
{
\tweak color #red c
Thanks very much for your solution - I'm not yet sure why it works...how does
'tweaks know about notehead color? All very baffling
Outlook strikes again - try this
\version "2.19.15"
#(define (naturalize-instrument-range p instrument )
(let ((o (ly:pitch-octave p))
(a (* 4 (ly:pitch-a
Thanks very much for your solution - I'm not yet sure why it works...how does
'tweaks know about notehead color? All very baffling
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
4
Hi Peter,
2015-05-25 13:20 GMT+02:00 Peter Gentry :
> I have a short script to confine music to an instruments range. I wish to
> colour the noteheads on any pitches which have been changed to fit the
> instrument range.
>
> Try as I may all attempts to modify existing snippets have failed - I wa
I have a short script to confine music to an instruments range. I wish to
colour the noteheads on any pitches which have been
changed to fit the instrument range.
Try as I may all attempts to modify existing snippets have failed - I was
particulary baffled by the snippet
#(define (pitch-to-
11 matches
Mail list logo