RhythmicStaff

2007-09-28 Thread Charles Gran
If I'm creating a sheet of short rhythms [ex below], do I meed to use 
\RhythmicStaff for each rhythm, or can I do something globally?

\score {
\new RhythmicStaff {
\time 4/4
\set Staff.instrumentName = "1 "
b'2 b
r4 b r b
b r b r
b2 r4 b
\bar "|."
}
}

\score {
\new RhythmicStaff {
\time 4/4
\set Staff.instrumentName = "2 "
b'2. b4
r4 b8 b r4 b
b r b r
b2 r4 b
\bar "|."
}
}

Charles

-- 
http://www.campdeadly.com
http://www.campdeadly.com/blog



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


Re: Numering for exercises

2007-09-28 Thread Mats Bengtsson
One solution is to make all the exercises as separate lines of the same 
\score and use the rehearsal mark mechanism for the numbering.

Here's an example:

\version "2.10.33"

#(set-default-paper-size "letter")

newexample = {
 \break
 % Force a time signature at the top of the new example
 \time 4/4
 % Typeset the number
 \mark \default
}

\score {
\new RhythmicStaff {

\newexample
b'2 b
r4 b r b
b r b r
b2 r4 b
\bar "|."

\newexample
b'2. b4
r4 b8 b r4 b
b r b r
b2 r4 b
\bar "|."
}
}

\layout{
 % Only make each line as long as necessary
 ragged-right = ##t
 % Don't indent the first line (= first example)
 indent = 0
 \context{
   \Score
   % Get rid of bar numbering
   \remove Bar_number_engraver
   % Get rid of reminder time signature at the end of the% previous line
   \override TimeSignature #'break-visibility = #end-of-line-invisible
   % Use numbers instead of letters
   markFormatter = #format-mark-numbers
 }
}


  /Mats

Quoting Charles Gran <[EMAIL PROTECTED]>:


I'm looking for a way to number short rhythms and melodies on
practice sheets for an ear training class I'm teaching.  The example
below looks how I want it, but I am wondering if there is some way to
have the exercises numbered automatically.

\version "2.10.33"

#(set-default-paper-size "letter")

\score {
\new RhythmicStaff {
\time 4/4
\set Staff.instrumentName = "1 "
b'2 b
r4 b r b
b r b r
b2 r4 b
\bar "|."
}
}

\score {
\new RhythmicStaff {
\time 4/4
\set Staff.instrumentName = "2 "
b'2. b4
r4 b8 b r4 b
b r b r
b2 r4 b
\bar "|."
}
}

The above is what I want, but it would be great if there was some way
to have the exercises numbered automatically.  Is there?

Charles

p.s. For anyone who's interested, these are the relevant threads I
found for making exercises in lilpond:
http://lists.gnu.org/archive/html/lilypond-user/2006-03/msg00285.html
http://lists.gnu.org/archive/html/lilypond-user/2006-11/msg00458.html
http://lists.gnu.org/archive/html/lilypond-user/2007-06/msg00396.html


--
http://www.campdeadly.com
http://www.campdeadly.com/blog



___
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: RhythmicStaff

2007-09-28 Thread Mats Bengtsson

Quoting Charles Gran <[EMAIL PROTECTED]>:


If I'm creating a sheet of short rhythms [ex below], do I meed to use
\RhythmicStaff for each rhythm, or can I do something globally?


Nothing that would simplify the input. What you can do is to remove
the explicit \score{...}, i.e. each separate example could look like
\new RhythmicStaff{
...
}

   /Mats


\score {
\new RhythmicStaff {
\time 4/4
\set Staff.instrumentName = "1 "
b'2 b
r4 b r b
b r b r
b2 r4 b
\bar "|."
}
}

\score {
\new RhythmicStaff {
\time 4/4
\set Staff.instrumentName = "2 "
b'2. b4
r4 b8 b r4 b
b r b r
b2 r4 b
\bar "|."
}
}

Charles

--
http://www.campdeadly.com
http://www.campdeadly.com/blog



___
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


GDP: add "extender line" to the glossary?

2007-09-28 Thread Graham Percival
Should we add "extender line" to the glossary?  Is this a real musical 
term, or a made-up lilypond term?  Any vocalists want to comment?


Cheers,
- Graham


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


Placing ornaments, logo's

2007-09-28 Thread Johan Vromans
Hi,

I produce my music sheets with the PostScript/PDF backends. Now I'd
want to include a logo and some other mainly fixed texts on the
sheets. 

Can this be done with Lilypond?
I tried lilypond-book but that doesn't work (it screws up the output).
OOoLilyPond doesn't seem to be able to handle bigger scores.

-- Johan




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


custom, variable paper size?

2007-09-28 Thread Michael Rasmussen
Having just rememberd that Lilypond can output png files for web use I'm now
wondering about how to trim the image automatically.

If I want to create a PNG of a simple snip[1]:

\relative c''
{
  \time 6/4
  \key ees \major
  c2 (g4 ees'2 d4)
  c2. ( g4 ) g' ( f )
}

What can one do to get lilypond to generate the two bars with some moderate, 
small amount of surrounding whitespace instead of a full A4 or Letter or 
whatever 
sized PNG page?


[1] Sorry about the needlessly complex exmaple.  Special prize to first person 
to identify the source.



-- 
  Michael Rasmussen, Portland Oregon  
Be appropriate && Follow your curiosity
  http://www.patch.com/words/ 
  The fortune cookie says:
I've found my niche.  If you're wondering why I'm not there, there was
this little hole in the bottom ...
-- John Croll



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


Re: custom, variable paper size?

2007-09-28 Thread Graham Percival

Michael Rasmussen wrote:

Having just rememberd that Lilypond can output png files for web use I'm now
wondering about how to trim the image automatically.


You read 4.6.3 in the Program Usage on opihi.  I think that change made 
it into the 2.11 docs, as well.


- Graham


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


Re: GDP: documentation guidelines

2007-09-28 Thread Graham Percival

John Mandereau wrote:

There's no need to add README.txt to the compiled docs, as we can
directly refer to the sources:
http://git.sv.gnu.org/gitweb/?p=lilypond.git;a=blob_plain;f=Documentation/user/README.txt;hb=lilypond/gdp

Why not adding it on documentation-adding and "Developers
resources" (linked from Documentation index)?


Sounds good.  Could you add this to your list, John?  We only need to 
link to the GDP branch until 2.13 exists (and we merge GDP); thereafter 
it should point to master.


Sorry to add more stuff to you,
- Graham


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