Re: Incipit issues

2012-11-06 Thread Thomas Morley
2012/11/6 Daniel Rosen drose...@gmail.com:
 I've created an incipit for a piece I'm working on, but there's a minor issue 
 with it. Here's the code.

 %%% Example begins

 \version 2.16.0

 disIncip = \markup {
   \score {
 {
   \set Staff.instrumentName = \markup \right-column { Discantus [Tenor] }
   \override Staff.InstrumentName #'padding = #1
   \override Staff.InstrumentName #'self-alignment-X = #1
   \override Staff.TimeSignature #'style = #'neomensural
   \clef petrucci-c3
   \time 2/2
   \key g \minor
   \hideNotes g'8%   -- This is the line at issue
 }
 \layout {
   indent = 0
 }
   }
 }

 \new ChoirStaff \with { \override SystemStartBracket #'collapse-height = #0 } 
 {
   \new Staff \with {
 instrumentName = \disIncip
 \override InstrumentName #'padding = #2
 \override InstrumentName #'self-alignment-X = #1
   } { c''1 }
 }
 \layout {
   indent = 5\cm
 }

 %%% Example ends

 The line I've pointed out above is what I'm frustrated about. The hidden 
 eighth note generates, as would be expected, an empty staff symbol where the 
 note would be if it wasn't hidden. I'm trying to get that to go away so that 
 the incipit resembles those at the beginning of this piece 
 (http://www3.cpdl.org/wiki/images/3/37/TALL-SA1.pdf), but I can't figure out 
 how. Commenting out the line entirely results in both the incipit and the 
 instrument name (Discantus [Tenor]) not showing up at all. Changing the 
 hidden eighth note to a spacer rest (i.e. s8 instead of \hideNotes g'8) fixes 
 the spacing issue, but it also results in the staff symbol stopping 
 unexpectedly in the middle of the key signature, as in the attachment. How 
 can I fix this?

 DR

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


Hi Daniel,

some trickery:
adding a markup to the spacer-rest
readjusting space after TimeSignature
seems to do it.


\version 2.16.0

disIncip = \markup {
  \score { \new Staff
{
  \set Staff.instrumentName = \markup \right-column { Discantus [Tenor] }
  \override Staff.InstrumentName #'padding = #1
  \override Staff.InstrumentName #'self-alignment-X = #1
  \override Staff.TimeSignature #'style = #'neomensural
  \clef petrucci-c3
  \time 2/2
  \key g \minor

   \once \override Score.TimeSignature #'space-alist =
 #'((staff-bar extra-space . 1.1)
(cue-clef extra-space . 0.5)
(ambitus extra-space . 1.0)
(right-edge extra-space . 0.5)
(first-note fixed-space . -1)) % =

  s8^  % 
}
\layout {
  indent = 0
  line-width = 100
}
  }
}

\new ChoirStaff \with { \override SystemStartBracket #'collapse-height = #0 } {
  \new Staff \with {
instrumentName = \disIncip
\override InstrumentName #'padding = #2
\override InstrumentName #'self-alignment-X = #1
  } { c''1 }
}
\layout {
  indent = 5\cm
}


HTH,
  Harm

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


Re: Incipit issues

2012-11-06 Thread Thomas Morley
2012/11/6 Thomas Morley thomasmorle...@googlemail.com:
 2012/11/6 Daniel Rosen drose...@gmail.com:
 I've created an incipit for a piece I'm working on, but there's a minor 
 issue with it. Here's the code.

 %%% Example begins

 \version 2.16.0

 disIncip = \markup {
   \score {
 {
   \set Staff.instrumentName = \markup \right-column { Discantus [Tenor] }
   \override Staff.InstrumentName #'padding = #1
   \override Staff.InstrumentName #'self-alignment-X = #1
   \override Staff.TimeSignature #'style = #'neomensural
   \clef petrucci-c3
   \time 2/2
   \key g \minor
   \hideNotes g'8%   -- This is the line at issue
 }
 \layout {
   indent = 0
 }
   }
 }

 \new ChoirStaff \with { \override SystemStartBracket #'collapse-height = #0 
 } {
   \new Staff \with {
 instrumentName = \disIncip
 \override InstrumentName #'padding = #2
 \override InstrumentName #'self-alignment-X = #1
   } { c''1 }
 }
 \layout {
   indent = 5\cm
 }

 %%% Example ends

 The line I've pointed out above is what I'm frustrated about. The hidden 
 eighth note generates, as would be expected, an empty staff symbol where the 
 note would be if it wasn't hidden. I'm trying to get that to go away so that 
 the incipit resembles those at the beginning of this piece 
 (http://www3.cpdl.org/wiki/images/3/37/TALL-SA1.pdf), but I can't figure out 
 how. Commenting out the line entirely results in both the incipit and the 
 instrument name (Discantus [Tenor]) not showing up at all. Changing the 
 hidden eighth note to a spacer rest (i.e. s8 instead of \hideNotes g'8) 
 fixes the spacing issue, but it also results in the staff symbol stopping 
 unexpectedly in the middle of the key signature, as in the attachment. How 
 can I fix this?

 DR

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


 Hi Daniel,

 some trickery:
 adding a markup to the spacer-rest
 readjusting space after TimeSignature
 seems to do it.


 \version 2.16.0

 disIncip = \markup {
   \score { \new Staff
 {
   \set Staff.instrumentName = \markup \right-column { Discantus [Tenor] }
   \override Staff.InstrumentName #'padding = #1
   \override Staff.InstrumentName #'self-alignment-X = #1
   \override Staff.TimeSignature #'style = #'neomensural
   \clef petrucci-c3
   \time 2/2
   \key g \minor

\once \override Score.TimeSignature #'space-alist =
  #'((staff-bar extra-space . 1.1)
 (cue-clef extra-space . 0.5)
 (ambitus extra-space . 1.0)
 (right-edge extra-space . 0.5)
 (first-note fixed-space . -1)) % =

   s8^  % 
 }
 \layout {
   indent = 0
   line-width = 100
 }
   }
 }

 \new ChoirStaff \with { \override SystemStartBracket #'collapse-height = #0 } 
 {
   \new Staff \with {
 instrumentName = \disIncip
 \override InstrumentName #'padding = #2
 \override InstrumentName #'self-alignment-X = #1
   } { c''1 }
 }
 \layout {
   indent = 5\cm
 }


 HTH,
   Harm

Hi again,

please delete
line-width = 100
in \layout of disIncip.
It's a hangover of some testing.

Cheers,
  Harm

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


Re: Incipit issues

2012-11-06 Thread David Kastrup
Thomas Morley thomasmorle...@googlemail.com writes:

 some trickery:
 adding a markup to the spacer-rest
 readjusting space after TimeSignature
 seems to do it.

Huh.  What is the most prominent problem of LilyPond here that requires
us to revert to trickery?  Which parts of its default behavior are
tripping up users' intentions here?  What could have been reasonably
expected to work, and what made it fail?  Is the behavior making it fail
here useful in other circumstances?

-- 
David Kastrup


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


\RemoveEmptyStaves

2012-11-06 Thread Peter O'Doherty

Hi,

I have a score with a system where some staves have measures which are 
filled with rests and others with spacer rests (I need these to enable 
\change Staff elements). I would like to remove the staves with have 
rests only but as far as I can see \RemoveEmptyStaves will remove those 
with spacers rests as well. Is there a way round this?


Many thanks,
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: Bass and chords

2012-11-06 Thread Frédéric Fanchamps
Hi David,

Thanks for your quick answer.

The good news is that it's clear, I understand it and the issue 559 you
mentioned would perfectly answer to my needs (much more than that in fact).
The bad news is that it is not implemented yet, so I would probably need to
do something (probably simpler) myself if I want it.
Is it possible to participate to the Lilypond project? What are the
technical requirements?

A small detail:
Sounds more like chromatic/unisonoric accordion to me.  For diatonic, I
have rarely seem anything but Griffschrift:
There also beautiful scores for diatonic accordion (or whatever instrument
able to play this type of music actually) not only Griffschrift.

Regards,

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


Re: Bass and chords

2012-11-06 Thread David Kastrup
Frédéric Fanchamps frederic.fancha...@gmail.com writes:

 Hi David,

 Thanks for your quick answer.

 The good news is that it's clear, I understand it and the issue 559
 you mentioned would perfectly answer to my needs (much more than that
 in fact).
 The bad news is that it is not implemented yet, so I would probably
 need to do something (probably simpler) myself if I want it.
 Is it possible to participate to the Lilypond project? What are the
 technical requirements?

Solid nerves and an open mind.  And then reading the LilyPond --
Extending guide.  Most of what you want to do does not require
recompiling LilyPond.  The main programming language with which you
would be working would be Scheme.  Everything else would get much
uglier.

You need to get a good idea of what kind of syntax you want to be
writing, and how this fits with the existing syntax of LilyPond.
Normally, you would not want to mess with syntax, so you need to figure
out what existing syntax/music expression would best express your
intent, and then see how you get from that expression to those you
actually want to see in the score.

-- 
David Kastrup


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


Re: \RemoveEmptyStaves

2012-11-06 Thread Phil Holmes
- Original Message - 
From: Peter O'Doherty m...@peterodoherty.net

To: lilypond-user lilypond-user@gnu.org
Sent: Tuesday, November 06, 2012 1:46 PM
Subject: \RemoveEmptyStaves



Hi,

I have a score with a system where some staves have measures which are 
filled with rests and others with spacer rests (I need these to enable 
\change Staff elements). I would like to remove the staves with have rests 
only but as far as I can see \RemoveEmptyStaves will remove those with 
spacers rests as well. Is there a way round this?


Many thanks,
Peter



A solution (there may be others) would be to use some hidden notes as well 
as spacer rests.


--
Phil Holmes 



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


Laborejo 0.4 release

2012-11-06 Thread Nils Gey
A wild crosspost appears!

Laborejo, Esperanto for Workshop, is used to craft music through notation. 
It is a Lilypond GUI frontend, a MIDI creator and finally a tool collection to 
inspire and help you compose.
It works by reducing music-redundancy and by seperating layout and data.

Before you read the details make sure to connect to Laborejos Facebook, Twitter 
or Google Plus!
https://www.facebook.com/Laborejo
https://twitter.com/#!/Laborejo
https://plus.google.com/b/116744898976321238325/

Screenshot: http://www.laborejo.org/images/screenshots/latestscreenshot.png

This is the release of version 0.4
Download: https://github.com/nilsgey/Laborejo/tarball/0.4
Dependencies: http://www.laborejo.org/documentation

Linux Instructions: Unpack, cd into the created directoy, execute:
./laborejo-qt

Then use the number- and cursor keys for immediate success! 
Check Help-Manual for navigational and note/rest entry keys. Everything else 
is in the menus.

New since version 0.3 (highlights):
* Lyrics are visible under the tracks directly and aligned to their notes
* Nicer cursor :)  
* New dynamics like fp and sfz.
* New commandset for note speed entry with the numblock. 
* Colored always-visible Marker in the GUI to indicate track groups. Also 
displays small instrument name for better orientation
* Lilypond binary and pdf viewer are now a config variable
* More Subsitutions (assign a pre-defined group to host notes. Group gets 
transposed and scaled accordingly). Final Fantasy arpeggio, common melody 
figures etc.
* Many bugfixes and small improvements that make the program work like you 
expected it to do anyway

Most important known problems:
* This is Alpha Grade Software. Don't use for long-term work. However, the 
produced midis and PDFs will last forever.
* There is no built-in jack midi output yet. You have to export midi files.
* Documentation is nearly non-existent.
* Deleting selected objects may result in strange gui behaviour. Nothing a 
save/reload can't fix for now. 

Have fun, it would be nice to hear from you!

Nils
http://www.laborejo.org

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


Re: Bass and chords

2012-11-06 Thread Eluze
dak wrote
 Finally, if it would be possible to note no chord as a normal rest
 of the correct duration instead of N.C. it would be great.
 
 Maybe someone else can make a suggestion for this item?
 
 -- 
 David Kastrup

here is a suggestion:

define a command for the rests like

restFull = {
  \once \set chordChanges = ##f
  \once \set noChordSymbol = \markup { \musicglyph #rests.1 }
  r1
}
restHalf = {
  \once \set chordChanges = ##f
  \once \set noChordSymbol = \markup { \musicglyph #rests.2 }
  r2
}

% …

and use them in a score:

harmonies = \chordmode {
  \restHalf \restHalf
  c2:m c:m
  \break
  c1:m c:m d \restFull
}

to be sure use that /\once \set …/ works as expected you should use a recent
version of LP.

maybe even that somebody will take care of putting this in a function so
that you can use it with normal code!

Eluze



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Bass-and-chords-tp135858p135901.html
Sent from the User mailing list archive at Nabble.com.

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


Re: Bass and chords

2012-11-06 Thread Eluze
of course that was rubbish - you have to use rests.0 for a full rest, rests.1
for a half, rests.2  for a quarter  and so on...

Eluze



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Bass-and-chords-tp135858p135902.html
Sent from the User mailing list archive at Nabble.com.

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


Allow printing double barline intermediately after repetition barline

2012-11-06 Thread Antonio Soler
Hi.

I'm typesetting in Lilypond v2.16 a piece where a spanned double barline
appear immediately after a non-spanned barline. Is there a way to replicate
this kind of notation in Lilypond? I tried with a bar with very short skip
(s32), then adding the double barline, but the gap between two barlines is
too large for my needs.

Here is a example of the result i want to achieve (made with other notation
tool and a image editor)

https://dl.dropbox.com/u/47673640/barlines%20-%20example.png

Thanks in advance.

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


Lilypond cheat sheat

2012-11-06 Thread Noeck
Dear Lilypond users and developers,

many years ago I made a cheat sheet for Lilypond, because I couldn't
remember all the syntax by heart. Now, after having used Lilypond for
some years and after reading the notation reference again, I've made an
updated version, which might be helpful for other users, too. It
requires a basic knowledge of Lilypond and aims at putting as much
information as possible on one page.

http://arsantiqua-karlsruhe.de/images/pdf/LilypondCheatsheet.pdf

It is in German for now, but I would like to translate it into English
and French, if anyone is interested. Please contact me in that case, it
would be good if a native speaker could proofread it, too.

Any comments, suggestions welcome. If you spot errors or shortcomings,
please tell me!

It is published under a CC BY-SA licence, so feel free to use it. (This
is the very first version and I would recommend to look at more mature
ones, though, later.)

Thanks for the beauty of Lilypond scores and thanks for the svg backend
that made this cheat sheet possible!

Cheers,
Joram

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


Re: Incipit issues

2012-11-06 Thread Thomas Morley
2012/11/6 David Kastrup d...@gnu.org:
 Thomas Morley thomasmorle...@googlemail.com writes:

 some trickery:
 adding a markup to the spacer-rest
 readjusting space after TimeSignature
 seems to do it.

 Huh.  What is the most prominent problem of LilyPond here that requires
 us to revert to trickery?  Which parts of its default behavior are
 tripping up users' intentions here?  What could have been reasonably
 expected to work, and what made it fail?  Is the behavior making it fail
 here useful in other circumstances?

 --
 David Kastrup

Hi David,

was at work, so I couldn't reply.
Meanwhile you've raised
http://code.google.com/p/lilypond/issues/detail?id=2951
Should solve the problem.

Sorry, that I can't work on it. As soon as C++ is in the game, I'm not
able to play it.


Thanks,
  Harm

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


Re: Bass and chords

2012-11-06 Thread Thomas Morley
2012/11/6 Eluze elu...@gmail.com:
 dak wrote
 Finally, if it would be possible to note no chord as a normal rest
 of the correct duration instead of N.C. it would be great.

 Maybe someone else can make a suggestion for this item?

 --
 David Kastrup

 here is a suggestion:

 define a command for the rests like

 restFull = {
   \once \set chordChanges = ##f
   \once \set noChordSymbol = \markup { \musicglyph #rests.1 }
   r1
 }
 restHalf = {
   \once \set chordChanges = ##f
   \once \set noChordSymbol = \markup { \musicglyph #rests.2 }
   r2
 }

 % …

 and use them in a score:

 harmonies = \chordmode {
   \restHalf \restHalf
   c2:m c:m
   \break
   c1:m c:m d \restFull
 }

 to be sure use that /\once \set …/ works as expected you should use a recent
 version of LP.

 maybe even that somebody will take care of putting this in a function so
 that you can use it with normal code!

 Eluze



 --
 View this message in context: 
 http://lilypond.1069038.n5.nabble.com/Bass-and-chords-tp135858p135901.html
 Sent from the User mailing list archive at Nabble.com.

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

More automated:

\version 2.16.0

chordNamesWithRestsLayout =
\with {
noChordSymbol = #(make-simple-markup )
\consists Rest_engraver
\consists Multi_measure_rest_engraver
\override Rest #'font-size = #-4
\override MultiMeasureRest #'font-size = #-4
% No idea, why r1 needs to be special-cased:
\override Rest #'after-line-breaking =
  #(lambda (grob)
(let* ((dur-log (ly:grob-property grob 'duration-log))
   (staff-pos (if (= dur-log 0) 0 2)))
(ly:grob-set-property! grob 'staff-position staff-pos)))
\override MultiMeasureRest #'staff-position = #2

}

  
  \new ChordNames \with { \chordNamesWithRestsLayout }
  \chordmode { c1 R1 d e }
  \new Staff { c1 R1 d e }
  

\score {
  
\new ChordNames
\chordmode { c1 R1 d e }
\new Staff { c1 R1 d e }
  
  \layout {
  \context {
  \ChordNames
  \chordNamesWithRestsLayout
  }
  }
}


HTH,
  Harm

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


Re: \RemoveEmptyStaves

2012-11-06 Thread Kieren MacMillan
Hi Peter,

Have you looked at this hint?
http://lsr.dsi.unimi.it/LSR/Item?id=312

Hope this helps!
Kieren.

On 2012-Nov-6, at 10:36, Phil Holmes m...@philholmes.net wrote:

 - Original Message - From: Peter O'Doherty m...@peterodoherty.net
 To: lilypond-user lilypond-user@gnu.org
 Sent: Tuesday, November 06, 2012 1:46 PM
 Subject: \RemoveEmptyStaves
 
 
 Hi,
 
 I have a score with a system where some staves have measures which are 
 filled with rests and others with spacer rests (I need these to enable 
 \change Staff elements). I would like to remove the staves with have rests 
 only but as far as I can see \RemoveEmptyStaves will remove those with 
 spacers rests as well. Is there a way round this?
 
 Many thanks,
 Peter
 
 
 A solution (there may be others) would be to use some hidden notes as well as 
 spacer rests.
 
 --
 Phil Holmes 
 
 ___
 lilypond-user mailing list
 lilypond-user@gnu.org
 https://lists.gnu.org/mailman/listinfo/lilypond-user
 


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


Re: \RemoveEmptyStaves

2012-11-06 Thread Thomas Morley
2012/11/6 Phil Holmes m...@philholmes.net:
 - Original Message - From: Peter O'Doherty
 m...@peterodoherty.net
 To: lilypond-user lilypond-user@gnu.org
 Sent: Tuesday, November 06, 2012 1:46 PM
 Subject: \RemoveEmptyStaves



 Hi,

 I have a score with a system where some staves have measures which are
 filled with rests and others with spacer rests (I need these to enable
 \change Staff elements). I would like to remove the staves with have rests
 only but as far as I can see \RemoveEmptyStaves will remove those with
 spacers rests as well. Is there a way round this?

 Many thanks,
 Peter



 A solution (there may be others) would be to use some hidden notes as well
 as spacer rests.

 --
 Phil Holmes

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

Hi Peter,

the `normal´ way to do what you want is to trim keepAliveInterfaces as
shown in LSR
http://lsr.dsi.unimi.it/LSR/Item?id=312
But { s1 } seems not to result in a Grob. And I found no interface for
it to distinguish from { r1 }.

Is there any?

So Phil's suggestion (or some similiar) seems to be the way.


Sorry,
  Harm

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


Re: Lilypond cheat sheat

2012-11-06 Thread Pierre Perol-Schneider
*Sehr* schön *gemacht*
Pierre

2012/11/6 Alberto Simões al...@alfarrabio.di.uminho.pt

 Hey

 It seems interesting/useful, but I can't understand a word :-)

 Cheers
 ambs


 On 06/11/12 22:14, Noeck wrote:

 Dear Lilypond users and developers,

 many years ago I made a cheat sheet for Lilypond, because I couldn't
 remember all the syntax by heart. Now, after having used Lilypond for
 some years and after reading the notation reference again, I've made an
 updated version, which might be helpful for other users, too. It
 requires a basic knowledge of Lilypond and aims at putting as much
 information as possible on one page.

 http://arsantiqua-karlsruhe.**de/images/pdf/**LilypondCheatsheet.pdfhttp://arsantiqua-karlsruhe.de/images/pdf/LilypondCheatsheet.pdf

 It is in German for now, but I would like to translate it into English
 and French, if anyone is interested. Please contact me in that case, it
 would be good if a native speaker could proofread it, too.

 Any comments, suggestions welcome. If you spot errors or shortcomings,
 please tell me!

 It is published under a CC BY-SA licence, so feel free to use it. (This
 is the very first version and I would recommend to look at more mature
 ones, though, later.)

 Thanks for the beauty of Lilypond scores and thanks for the svg backend
 that made this cheat sheet possible!

 Cheers,
 Joram

 __**_
 lilypond-user mailing list
 lilypond-user@gnu.org
 https://lists.gnu.org/mailman/**listinfo/lilypond-userhttps://lists.gnu.org/mailman/listinfo/lilypond-user


 __**_
 lilypond-user mailing list
 lilypond-user@gnu.org
 https://lists.gnu.org/mailman/**listinfo/lilypond-userhttps://lists.gnu.org/mailman/listinfo/lilypond-user

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


Re: Allow printing double barline intermediately after repetition barline

2012-11-06 Thread Thomas Morley
2012/11/6 Antonio Soler solem.tempe...@gmail.com:
 Hi.

 I'm typesetting in Lilypond v2.16 a piece where a spanned double barline
 appear immediately after a non-spanned barline. Is there a way to replicate
 this kind of notation in Lilypond? I tried with a bar with very short skip
 (s32), then adding the double barline, but the gap between two barlines is
 too large for my needs.

 Here is a example of the result i want to achieve (made with other notation
 tool and a image editor)

 https://dl.dropbox.com/u/47673640/barlines%20-%20example.png

 Thanks in advance.

 A.



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


Hi Antonio,

a good reason to use 2.17.6.

I see no chance to do what you want with 2.16.0 (with reasonable
effort), but it's very easy using 2.17.6:


\version 2.17.6

\defineBarLine :|.|| #'(:|.|| #f||)

m = \relative c'' {
g4 a b c
\bar :|.||
c1
\bar |.
}

\new StaffGroup 
  \new Staff \m
  \new Staff \m


HTH,
  Harm
attachment: atest-15.preview.png___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Incipit issues

2012-11-06 Thread David Kastrup
Thomas Morley thomasmorle...@googlemail.com writes:

 2012/11/6 David Kastrup d...@gnu.org:
 Thomas Morley thomasmorle...@googlemail.com writes:

 some trickery:
 adding a markup to the spacer-rest
 readjusting space after TimeSignature
 seems to do it.

 Huh.  What is the most prominent problem of LilyPond here that requires
 us to revert to trickery?  Which parts of its default behavior are
 tripping up users' intentions here?  What could have been reasonably
 expected to work, and what made it fail?  Is the behavior making it fail
 here useful in other circumstances?

 --
 David Kastrup

 Hi David,

 was at work, so I couldn't reply.
 Meanwhile you've raised
 http://code.google.com/p/lilypond/issues/detail?id=2951
 Should solve the problem.

I am not sure it will.  It addresses one thing that has frequently
annoyed me, but in this particular case, the staff lines turn out as
minuscule stubs not reaching across key and meter.  In fact, I think
that one of the original attempts had white space under the meter,
likely caused by the same problem.

So it is seemingly more than just the no time, no bar, no service
thing.  But that's certainly _one_ aspect of the nuisance.

 Sorry, that I can't work on it. As soon as C++ is in the game, I'm not
 able to play it.

We still have the whitespace under meter thing.  One can manually set a
length for the staff lines, but that seems like cheating.

-- 
David Kastrup

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


Re: 2.16.0 Open string fingering marks have _ and ^ behave as ^

2012-11-06 Thread Olivier Biot
On Tue, Nov 6, 2012 at 12:01 AM, Thomas Morley
thomasmorle...@googlemail.com wrote:
 2012/11/5 Olivier Biot olivier.b...@gmail.com:
 Dear all,

 I think I just found a Lilypond bug.

 The following snippet with fingerings does only show one open string
 fingering while TWO have been written. The order of _ and ^ play no
 role in this bug.

 Expected behavior: both \open fingerings are displayed, one above
 and one below selected note.

[ ...]

 Hi Olivier,

 I'm not sure that it is a bug.

 script-init.ly shows:
 open = #(make-articulation open)

 So \open is an articulation (not a fingering).
 I think a note can be articulated only once in the same manner, so I'd
 _expect_ that one setting is skipped.

 BTW, \open is printed different compared to fingerings. I'd prefer to use 
 d8_0^0

Thank you for this input Thomas. For a cellist I see no distinction
between using finger 0 and using an open string (\open). Technically
the \open macro is an articulation, but I do not know if it should
be seen as an articulation rather than as a fingering. Same with
\flageolet and \thumb...

Right now I replaced \open with 0 in that score snippet so I could
render both fingerings on the score.

This of course raises the question whether there should be a specific
subset of articulations that should behave more like fingerings (I'm
thinking \open, \flageolet and \thumb here). Unless I'm completely
wrong.

 P.S.
 If you think you've detected a bug, you should send it to the bug-list:
 http://lilypond.org/doc/v2.17/Documentation/web/bug-reports.html
 On the user-list it might get lost.

Thank you for pointing me to the bug list!

Best regards,

Olivier

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


Re: Lilypond cheat sheat

2012-11-06 Thread Janek Warchoł
On Tue, Nov 6, 2012 at 11:14 PM, Noeck noeck.marb...@gmx.de wrote:
 Dear Lilypond users and developers,

 many years ago I made a cheat sheet for Lilypond,
 [...]
 http://arsantiqua-karlsruhe.de/images/pdf/LilypondCheatsheet.pdf

WOW!!  It's great!  The way you use color and present alternatives and
variants... awesome!

 It is in German for now, but I would like to translate it into English
 and French, if anyone is interested.

Definitely!
Actually, this cheat sheet is so incredible that i want to donate some
money to you as a sign of my appreciation.  Can you send me your bank
account number for a SEPA transfer?

cheers,
Janek

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


Re: Lilypond cheat sheat

2012-11-06 Thread Noeck
Am 06.11.2012 23:24, schrieb Alberto Simões:
 Hey
 
 It seems interesting/useful, but I can't understand a word :-)
 
 Cheers
 ambs

Sorry, I don't speak Portuguese, but I added an *English version*, which
should make it readable for a wider community. Most of the text consists
of Lilypond commands, though. There are some places where I am not sure
if I found the correct translation.

http://arsantiqua-karlsruhe.de/images/pdf/LilypondCheatsheet_en.pdf

Cheers,
Joram

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


Re: Bass and chords

2012-11-06 Thread Eluze


Am 06.11.2012 23:33, schrieb Thomas Morley:

More automated:

\version 2.16.0

chordNamesWithRestsLayout =
\with {
 noChordSymbol = #(make-simple-markup )
 \consists Rest_engraver
 \consists Multi_measure_rest_engraver
 \override Rest #'font-size = #-4
 \override MultiMeasureRest #'font-size = #-4
 % No idea, why r1 needs to be special-cased:
 \override Rest #'after-line-breaking =
   #(lambda (grob)
 (let* ((dur-log (ly:grob-property grob 'duration-log))
(staff-pos (if (= dur-log 0) 0 2)))
 (ly:grob-set-property! grob 'staff-position staff-pos)))
 \override MultiMeasureRest #'staff-position = #2

}

   
   \new ChordNames \with { \chordNamesWithRestsLayout }
   \chordmode { c1 R1 d e }
   \new Staff { c1 R1 d e }
   

\score {
   
 \new ChordNames
 \chordmode { c1 R1 d e }
 \new Staff { c1 R1 d e }
   
   \layout {
   \context {
  \ChordNames
  \chordNamesWithRestsLayout
   }
   }
}



thanks Harm - I think that's a superb solution with a fantastical short 
code - something for the LSR!?


'/if you want to replace the N.C. symbol in a \chordname context by 
the latent rest you can use … … … …/  '


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


Re: Bass and chords

2012-11-06 Thread Thomas Morley
2012/11/7 Eluze elu...@gmail.com:

 Am 06.11.2012 23:33, schrieb Thomas Morley:

 More automated:

 \version 2.16.0

 chordNamesWithRestsLayout =
 \with {
 noChordSymbol = #(make-simple-markup )
 \consists Rest_engraver
 \consists Multi_measure_rest_engraver
 \override Rest #'font-size = #-4
 \override MultiMeasureRest #'font-size = #-4
 % No idea, why r1 needs to be special-cased:
 \override Rest #'after-line-breaking =
   #(lambda (grob)
 (let* ((dur-log (ly:grob-property grob 'duration-log))
(staff-pos (if (= dur-log 0) 0 2)))
 (ly:grob-set-property! grob 'staff-position staff-pos)))
 \override MultiMeasureRest #'staff-position = #2

 }

   
   \new ChordNames \with { \chordNamesWithRestsLayout }
   \chordmode { c1 R1 d e }
   \new Staff { c1 R1 d e }
   

 \score {
   
 \new ChordNames
 \chordmode { c1 R1 d e }
 \new Staff { c1 R1 d e }
   
   \layout {
   \context {
 \ChordNames
 \chordNamesWithRestsLayout
   }
   }
 }


 thanks Harm - I think that's a superb solution with a fantastical short code
 - something for the LSR!?

 ' if you want to replace the N.C. symbol in a \chordname context by the
 latent rest you can use … … … …  '

 Eluze


Will do, if noone comes up with a better solution or finds a drawback.

Regards,
  Harm

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


Re: Lilypond cheat sheat

2012-11-06 Thread Reinhold Kainhofer

On 2012-11-06 23:14, Noeck wrote:

many years ago I made a cheat sheet for Lilypond, because I couldn't
remember all the syntax by heart. Now, after having used Lilypond for
some years and after reading the notation reference again, I've made an
updated version, which might be helpful for other users, too. It
requires a basic knowledge of Lilypond and aims at putting as much
information as possible on one page.


Wow, amazing. And incredible how much information you can cram onto one 
single page!


And thanks for sharing it with us.


BTW, I wrote a similar cheat sheet a while ago, but aiming at new users, 
so I didn't try to get everything on the page. The code (latex and 
lilypond) is under a CC license, too:


http://www.edition-kainhofer.com/en/lilypond/details/2111/
https://gitorious.org/lilypond-cheatsheet
http://article.gmane.org/gmane.comp.gnu.lilypond.devel/44506/


I think both cheat sheets nicely complement each other. Mine tries to be 
easy to understand to new users and show them the most important things, 
while yours is for advanced users and tries to give as much information 
as possible.


Cheers,
Reinhold
--
--
Reinhold Kainhofer, reinh...@kainhofer.com, http://www.kainhofer.com
 * Financial  Actuarial Math., Vienna Univ. of Technology, Austria
 * http://www.fam.tuwien.ac.at/, DVR: 0005886
 * Edition Kainhofer, Music Publisher, http://www.edition-kainhofer.com

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


Re: Allow printing double barline intermediately after repetition barline

2012-11-06 Thread Antonio Soler
Many thanks!. This solution worked perfectly! :)

A.

2012/11/6 Thomas Morley thomasmorle...@googlemail.com

 2012/11/6 Antonio Soler solem.tempe...@gmail.com:
  Hi.
 
  I'm typesetting in Lilypond v2.16 a piece where a spanned double barline
  appear immediately after a non-spanned barline. Is there a way to
 replicate
  this kind of notation in Lilypond? I tried with a bar with very short
 skip
  (s32), then adding the double barline, but the gap between two barlines
 is
  too large for my needs.
 
  Here is a example of the result i want to achieve (made with other
 notation
  tool and a image editor)
 
  https://dl.dropbox.com/u/47673640/barlines%20-%20example.png
 
  Thanks in advance.
 
  A.
 
 
 
  ___
  lilypond-user mailing list
  lilypond-user@gnu.org
  https://lists.gnu.org/mailman/listinfo/lilypond-user
 

 Hi Antonio,

 a good reason to use 2.17.6.

 I see no chance to do what you want with 2.16.0 (with reasonable
 effort), but it's very easy using 2.17.6:


 \version 2.17.6

 \defineBarLine :|.|| #'(:|.|| #f||)

 m = \relative c'' {
 g4 a b c
 \bar :|.||
 c1
 \bar |.
 }

 \new StaffGroup 
   \new Staff \m
   \new Staff \m
 

 HTH,
   Harm

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


tied chords with articulate.ly

2012-11-06 Thread Martin Tarenskeen


Hi,

if I do

c~ e~ g~ c e g

when creating a midi file normally no problems.
But if I use articulate.ly, the chord is not tied in the midi output. I 
can hear it played twice.


If I do

c e g~ c e g

The tie is played correctly both with and without using articulate.

Bug, in my first example?

--

MT

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


Editing slur markings in LilyPond

2012-11-06 Thread soundsfromsound
Hello,

A friend of mine was talking to me about SCORE earlier today and it got me
thinking about LilyPond.  I haven't had too many situations where I've
needed this amount of control but, nonetheless, my question is:

I'm familiar enough with SCORE to know that the program offers 19 slur
parameters to edit, for maximum control in the score, but I'm curious: how
much control do users have over these expression marks in LilyPond?  I've
consulted these two pages below and haven't found what I am looking for so
far.  

Can someone weigh in and let me know if LilyPond offers similar slur
parameters that can be controlled by the user?  Or is this editing slightly
limited? 

Thank you!

Slurs/Curves
http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Curves  

In particular, this section on Phrasings
http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Curves#Phrasing-slurs
  

Ben



-
composer | sound designer
--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Editing-slur-markings-in-LilyPond-tp135933.html
Sent from the User mailing list archive at Nabble.com.

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


Re: Editing slur markings in LilyPond

2012-11-06 Thread soundsfromsound
Sorry, I pasted the wrong link.  Here is what I was looking at:

Editing Slurs
http://lilypond.org/doc/v2.14/Documentation/internals/phrasingslur  



-
composer | sound designer
--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Editing-slur-markings-in-LilyPond-tp135933p135934.html
Sent from the User mailing list archive at Nabble.com.

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


Re: Editing slur markings in LilyPond

2012-11-06 Thread Kieren MacMillan
Hi!

 Editing Slurs
 http://lilypond.org/doc/v2.14/Documentation/internals/phrasingslur  

Don't forget all of the settings in the interfaces that Slur inherits:
http://lilypond.org/doc/v2.14/Documentation/internals/slur_002dinterface
http://lilypond.org/doc/v2.14/Documentation/internals/grob_002dinterface
http://lilypond.org/doc/v2.14/Documentation/internals/spanner_002dinterface

Hope that's enough to satisfy!  =)

Cheers,
Kieren.

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


Re: Bass and chords

2012-11-06 Thread David Kastrup
Thomas Morley thomasmorle...@googlemail.com writes:

 Will do, if noone comes up with a better solution or finds a drawback.

We have markup commands \note and \note-by-number.  It seems to me that
it would likely be most straightforward to provide the same for \rest
and possibly \rest-by-number and use that as part of the solution.

-- 
David Kastrup


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


Re: Editing slur markings in LilyPond

2012-11-06 Thread soundsfromsound
Excellent, thank you for those links!

I guess I haven't ever needed to dig that deep about these markings until
now - but it seems that LilyPond is even more powerful than I had originally
thought!

Ben



-
composer | sound designer
--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Editing-slur-markings-in-LilyPond-tp135933p135939.html
Sent from the User mailing list archive at Nabble.com.

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


Re: Lilypond cheat sheat

2012-11-06 Thread Werner LEMBERG

 I think both cheat sheets nicely complement each other.

What about adding both of them to the lilypond distribution?


Werner

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


Re: Editing slur markings in LilyPond

2012-11-06 Thread Jim Long
On Tue, Nov 06, 2012 at 09:39:09PM -0800, soundsfromsound wrote:
 
 but it seems that LilyPond is even more powerful than I had originally
 thought!

Keep a tally of how many times you experience that realization
over the next 6-8 months as you learn more about using the
software.  I've been working with LP only a little more than a
year, and I think I'm around 30 or so.

Also, you originally cited the 2.12 docs, or 2.14.  If my
fleeting memory of the last few months of list traffic is
accurate, there's been a lot of slur-shaping work done recently.
Check the current docs for the latest and greatest.

http://lilypond.org/doc/v2.16/Documentation/internals/phrasingslur

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


Re: Editing slur markings in LilyPond

2012-11-06 Thread soundsfromsound
Oops, thanks for that! I bookmarked the newest documentation now.

Ben



-
composer | sound designer
--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Editing-slur-markings-in-LilyPond-tp135933p135943.html
Sent from the User mailing list archive at Nabble.com.

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


Adding a clef mid-measure

2012-11-06 Thread soundsfromsound
Hello,

One last question for tonight please.  I'm having trouble figuring out how
to insert a treble clef mid-measure.  I keep getting an error message when I
try to insert the \clef treble, but it works when I put it at the start of
the measure (though that's not what I'm after).

Please see attached for the location of the clef and to see what I am trying
to accomplish.

If you're curious what the code is that I'm using it's:

a' e'2. ~ ~  8. [ fis''32 c' d32 ~ ] ~ \break | % 27

Can someone tell me the code I need to insert a clef change mid-measure,
where that arrow is in the image - so it can tie over and look a lot
prettier? :)

Thanks everyone!

Ben

clef_issue.jpg
http://lilypond.1069038.n5.nabble.com/file/n135945/clef_issue.jpg  



-
composer | sound designer
--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Adding-a-clef-mid-measure-tp135945.html
Sent from the User mailing list archive at Nabble.com.

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