RE: Proper use of Devnull

2007-09-30 Thread Trevor Daniels

Francisco

You wrote:

 Anyway, I still have two questions.
 From the great examples around I
 still cannot see how to do alternate
 Lyrics when the melody is the same
 but melismata are different fot each one.

The easiest way is to turn off the automatic alignment of
lyrics to slurred notes with \ignoreMelismata and to
position the syllables manually using \skip.  Here's an
example, which also turns the slurs dashed:


 \relative g' {
  \clef treble
  \key g \major
  \time 4/4
  \slurDashed
  g4 g2 d4( g) a2( d,)
 }
 \addlyrics {
  \set ignoreMelismata = ##t
  O come, all ye faith -- ful,
 }
 \addlyrics {
  \set ignoreMelismata = ##t
  \skip 4 God of __ \skip 4 God, __ \skip 2
 }


The related problem of placing brackets round notes which
are to be ignored in some verses, like the initial g in this
example, is not supported in LP, AFAIK, although there are a
couple of messy work-arounds in the archives.  (Search for
brackets note)

 Francisco Vila. Badajoz (Spain)
Trevor





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


alternatives and bars problem

2007-09-30 Thread Joe Mc Cool
Newbie, sorry.

Version 2.11.33

In the final part of this tune, the 1st alternative prints fine, but
the second one has the bars all screwed up.  The first g4, is on a bar
of its own !

How can I stop bar numbers being printed for the partial bars ?

Also when I use timidity to play the midi file, it ignores all the repeats.  I 
just plays the tune straight through.


\include version.ly
\header {
composer =  by Paddy O'Brien
title = The Coming of Spring
dedication = 
tagline = Music engraving by JMcCool using LilyPond  %\version
}

%\define mbreak = {\break}
\define mbreak = {}

melody = \relative c' {
\clef treble
\key d \major
\time 6/8
\override Score.BarNumber 
  #'break-visibility = #end-of-line-invisible
\set Score.currentBarNumber = #0
%\set Staff.midiInstrument = flagelette
#(set-global-staff-size 23)

  \repeat volta 2 { %TUNE_START
   \partial 8*1  a'8
b8  e,8  e8  b'4  a8%\bar | 
b8  d8  b8  b8  a8  g8  %\bar |  
fis8  e8  fis8 d8  fis8  a8 %\bar |  
d8  fis8  e8  d8  b8  a8%\bar |   
b8  e,8  e8  b'4  a8%\bar |  
b8  e8 fis8  g8  fis8  e8  %\bar |  
d8  b8  g8  fis8 g8  a8 %\bar |  
b8  g8  e8  e4  %\bar :|:
\mbreak
  }
  
 \repeat volta 2 { 
\partial 8*1 fis8
\set Score.currentBarNumber = #8
g8  e8  fis8  g4  a8%\bar |  
b4  a8[  b8  e8  cis8]  %\bar |  
d8  a8  a8  b8  a8  g8  %\bar |  
\times 2/3 {fis8 g8 a8}  fis8  d8  e8 fis8  %\bar |   
g4  e8[  fis8  g8  a8]  %\bar |  
b8 e8  fis8  g8  fis8  e8   %\bar |  
d8  b8  g8 fis8  g8  a8 %\bar |  
b8  g8  e8  e4  %\bar :|: 
   }

  \repeat volta 2 { 
\partial 8*1 fis'8  
\set Score.currentBarNumber = #16
g4  e8[  e8  g8  e8]%\bar |  
b8 e8  g8  b8  a8  g8   %\bar |  
fis4  d8[  d8 cis8  d8] %\bar |  
a8  fis8  a8  d8  e8  fis8  %\bar |  
g4  e8[  e8  g8  e8]%\bar |   
}

\alternative { 
  { 
g4 e8[ e g e]   %\bar |
b e g b a g %\bar | 
fis e d \times 2/3 {fis8 g8 a8} fis %\bar |
g e e e4%\bar |
  } 

  {
g4 e8 fis e d   %\bar |
b e cis d fis e %\bar |
d8  b8  g8  fis8 g8  a8 %\bar |  
b8  g8  e8  e4
  } 
}
  } 

\score {
  \new Staff \melody
  \layout{}
  \midi { }
}



-- 
Thanks

Joe Mc Cool
Snark, currently LEYC
028 37548074, 07802572441


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


Re: Writing a book (libretto) using LilyPond

2007-09-30 Thread Valentin Villenave
2007/9/30, Nicolas Sceaux [EMAIL PROTECTED]:

 You may look at:

   prose: /Le Bourgeois Gentilhomme/, Molière, Lully
   http://nicolas.sceaux.free.fr/index.php/2006/05/10/7

Thanks Nicolas, I didn't know you've published the Bourgeois.
As always, it's an amazing piece of code; all I hope is that some day
I'll understand a few lines of it :)
I'm particularly amazed by the way you include your parts and scores.
It seems very complex, but as I pointed out once, the default \include
command sometimes isn't enough...
http://code.google.com/p/lilypond/issues/detail?id=391

How can you manage to prevent the Character names and the didascalies
to be separated from the main dialogue text when a page Break occurs?


Werner: wußten Sie das nicht ? Es handelt sich um die 326. Reform für
der deutschen Rechschreibung von 2012 ; bald gibt es ein einzige Wort
für fehlen, füllen, fallen, oder Fohlen :)
[English translation: My mistake, sorry. Next time I'll check...]

Regards,
Valentin


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


Re: lilypond imbedded in text

2007-09-30 Thread Rick Hansen (aka RickH)



Kieran Coulter wrote:
 
 Hi, I am planning on starting a method book series for lilypond. I am
 curious what the general format is for mixing various fonts and styles,
 pictures, and lilypond exercises and pieces to play. I'll have a look at
 what is in the documentation in the meantime, but I plan to write it very
 quickly! (it's one of the targets for my thesis work) Kieran Coulter 
 ___
 lilypond-user mailing list
 lilypond-user@gnu.org
 http://lists.gnu.org/mailman/listinfo/lilypond-user
 
 






Also check out:

10.1.5 Extracting fragments of notation
It is possible to quote small fragments of a large score directly from the
output. This can be
compared to clipping a piece of a paper score with scissors.
This is done by definining the measures that need to be cut out separately.
For example,
including the following definition
\layout {
clip-regions
= #(list
(cons
(make-rhythmic-location 5 1 2)
(make-rhythmic-location 7 3 4)))
}
will extract a fragment starting halfway the fifth measure, ending in the
seventh measure. The
meaning of 5 1 2 is: after a 1/2 note in measure 5, and 7 3 4 after 3
quarter notes in measure 7.
Chapter 10: Non-musical notation 250
More clip regions can be defined by adding more pairs of rhythmic-locations
to the list.
In order to use this feature, LilyPond must be invoked with -dclip-systems.
The clips are
output as EPS files, and are converted to PDF and PNG if these formats are
switched on as
well.
For more information on output formats, see program usage manual, Invoking
lilypond.
See also
Examples: ‘non-notation/clip-systems.ly’


Rick (I sponsored this one)



-- 
View this message in context: 
http://www.nabble.com/lilypond-imbedded-in-text-tf4526353.html#a12968331
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.



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


score imbedded in markup text (in-line)

2007-09-30 Thread Stan Sanderson

Greetings to all-

This seems like a variant of the problem recently addressed by Rick  
Hansen. However, it seems as if there should be a simple answer which  
has thus far eluded me. I have looked at the LSR and mail archives,  
but haven't found an answer.


The problem: I am attempting to duplicate an old score. The original  
has instructions (text) with a partial measure imbedded in-line (not  
on a separate line). The closest I have come is the code shown below.  
The text is fine, but the snippet is obviously not where it should be.


This seems like a useful educational application of Lilypond; the  
answer would be a welcome addition to the LSR!



%%% Start code sample
\version 2.11.33
\include english.ly

snip = \markup {
\score
{ \new Staff \with {
\remove Time_signature_engraver
fontSize = #-7
\override StaffSymbol #'staff-space = #(magstep -7)
firstClef = ##f
}
{   c''4\\ a'  }
\layout { ragged-right = ##t }
}
}

   \markup {\smaller
\fill-line {
\override #'(line-width . 80)
\justify-string #
  	Lorem ipsum dolor sit amet consectetuer adipiscing elit, sed  
diam nonummy nibh 	euismod tincidunt ut laoreet dolore magna aliquam  
erat volutpat.

\snip
   }
}
%%% End code sample

Regards and thanks,

Stan




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


Help with repeats for midi

2007-09-30 Thread John Pezouvanis
Hello, I'ma having trouble with this piece of music. I can't get the repeats 
to work while playing it in midi format. Can anyone help me out?

lilypond
\set Staff.midiInstrument = bright acoustic
\clef treble
\tempo 8=102
\key  d \major
\time 9/8
\relative c''
\repeat volta 2 {d16. cis32 d16 e fis d32 d e16 cis d8. a16 b b32 a aes16 a d8}
\repeat volta 2 {d,16 fis g gis a b32 b a16 g fis g32 g e16 fis d16. cis32 c16 
cis d8 d16. cis32 d16 e fis g32 a g fis e16 d16. cis32 c16 cis d8 d d}
d'16. cis32 d16 e fis d32 d e16 cis d8. a16 b b32 a aes16 a d8 d16. cis32 d16 
e fis d32 d e16 cis d8. a16 b b32 a aes16 a d8
d,16 fis g gis a b32 b a16 g fis g32 g e16 fis d16. cis32 c16 cis d8 d16. 
cis32 d16 e fis g32 a g fis e16 d16. cis32 c16 cis d8 d d
d16 fis g gis a b32 b a16 g fis g32 g e16 fis d16. cis32 c16 cis d8 d16. cis32 
d16 e fis g32 a g fis e16 d16. cis32 c16 cis d8 d d
/lilypond



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


Re: score imbedded in markup text (in-line)

2007-09-30 Thread Graham Percival
Are you looking for the \markup{ \score{ }} command?  Nested scores, 
in the text section.


Cheers,
- Graham


Stan Sanderson wrote:

Greetings to all-

This seems like a variant of the problem recently addressed by Rick 
Hansen. However, it seems as if there should be a simple answer which 
has thus far eluded me. I have looked at the LSR and mail archives, but 
haven't found an answer.


The problem: I am attempting to duplicate an old score. The original has 
instructions (text) with a partial measure imbedded in-line (not on a 
separate line). The closest I have come is the code shown below. The 
text is fine, but the snippet is obviously not where it should be.


This seems like a useful educational application of Lilypond; the answer 
would be a welcome addition to the LSR!



%%% Start code sample
\version 2.11.33
\include english.ly

snip = \markup {
\score
{ \new Staff \with {
\remove Time_signature_engraver
fontSize = #-7
\override StaffSymbol #'staff-space = #(magstep -7)
firstClef = ##f
}
{   c''4\\ a'  }
\layout { ragged-right = ##t }
}
}

   \markup {\smaller
\fill-line {
 \override #'(line-width . 80)
 \justify-string #
  Lorem ipsum dolor sit amet consectetuer adipiscing elit, sed diam 
nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat 
volutpat.

\snip
   }
}
%%% End code sample

Regards and thanks,

Stan




___
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: Help with repeats for midi

2007-09-30 Thread Graham Percival
Please read the documentation about repeats.  The section repeats and 
MIDI might be a good place to start.

- Graham


John Pezouvanis wrote:
Hello, I'ma having trouble with this piece of music. I can't get the repeats 
to work while playing it in midi format. Can anyone help me out?


lilypond
\set Staff.midiInstrument = bright acoustic
\clef treble
\tempo 8=102
\key  d \major
\time 9/8
\relative c''
\repeat volta 2 {d16. cis32 d16 e fis d32 d e16 cis d8. a16 b b32 a aes16 a d8}
\repeat volta 2 {d,16 fis g gis a b32 b a16 g fis g32 g e16 fis d16. cis32 c16 
cis d8 d16. cis32 d16 e fis g32 a g fis e16 d16. cis32 c16 cis d8 d d}
d'16. cis32 d16 e fis d32 d e16 cis d8. a16 b b32 a aes16 a d8 d16. cis32 d16 
e fis d32 d e16 cis d8. a16 b b32 a aes16 a d8
d,16 fis g gis a b32 b a16 g fis g32 g e16 fis d16. cis32 c16 cis d8 d16. 
cis32 d16 e fis g32 a g fis e16 d16. cis32 c16 cis d8 d d
d16 fis g gis a b32 b a16 g fis g32 g e16 fis d16. cis32 c16 cis d8 d16. cis32 
d16 e fis g32 a g fis e16 d16. cis32 c16 cis d8 d d

/lilypond



___
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: score imbedded in markup text (in-line)

2007-09-30 Thread Stan Sanderson

Graham-

No, the code below produces the score snippet within the markup  
command. However, I am trying to obtain  some (markup)text  +  the  
snippet  all on the same line.


In the attached code, the snippet appears to be in its own space.

Regards,

Stan

On Sep 30, 2007, at 1:50 PM, Graham Percival wrote:

Are you looking for the \markup{ \score{ }} command?  Nested  
scores, in the text section.


Cheers,
- Graham


Stan Sanderson wrote:

Greetings to all-
This seems like a variant of the problem recently addressed by  
Rick Hansen. However, it seems as if there should be a simple  
answer which has thus far eluded me. I have looked at the LSR and  
mail archives, but haven't found an answer.
The problem: I am attempting to duplicate an old score. The  
original has instructions (text) with a partial measure imbedded  
in-line (not on a separate line). The closest I have come is the  
code shown below. The text is fine, but the snippet is obviously  
not where it should be.
This seems like a useful educational application of Lilypond; the  
answer would be a welcome addition to the LSR!

%%% Start code sample
\version 2.11.33
\include english.ly
snip = \markup {
\score
{ \new Staff \with {
\remove Time_signature_engraver
fontSize = #-7
\override StaffSymbol #'staff-space = #(magstep -7)
firstClef = ##f
}
{   c''4\\ a'  }
\layout { ragged-right = ##t }
}
}
   \markup {\smaller
\fill-line {
 \override #'(line-width . 80)
 \justify-string #
  Lorem ipsum dolor sit amet consectetuer adipiscing elit,  
sed diam nonummy nibh euismod tincidunt ut laoreet dolore  
magna aliquam erat volutpat.

\snip
   }
}
%%% End code sample
Regards and thanks,
Stan
___
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: score imbedded in markup text (in-line)

2007-09-30 Thread Graham Percival
Sorry, I read it too quickly.  The results are a little bit better if 
you use \line instead of \fill-line, but I agree that there's still too 
much space between the elements.


I really recommend using minimal examples, with correct indentation, 
though.  This makes it much easier to see what's happening and to 
investigate the problem.  The example below has all the important 
features of your example, but it's quicker to understand the snippet.


Cheers,
- Graham


%  the music should be closer to the foo
snip = \markup {
\score
{ \new Staff \with {
\remove Time_signature_engraver
firstClef = ##f
}
{   c''4\\ a'  }
\layout { ragged-right = ##t }
}
}
\markup {
  \line{
foo
\snip
  }
}


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


Re: score imbedded in markup text (in-line)

2007-09-30 Thread Stan Sanderson


On Sep 30, 2007, at 2:49 PM, Graham Percival wrote:

Sorry, I read it too quickly.  The results are a little bit better  
if you use \line instead of \fill-line, but I agree that there's  
still too much space between the elements.


I really recommend using minimal examples, with correct  
indentation, though.  This makes it much easier to see what's  
happening and to investigate the problem.  The example below has  
all the important features of your example, but it's quicker to  
understand the snippet.


Cheers,
- Graham


%  the music should be closer to the foo
snip = \markup {
\score
{ \new Staff \with {
\remove Time_signature_engraver
firstClef = ##f
}
{   c''4\\ a'  }
\layout { ragged-right = ##t }
}
}
\markup {
  \line{
foo
\snip
  }
}


Thank you. I had included the extra text, etc., in case the line- 
length and word-wrap might have bearing on the solution.


A png of a small portion of text with imbed is attached.

Stan

inline: Picture 1.png___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Writing a book (libretto) using LilyPond

2007-09-30 Thread Nicolas Sceaux
Valentin Villenave [EMAIL PROTECTED] writes:

 How can you manage to prevent the Character names and the didascalies
 to be separated from the main dialogue text when a page Break occurs?

If you want the following text to be breakable after its first line,
then I think there is nothing built-in to do that, you'd need to define
a new markuplist command.

If you want the text said by a character not to be broken too, then
enclose the character name, didascalies and text inside a \column.

nicolas


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


Canorus 0.4 released

2007-09-30 Thread Matevž Jekovec
Canorus development team is happy to announce the new release of Canorus - a 
free cross-platform music score editor, version 0.4. The new version brings 
dozens of new features and stability fixes. Upgrade is recommended for all the 
users.

You can download it here:
http://developer.berlios.de/project/showfiles.php?group_id=6144

Short changelog:
- Settings dialog.
- Customizable colors for Score editor.
- Element advanced properties dialog with abilities to change order of elements.
- Document recovery, if Canorus crashes.
- Copy/Paste.
- Undo/Redo.
- Splash screen.
- MIDI instrument per voice support.
- Key signature major/minor support and function marking integration.
- All predefined clefs supported by LilyPond with custom offsets.
- Scripting engine is now always synchronized with the current API.
- Python engine uses objective Swig interface.
- New CanorusML support in scripting library for directly opening/saving 
Canorus files.
- New playback support in scripting library.
- Supported translations besides English: Slovenian, Dutch, Swedish, Hebrew, 
German.
- Keyboard bindings for note insertion, playback and selection.
- Qt4.3 compatibility.
- Lots of smaller additions and even more fixes.


Regards.
- Matevž Jekovec
Canorus development team
http://www.canorus.org




signature.asc
Description: OpenPGP digital signature
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Canorus 0.4 released

2007-09-30 Thread Eyolf Østrem
On 30.09.2007 (23:41), Matevž Jekovec wrote:

 - Document recovery, if Canorus crashes.

... which it does. I've compiled and installed it, but I always get
segfaults with  this message:

(eval): [BUG] Segmentation fault
ruby 1.8.6 (2007-09-23) [i686-linux]

zsh: abort  canorus

In fact, I don't even get a first window, and none of the buttons
work, nothing. But when I try to import a midi file, e.g., or open a
new view, it segfaults.

Eyolf

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


-- 
But, for my own part, it was Greek to me.
-- William Shakespeare, Julius Caesar


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