Re: Printing tempo marks on every part

2006-09-06 Thread Mats Bengtsson

By default, rehearsal marks will only appear above the top stave of
each score line. If you want it to appear over more staves, you just
include the corresponding engraver into the Staff contexts where you
want the marks, see 
http://lists.gnu.org/archive/html/lilypond-user/2006-04/msg00062.html

for an example.
This has really nothing to do with filtering out information using \tag or
whatever, which has been the main focus of this thread.

  /Mats

David A. Greene wrote:

David A. Greene wrote:


parts.  For example, in an SATB score, the rehearsal letters should
appear in all parts but I only want dynamics displayed in one part
(say, the alto) to keep clutter down. 


Slight correction.  One would like the rehearsal letters to appear
on one of either the soprano or alto parts and one of the tenor or
bass parts along with any descant part.

 -Dave


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


--
=
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463 
   Fax:   (+46) 8 790 7260
Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=



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


Re: Printing tempo marks on every part

2006-09-06 Thread Han-Wen Nienhuys

David A. Greene wrote:

Markus Schneider wrote:


In pseudo code this would look like this:

somevoice = { }

partWithAllMarksAndStuff = {}

\addquote framework \partWithAllMarksAndStuff


I tried this but lily 2.9.17 chokes on the \addquote:

Interpreting music... make: *** [test.pdf] Segmentation fault

If I comment that line and the uses of quoteDuring, it doesn't
segfault.  Commenting just the quoteDuring doesn't help.  It's
the addquote that causes the problem.

Anything I can do to help debug this?  I can produce a testcase
eventually, but probably not right now due to time constraints.

I'll try 2.8 and see if that works.


segfaults are bugs. Please submit the offending .ly.


--

Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen

LilyPond Software Design
 -- Code for Music Notation
http://www.lilypond-design.com



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


Re: Printing tempo marks on every part

2006-09-06 Thread David Greene

Han-Wen Nienhuys wrote:


Anything I can do to help debug this?  I can produce a testcase
eventually, but probably not right now due to time constraints.

I'll try 2.8 and see if that works.


segfaults are bugs. Please submit the offending .ly.


Yep.  I determined that I had a \new Staff in the quoted part,
which according to the docs is a no-no.  When I removed that all
was well.  I'll see if I can code up a short testcase tonight.

 -Dave



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


Re: Printing tempo marks on every part

2006-09-05 Thread David A. Greene

Markus Schneider wrote:

You can also use \addquote and filter only desired events using
Staff.quotedEventTypes.
(http://lilypond.org/doc/v2.9/Documentation/user/lilypond/Quoting-other-voic
es.html#Quoting-other-voices)

In pseudo code this would look like this:

somevoice = { }

partWithAllMarksAndStuff = {}

\addquote framework \partWithAllMarksAndStuff

\new Staff 
\set Staff.quotedEventTypes =
  #'(mark-event % Add more as needed
 )
\context Voice = somevoice \somevoice
\context Voice = somevoice
  \quoteDuring #framework { #(ly:export (skip-of-length
partWithAllMarksAndStuff)) }


I really like this direction.  Is there a list of events somewhere
that can be filtered?

I've copied my main part and turned the notes and rests into spaces.
I'd like to add markup and dynamics to it and then combine with the
parts as you've done above but filter different elements for different
parts.  For example, in an SATB score, the rehearsal letters should
appear in all parts but I only want dynamics displayed in one part
(say, the alto) to keep clutter down.  But I don't want to have to
copy the skips part multiple times just to add different markup for
different voices.

Ideally, we'd like to be able to do this by putting the markup on
the real music part and then filter things to turn all the notes
and rests into skips and only display the markup that passes through
the filter.  But I imagine something like this is a ways off.

  -Dave


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


Re: Printing tempo marks on every part

2006-09-05 Thread David A. Greene

David A. Greene wrote:


parts.  For example, in an SATB score, the rehearsal letters should
appear in all parts but I only want dynamics displayed in one part
(say, the alto) to keep clutter down. 


Slight correction.  One would like the rehearsal letters to appear
on one of either the soprano or alto parts and one of the tenor or
bass parts along with any descant part.

 -Dave


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


Re: Printing tempo marks on every part

2006-09-05 Thread David A. Greene

Markus Schneider wrote:


In pseudo code this would look like this:

somevoice = { }

partWithAllMarksAndStuff = {}

\addquote framework \partWithAllMarksAndStuff


I tried this but lily 2.9.17 chokes on the \addquote:

Interpreting music... make: *** [test.pdf] Segmentation fault

If I comment that line and the uses of quoteDuring, it doesn't
segfault.  Commenting just the quoteDuring doesn't help.  It's
the addquote that causes the problem.

Anything I can do to help debug this?  I can produce a testcase
eventually, but probably not right now due to time constraints.

I'll try 2.8 and see if that works.

  -Dave


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


Re: Printing tempo marks on every part

2006-08-27 Thread Andrew Black - lists

yota moteuchi wrote:

concerning the bars you may use a global part containing only skips and
bars
you can then combine them as you wish (in a part or for all the parts).
have a look at
http://www.mutopiaproject.org/ftp/BachJS/BWV1068/bach-air/bach-air-lys.zip
or
http://www.lilypond.org/doc/v2.6/input/mutopia/E.Satie/petite-ouverture-a-danser.ly.txt 



Thanks for the suggestion. It looks the right thing to do but I seem to 
be missing a detail.
My (rather simplifed example below) generates an extra stave which I 
don't want).


===
globalpar = { s1 * 2  | \mark \default }
continuoLeftMusic = { a1 b c d e f }

\score {

  \context PianoStaff 
\globalpar
   \context Staff = leftHand {
  \clef bass \continuoLeftMusic }
   
 

 \layout {
 }
}



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


Re: Printing tempo marks on every part

2006-08-27 Thread Kieren MacMillan

Hi, Andrew:

My (rather simplifed example below) generates an extra stave which  
I don't want).


That's because you haven't put the \globalpar *inside* another Staff,  
so Lilypond helpfully (?) instantiates one for you.


Here's the fixed (and even further simplified) example:

% BEGIN SAMPLE

\version 2.8.5
\include english.ly

globalpar = { s1 * 2  | \mark \default }
continuoLeftMusic = { a1 b c d e f }

\score
{
\context Staff = leftHand
 \globalpar \clef bass \continuoLeftMusic 
}

% END SAMPLE CODE

Hope this helps!
Kieren.




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


Printing tempo marks on every part

2006-08-25 Thread Andrew Black - lists

I would like to specify things like tempo marks, double bars, rehearsal
makrs in one part only (say piano part) but print them on very part.
I want to print as below but only have to specify the details in one part

==
(Vn 1 part: )
 Andante ... [A]   . [B]
Vn 1 music .
==
(Vn 2 part: )
 Andante ... [A]   . [B]
Vn 2 music .
==
(Score: )
 Andante ... [A]   . [B]
Vn 1 music .
Vn 2 music .
etc etc


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


Re: Printing tempo marks on every part

2006-08-25 Thread yota moteuchi
concerning the bars you may use a global part containing only skips and barsyou can then combine them as you wish (in a part or for all the parts).have a look at

http://www.mutopiaproject.org/ftp/BachJS/BWV1068/bach-air/bach-air-lys.zipor
http://www.lilypond.org/doc/v2.6/input/mutopia/E.Satie/petite-ouverture-a-danser.ly.txt
I don't know if it works with rehearsal marks, but please test and publish your resultsOn 8/25/06, Andrew Black - lists 

[EMAIL PROTECTED] wrote:I would like to specify things like tempo marks, double bars, rehearsal
makrs in one part only (say piano part) but print them on very part.I want to print as below but only have to specify the details in one part==(Vn 1 part: )Andante ... [A] . [B]
Vn 1 music .==(Vn 2 part: )Andante ... [A] . [B]Vn 2 music .==(Score: )Andante ... [A] . [B]
Vn 1 music .Vn 2 music .etc etc___lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

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


Re: Printing tempo marks on every part

2006-08-25 Thread Markus Schneider
You can also use \addquote and filter only desired events using
Staff.quotedEventTypes.
(http://lilypond.org/doc/v2.9/Documentation/user/lilypond/Quoting-other-voic
es.html#Quoting-other-voices)

In pseudo code this would look like this:

somevoice = { }

partWithAllMarksAndStuff = {}

\addquote framework \partWithAllMarksAndStuff

\new Staff 
\set Staff.quotedEventTypes =
  #'(mark-event % Add more as needed
 )
\context Voice = somevoice \somevoice
\context Voice = somevoice
  \quoteDuring #framework { #(ly:export (skip-of-length
partWithAllMarksAndStuff)) }


Markus





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


Re: Printing tempo marks on every part

2006-08-25 Thread Paul Scott

yota moteuchi wrote:
concerning the bars you may use a global part containing only skips 
and bars

you can then combine them as you wish (in a part or for all the parts).
have a look at
http://www.mutopiaproject.org/ftp/BachJS/BWV1068/bach-air/bach-air-lys.zip
or
http://www.lilypond.org/doc/v2.6/input/mutopia/E.Satie/petite-ouverture-a-danser.ly.txt 
http://www.lilypond.org/doc/v2.6/input/mutopia/E.Satie/petite-ouverture-a-danser.ly.txt


I don't know if it works with rehearsal marks, but please test and 
publish your results
It works with rehearsal marks and more.  For bigger scores I have global 
blocks like timing which define the time considerations and rehearsal 
marks and markup for things like Allegro.  I might then have more than 
one global block for dynamics and things which only apply to some subset 
of the instruments.


This has worked with any necessary padding for the markup and or 
dynamics set in the individual instrument parts even though I have an 
example of this which *may* not working in 2.9.15.


Paul Scott



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