Re: thinking of submitting divisi snippet to LSR; comments?

2012-06-29 Thread Phil Holmes
- Original Message - 
From: Shevek s...@saultobin.com

To: lilypond-user@gnu.org
Sent: Thursday, June 28, 2012 5:07 AM
Subject: thinking of submitting divisi snippet to LSR; comments?




Hi all,

I wrote a snippet several months ago to facilitate notating divisi staves,
but I couldn't submit it to LSR because LSR was on 2.12 until recently. 
Now

that LSR has been updated to 2.14, I'd love to get some comments on my
snippet before I submit it. It's a bit long, so I've attached it as a 
file.


My snippet relies on code from a couple other snippets already included in
LSR. What is the best way to deal with that for submission to LSR?

Right now, there are some situations, all involving partcombine, that 
still

cause some undesired behavior and error messages. I've included test cases
for all of these issues in the file. I'd really appreciate any suggestions
on how to solve some of these errors (though of course I'll keep working 
on

it in the mean time).

http://old.nabble.com/file/p34084271/divisi_test2.ly divisi_test2.ly



The general aim of the LSR is not to be too prescriptive about what users 
put there for other users to find and use.  However, to be useful in this 
way, it works best if snippets are short and easily understood.  They should 
really also compile error free.  From this perspective I would see problems 
with your proposed snippet - I think it's trying to demonstrate too much in 
a single snippet - I would be tempted to split it into 4 snippets, each 
illustrating a single partcombine feature.  I would also work to get rid of 
the errors, if necessary by creating tiny snippets for each and raising bug 
reports.


Finally, I think refererencing other snippets is fine - I would flag this in 
the comment


% This idea taken from LSR 123

or similar.

--
Phil Holmes 



___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: midi for orchestral scores

2012-06-29 Thread ArnoldTheresius



Shevek wrote:
 
 As I see it, the primary issue here from a user's perspective is that
 lilypond presents us with a choice between playback limited to 16 channels
 and going all the way to the other extreme and learning to use complicated
 sequencer software just to get all the instruments to sound. ... 

This reminds me to another 'old' idea:
A new XML syntax file format which eleminates the most important
restrictions of todays midi file:
- unlimited number of voices (much more than 16)
- unlimited number of instrument patches (more than 256)
- microtonality without pitch bending (semitone pitch number as rational
number)
- true slur (active pitch1 becomes pitch2 instead of release key for pitch1
and press key for pitch2) 
- stereo (or more chanels) output definitions per voice

I know, this would also require some programmers to implement such an
'extension' on the sequencers, e.g. timidity.

So, I would say, this can only be a far goal for the future.

-- 
View this message in context: 
http://old.nabble.com/midi-for-orchestral-scores-tp34083696p34090646.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: tupletFullLength clashes with barline

2012-06-29 Thread Peter O'Doherty

On 06/25/2012 10:50 AM, m...@apollinemike.com wrote:

On 25 juin 2012, at 10:37, Peter O'Doherty wrote:


On Sun, Mar 11, 2012 at 09:25:55AM +0100, Peter O'Doherty wrote:

On 03/10/2012 09:55 PM, Patrick Karl wrote:

On Mar 10, 2012, at 1:35 PM, Jamespkx1...@gmail.comwrote:


Message: 6
Date: Sat, 10 Mar 2012 19:34:40 +
From: Jamespkx1...@gmail.com
To: Peter O'Dohertym...@peterodoherty.net
Cc: lilypond-user@gnu.org
Subject: Re: tupletFullLength clashes with barline
Message-ID:
CA+T3wFkZtC-A0k6W1zjy3q2U=dtu8+qP+AWSf9rf=7orexq...@mail.gmail.com
Content-Type: text/plain; charset=ISO-8859-1

Hello,

On 10 March 2012 08:18, Peter O'Dohertym...@peterodoherty.netwrote:

Hi list,

tupletFullLength = ##t

causes the right hand part of the tuplet bracket to clash with the barline.
This only happens with a barline at the end of a line.

Is there a way to avoid this?


Tiny example and the version you are using might help us.

Here's one that illustrates what he's talking about:

\version 2.14.2
music = \relative g' {
\repeat unfold 3 { \times 2/3 { f8 g a f g a f g a f g a} }
\break
\set tupletFullLength = ##t
\repeat unfold 3 { \times 2/3 { g8 a b g a b g a b g a b} }
}
\score { \new Staff { \music } }

Note that in the 1st two measures of the 2nd system the tuple bracket extends 
slightly past the last note, but in the last measure in the 2nd system the 
tuple bracket extends all the way to the bar line.

Regards,
Pat Karl


Thanks for the example Pat. That illustrates it well. This examples
shows how bad it looks in a piano stave:

\version 2.12.3
\include english.ly
upper =  {
   \clef treble
   \time 4/8
   \times 4/6 { c'8 c'8 c'8 c'8 c'8 c'8 } |
   \times 4/6 { c'8 c'8 c'8 c'8 c'8 c'8 } |
   \times 4/6 { c'8 c'8 c'8 c'8 c'8 c'8 } |
   \break
   \times 4/6 { c'8 c'8 c'8 c'8 c'8 c'8 } |
}

lower =  {
   \clef bass
   \times 4/6 { c8 c8 c8 c8 c8 c8 } |
   \times 4/6 { c8 c8 c8 c8 c8 c8 } |
   \times 4/6 { c8 c8 c8 c8 c8 c8 } |
   \times 4/6 { c8 c8 c8 c8 c8 c8 } |
}

\score {
   \new PianoStaff
 \new Staff = upper \upper
 \new Staff = lower \lower
   \layout {
  \context {
\Score
tupletFullLength = ##t
\override TupletBracket #'bracket-visibility = ##t
\override TupletNumber #'text = #tuplet-number::calc-fraction-text
}
  }
}

Sorry to reopen this but I still haven't been able to solve the problem of the 
tuplet bracket colliding with the barline at the end of a line.

Any help would be greatly appreciated!

Many thanks,
Peter


With the development version, you can do:

\override TupletBracket #'X-positions =
#(lambda (grob)
   (let* ((right (ly:spanner-bound grob RIGHT))
  (bd (ly:item-break-dir right))
  (xshift (if (= bd -1) -0.5 0.0)))
 (coord-translate (ly:tuplet-bracket::calc-x-positions grob)
  `(0 . ,xshift

Cheers,
MS


Thanks.
Do you know how I can run the development version in combination with 
Frescobaldi (which uses version 2.14.2 at present)?

Thanks again,
Peter

--
//=
-  Peter O'Doherty
-  http://www.peterodoherty.net
-  m...@peterodoherty.net
-  https://joindiaspora.com/people/70716
//=


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re; Margins- example

2012-06-29 Thread Jay Hamilton
recap- Eluze wrote and asked for an example.
I'm always afraid that my 'code' won't pass muster as I don't care about
'pretty' code only pretty output.  But here is an example I apologize for
the length.
Please note that the indent for the left side works great but the right,
top and bottom margins don't do anything.
Thanks
Jay
++
\version 2.14.1
\header {
  title = The Map
  subtitle = Theme 14 I wish to see the future
  composer = Jay Hamilton
copyright = \markup { \tiny \override #'(baseline-skip . 0.5)
\center-column
{  CC lic 2.5 some rights reserved Jay Hamilton 2012
see http://creativecommons.org/licenses/by-nd/2.5/;
   } }
   }
#(ly:set-option 'delete-intermediate-files #t)

duc = \relative c
{
\clef treble_8
\key c \major
\time 4/4
\tempo 4 = 72
#(set-accidental-style 'forget)
\set Staff.instrumentName = #D 
\set Staff.shortInstrumentName = #D 
\override Staff.TimeSignature #' style = #' ()
\override Score.BarNumber #'break-visibility = #end-of-line-invisible

\partial 8
c8
a'8 [a] a [c] a a4 r8
r4 c,8 [a'] a [a] c a ~
a8 r c, a' a a c a a g f g4 r c,8
a'8 a c c a4 c,8 a'
a8 d4 a8 g f d4
}
%Duc
\addlyrics {
 I wish to find a fu- ture, the fu- ture that is mine
 I wish to know what's com- ing 'round the bend
 How long can I go on?
 It seems the road goes for- ev- er

}
tsolo = \relative c'
{
\clef treble_8
\key c \major
\time 3/8
#(set-accidental-style 'forget)
\set Staff.instrumentName = #Tenor Solo 
\set Staff.shortInstrumentName = #T 
\override Staff.TimeSignature #' style = #' ()
\override Score.BarNumber #'break-visibility = #end-of-line-invisible
\partial 8
r8 r2 r8 c a a ~
a8 r8 r2. R1
c8 a a4 r2
R1 r2. r8 c,

}
\addlyrics {
The fu- ture
What's com- ing
It
}
bsolo = \relative c
{
\clef bass
\key c \major
\time 3/8
#(set-accidental-style 'forget)
\set Staff.instrumentName = #Bass/Baritone 
\set Staff.shortInstrumentName = #B 
\override Staff.TimeSignature #' style = #' ()
\override Score.BarNumber #'break-visibility = #end-of-line-invisible
\partial 8
r8 R1 c'8 a a4 r2
R1 r8 a g e4 r4.
R1 R
 }
\addlyrics {
The fu- ture
What's com- ing

}
enghrn = \relative c'
{
\clef treble
\key c \major
\time 4/4
#(set-accidental-style 'forget)
\set Staff.instrumentName = #Eng Hrn 
\set Staff.shortInstrumentName = #EH 
\override Staff.TimeSignature #' style = #' ()
\override Score.BarNumber #'break-visibility = #end-of-line-invisible

\partial 8
r8
s1 s s s s s
}
clarinet = \relative c'
{
\clef treble
\key c \major
\time 4/4
#(set-accidental-style 'forget)
\set Staff.instrumentName = #Clarinet 
\set Staff.shortInstrumentName = #Clr 
\override Staff.TimeSignature #' style = #' ()
\override Score.BarNumber #'break-visibility = #end-of-line-invisible

\partial 8
r8
s1 s s s s s}
bassoon= \relative c
{
\clef bass
\key c \major
\time 4/4
#(set-accidental-style 'forget)
\set Staff.instrumentName = #Bassoon 
\set Staff.shortInstrumentName = #Bsn 
\override Staff.TimeSignature #' style = #' ()
\override Score.BarNumber #'break-visibility = #end-of-line-invisible

\partial 8
r8
s1 s s s s s

}
trumpet = \relative c'
{
\clef treble
\key c \major
\time 4/4
#(set-accidental-style 'forget)
\set Staff.instrumentName = #Trumpets 
\set Staff.shortInstrumentName = #Tpts 
\override Staff.TimeSignature #' style = #' ()
\override Score.BarNumber #'break-visibility = #end-of-line-invisible
\partial 8
r8
s1 s s s s s

}
frenchrn = \relative c
{
\clef bass
\key c \major
\time 4/4
#(set-accidental-style 'forget)
\set Staff.instrumentName = #Horns 
\set Staff.shortInstrumentName = #Hrn 
\override Staff.TimeSignature #' style = #' ()
\override Score.BarNumber #'break-visibility = #end-of-line-invisible
\partial 8
r8
s1 s s s s s

  }
trombone = \relative c
{
\clef bass
\key c \major
\time 4/4
#(set-accidental-style 'forget)
\set Staff.instrumentName = #Trombone 
\set Staff.shortInstrumentName = #Tb 
\override Staff.TimeSignature #' style = #' ()
\override Score.BarNumber #'break-visibility = #end-of-line-invisible
\partial 8
r8
s1 s s s s s
}
tuba = \relative c
{
\clef bass
\key c \major
\time 4/4
#(set-accidental-style 'forget)
\set Staff.instrumentName = #Tuba 
\set Staff.shortInstrumentName = #Tu 
\override Staff.TimeSignature #' style = #' ()
\override Score.BarNumber #'break-visibility = #end-of-line-invisible
\partial 8
r8
s1 s s s s s
}
violin= \relative c'
{
\clef treble
\key c \major
\time 4/4
#(set-accidental-style 'forget)
\set Staff.instrumentName = #Violin 
\set Staff.shortInstrumentName = #Vln 
\override Staff.TimeSignature #' style = #' ()
\override Score.BarNumber #'break-visibility = #end-of-line-invisible

\partial 8
r8
s1 s s s s s
}
viola = \relative c'
{
\clef treble
\key c \major
\time 4/4
#(set-accidental-style 'forget)
\set Staff.instrumentName = #Viola 
\set Staff.shortInstrumentName = #Vla 
\override Staff.TimeSignature #' style = #' ()
\override Score.BarNumber #'break-visibility = #end-of-line-invisible

\partial 8
r8
s1 s 

\time in the bracket!

2012-06-29 Thread Mario Moles
I have not found how to do this (see attached image) in the manual. You can 
help me?
Thanks!
-- 
oiram/bin/selom
Da ognuno secondo le proprie capacità ad ognuno secondo i propri bisogni.
Linux
MIB Lilypond Frescobaldi Rosegarden attachment: Immagine.png___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: \time in the bracket!

2012-06-29 Thread David Nalesnik
Hi Mario,

2012/6/29 Mario Moles mario-mo...@libero.it

 **

 I have not found how to do this (see attached image) in the manual. You
 can help me?

 Thanks!


See:

http://lsr.dsi.unimi.it/LSR/Item?id=647

or

http://lsr.dsi.unimi.it/LSR/Snippet?id=169

HTH,
David
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: \time in the bracket!

2012-06-29 Thread Mario Moles
Goood!
Thank you so match!

-- 
oiram/bin/selom
Da ognuno secondo le proprie capacità ad ognuno secondo i propri bisogni.
Linux
MIB Lilypond Frescobaldi Rosegarden ___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re; Margins- example

2012-06-29 Thread wjm

Hi Jay,
I think you need to set a \paper section to contain your page margins bits.
The NR says

The \paper variables that can appear in a \layout block are:
line-width, ragged-right and ragged-last (see \paper variables for 
widths and margins)

indent and short-indent (see \paper variables for shifts and indents)
system-count (see \paper variables for line breaking)

A good read of Section 4.1 of the Notation Reference shows what goes 
where...

Hope this helps
Regards
Bill

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: tupletFullLength clashes with barline

2012-06-29 Thread Colin Campbell

On 12-06-29 06:34 AM, Peter O'Doherty wrote:


Thanks.
Do you know how I can run the development version in combination with 
Frescobaldi (which uses version 2.14.2 at present)?

Thanks again,
Peter



In Frescobaldi, one of the many options is to configure a list of 
lilypond versions.  If you have the stable version installed as well as 
the development version, just use the setup to point Frescobaldi to 
each, as well as to designate the default.


HTH,
Colin

--
I've learned that you shouldn't go through life with a catcher's mitt on both 
hands.
You need to be able to throw something back.
-Maya Angelou, poet (1928- )


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: thinking of submitting divisi snippet to LSR; comments?

2012-06-29 Thread Shevek


Phil Holmes-2 wrote:
 
 The general aim of the LSR is not to be too prescriptive about what users 
 put there for other users to find and use.  However, to be useful in this 
 way, it works best if snippets are short and easily understood.  They
 should 
 really also compile error free.  From this perspective I would see
 problems 
 with your proposed snippet - I think it's trying to demonstrate too much
 in 
 a single snippet - I would be tempted to split it into 4 snippets, each 
 illustrating a single partcombine feature.  I would also work to get rid
 of 
 the errors, if necessary by creating tiny snippets for each and raising
 bug 
 reports.
 
 Finally, I think refererencing other snippets is fine - I would flag this
 in 
 the comment
 
 % This idea taken from LSR 123
 
 or similar.
 

So I was able to fix the majority of the errors by abusing \grace s8.
Unfortunately, that affects the spacing. The essence of the problem is this:

\version 2.14.2

foo = \relative c' {
  \partcombineApart
  c4 d e2 |
  \tag #'fix \grace s8
  \partcombineSoloI
  c4 d e d |
}

baz = \relative c' {
  c4 b a b |
  R1 |
}

\partcombine \foo \baz
\partcombine \removeWithTag #'fix \foo \baz

There is another underlying weird behavior of partcombine, but I am still
working on a tiny example for it.
-- 
View this message in context: 
http://old.nabble.com/thinking-of-submitting-divisi-snippet-to-LSR--comments--tp34084271p34094203.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: instrument name font

2012-06-29 Thread Nick Payne

On 30/06/12 12:22, Jeffrey Trevino wrote:
What's the best way to change the instrument name font? I tried a 
bunch of overrides, and even made a new font tree, but it's staying 
put with New Century Schoolbook, despite my best efforts. J


This works for me:

%
\version 2.15.40

\relative c'' {
\set Staff.instrumentName = Guitar
d d d d
}

\relative c'' {
\set Staff.instrumentName = \markup { \override #'(font-name . 
Trajan Pro) Guitar }

d d d d
}
%

Nick
attachment: test.png___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Re; Margins- example

2012-06-29 Thread wjm

On 30/06/12 15:45, Jay Hamilton wrote:

I actually tried a \paper block and to no avail so that's why I'm stumped.
  I tried it in layout and outside in its' own block nada.
I'll reread the section you suggest but there's just something askew...
Thanks for responding.
Jay

On Fri, Jun 29, 2012 at 4:56 PM, wjm mooney...@aim.com wrote:


Hi Jay,
I think you need to set a \paper section to contain your page margins bits.
The NR says

The \paper variables that can appear in a \layout block are:
line-width, ragged-right and ragged-last (see \paper variables for widths
and margins)
indent and short-indent (see \paper variables for shifts and indents)
system-count (see \paper variables for line breaking)

A good read of Section 4.1 of the Notation Reference shows what goes
where...
Hope this helps
Regards
Bill





Hi Jay,
Try placing the following immediately after the line
#(ly:set-option 'delete-intermediate-files #t)
in your file.


#(set-default-paper-size letter 'landscape)

#(set-global-staff-size 16)
%{
This set to 16, rather than 20, since 20 gives a compilation error about 
being unable to fit music on the page - compressing music to fit.

Probably because you have so many instruments :)
%}

\paper
{
indent = 30 %these are, by default, mm
short-indent = 25
%left-margin = 30
right-margin = 20
top-margine = 10
bottom-margin = 10
}


Adjust values to suit.

Also, move the \layout block outside the \score block and delete 'all' 
its content


Hope this helps/works!
Regards
Bill

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user