Re: Redefining Staff.instr

2006-08-19 Thread Christopher Culver
Paul Scott <[EMAIL PROTECTED]> writes: > Either way it's good to use \markup to let the player know at the end > of the section for one instrument that s/he needs to change > instruments. As a doubler I have never missed the feature Kieren has > sponsored (not that the feature isn't a very useful

Re: Redefining Staff.instr

2006-08-19 Thread Kieren MacMillan
Hi, Paul: Either way it's good to use \markup to let the player know at the end of the section for one instrument that s/he needs to change instruments. The new feature automatically does that! =) the player [...] may even not notice the instrument name at the beginning of the line. This

Re: Redefining Staff.instr

2006-08-19 Thread Paul Scott
Kieren MacMillan wrote: Hi, Christopher: I'm typesetting a wind quintet where the first staff moves between flute and piccolo. At any given movement, the staff should be labeled with the relevant instrument. I just sponsored this feature -- it is included in the current development version [

Re: Redefining Staff.instr

2006-08-19 Thread Kieren MacMillan
Hi, Christopher: I'm typesetting a wind quintet where the first staff moves between flute and piccolo. At any given movement, the staff should be labeled with the relevant instrument. I just sponsored this feature -- it is included in the current development version [2.9.15]. A stable vers

Redefining Staff.instr

2006-08-19 Thread Christopher Culver
I'm typesetting a wind quintet where the first staff moves between flute and piccolo. At any given movement, the staff should be labeled with the relevant instrument. I start off by doing: \set Staff.instr = "Fl. grande" at the beginning of the document. However, doing: \set St

Re: Staff.instr

2006-06-09 Thread Papazian Christophe
For the first line, I use #'ambitus, this work perfectly for me. But, there is some drawbacks in this method. This breaks code that uses mark to show information (FINE, D.C.) at the end of lines. It seems that I can not use a mark (\mark) at the end of the line, and another one at the beginning

Re: Staff.instr

2006-06-09 Thread Papazian Christophe
This is perfect, thank you very much ! Christophe On 9 juin 06, at 15:08, Kieren MacMillan wrote: \version "2.8.4" \paper { indent = 1\in left-margin = 2\in line-width = 4.5\in } makeMarkLikeInst = { \once \override Score.RehearsalMark #'break-align-sy

Re: Staff.instr

2006-06-09 Thread Kieren MacMillan
Hi, Christophe: I think the attached workaround works for all but the first line -- I leave that to you! =) [Hint: make the InstrumentName font the same as the RehearsalMark font...] Best, Kieren. __ %%% CODE SNIPPET BEGINS \version "2.8.4" \paper { inden

Re: Staff.instr

2006-06-09 Thread Papazian Christophe
On 9 juin 06, at 14:21, Kieren MacMillan wrote: Hi, Christophe: You said you need to adjust the offset values depending on accidentals? This seems to work fine for me: this is a problem of accidental key not of accidental in music. \version "2.8.4" \paper { indent = 1\in

Re: Staff.instr [how to switch instruments for doublers?]

2006-06-09 Thread Papazian Christophe
! Christophe On 9 juin 06, at 05:40, Kieren MacMillan wrote: Hi, all -- Wow: I just realised the implication of the issue Papazian brought up... If you can't use \set Staff.instr = "whatever" mid-stream to change the instrument name listed at the left-hand sid

Re: Staff.instr [how to switch instruments for doublers?]

2006-06-08 Thread Kieren MacMillan
Hi, all -- Wow: I just realised the implication of the issue Papazian brought up... If you can't use \set Staff.instr = "whatever" mid-stream to change the instrument name listed at the left-hand side of the system, how do you keep track of the instrument being playe

Re: Staff.instr

2006-06-08 Thread Kieren MacMillan
Hi, Papazian: Is there some (even complex) workaround ? Try the attached -- it's a hack, but it does what you want (I think). Best, Kieren. __ %%% CODE SNIPPET BEGINS \version "2.9.7" \paper { indent = 0 left-margin = 2\in line-width = 4.5

Re: Staff.instr

2006-06-08 Thread Papazian Christophe
only have one staff, and it seems to pick the one that comes closest to the start of the music (ie 'First.') I don't really remember, but it's possible the way Staff.instr was handled changed somewhere between 2.6 and 2.8. Anyway, Lilypond can do this for you automaticall

Re: Staff.instr

2006-06-08 Thread Cameron Horsburgh
On Thu, Jun 08, 2006 at 11:30:29AM +0200, Papazian Christophe wrote: > I switch to lilypond-user... > > So here is my problem : > > %% > \header{ > title = "Staff.instr ?" > } > > musique = \relative { > c d e

Staff.instr

2006-06-08 Thread Papazian Christophe
I switch to lilypond-user... So here is my problem : %% \header{ title = "Staff.instr ?" } musique = \relative { c d e f g a b c \break } \relative { \set Staff.instrument = "test" \set Staff.instr = "first"