Re: instrumentSwitch and addInstrumentDefinition use

2015-01-13 Thread Urs Liska
Am 12.01.2015 um 13:29 schrieb Kieren MacMillan: Do you use the \quoteDuring mechanism (as below) or Jan-Peter's auto-transposing engraver to generate the engraved pitches for each instrument? Neither. I simply use \transpose. (I was planning to look at Jan-Peter’s engraver, but haven’t yet ha

Re: instrumentSwitch and addInstrumentDefinition use

2015-01-13 Thread Flaming Hakama by Elaine
> From: Kieren MacMillan > To: Keith OHara > Cc: Lilypond-User Mailing List > Subject: Re: instrumentSwitch and addInstrumentDefinition use > > > Hi Keith, > > > I understand that in realistic cases you probably have the notes in one > variable and options for arrangements in another parallel se

Re: more succinct code

2015-01-13 Thread Craig Dabelstein
My saviour! Thanks for your help. I now have my layout block looking like this (below), but I was wondering if there is a way to incorporate this code into the layout block as well: \markLengthOn \compressFullBarRests % rehearsal letters \set Score.markFormatter = #format-mark-box-alphabet --

Re: Attaching an alist to a grob

2015-01-13 Thread Paul Morris
Urs Liska wrote > Now I've checked - it's perfect. Thank you again! > > There is no alist? predicate, but it's very easy to define: > > #(define (alist? lst) > (and (list? lst) >(every pair? lst))) Glad to help and glad someone else is benefiting from this. (On a related note, I

Re: more succinct code

2015-01-13 Thread Thomas Morley
2015-01-13 23:59 GMT+01:00 Craig Dabelstein : > Good morning List, > > Sorry if this is a simple question, but I was wondering if the following > code cand be made shorter by putting these elements of code somewhere that > can be shared by all staves. > > \consists "Page_turn_engraver" > \consi

Re: Changing the endpoint of a very long slur

2015-01-13 Thread David Nalesnik
One more thing... On Tue, Jan 13, 2015 at 5:55 PM, David Nalesnik wrote: > > > > \shape #'( ((0 . 0) (0 . 0) (0 . 0) (0 . 0)) > ((0 . 0) (0 . 0) (0 . 0) (0 . 0)) > ((0 . 0) (0 . 0) (0 . 0) (0 . 0)) > ((0 . 0) (0 . 0) (0 . 0) (5 . -5)) ) Slur > > The empty

Re: Changing the endpoint of a very long slur

2015-01-13 Thread David Nalesnik
Hi Knute, On Tue, Jan 13, 2015 at 5:32 PM, Knute Snortum wrote: > I have a slur that spans several systems and I want to change the every > last endpoint. My understanding of \shape is that this should work: > > \version "2.18.2" > \language "english" > > \relative c' { > \shape #'( (0 . 0) (0

Re: Page Headers

2015-01-13 Thread Chris Trahan
I figured it out. I went into the ly/titling-init.ly file and changed this line \on-the-fly #not-part-first-page \fromproperty #'header:instrument to this line \on-the-fly #not-part-first-page \fromproperty #'header:title in both the oddHeaderMarkup variable and the evenHeaderMarkup variable.

Changing the endpoint of a very long slur

2015-01-13 Thread Knute Snortum
I have a slur that spans several systems and I want to change the every last endpoint. My understanding of \shape is that this should work: \version "2.18.2" \language "english" \relative c' { \shape #'( (0 . 0) (0 . 0) (0 . 0) (0 . 0) (0 . 0) (0 . 0) (0 . 0) (0 . 0) (

Re: Page Headers

2015-01-13 Thread Chris Trahan
Abraham, Yes, I have. The example is not very clear and it's only one example. Chris -- View this message in context: http://lilypond.1069038.n5.nabble.com/Page-Headers-tp170410p170428.html Sent from the User mailing list archive at Nabble.com. ___

more succinct code

2015-01-13 Thread Craig Dabelstein
Good morning List, Sorry if this is a simple question, but I was wondering if the following code cand be made shorter by putting these elements of code somewhere that can be shared by all staves. \consists "Page_turn_engraver" \consists "Melody_engraver" \override Stem.neutral-direction =

Re: Attaching an alist to a grob

2015-01-13 Thread Urs Liska
Am 13.01.2015 um 21:41 schrieb Urs Liska: Hi Paul, thanks for that. Will have to try that out later today, but indeed it looks exactly like what I'm looking for. I think I can soon give back the results :-) Now I've checked - it's perfect. Thank you again! There is no alist? predicate, but

Re: Tablature (Pedal Steel again) - Change lines

2015-01-13 Thread and...@andis59.se
On 2015-01-13 22:50, Pierre Perol-Schneider wrote: Hum, not easy to automate it but you can use tags : http://lilypond.org/doc/v2.19/Documentation/notation/different-editions-from-one-source.html#using-tags So much to learn, so little time... Lilypond is like the Russian dolls, you never come

Re: segmented glissando lines

2015-01-13 Thread Thomas Morley
2015-01-12 0:39 GMT+01:00 Urs Liska : > > Am 12.01.2015 um 00:37 schrieb Thomas Morley: > >> 2015-01-12 0:06 GMT+01:00 Urs Liska : >>> >>> Hi Harm, >>> >>> this is terrific! >>> I'm about to collect a number of examples why LilyPond rocks for >>> engraving >>> contemporary music, and this should de

Re: Tablature (Pedal Steel again) - Change lines

2015-01-13 Thread Pierre Perol-Schneider
2015-01-13 22:23 GMT+01:00 and...@andis59.se : > Since you are using the same notes for the normal Staff and the TabStaff > the normal Staff will show the wrong notes. This since the pedals changes > the string tuning > A raises the 5 string 1 tone, 8=g', 8A=a', and F raises string 4 ½ a tone, >

Re: Tablature (Pedal Steel again) - Change lines

2015-01-13 Thread and...@andis59.se
On 2015-01-13 22:12, Pierre Perol-Schneider wrote: Sure you can. BTW, I just took a look on the web in order to see how those tablatures look like, so I've added some options : Wow!! It's almost perfect! Since you are using the same notes for the normal Staff and the TabStaff the normal St

Re: Tablature (Pedal Steel again) - Change lines

2015-01-13 Thread Pierre Perol-Schneider
Hi Anders, 2015-01-13 21:00 GMT+01:00 and...@andis59.se : > Is it possible to make the same effect using the \rightHandFinger method > you showed before? > That method was the simplest so I want to use it. > Sure you can. BTW, I just took a look on the web in order to see how those tablatures l

Re: Attaching an alist to a grob

2015-01-13 Thread Urs Liska
Hi Paul, thanks for that. Will have to try that out later today, but indeed it looks exactly like what I'm looking for. I think I can soon give back the results :-) Best Urs Am 13. Januar 2015 20:45:31 MEZ, schrieb Paul Morris : >Urs Liska wrote >> So does anyone have an idea how I can attach

Re: Tablature (Pedal Steel again) - Change lines

2015-01-13 Thread and...@andis59.se
On 2015-01-13 20:17, Pierre Perol-Schneider wrote: How about : \version "2.19.11" \header { title="Pedal Steel Guitar - E9th" } PSGE-tuning = \stringTuning < c,,,% this tune's only to show one more string b, d e fis gis b e' gis' dis' fis'> Notes = \transpose c c' { 2 e'4} psgNotes

Re: Attaching an alist to a grob

2015-01-13 Thread Paul Morris
Paul Morris wrote > %% I use "cn-" to keep my functions separate from standard > %% LilyPond functions (like a poor man's namespace). Well, I should have said "functions, custom property names, etc. separate..." -Paul -- View this message in context: http://lilypond.1069038.n5.nabble.com/Atta

Re: Attaching an alist to a grob

2015-01-13 Thread Paul Morris
Urs Liska wrote > So does anyone have an idea how I can attach an alist to a grob so that > an engraver can retrieve it? > Is it for example possible to add an arbitrary property to a grob? Hi Urs, I've had good luck creating custom grob properties, which sounds like what you're looking for. He

Re: Tablature (Pedal Steel again) - Change lines

2015-01-13 Thread and...@andis59.se
On 2015-01-13 20:17, Pierre Perol-Schneider wrote: How about : Snip (Brilliant code!) That will work perfectly! Thank you very much! // Anders -- English isn't my first language. So any error or strangeness is due to the translation. Please correct my English so that I may become better. _

Re: Tablature (Pedal Steel again) - Change lines

2015-01-13 Thread Pierre Perol-Schneider
How about : \version "2.19.11" \header { title="Pedal Steel Guitar - E9th" } PSGE-tuning = \stringTuning < c,,,% this tune's only to show one more string b, d e fis gis b e' gis' dis' fis'> Notes = \transpose c c' { 2 e'4} psgNotes = { %%\set TabStaff.minimumFret = #8 \set TabStaff.

Re: Page Headers

2015-01-13 Thread tisimst
Chris Trahan wrote > I would like to put the title of a score as a page header starting on page > 2. This would be on the same line as the page number and could be on the > opposite side from the page number or centered on the page. > > I can't find out how to do this. I've searched the learning,

Attaching an alist to a grob

2015-01-13 Thread Urs Liska
Hi list, I'm working on a music function/engraver combination. The music function has to attach information to a grob to pass it on to the engraver. I found that an alist is the appropriate data type for the information, so I need a way to attach an alist to a grob in a music function. I made

Page Headers

2015-01-13 Thread Chris Trahan
I would like to put the title of a score as a page header starting on page 2. This would be on the same line as the page number and could be on the opposite side from the page number or centered on the page. I can't find out how to do this. I've searched the learning, notation, snippets, etc. I f

Tablature (Pedal Steel again) - Change lines

2015-01-13 Thread and...@andis59.se
I have one more "problem" with creating tablature for Pedal Steel Guitar. That is one of conventions. Pedal Steel Guitarist are used to have the tab not between the lines not (as the rest of the world) on the lines. See psg-tab2.png The reason if of cause that is easier to read the letter when

Re: Tablature for Pedal Steel Guitar - 'text' in tab

2015-01-13 Thread and...@andis59.se
On 2015-01-12 21:54, and...@andis59.se wrote: I want to write some music for Pedal Steel Guitar. Most player are using tablature so I want to use it also. One of my problems is that the Pedel Steel Guitar has pedals! They re-tune one or more strings when pressed. Thank you both Pierre and Simo

Re: Adjusting the position of tempo indications

2015-01-13 Thread David Sumbler
> From: Dominic > To: lilypond-user@gnu.org > Subject: Re: Adjusting the position of tempo indications > Date: Mon, 12 Jan 2015 15:26:56 -0700 (MST) > > You probably need to adjust MetronomeMark.padding in the score context rather > than TextScript.padding in the Staff context, thus: > /\override

Re: instrumentSwitch and addInstrumentDefinition use

2015-01-13 Thread Kieren MacMillan
Hi Keith, > I understand that in realistic cases you probably have the notes in one > variable and options for arrangements in another parallel sequence > flute_notes = {c'2 c'' } > arrangementB = {s1*4 \prep_alto_flute s1*4 \switch_alto_flute s1*8 } > and it is not so convenient to break

Re: snippet throws programming errors

2015-01-13 Thread Jacques Menu
Grouping the key with the music is fine and gives no error (I’m using a Mac). That’s reasonable since the key may change at places within the music. JM %%% \version "2.19.15" music = \relative c'' { \key c \major e2 g, \key e \minor e2 g, } \score { \new Staff << \music

Re: Tablature for Pedal Steel Guitar - 'text' in tab

2015-01-13 Thread Pierre Perol-Schneider
Or even easier this way : \version "2.19.11" \header { title="Pedal Steel Guitar - E9th" } PSGE-tuning = \stringTuning Notes = { 2 e''4} psgNotes = { %%\set TabStaff.minimumFret = #8 \set TabStaff.restrainOpenStrings = ##t %%\override StringNumber #'transparent = ##t << e'2\6

Re: Tablature for Pedal Steel Guitar - 'text' in tab

2015-01-13 Thread Simon Bailey
Anders, try this snippet: %% SNIP HERE %% \version "2.19.11" \header { title="Pedal Steel Guitar - E9th" } noPed = \set fretLabels = #'("0" "1" "2" "3" "4" "5" "6" "7" "8" "9" "10" "11" "12" ) FPed = \set fretLabels = #'("0F" "1F" "2F" "3F" "4F" "5F" "6F" "7F" "8F" "9F" "10F"

snippet throws programming errors

2015-01-13 Thread Villum Sejersen
Well, on my system your snippet as you have written it throws no error whatsoever... The result is exactly as I believe is the one you expected. I rather suspect your way of organizing the lilypond file is creating the error, or - perhaps more understandable - the fact that you are on a mac ma

Re: Demo: Score and parts template

2015-01-13 Thread Johan Vromans
On Sat, 10 Jan 2015 11:12:26 +0800 James Harkins wrote: > % Just the notes -- no need to copy anything from "global" In fact, this is separation of content and structure. It works for many structure-related items but unfortunately not for repeats. For example, in the following snippet the score