[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ottava bassa
From: |
Reinhold Kainhofer |
Subject: |
Re: ottava bassa |
Date: |
Tue, 11 Jan 2011 13:01:21 +0100 |
User-agent: |
KMail/1.13.5 (Linux/2.6.35-22-generic; KDE/4.5.3; i686; ; ) |
Am Montag, 10. Januar 2011, um 15:26:04 schrieb Phil Holmes:
> It produces the output in the png attached. What's clearly happening is
> that the ottava marking affects both voices, despite it being only present
> in one voice. I've also tried with explicit voices. If we drop the octave
> of the second chord in the upper voice to place the notes correctly, we
> can't tie the notes. Is it possible to ottavate only one voice?
No, not easily. Currently, the callback function make-ottava-set for
OttavaMusic has it hardcoded to assign the ottavation properties to the staff:
(define (make-ottava-set music)
"Set context properties for an ottava bracket."
(let ((octavation (ly:music-property music 'ottava-number)))
(list (context-spec-music
(make-apply-context
(lambda (context)
[....])
'Staff))))
If you modify that function in scm/define-music-callbacks.scm to 'Voice
instead of 'Staff, then \ottava only applies to the current voice (which is,
however, probably now what we want by default).
Of course, you can always try to reproduce the functionality of make-ottava-
set manually...
Cheers,
Reinhold
--
------------------------------------------------------------------
Reinhold Kainhofer, address@hidden, http://reinhold.kainhofer.com/
* Financial & Actuarial Math., Vienna Univ. of Technology, Austria
* http://www.fam.tuwien.ac.at/, DVR: 0005886
* LilyPond, Music typesetting, http://www.lilypond.org
- ottava bassa, ljc, 2011/01/10
- Re: ottava bassa, Phil Holmes, 2011/01/10
- Re: ottava bassa,
Reinhold Kainhofer <=
- Re: ottava bassa, ljc, 2011/01/12
- Re: ottava bassa, Phil Holmes, 2011/01/12
- Re: ottava bassa, Patrick Horgan, 2011/01/13
- Re: ottava bassa, Phil Holmes, 2011/01/14
- Re: ottava bassa, Phil Holmes, 2011/01/14
- Re: ottava bassa, ljc, 2011/01/14
Re: ottava bassa, Patrick Schmidt, 2011/01/10
Re: ottava bassa, Shane Brandes, 2011/01/10
Re: ottava bassa, Keith OHara, 2011/01/11