Re: RUMOR Midi utility & Frescobaldi - Menu Error?

2013-01-12 Thread Federico Bruni

Il 12/01/2013 07:28, Martin Tarenskeen ha scritto:


I have not yet seen a single person who really likes Unity, Gnome3, or
Windows 8. To name just a few "innovative" products for a "better
desktop experience (blablabla)"


I really like Gnome3 :-)
Never tried the others
--
Federico

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


Re: Book title showing up on every score in a songbook (2.14.2)

2013-01-12 Thread Christopher R. Maden
On 01/11/2013 03:23 AM, David Kastrup wrote:
> File names are hierarchical.  If you don't specify a filename inside
> of a bookpart, do you think that the bookpart should not be written
> out?

I’m afraid I don’t follow... what do filenames have to do with this?

If you just meant title... I expect \bookpart{} to start a new page; and
if the bookpart has a title or any other header info, I expect that to
be printed at the top of that new page.

I’ve attached a short file (repeating http://lilypond.1069038.n5.nabble.com/Understanding-multi-score-books-td25232.html
>, really, but with better comments).

The book, the bookpart, and the score each set a title.  The book title
*never* shows.  The bookpart *always* shows.  The score title *only*
shows when print-all-headers is true.

I have a workaround for now, so I don’t really need an answer... but
maybe consider this a bug report that LilyPond fails the principle of
least astonishment.

~Chris
-- 
Chris Maden, text nerd  http://crism.maden.org/ >
Axial tilt is the reason for the season.
GnuPG fingerprint: DB08 CF6C 2583 7F55 3BE9  A210 4A51 DBAC 5C5C 3D5E
\version "2.14.2"

\paper {
  % print-all-headers = ##t
  print-all-headers = ##f
}

\book {
  \header {
title = "Book Title" % this doesn’t show, regardless of print-all-headers
  }
  \bookpart {
\header {
  title = "Book Part Title" % this always shows
}
\score {
  \relative c' {
c4 c c c
  }
  \header {
title = "Score Title" % this doesn’t show unless print-all-headers
  }
  \layout {}
}
  }
}
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Slurs cut into reminder accidentals

2013-01-12 Thread Thomas Morley
2013/1/11 Noeck :
> Am 11.01.2013 18:38, schrieb Phil Holmes:
>
>> { \clef bass fis8( d'!8 b4) }
>
> This is hard do decide for me. Others might have more experience in
> engraving decisions/practice.
>
> My suggestion would be to change the slur only a little bit:
> \version "2.16.0"
> {
>\clef bass
>\shape Slur #'((0 . 0) (0 . 1) (0 . 1) (0 . 0))
>fis8( d'!8 b4)
> }
>
> But if you want to avoid the collision completely, you can change the
> slur parameters further (or find your own values):
> \version "2.16.0"
> {
>\clef bass
>\shape Slur #'((0 . 0) (0 . 2.5) (-1 . 1) (0 . 0))
>fis8( d'!8 b4)
> }
>
> As another alternative, you could shift the accidental (but I do not
> know if that meets music notation conventions):
> \version "2.16.0"
> {
>\clef bass
>fis8(
>\once \override Accidental #'extra-offset = #'(-2 . 0)
>d'!8 b4)
> }
>
>
> Btw, in a newer version you can write:
> fis8-\shape #'((0 . 0) (0 . 1) (0 . 1) (0 . 0)) (
>
> Cheers,
> Joram
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user


Other possibility:

\version "2.16.1"

{
   \clef bass
   \once\override Slur #'ratio  = #6
   \once\override Slur #'height-limit  = #3
   fis8( d'!8 b4)
}

HTH,
  Harm

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


Re: Book title showing up on every score in a songbook (2.14.2)

2013-01-12 Thread Nicolas Sceaux
Le 12 janv. 2013 à 11:10, Christopher R. Maden  a écrit :

> I expect \bookpart{} to start a new page; and
> if the bookpart has a title or any other header info, I expect that to
> be printed at the top of that new page.

Christopher,

Indeed, \bookpart starts a new page.
In your example, the \book block immediately starts with a \bookpart
block: you explicitely ask that the first page is that of the bookpart.
So there is now place for the book block title to be printed.
if you add e.g. a markup before the first bookpart, then there will be
a page before the bookpart, and the book title will be printed.

\book {
  \header {
title = "Book Title"
  }
  \markup { first book page }
  \bookpart {
\header {
  title = "Book Part Title"
}
\markup { first bookpart page }
  }
}

Now, what may be more counter-intuitive, is that, as bookparts inherit
the book header block, if a bookpart does not define a title, then the
surrounding book title will be used.

\book {
  \header {
title = "Book Title"
  }
  \markup { first book page }
  \bookpart {
\header {
  title = "Book Part Title"
}
\markup { first bookpart page }
  }
  \bookpart {
\markup { A second book part, inherits book title }
  }
}

(This as been discussed ages ago, and that's not a bug either, but a
feature… I'm not sure how well it is documented, though.)

What I'd recommend, when using bookparts, is to move the book title into
the first bookpart header block.  In the case where there is a title page,
a dedicated bookpart can be used.

Nicolas


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


Re: Book title showing up on every score in a songbook (2.14.2)

2013-01-12 Thread David Kastrup
"Christopher R. Maden"  writes:

> On 01/11/2013 03:23 AM, David Kastrup wrote:
>> File names are hierarchical.  If you don't specify a filename inside
>> of a bookpart, do you think that the bookpart should not be written
>> out?
>
> I’m afraid I don’t follow... what do filenames have to do with this?

They are inherited into bookparts like other book elements.

-- 
David Kastrup


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


stretching ragged last bar in the Voice context

2013-01-12 Thread Federico Bruni

I'm trying to stretch a ragged last bar in a score.
I know I can use the following override (NR 4.5.1, Known issues):

\paper {
  ragged-last = ##t
}

\relative c'' {
  \repeat unfold 4 { R1*4 \break }
  \override Score.NonMusicalPaperColumn.padding = #20
  R1 R1
}

However, I need to apply this kind of override in a Voice context, so I 
can't use NonMusicalPaperColumn.

There's any other workaround to achieve what I want?

Thanks
--
Federico

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


Re: grace notes break preceding ties in MIDI

2013-01-12 Thread Adam Spiers
On Tue, Jan 8, 2013 at 5:59 PM, Adam Spiers
 wrote:
> On Tue, Jan 8, 2013 at 5:41 PM, Eluze  wrote:
>> I've added an issue to the tracker:
>> https://code.google.com/p/lilypond/issues/detail?id=3091&thanks=3091&ts=1357666391
>
> Thanks!
>
>> I'm not aware of a workaround - I could imagine using 2 voices, one without
>> the grace the other with just the grace and a muted note - but this seems
>> pretty awkward!
>
> Is it perhaps the fault of the
>
> if (now_mom ().grace_part_)
>
> section in Note_performer::process_music() in lily/note-performer.cc?
> Does it somehow reintroduce the previous note when shortening it to
> make room for the grace note, even though the previous note was tied
> to the one before?

Is there a performer tutorial similar to the engraver tutorial?

http://lilypond.org/doc/v2.16/Documentation/contributor/engraver-tutorial

I've started trying to fix the above bug, but my knowledge of
LilyPond's C++ performer code (let alone any other code) is poor, and
getting to grips with the various data structures is slow work.  I'm
running it through gdb which helps, but any other pointers would be
really useful.  Thanks!

Adam

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


Re: grace notes break preceding ties in MIDI

2013-01-12 Thread Adam Spiers
Sorry, I should have moved this thread to lilypond-devel; I'll repost
there ...

On Sat, Jan 12, 2013 at 12:08:21PM +, Adam Spiers wrote:
> On Tue, Jan 8, 2013 at 5:59 PM, Adam Spiers
>  wrote:
> > On Tue, Jan 8, 2013 at 5:41 PM, Eluze  wrote:
> >> I've added an issue to the tracker:
> >> https://code.google.com/p/lilypond/issues/detail?id=3091&thanks=3091&ts=1357666391
> >
> > Thanks!
> >
> >> I'm not aware of a workaround - I could imagine using 2 voices, one without
> >> the grace the other with just the grace and a muted note - but this seems
> >> pretty awkward!
> >
> > Is it perhaps the fault of the
> >
> > if (now_mom ().grace_part_)
> >
> > section in Note_performer::process_music() in lily/note-performer.cc?
> > Does it somehow reintroduce the previous note when shortening it to
> > make room for the grace note, even though the previous note was tied
> > to the one before?
> 
> Is there a performer tutorial similar to the engraver tutorial?
> 
> http://lilypond.org/doc/v2.16/Documentation/contributor/engraver-tutorial
> 
> I've started trying to fix the above bug, but my knowledge of
> LilyPond's C++ performer code (let alone any other code) is poor, and
> getting to grips with the various data structures is slow work.  I'm
> running it through gdb which helps, but any other pointers would be
> really useful.  Thanks!
> 
> Adam

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


Re: Getting the name of the context a scheme function was called from

2013-01-12 Thread Paul Morris
On Jan 12, 2013, at 2:47 AM, David Kastrup  wrote:

> Uh, if you have a _custom_ staff context for which you want particular
> overrides, you just do
> 
> \layout {
>  \context {
>\Staff
>\name "MyStaff"
>\alias "Staff"
>\override ...
>\override ...
>  }
> }
> 
> at the bottom, and then in the music you use
> 
> \new MyStaff { ... }
> 
> and, of course, the overrides will be in every staff of that type, and
> not anywhere else.

Right, I have been using this custom staff approach and it works great for 
"global" overrides that should _always_ happen on the custom staff.  (I omitted 
those overrides in my previous tiny example to make it tiny, with a comment 
saying so, but in the process I may not have communicated clearly enough that I 
was trying to achieve something else.)

My question now is about when say, a particular chord needs a manual 
("non-global") override added _within_ the music (using \once), for it to look 
right on the custom staff (as a by-product of the global overrides of the 
custom staff).  However, these same manual one-time overrides are not needed on 
a standard staff, and look wrong there.  (For example, needing to move note 
heads to a different side of the stem to avoid collisions with other note heads 
on the custom staff, but not on the standard staff.)

So once you've added these one-time overrides within the music you can only use 
the music for the custom staff and not a standard staff.  (Unless... there's 
some way for a function that's called to do these one-time overrides to know 
whether its being called from the custom staff context or a standard staff 
context.)

So this is a _really_ marginal use-case that fortunately has an easy 
workaround:  I can just copy and paste the music into a 2nd variable and add 
the one-time overrides to the new copy, then use the two copies of the music 
with their respective staves.  And/or write a "global" override function for 
the custom staff that's smart enough so that I do not need to do the one-time 
tweaks in the music at all.  (Which is what I'm working on now.)

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


Re: Getting the name of the context a scheme function was called from

2013-01-12 Thread Marc Hohl

Am 12.01.2013 16:28, schrieb Paul Morris:

On Jan 12, 2013, at 2:47 AM, David Kastrup  wrote:


Uh, if you have a _custom_ staff context for which you want particular
overrides, you just do

\layout {
  \context {
\Staff
\name "MyStaff"
\alias "Staff"
\override ...
\override ...
  }
}

at the bottom, and then in the music you use

\new MyStaff { ... }

and, of course, the overrides will be in every staff of that type, and
not anywhere else.

Right, I have been using this custom staff approach and it works great for 
"global" overrides that should _always_ happen on the custom staff.  (I omitted 
those overrides in my previous tiny example to make it tiny, with a comment saying so, 
but in the process I may not have communicated clearly enough that I was trying to 
achieve something else.)

My question now is about when say, a particular chord needs a manual 
("non-global") override added _within_ the music (using \once), for it to look 
right on the custom staff (as a by-product of the global overrides of the custom staff).  
However, these same manual one-time overrides are not needed on a standard staff, and 
look wrong there.  (For example, needing to move note heads to a different side of the 
stem to avoid collisions with other note heads on the custom staff, but not on the 
standard staff.)

So once you've added these one-time overrides within the music you can only use 
the music for the custom staff and not a standard staff.  (Unless... there's 
some way for a function that's called to do these one-time overrides to know 
whether its being called from the custom staff context or a standard staff 
context.)

Would the use of tags be helpful here?

http://lilypond.org/doc/v2.16/Documentation/notation/different-editions-from-one-source#using-tags

Regards,

Marc



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


Re: many short music patterns in a Latex doc

2013-01-12 Thread Olivier Biot
On Fri, Jan 11, 2013 at 8:58 PM, Francisco Vila wrote:

> 2013/1/11 Lilly :
> > I want to realize a document with some text and many musical patterns
> along
> > it.
> > I experienced how to insert one pattern in a place of a Latex document
> and
> > it works.
> > But i would not to repeat to paste every time for all the different
> patterns
> > along the doc, the whole complete code for each of them.
> > I would try to call a file where are written all the things needed
> around to
> > compile the music pattern, and in ever precise place, insert only the
> music
> > pattern itself.
> >
> > there's a way to do this?
>
> If I understand correctly, yes, you can keep a terse LaTeX file using
> lilpondfile. Imagine you have all common definitions and global music
> in A.ly and your documents are B.ly, C.ly and so on, such that all use
> \include "A.ly" to read the common part. Your text document called
> D.tex can use \lilypondfile{B}, \lilypondfile{C}, et cetera.
>

I am trying to understand what you want to do.

Are you trying to build a LaTeX file which reads in a number of LilyPond
files, each of which contains a number of common LilyPond code and settings?

If so, I'd recommend you use lilypond-book.py and read the following recent
thread:
http://lists.gnu.org/archive/html/lilypond-user/2013-01/msg00298.html

Best regards,

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


Cross staff beams with subdivision

2013-01-12 Thread Helge Kruse
Hello,

I want to typeset a score similar as the original. On the harp notes I find
sometimes Z-beams that have subdivsions. I managed to mimic this for the
first measure but failed for the second.

How can I connect the low and upper staffs beams?
How can I extend the distance between the staffs to make place for this
beams construct?

Regards
Helge


\version "2.16.0"

upper = \relative c' {
  \key e \major \time 6/8
  s1 s1
}

lower = \relative c {
  \key e \major \time 6/8 \clef bass
  \set subdivideBeams=##t
  \set baseMoment = #(ly:make-moment 1 8)
  \set beatStructure = #'(2 2 2 2)
  r4 r8 \clef treble dis'32[^\p\( g ais cis
\change Staff=upper  dis g ais cis dis8]\)
\change Staff=lower \clef bass |
  r8 gis!32\( [ h dis gis! ]
\change Staff=upper \stemDown \times 4/6 { h dis gis! h dis gis!\) }
\stemNeutral
\change Staff=lower r4 r8 \clef treble |
}

\score {
  \new PianoStaff <<
\new Staff = "upper" \upper
\new Staff = "lower" \lower
  >>
}
<>___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: RUMOR Midi utility & Frescobaldi - Menu Error?

2013-01-12 Thread SoundsFromSound
Yea, I do have a Linux Mint laptop and I believe I have not seen this bug on
that machine, though I haven't touched it in a while.  I didn't know you
could use Cinnamon on Ubuntu though, that's awesome. Trying it out now,
thank you for the tip!

MATE is ok, to each their own...I noticed it runs better on older machines
but imo Cinnamon is the future of Mint.

Ben


Nick Payne-3 wrote
> On 12/01/13 16:44, SoundsFromSound wrote:
>> Ok
>>
>> I installed Gnome and tried GNOME, GNOME classic, and GNOME no effects.
>>
>> All GNOME and Unity still show the menu bug so I guess it's the way it
>> has
>> to be for now.
>> I'll just learn keyboard shortcuts :)
> 
> You could try the Cinnamon desktop. I'm using Mint 14, which is 
> basically Ubuntu 12.10 with Cinnamon as the desktop, and I don't see 
> that menu bug. You can install Cinnamon on Ubuntu:
> 
> sudo add-apt-repository ppa:gwendal-lebihan-dev/cinnamon-stable
> sudo apt-get update
> sudo apt-get install cinnamon
> 
> and then logout and choose Cinnamon as the desktop manager at the login 
> screen.
> 
> Nick
> 
> ___
> lilypond-user mailing list

> lilypond-user@

> https://lists.gnu.org/mailman/listinfo/lilypond-user





-
composer | sound designer
--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/RUMOR-Midi-utility-Frescobaldi-Menu-Error-tp138931p139389.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: RUMOR Midi utility & Frescobaldi - Menu Error?

2013-01-12 Thread SoundsFromSound
Hmm, I can't get this to work.  It's installed OK and I choose it from the
pull down login menu, signed in, but Unity is still there, nothing looks any
different and the bug is still present.  How do you "load" Cinnamon once
it's installed, because selecting it from the login screen (for me) does
nothing.

Thanks for the help.
Ben



Nick Payne-3 wrote
> On 12/01/13 16:44, SoundsFromSound wrote:
>> Ok
>>
>> I installed Gnome and tried GNOME, GNOME classic, and GNOME no effects.
>>
>> All GNOME and Unity still show the menu bug so I guess it's the way it
>> has
>> to be for now.
>> I'll just learn keyboard shortcuts :)
> 
> You could try the Cinnamon desktop. I'm using Mint 14, which is 
> basically Ubuntu 12.10 with Cinnamon as the desktop, and I don't see 
> that menu bug. You can install Cinnamon on Ubuntu:
> 
> sudo add-apt-repository ppa:gwendal-lebihan-dev/cinnamon-stable
> sudo apt-get update
> sudo apt-get install cinnamon
> 
> and then logout and choose Cinnamon as the desktop manager at the login 
> screen.
> 
> Nick
> 
> ___
> lilypond-user mailing list

> lilypond-user@

> https://lists.gnu.org/mailman/listinfo/lilypond-user





-
composer | sound designer
--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/RUMOR-Midi-utility-Frescobaldi-Menu-Error-tp138931p139391.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: RUMOR Midi utility & Frescobaldi - Menu Error?

2013-01-12 Thread SoundsFromSound
Disregard: apologies.
For some reason Ubuntu was not accepting my "OK" click on the button after
selecting Cinnamon.  Not sure what happened, but after a reboot - it's
working great now - thank you again!

Ben


SoundsFromSound wrote
> Hmm, I can't get this to work.  It's installed OK and I choose it from the
> pull down login menu, signed in, but Unity is still there, nothing looks
> any different and the bug is still present.  How do you "load" Cinnamon
> once it's installed, because selecting it from the login screen (for me)
> does nothing.
> 
> Thanks for the help.
> Ben
> 
> Nick Payne-3 wrote
>> On 12/01/13 16:44, SoundsFromSound wrote:
>>> Ok
>>>
>>> I installed Gnome and tried GNOME, GNOME classic, and GNOME no effects.
>>>
>>> All GNOME and Unity still show the menu bug so I guess it's the way it
>>> has
>>> to be for now.
>>> I'll just learn keyboard shortcuts :)
>> 
>> You could try the Cinnamon desktop. I'm using Mint 14, which is 
>> basically Ubuntu 12.10 with Cinnamon as the desktop, and I don't see 
>> that menu bug. You can install Cinnamon on Ubuntu:
>> 
>> sudo add-apt-repository ppa:gwendal-lebihan-dev/cinnamon-stable
>> sudo apt-get update
>> sudo apt-get install cinnamon
>> 
>> and then logout and choose Cinnamon as the desktop manager at the login 
>> screen.
>> 
>> Nick
>> 
>> ___
>> lilypond-user mailing list

>> lilypond-user@

>> https://lists.gnu.org/mailman/listinfo/lilypond-user





-
composer | sound designer
--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/RUMOR-Midi-utility-Frescobaldi-Menu-Error-tp138931p139392.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: Getting the name of the context a scheme function was called from

2013-01-12 Thread Paul Morris
On Jan 12, 2013, at 10:42 AM, Marc Hohl  wrote:

> Would the use of tags be helpful here?
> 
> http://lilypond.org/doc/v2.16/Documentation/notation/different-editions-from-one-source#using-tags

Thanks Marc!  Tags are just the tool for the job, and I wasn't aware of them 
before.  I can tag the overridden bits of music for use with my custom staff, 
and tag non-overridden bits for use with the standard staff.

Once again, it is hard to come up with something that LilyPond can't handle!

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


Re: Aleatoric / modern notation

2013-01-12 Thread Jeffrey Trevino
Hi David,

I just saw this fix. Thanks for spending so much time tweaking this. Maybe
there's a way it can be integrated into the Lilypond code, since you've
spent so much time developing it. I'll be using it in a score soon.

cheers,
Jeff

On Tue, Dec 11, 2012 at 3:04 PM, David Nalesnik wrote:

> On Sat, Dec 8, 2012 at 7:21 PM, David Nalesnik 
> wrote:
>
> [...]
>
> >
> > Trying to work out the problem, I've done a little rewriting so I'll
> > include the engraver here.  You can just substitute this in the
> > problematic file.
> >
>
> Well, I did break something.  Here's the fix:
>
> frameEngraver =
> #(lambda (context)
>   (let ((span '())
> (stub '())
> (event-drul (cons '() '(
> (make-engraver
>   (listeners ((frame-event engraver event)
>   (if (= START (ly:event-property event 'span-direction))
>   (set-car! event-drul event)
>   (begin
> (set-cdr! event-drul event)
> (set-car! event-drul '())
>   (acknowledgers
> ((note-column-interface engraver grob source-engraver)
>  (if (ly:spanner? span)
>  (begin
>(ly:pointer-group-interface::add-grob span 'elements grob)
>(add-bound-item span grob)))
>  (if (ly:item? stub)
>  (ly:pointer-group-interface::add-grob stub 'elements grob)))
> ((script-interface engraver grob source-engraver)
>  (if (ly:spanner? span)
>  (ly:pointer-group-interface::add-grob span 'elements grob))
>  (if (ly:item? stub)
>  (ly:pointer-group-interface::add-grob stub 'elements grob)))
> ((dynamic-interface engraver grob source-engraver)
>  (if (ly:spanner? span)
>  (ly:pointer-group-interface::add-grob span 'elements grob))
>  (if (ly:item? stub)
>  (ly:pointer-group-interface::add-grob stub 'elements grob)))
> ((inline-accidental-interface engraver grob source-engraver)
>  (if (ly:spanner? span)
>  (ly:pointer-group-interface::add-grob span 'elements grob))
>  (if (ly:item? stub)
>  (ly:pointer-group-interface::add-grob stub 'elements grob
>
>   ((process-music trans)
>(if (ly:stream-event? (car event-drul))
>(begin
>  (set! span (ly:engraver-make-grob trans 'Frame (car
> event-drul)))
>  (set! stub (ly:engraver-make-grob trans 'FrameStub (car
> event-drul)))
>  (ly:grob-set-object! stub 'frame span)
>  (ly:grob-set-property! stub 'direction LEFT)
>  (set-car! event-drul '(
>(if (ly:stream-event? (cdr event-drul))
>(if (null? span)
>(ly:warning "No start to this box.")
>(begin
>  (set! stub (ly:engraver-make-grob trans 'FrameStub
> (cdr event-drul)))
>  (ly:grob-set-property! stub 'direction RIGHT)
>  (ly:grob-set-object! stub 'frame span)
>  (ly:engraver-announce-end-grob trans span (cdr
> event-drul))
>
>   ((stop-translation-timestep trans)
>(if (ly:stream-event? (cdr event-drul))
>(begin
>  (set! span '())
>  (set-cdr! event-drul '(
>(set! stub '())
>



-- 
《〠》】〶【〖〠〗〶〛〷〚
Jeff Treviño
PhD Candidate in Music Composition
@ the University of California, San Diego
〖〠〗〶〛〷〚《〠》】〶
Skype: jeffreytrevino
E-mail: jeffrey.trev...@gmail.com
〚《〠》】〶【〖〠〗〶〛〷
9310H Redwood Dr.
La Jolla, CA 92037
USA
〖〠〗〶〛〷〚《〠》】〶【

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


Re: Aleatoric / modern notation

2013-01-12 Thread David Nalesnik
Hi Jeff,

On Sat, Jan 12, 2013 at 11:37 AM, Jeffrey Trevino <
jeffrey.trevi...@gmail.com> wrote:

> Hi David,
>
> I just saw this fix. Thanks for spending so much time tweaking this. Maybe
> there's a way it can be integrated into the Lilypond code, since you've
> spent so much time developing it. I'll be using it in a score soon.
>

I've actually been working at this off and on since I sent you that fix,
and I've added some functionality.  You no longer need to guess at the
length of the extender line: you specify its endpoint with the command
\frameExtenderEnd.  Also, the extender (now a separate grob called
"FrameExtender") can be broken across lines.

There are still some issues to resolve.  One of these problems is that the
new stencil isn't taken into account in vertical spacing, and this can
result in overlaps in extreme cases.  (Try moving some of the groups into
regions with many ledger lines.) I'm guessing that the difficulty arises
because the frame isn't an outside-staff object, but I'm unsure how to
proceed.

There's some test code in the attached file.  Mike Solomon suggested that I
handle alignment between the component parts (the frame, the extender, and
ultimately a bracket-with-timing affair to encompass the frame and
extender) with an alignment grob (as DynamicLineSpanner and the like).
 This is one angle I'm exploring.  (At the moment, uncommenting the
\consists line will just draw boxes around the whole affair.)

Anyway, I hope this proves helpful.  Please let me know if you have any
suggestions, or run into difficulties.


frameEngraver8.ly
Description: Binary data
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Cross staff beams with subdivision

2013-01-12 Thread Keith OHara
Helge Kruse  gmx.net> writes:

> How can I connect the low and upper staffs beams?

Moving the manual beam indication ] to the end of the tuplet.

> How can I extend the distance between the staffs to make place for 
> this beams construct?

When I want extra space between staves for a few isolated cases, I find
some object on the staff and ask LilyPond go make more space for it. 
Here, the rest is convenient.

  \once\override Rest #'minimum-Y-extent = #'(0 . 9)
  r8 gis!32\([ b dis gis!
\change Staff=upper \times 4/6 { b dis gis! b dis gis!\)] }



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


Re: Cross staff beams with subdivision

2013-01-12 Thread Noeck


Am 12.01.2013 20:08, schrieb Keith OHara:
>> How can I extend the distance between the staffs to make place for 
>> this beams construct?
> 
> When I want extra space between staves for a few isolated cases, I find
> some object on the staff and ask LilyPond go make more space for it. 
> Here, the rest is convenient.
> 
>   \once\override Rest #'minimum-Y-extent = #'(0 . 9)
>   r8 gis!32\([ b dis gis!
> \change Staff=upper \times 4/6 { b dis gis! b dis gis!\)] }

I also tried to get this solved. And moving this rest showed me, that it
is only the space between the staffs that is missing, once the beam
brackets are set correctly.

Your solution works perfectly. My question is: Is that the way such
spacing issues are handled? Or is there a preferred way using some staff
spacing instead of using space around a rest, that happens to be close by?

Joram

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


frescobaldi on mac

2013-01-12 Thread Jim Tisdall

In trying to compile frescobaldi on my mac pro osx10.7.5, I have the
program running but I've run into the following problem with trying
to get the python-poppler-qt4-0.16.3 extension to work:

$ python setup.py build
running build
running build_ext
building 'popplerqt4' extension
llvm-gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -g -Os -pipe
-fno-common -fno-strict-aliasing -fwrapv -mno-fused-madd -DENABLE_DTRACE
-DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g
-fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch i386 -arch
x86_64 -pipe -I/Users/tisdall/src/QtSDK/Desktop/Qt/4.8.1/gcc/include
-I/Users/tisdall/src/QtSDK/Desktop/Qt/4.8.1/gcc/include/QtCore
-I/Users/tisdall/src/QtSDK/Desktop/Qt/4.8.1/gcc/include/QtGui
-I/Users/tisdall/src/QtSDK/Desktop/Qt/4.8.1/gcc/include/QtXml
-I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7
-I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7
-c build/temp.macosx-10.7-intel-2.7/sippopplerqt4cmodule.cpp -o
build/temp.macosx-10.7-intel-2.7/build/temp.macosx-10.7-intel-2.7/sippopplerqt4cmodule.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for
Ada/C/ObjC but not for C++
In file included from
build/temp.macosx-10.7-intel-2.7/sippopplerqt4cmodule.cpp:7:
poppler-qt4.sip:24:29: error: qt4/poppler-qt4.h: No such file or directory
poppler-link.sip:41:30: error: qt4/poppler-link.h: No such file or directory


and etc etc.  I have python2.7.1, sip4.14.2, and PyQT4.9.6

Any suggestions would be welcome, if you've successfully compiled
this on the mac.

Peace,
Jim

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


Re: frescobaldi on mac

2013-01-12 Thread Olivier Biot
On Sat, Jan 12, 2013 at 8:53 PM, Jim Tisdall  wrote:

> In trying to compile frescobaldi on my mac pro osx10.7.5, I have the
> program running but I've run into the following problem with trying
> to get the python-poppler-qt4-0.16.3 extension to work:
>
> $ python setup.py build
>
[...]

> In file included from
> build/temp.macosx-10.7-intel-**2.7/sippopplerqt4cmodule.cpp:**7:
> poppler-qt4.sip:24:29: error: qt4/poppler-qt4.h: No such file or directory
> poppler-link.sip:41:30: error: qt4/poppler-link.h: No such file or
> directory
>
>
> and etc etc.  I have python2.7.1, sip4.14.2, and PyQT4.9.6
>
> Any suggestions would be welcome, if you've successfully compiled
> this on the mac.
>

I haven't compiled Frescobaldi on Mac, but a Google search yielded among
others the following post:
http://comments.gmane.org/gmane.comp.gnu.lilypond.general/74065

And here's another issue regarding libiconv on MacOS (used by Poppler):
http://www.qtcentre.org/threads/43417-Trouble-using-Poppler-libs-with-QT-Creator-on-Mac

Hope this helps.

Best regards,

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


Re: Cross staff beams with subdivision

2013-01-12 Thread Keith OHara
Noeck  gmx.de> writes:

> >   \once\override Rest #'minimum-Y-extent = #'(0 . 9)
> >   r8 gis!32\([ b dis gis!
> > \change Staff=upper \times 4/6 { b dis gis! b dis gis!\)] }
> 
> Is there a preferred way using some staff spacing instead of using space 
> around a rest, that happens to be close by?
> 

I think the staff spacing parameters take effect for the whole score.
I do not think that LilyPond figure searches to find the spacing parameters 
currently in effect for each line, for every potential way of line-breaking.
I also find it hard figure out how to input the staff-spacing parameters.

It was easier for me to learn one way flexible to request extra space,
and use the same method whether LilyPond needs to change staff-spacing, 
slur-position, or note-spacing to meet my request for the space.

Unfortunately, the way I learned does not work in the development versions,
(I just tried 2.17.3) because some spacing decisions now use the actual 
printed shape, not the "extent" that I have been adjusting


Sometime before 2.18 I will need to find a new method.  The best I can think
of so far is to print a tall invisible box---a "phantom strut"---where I need 
space.

  r8-\tweak #'stencil #(ly:make-stencil '() '(0 . 0.1) '(0 . 6) ) 
^"request space above, so that the staves spread" 
  gis!32\([ b dis gis!
\change Staff=upper \times 4/6 { b dis gis! b dis gis!\)] }



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


Re: Expanding bowed arpeggios

2013-01-12 Thread shutterfreak
shutterfreak wrote
> On Sat, Nov 24, 2012 at 1:26 PM, Olivier Biot <

> olivier.biot@

> >wrote:
> 
> Dear all,
> 
> Following up on my own request, I stumbled upon an insightful article
> featuring Bach's prelude for piano (BWV 846):
> http://news.lilynet.net/?The-LilyPond-Report-23#feature_story_prelude_1_in_scheme
> 
> Based on this example I managed to create a first version, which however
> only works with *absolute* pitches (see measure 1).
> 
> How can I make it work with *relative* pitches (see measure 2)?
> 
> %%% BEGIN Snippet
> \version "2.16.1"
> 
> arpeggiate = #(define-music-function (parser location d p1 p2 p3 p4)
> (ly:duration? ly:pitch? ly:pitch? ly:pitch? ly:pitch?)
> "Arpeggiate each of the 4 notes note with a duration of
> d."
> #{
>   $p1 $d ( $p2 $d $p3 $d $p4 $d )
>   $p4 $d ( $p3 $d $p2 $d $p1 $d )
> #})
> 
> theMusic = {
>   \arpeggiate 8 g d' a' e''
>   \relative g {
> \arpeggiate 8 g d' a' e'
>   }
> }
> 
> \score {
>   \new StaffGroup <<
> \new Staff {
>   \relative g {
> 
> 
> 1 q
>   }
> }
> \new Staff {
>   \theMusic
> }
>   >>
>   \layout { }
>   \midi { }
> }
> %%% END Snippet

Dear all,

So far I didn't find a way to make my arpeggio expansion work with notes in
*relative pitch*. My bet is that I need to do some magic on "ly:pitch?" to
get it to work, but I am clueless since I don't know what I should type as
search keywords to get that information. Is there for example a
relative-pitch-to-absolute-pitch checker routine that I could use?

Could somebody with better knowledge of LilyPond / Guile help me in making
it work or pointing me in the right direction?

Any help is greatly appreciated!

Olivier



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Expanding-bowed-arpeggios-tp136789p139404.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: Guide to Writing Orchestral Scores with Lilypond?????

2013-01-12 Thread Antonio Gervasoni
Ben wrote

> I wish I knew as much about the "includes" and whatnot 
> that you do; I only use one file per one score at the moment.   
> 
> I can't seem to figure out how to open say, just one instrument part, of
> your score.
> It just renders a blank page.  Surely I am missing some connection to
> another file.

Hi Ben!

The include command is very easy to understand. Just read the chapter in the
manual or do a quick search and you'll get the grasp of it in no time.

Some parts are split in two files: "InstrumentNameMusic.ly" and
"InstrumentName.Score.ly". The part is generated from the latter. The former
contains only the music itself (notes, rests, slurs, etc.)

A few parts are not divided this way and show only the name of the
instrument, meaning that everything needed to generate the score is in
there.

I don't know which operating system you use. I'm on a Mac with Snow Leopard
10.6.8. I use Frescobaldi as a GUI.

So it's just a blank page? Isn't there some error mesage?

Antonio




--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Guide-to-Writing-Orchestral-Scores-with-Lilypond-tp139065p139405.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: frescobaldi on mac

2013-01-12 Thread Paul Morris
On Jan 12, 2013, at 2:53 PM, Jim Tisdall  wrote:

> In trying to compile frescobaldi on my mac pro osx10.7.5, I have the
> program running but I've run into the following problem with trying
> to get the python-poppler-qt4-0.16.3 extension to work:

Hi Jim,  I got as far as trying to installing the poppler pdf part about a 
month or so ago and ran out of steam.  (I am not very fluent with the command 
line.)  

So I've just been using an older 2.0.4 version that I installed with this 
pre-packaged mac installer that Rodolfo Zitellini made:
https://groups.google.com/d/msg/frescobaldi/Of51097BeqA/7F3geR2gPd4J

Here's a link to the installer file:
http://www.xhero.org/frescobaldi.zip

It would be great to have an easy installer like this for the more recent 2.0.8 
version (and future versions).  Frescobaldi really takes working with LilyPond 
to another level compared with the default LilyPond.app for mac.  I've found 
the text highlighting, point-and-click functionality, and having everything in 
one window to be really helpful.

Good luck with it!
-Paul



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


Re: Guide to Writing Orchestral Scores with Lilypond?????

2013-01-12 Thread Antonio Gervasoni
Hey guys!

Sorry for not participating in the discussion about the copyrighted material
in Urs tutorial. I'm finishing the music for a film and I have little time
to read posts and make comments. ;-)

I agree with Joseph's idea:

> Well, here's what _I_ would do in your shoes: license freely all the parts
> of 
> the tutorial that are your copyright, and add a clear exception notice for 
> musical examples that are still in copyright.

However, I'm not a lawyer so I'm sure if this would work.

All these problems with copyrights are always a real hassle. Copyrights are
good, I mean, the idea itself is good. The problem is that the law has taken
the matter to amazing extremes. Is there any sense in a legislation that
allows someone to be accused of piracy and then sued for billions of
dollars, while a doctor who amputates the wrong leg of a patient is liable
for no more than 250,000? Does this make any sense? Are copyrights more
valuable than someone's leg?

Also, according to recent studies, almost a third of the american population
have at least once downloaded a song illegally. This means that, according
to the law, more than 300 million americans are effectively criminals.
Again, copyrights are good (I'm an author so I am of course pro-copyrights),
but the law has been twisted in a way it should have never been.

I'd recommend everyone to read the book Free-Culture, by Lawrence Lessig,
Professor of Law at Harvard Law School. It can be downloaded freely from
here: http://www.free-culture.cc/ Another very good book (which I haven't
finished yet) is: The Public Domain, Enclosing the Commons of the Mind, by
James Boyle (also free!). If you are an author, then you should read these
books! I have, and they have been a revelation to me!

I'm not a US citizen. I don't even live in the US! But we now live in a
global market, and what a country does - especially the United States -
affects other countries as well, so I have a concern for what happens there,
and I'm afraid it might begin to happen where I live too (though I don't
really think it's possible due to the differences between our legal
systems... but who knows!)

I apologize for making an off-thread comment  but, after reading so many
posts about copyrights, I felt the need to say something that would be
useful to generate some awareness about the problem that has been created
around copyrights by greedy companies and corporations. I don't want this
thread to become a discussion about copyrights. I hope it doesn't! I won't
say another word about it here, I promise!

Now, about the tutorial for creating orchestral scores with Lilypond, I just
want to tell everyone that I have started working on it. I still have to
finish the music for the film first, then I have to finish the score
(Icarus) and then I also have to prepare my classes for the next semester (I
teach at a local university). So I'd say it's gonna take me at least a
couple of months to finish the document (possibly three!). I'm writing it in
LaTeX, as Urs suggested, and will send it to him so that it can be included
in his project.

Regards,

Antonio



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Guide-to-Writing-Orchestral-Scores-with-Lilypond-tp139065p139408.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


enlarging the comma

2013-01-12 Thread info
 

Hello- 

i just tried to do the 

override BreathingSign#text =
markup { fontsize #8 { musicglyph 
#"comma" } } 

in a 

 version
"2.16.1" 

and it would compile but the breathe didn't get bigger.


Will or can this work in 2.16.1? 

Or is there a different thing that
will? 

I was excited that the thread was started as I was working on a
cello suite and felt that the sign should be bigger but it doesn't
matter what fontsize I put it nothing changed. 

Thanks 

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


Re: enlarging the comma

2013-01-12 Thread Shane Brandes
No you have in your example a malformed syntax. You are overriding a widget
and defining a variable on the widget to alter it so the markup bit in your
example just goes plunk or nowhere. Try this.

\override BreathingSign #'font-size = #'22  See the pattern \override
WidgetType #'alterable-variable = #'(expressed value of variable desired)
Sometimes the parenthesis are required, e.g. x and y values,  but for
single values they are not.  There is likely a way to tweak this into
existece but I am too tired to work that out just now.


Shane

On Sat, Jan 12, 2013 at 11:20 PM,  wrote:

> **
>
> Hello-
>
> i just tried to do the
>
> \override BreathingSign#text = \markup { \fontsize #8 { \musicglyph
> #"comma" } }
>
> in a
>
>   \version "2.16.1"
>
> and it would compile but the breathe didn't get bigger.
>
> Will or can this work in 2.16.1?
>
> Or is there a different thing that will?
>
> I was excited that the thread was started as I was working on a cello
> suite and felt that the sign should be bigger but it doesn't matter what
> fontsize I put it nothing changed.
>
> Thanks
>
> Jay
>
> ___
> 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: enlarging the comma

2013-01-12 Thread Nathan
On Sat, Jan 12, 2013 at 8:20 PM,   wrote:
> Hello-
>
> i just tried to do the
>
> \override BreathingSign#text = \markup { \fontsize #8 { \musicglyph
> #"comma" } }
>
> [...]
> and it would compile [...]

The line doesn't compile, and spits out an error. It looks like you
meant to write

\override BreathingSign #'text = \markup { \fontsize #8 { \musicglyph
> #"comma" } }

As Shane said, it's much cleaner to override the font size as in the
following snippet.

\new Staff \relative c' {
  \override BreathingSign #'font-size = #3
  c1\breathe
}

Regards,
Nathan

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


accidental too far away from notehead

2013-01-12 Thread Werner LEMBERG

Please consider this code:

  \version "2.17.10"

  \relative c''' {
<< { 2 } \\
   { eis,2  } >>
  }

Attached you can find an image.  I think this is a formatting bug of
lilypond: The e sharp in the second voice should be directly placed in
front of the notehead since it is not part of the chord.  However, I'm
not sure, thus I'm writing to this mailing list :-)

Is there a possibility to make lilypond automatically move the
accidental in the lower voice to the right so that it is not aligned
with the accidentals of the upper voice?


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


Re: accidental too far away from notehead

2013-01-12 Thread Werner LEMBERG

> I think this is a formatting bug of lilypond: The e sharp in the
> second voice should be directly placed in front of the notehead
> since it is not part of the chord.

Actually, after some thinking, I believe that the accidental of the
lowest note should be actually nearer to the note head even if it is
part of a chord.

  \relative c' {
<\tweak Accidental.X-offset #2.5 eis gis' cis eis gis>2
  }

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


Re: accidental too far away from notehead

2013-01-12 Thread Werner LEMBERG

> Actually, after some thinking, I believe that the accidental of the
> lowest note should be actually nearer to the note head even if it is
> part of a chord.
>
>   \relative c' {
> <\tweak Accidental.X-offset #2.5 eis gis' cis eis gis>2
>   }

Now a technical question regarding the X-offset: In the above tweak, I
have to move the accidental to the right because X-offset gets applied
relative to the position computed by lilypond.  What I really like to
have is a macro

  X = \tweak Accidental.X-position #0

so that the accidental gets positioned horizontally as if the note
were not part of a chord.  However, there is no `X-position' property,
as far as I can see.

Ideas?


Werner

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


Re: Guide to Writing Orchestral Scores with Lilypond?????

2013-01-12 Thread David Kastrup
Antonio Gervasoni  writes:

> Hey guys!
>
> Sorry for not participating in the discussion about the copyrighted material
> in Urs tutorial. I'm finishing the music for a film and I have little time
> to read posts and make comments. ;-)
>
> I agree with Joseph's idea:
>
>> Well, here's what _I_ would do in your shoes: license freely all the parts
>> of 
>> the tutorial that are your copyright, and add a clear exception notice for 
>> musical examples that are still in copyright.
>
> However, I'm not a lawyer so I'm sure if this would work.
>
> All these problems with copyrights are always a real hassle. Copyrights are
> good, I mean, the idea itself is good. The problem is that the law has taken
> the matter to amazing extremes. Is there any sense in a legislation that
> allows someone to be accused of piracy and then sued for billions of
> dollars, while a doctor who amputates the wrong leg of a patient is liable
> for no more than 250,000? Does this make any sense? Are copyrights more
> valuable than someone's leg?

The basis for that is "damages".  A doctor accidentally amputating the
leg of a professional soccer player is likely in for more than "just"
25.  Is the leg of a professional soccer player more valuable than
that of anybody else?  In a way, it is.

The problem is rather that copyright damages are calculated according to
some "maximum conceivable damage" theory not applied to legs (after all,
pretty much everybody sufficiently young could become a soccer player),
and that copyrights are making too much money, anyway, at the upper end
of the scale.  There is no other situation where scoring a major hit is
supposed to cater for you and some heirs for the rest of your life.

-- 
David Kastrup


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