Re: lilypond-user Digest, Vol 66, Issue 13

2008-05-06 Thread Mats Bengtsson



Frederick Dennis wrote:
The ignore melismata routine is fine but I would also like to use 
dotted slurs.
If you search for "dotted" in the "LilyPond Index" in the manual (i.e. 
the index of the manual),
you will find that there's a predefined macro \slurDotted that makes all 
following slurs be dotted.



Putting #(set-global-staff-size 14) in \paper
doesn't make any difference. 
You have to insert these lines above the score you want it to apply to, 
in the .ly file.
Also, there's no need to include the setting in a \paper block (where 
did you get that

impression that this was needed?).

   /Mats


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


pdf is not procuced

2008-05-06 Thread Stefan Thomas
Dear lilypond users,
when I want to make a pdf-file of my score I get the following message:
pdf is not procuced
/home/Stefan/partituren/differance/musik/musik_ab94.ly:154:4: Warnung: Keine
rhythmische Gruppe zu beenden
r 4
\times 2/3 { r 8 e'\p f, } | %nochnschlagzwo 107
[8][8]
Vorverarbeitung der grafischen Elemente...
Programmierfehler: Multi_measure_rest::get_rods (): I am not spanned!
Fortsetzung, die Daumen drücken
Programmierfehler: Multi_measure_rest::get_rods (): I am not spanned!
Fortsetzung, die Daumen drücken
Programmierfehler: Multi_measure_rest::get_rods (): I am not spanned!
Fortsetzung, die Daumen drücken
Programmierfehler: Multi_measure_rest::get_rods (): I am not spanned!
Fortsetzung, die Daumen drücken
Programmierfehler: Multi_measure_rest::get_rods (): I am not spanned!
Fortsetzung, die Daumen drücken
Programmierfehler: Multi_measure_rest::get_rods (): I am not spanned!
Fortsetzung, die Daumen drücken
Ideale Seitenanzahl wird gefunden...
Musik wird auf 1 oder 2 Seiten angepasst...
Systeme erstellen...
Layout nach »partitur.ps« ausgeben...
Konvertierung nach »partitur.pdf«...
»gs -q  -dSAFER  -dDEVICEWIDTHPOINTS=595.28 -dDEVICEHEIGHTPOINTS=841.89
-dCompatibilityLevel=1.4  -dNOPAUSE -dBATCH -r1200  -sDEVICE=pdfwrite
-sOutputFile="partitur.pdf" -c .setpdfwrite -f "partitur.ps"« gescheitert
(256)
Programmierfehler: Parsed object should be dead: static scm_unused_struct*
Prob::mark_smob(scm_unused_struct*)
Fortsetzung, die Daumen drücken
Programmierfehler: Parsed object should be dead: static scm_unused_struct*
Context_def::mark_smob(scm_unused_struct*)
Fortsetzung, die Daumen drücken
Programmierfehler: Parsed object should be dead: static scm_unused_struct*
Lily_lexer::mark_smob(scm_unused_struct*)
Fortsetzung, die Daumen drücken
Programmierfehler: Parsed object should be dead: static scm_unused_struct*
Grob::mark_smob(scm_unused_struct*)
Fortsetzung, die Daumen drücken
Fehler: gescheiterte Dateien: "partitur.ly"
What does it mean?
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: All Ye People Clap your hands (was Re: lilypond-user Digest, Vol 66, Issue 13)

2008-05-06 Thread Father Gordon Gilbert
 stays the same size. Shouldn't it get shorter as the note head
> > shrinks?
>
> No, that's not intended.  You can certainly shorten the stem in
> other ways; consult the LM in 2.11 to learn how to construct
> tweaks.
>
> Cheers,
> - Graham
>
>
>
>
> --
>
> Message: 8
> Date: Tue, 06 May 2008 09:53:04 +0200
> From: Mats Bengtsson <[EMAIL PROTECTED]>
> Subject: Re: lilypond-user Digest, Vol 66, Issue 13
> To: Frederick Dennis <[EMAIL PROTECTED]>
> Cc: lilypond-user@gnu.org
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
>
>
> Frederick Dennis wrote:
> > The ignore melismata routine is fine but I would also like to use
> > dotted slurs.
> If you search for "dotted" in the "LilyPond Index" in the manual (i.e.
> the index of the manual),
> you will find that there's a predefined macro \slurDotted that makes all
> following slurs be dotted.
>
> > Putting #(set-global-staff-size 14) in \paper
> > doesn't make any difference.
> You have to insert these lines above the score you want it to apply to,
> in the .ly file.
> Also, there's no need to include the setting in a \paper block (where
> did you get that
> impression that this was needed?).
>
>/Mats
>
>
>
>
> --
>
> Message: 9
> Date: Tue, 6 May 2008 11:49:12 +0200
> From: "Stefan Thomas" <[EMAIL PROTECTED]>
> Subject: pdf is not procuced
> To: lilypond-user 
> Message-ID:
><[EMAIL PROTECTED]>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Dear lilypond users,
> when I want to make a pdf-file of my score I get the following message:
> pdf is not procuced
> /home/Stefan/partituren/differance/musik/musik_ab94.ly:154:4: Warnung:
> Keine
> rhythmische Gruppe zu beenden
> r 4
>\times 2/3 { r 8 e'\p f, } | %nochnschlagzwo 107
> [8][8]
> Vorverarbeitung der grafischen Elemente...
> Programmierfehler: Multi_measure_rest::get_rods (): I am not spanned!
> Fortsetzung, die Daumen drücken
> Programmierfehler: Multi_measure_rest::get_rods (): I am not spanned!
> Fortsetzung, die Daumen drücken
> Programmierfehler: Multi_measure_rest::get_rods (): I am not spanned!
> Fortsetzung, die Daumen drücken
> Programmierfehler: Multi_measure_rest::get_rods (): I am not spanned!
> Fortsetzung, die Daumen drücken
> Programmierfehler: Multi_measure_rest::get_rods (): I am not spanned!
> Fortsetzung, die Daumen drücken
> Programmierfehler: Multi_measure_rest::get_rods (): I am not spanned!
> Fortsetzung, die Daumen drücken
> Ideale Seitenanzahl wird gefunden...
> Musik wird auf 1 oder 2 Seiten angepasst...
> Systeme erstellen...
> Layout nach »partitur.ps« ausgeben...
> Konvertierung nach »partitur.pdf«...
> »gs -q  -dSAFER  -dDEVICEWIDTHPOINTS=595.28 -dDEVICEHEIGHTPOINTS=841.89
> -dCompatibilityLevel=1.4  -dNOPAUSE -dBATCH -r1200  -sDEVICE=pdfwrite
> -sOutputFile="partitur.pdf" -c .setpdfwrite -f "partitur.ps"« gescheitert
> (256)
> Programmierfehler: Parsed object should be dead: static scm_unused_struct*
> Prob::mark_smob(scm_unused_struct*)
> Fortsetzung, die Daumen drücken
> Programmierfehler: Parsed object should be dead: static scm_unused_struct*
> Context_def::mark_smob(scm_unused_struct*)
> Fortsetzung, die Daumen drücken
> Programmierfehler: Parsed object should be dead: static scm_unused_struct*
> Lily_lexer::mark_smob(scm_unused_struct*)
> Fortsetzung, die Daumen drücken
> Programmierfehler: Parsed object should be dead: static scm_unused_struct*
> Grob::mark_smob(scm_unused_struct*)
> Fortsetzung, die Daumen drücken
> Fehler: gescheiterte Dateien: "partitur.ly"
> What does it mean?
> -- next part --
> An HTML attachment was scrubbed...
> URL:
> http://lists.gnu.org/pipermail/lilypond-user/attachments/20080506/a9ae0073/attachment.html
>
> --
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> http://lists.gnu.org/mailman/listinfo/lilypond-user
>
>
> End of lilypond-user Digest, Vol 66, Issue 15
> *
>



-- 
Fr. Gordon Gilbert
Penetanguishene, ON
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: All Ye People Clap your hands (was Re: lilypond-user Digest, Vol 66, Issue 13)

2008-05-06 Thread Francisco Vila
2008/5/6 Father Gordon Gilbert <[EMAIL PROTECTED]>:
> But I get several warnings when it tries to compile.  I get the pdf just
> fine, but the midi is stupid (I don't really care, but I'd like to fix it if
> possible so when I *do* need the midi it will work.)
> warning: MIDI channel wrapped around
> warning: remapping modulo 16

MIDI files can not have more than 16 channels, that's why your output
gets remapped channels modulo 16 (i.e. starting again from the first
channel). You have too much voices, maybe you could make a specia midi
block that contains only the essential voices for hearing, so their
number do not exceed the maximum allowed.
-- 
Francisco Vila. Badajoz (Spain)
http://www.paconet.org


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


Re: All Ye People Clap your hands (was Re: lilypond-user Digest, Vol 66, Issue 13)

2008-05-06 Thread Francisco Vila
2008/5/6 Francisco Vila <[EMAIL PROTECTED]>:
>  MIDI files can not have more than 16 channels, that's why your output
>  gets remapped channels modulo 16 (i.e. starting again from the first
>  channel). You have too much voices, maybe you could make a specia midi
>  block that contains only the essential voices for hearing, so their
>  number do not exceed the maximum allowed.

Moreover, these warnings are probably harmless if your MIDI sounds
well, as more than one voice could perfectly sound on a shared channel
among other one, in modern MIDI players (provided that you want the
same sound type on both of them)

If you hear some strange drum sounds, this is because your media
player has a dedicated channel for this, usually #10 or #16.

In this case I don't know what to do from the LilyPond side, except to
use fewer than 10 channels/voices.

-- 
Francisco Vila. Badajoz (Spain)
http://www.paconet.org


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


Re: pdf is not procuced

2008-05-06 Thread James E. Bailey


Am 06.05.2008 um 11:49 schrieb Stefan Thomas:


Dear lilypond users,
when I want to make a pdf-file of my score I get the following  
message:

pdf is not procuced
/home/Stefan/partituren/differance/musik/musik_ab94.ly:154:4:  
Warnung: Keine rhythmische Gruppe zu beenden

r 4
\times 2/3 { r 8 e'\p f, } | %nochnschlagzwo 107


no spaces between the note (or rests in this case) and the duration:
r4 \times 2/3 {r8 e'\p f,}


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


Re: All Ye People Clap your hands (was Re: lilypond-user Digest, Vol 66, Issue 13)

2008-05-06 Thread Mats Bengtsson

Francisco, your answer is partially relevant here.

Yes, there's a limitation of 16 channels in MIDI. In LilyPond, each 
Staff and Lyrics context
will result in a new MIDI channel and since channel 0 is reserved for 
common information
and channel 10 is reserved for percussion, there are only 14 left for 
Staff plus Lyrics contexts.
Note that LilyPond automatically will use channel 10 only for 
percussion, so there's no risk

for strange drum sounds unless you really want them.

In this particular .ly file, several unnecessary Lyrics contexts were 
introduced but never used,

which made the problem even worse. The \score block can be simplified into:
\score {
   <<
   \context ChoirStaff <<
   \staffSoprano
   \new Lyrics  \lyricsto "melodySop" \verseone
   \new Lyrics  \lyricsto "melodySop" \versetwo
   \new Lyrics  \lyricsto "melodySop" \versethree

   \staffAlto
   \new Lyrics  \lyricsto "melodyAlt" \verseone
   \new Lyrics  \lyricsto "melodyAlt" \versetwo
   \new Lyrics  \lyricsto "melodyAlt" \versethree

   \staffTenor
   \new Lyrics  \lyricsto "melodyTen" \verseone
   \new Lyrics  \lyricsto "melodyTen" \versetwo
   \new Lyrics  \lyricsto "melodyTen" \versethree
 
   \staffBass

   \new Lyrics  \lyricsto "melodyBas" \verseone
   \new Lyrics  \lyricsto "melodyBas" \versetwo
   \new Lyrics  \lyricsto "melodyBas" \versethree
   >>
   \staffPiano
   >>
 
   \midi {

   }

   \layout  {
 
   }

}


Still, this results in more than 14 used MIDI channels, since the same 
lyrics is repeated below each stave.
One simple workaround is to make separate \score{...} blocks for the 
MIDI and the printed output:

\score{
 ...
\layout{}
}

\score {
   <<
   \context ChoirStaff <<
   \staffSoprano
   \new Lyrics  \lyricsto "melodySop" \verseone
   \new Lyrics  \lyricsto "melodySop" \versetwo
   \new Lyrics  \lyricsto "melodySop" \versethree

   \staffAlto
   \staffTenor
   \staffBass
   >>
   \staffPiano
   >>
 
   \midi {

   }
}

   /Mats

Francisco Vila wrote:

2008/5/6 Francisco Vila <[EMAIL PROTECTED]>:
  

 MIDI files can not have more than 16 channels, that's why your output
 gets remapped channels modulo 16 (i.e. starting again from the first
 channel). You have too much voices, maybe you could make a specia midi
 block that contains only the essential voices for hearing, so their
 number do not exceed the maximum allowed.



Moreover, these warnings are probably harmless if your MIDI sounds
well, as more than one voice could perfectly sound on a shared channel
among other one, in modern MIDI players (provided that you want the
same sound type on both of them)

If you hear some strange drum sounds, this is because your media
player has a dedicated channel for this, usually #10 or #16.

In this case I don't know what to do from the LilyPond side, except to
use fewer than 10 channels/voices.

  




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


Re: pdf is not procuced

2008-05-06 Thread Trevor Daniels


I don't think this is the problem.  White space in general is ignored and I 
certainly do not get any errors when I try this small example with spaces 
between the note and its duration.


Stefan - maybe the error is elsewhere.  Could you post a slightly longer 
extract so we can see the earlier context.


Trevor

- Original Message - 
From: "James E. Bailey" <[EMAIL PROTECTED]>

To: "Stefan Thomas" <[EMAIL PROTECTED]>
Cc: "lilypond-user" 
Sent: Tuesday, May 06, 2008 1:41 PM
Subject: Re: pdf is not procuced




Am 06.05.2008 um 11:49 schrieb Stefan Thomas:


Dear lilypond users,
when I want to make a pdf-file of my score I get the following  message:
pdf is not procuced
/home/Stefan/partituren/differance/musik/musik_ab94.ly:154:4:  Warnung: 
Keine rhythmische Gruppe zu beenden

r 4
\times 2/3 { r 8 e'\p f, } | %nochnschlagzwo 107


no spaces between the note (or rests in this case) and the duration:
r4 \times 2/3 {r8 e'\p f,}


___
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: All Ye People Clap your hands (was Re: lilypond-user Digest, Vol 66, Issue 13)

2008-05-06 Thread Francisco Vila
2008/5/6 Mats Bengtsson <[EMAIL PROTECTED]>:
>  Note that LilyPond automatically will use channel 10 only for percussion,
> so there's no risk
>  for strange drum sounds unless you really want them.

Sorry, I didn't know that. Thanks

>  In this particular .ly file

The original message did not come with any attached .ly file

> several unnecessary Lyrics contexts were
> introduced but never used,

I had to wonder that something similar was happening.

>  One simple workaround is to make separate \score{...} blocks for the MIDI
> and the printed output:

>  Francisco Vila wrote:
> > >  You have too much voices, maybe you could make a specia midi
> > >  block that contains only the essential voices for hearing, so their
> > >  number do not exceed the maximum allowed.

-- 
Francisco Vila. Badajoz (Spain)
http://www.paconet.org


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


Lyric representation in MIDI?

2008-05-06 Thread Mats Bengtsson
Perhaps some of you have MIDI expertise enough to answer the following 
question.


Currently, LilyPond uses a separate track (and channel) for each Lyric 
context to output
the corresponding lyric syllables, so that players like timidity (and 
certainly several other
"Karaoke" like players) can print the lyrics on the screen while playing 
the music.
Using one track for each Lyric context seems like a waste, especially in 
examples like the
"All ye People Clap your Hands" posted earlier today on lilypond-user, 
where the same
lyrics is repeated below each stave for readibility reasons. However, 
even otherwise I
don't really see the point of separating the different lyric lines into 
separate tracks/channels.


Is there any possibility to lump all the lyrics into a single 
track/channel, perhaps even in the
control track (track 0) so that the remaining 14 channels can be used 
for the actual music
(one channel per Staff context, by default)? Because of the lack of 
standardization of MIDI,
I guess you would have to try a number of different sequencers and MIDI 
players to
make sure that this works as expected, or perhaps some of you have 
experience enough to

answer the question anyway?

As far as I can see, there are no channel number indications in the 
lyric messages in the
generated MIDI files, which according to my reading of 
http://lists.gnu.org/archive/html/bug-lilypond/2003-10/msg00069.html

indicates that they actually should be placed in track 0.

For songs with several verses, I guess the lyric printouts won't make 
any sense, no matter how

we place the information in the MIDI files.

   /Mats

--
=
Mats Bengtsson
Signal Processing
School of Electrical Engineering
Royal Institute of Technology (KTH)
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: Lyric representation in MIDI?

2008-05-06 Thread Francisco Vila
2008/5/6 Mats Bengtsson <[EMAIL PROTECTED]>:
>  Currently, LilyPond uses a separate track (and channel) for each Lyric
> context to output
>  the corresponding lyric syllables,

AFAICT all lyrics could perfectly go into the same track. Lyrics
events and other META events do not have a channel.

One difference between tracks and channels is that tracks should not
affect playback, they are there only for convenience if you want to
import the file into a sequencer.

Also remember that tracks can mix events from multiple channels.

> so that players like timidity (and
> certainly several other
>  "Karaoke" like players) can print the lyrics on the screen while playing
> the music.


>  Using one track for each Lyric context seems like a waste,

AFAICT tracks do not have the limit of 16.

> I
>  don't really see the point of separating the different lyric lines into
> separate tracks/channels.

Can the lyrics really be separated into separate channels?

>
>  Is there any possibility to lump all the lyrics into a single
> track/channel,

Do Lyrics have a channel at all? I think not.

> perhaps even in the
>  control track (track 0) so that the remaining 14 channels

You mix tracks and channels again. Use track 0 for lyrics and you
still have many free tracks, with 15 channels each.

-- 
Francisco Vila. Badajoz (Spain)
http://www.paconet.org


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


Re: All Ye People Clap your hands (was Re: lilypond-user

2008-05-06 Thread Ralph Little
Hi,
I don't know if this is what you are looking for but here is something that 
Mats posted sometime back (2003) I believe:

http://www.mail-archive.com/lilypond-user@gnu.org/msg03243.html

Regards,
Ralph

   
-
Instant message from any web browser! Try the new  Yahoo! Canada Messenger for 
the Web BETA___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: pdf is not procuced

2008-05-06 Thread Stefan Thomas
Dear Trevor , dear James,
Yes the mistake must be something else.
The first 22 pages of the score are ok. The mistake must be in a later
fragment.
I have to find the mistake in this part of the score.
For the future I know: I have to make more backups of older versions.

2008/5/6 Trevor Daniels <[EMAIL PROTECTED]>:

>
> I don't think this is the problem.  White space in general is ignored and
> I certainly do not get any errors when I try this small example with spaces
> between the note and its duration.
>
> Stefan - maybe the error is elsewhere.  Could you post a slightly longer
> extract so we can see the earlier context.
>
> Trevor
>
> - Original Message - From: "James E. Bailey" <[EMAIL PROTECTED]
> >
> To: "Stefan Thomas" <[EMAIL PROTECTED]>
> Cc: "lilypond-user" 
> Sent: Tuesday, May 06, 2008 1:41 PM
> Subject: Re: pdf is not procuced
>
>
>
> > Am 06.05.2008 um 11:49 schrieb Stefan Thomas:
> >
> >  Dear lilypond users,
> > > when I want to make a pdf-file of my score I get the following
> > >  message:
> > > pdf is not procuced
> > > /home/Stefan/partituren/differance/musik/musik_ab94.ly:154:4:
> > >  Warnung: Keine rhythmische Gruppe zu beenden
> > > r 4
> > >\times 2/3 { r 8 e'\p f, } | %nochnschlagzwo 107
> > >
> >
> > no spaces between the note (or rests in this case) and the duration:
> > r4 \times 2/3 {r8 e'\p f,}
> >
> >
> > ___
> > 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


Two voices, only one note

2008-05-06 Thread Alberto Simões

Hi, Folks

I would like to mimic a score I have, where there are two voices in the
same score, but the note is used for both (instead of replicating it).

I am using this code:

<< { c8[ c'(-1 g c g c]) } \\ { c,2. } >>

And lilypond renders to notes for the first C. There is a common 
notation where the dotted minim is drawn with the beam down, and another 
beam up that is together with the other notes.


Is this possible?

Thanks for any help
Alberto
--
Alberto Simões - Departamento de Informática - Universidade do Minho
  Campus de Gualtar - 4710-057 Braga - Portugal



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


Glissandi as "slides" in vocal music

2008-05-06 Thread Stephen
I am searching your archives and pages for the equivalent of slides in vocal 
music.

The appearance of a slide is a short glissando beginning (or ending) at a note 
head.  I have a SATB two-staff score with several slides and am wondering if 
there is any way to coerce these out of the glissando and scripts.  The 
problems here are two-fold: (1) I need to have the ability to begin (end) the 
glissando on a note without a visible end (begin) note, and (2) I need to be 
able to put multiple glissandi slides on the notes of a chord.

Where should I be looking for a solution?



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


Re: Two voices, only one note

2008-05-06 Thread Valentin Villenave
2008/5/6 Alberto Simões <[EMAIL PROTECTED]>:

>  Is this possible?

Try
  \override Staff.NoteCollision  #'merge-differently-headed = ##t
and
  \override Staff.NoteCollision  #'merge-differently-dotted = ##t

These commands are explained on
http://lilypond.org/doc/v2.11/Documentation/user/lilypond/Collision-Resolution

Cheers,
Valentin


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


Re: Two voices, only one note

2008-05-06 Thread Simon Bailey

alberto,

On May 6, 2008, at 6:48 PM, Alberto Simões wrote:
I would like to mimic a score I have, where there are two voices in  
the

same score, but the note is used for both (instead of replicating it).

I am using this code:

<< { c8[ c'(-1 g c g c]) } \\ { c,2. } >>

And lilypond renders to notes for the first C. There is a common  
notation where the dotted minim is drawn with the beam down, and  
another beam up that is together with the other notes.


Is this possible?


try:

<<
{
\override Staff.NoteCollision #'merge-differently-headed = ##t
c8[ c'(-1 g c g c])
} \\
{ c,2. }
>>

found here:
http://lilypond.org/doc/v2.11/Documentation/user/lilypond/Collision-resolution#Collision-resolution

regards,
sb

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


Chords problem

2008-05-06 Thread Christian Jägle
Hi,

I want to insert a few (not all) chord names in a sheet.

I trid the following:

\relative c {
 ..
 <<   \chords { cis:m1 }  
 { cis,1 } >>
  ..
}

but then the Chord name is below the melody. How can I achieve, that the chord 
is above the melody line. I thought about an extra chord part with rests 
before and after the wanted chords, but I couldnt make it.




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


Re: Two voices, only one note

2008-05-06 Thread Alberto Simões



Simon Bailey wrote:

try:

<<
{
\override Staff.NoteCollision #'merge-differently-headed = ##t
c8[ c'(-1 g c g c])
} \\
{ c,2. }
 >>

found here:
http://lilypond.org/doc/v2.11/Documentation/user/lilypond/Collision-resolution#Collision-resolution 



Damn. I think this is new with 2.11, and I couldn't make 2.11 work on 
Leopard :(


Thanks, anyway
--
Alberto Simões - Departamento de Informática - Universidade do Minho
 Campus de Gualtar - 4710-057 Braga - Portugal


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


Re: Two voices, only one note

2008-05-06 Thread Damian leGassick
the ppc version of 2.11 works fine on leopard from the command line or  
within jEdit or Textmate


it's only the bundled text editing program that does not work yet

all the best

d

On 6 May 2008, at 20:57, Alberto Simões wrote:




Simon Bailey wrote:

try:
<<
   {
   \override Staff.NoteCollision #'merge-differently-headed = ##t
   c8[ c'(-1 g c g c])
   } \\
   { c,2. }
>>
found here:
http://lilypond.org/doc/v2.11/Documentation/user/lilypond/Collision-resolution#Collision-resolution


Damn. I think this is new with 2.11, and I couldn't make 2.11 work  
on Leopard :(


Thanks, anyway
--
Alberto Simões - Departamento de Informática - Universidade do Minho
Campus de Gualtar - 4710-057 Braga - Portugal


___
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: Two voices, only one note

2008-05-06 Thread Alberto Simões



Damian leGassick wrote:
the ppc version of 2.11 works fine on leopard from the command line or 
within jEdit or Textmate


it's only the bundled text editing program that does not work yet


The latest that I tried was missing libstdc++ :-(
I can try again soon

Thanks
Alberto



all the best

d

On 6 May 2008, at 20:57, Alberto Simões wrote:




Simon Bailey wrote:

try:
<<
   {
   \override Staff.NoteCollision #'merge-differently-headed = ##t
   c8[ c'(-1 g c g c])
   } \\
   { c,2. }
>>
found here:
http://lilypond.org/doc/v2.11/Documentation/user/lilypond/Collision-resolution#Collision-resolution 



Damn. I think this is new with 2.11, and I couldn't make 2.11 work on 
Leopard :(


Thanks, anyway
--
Alberto Simões - Departamento de Informática - Universidade do Minho
Campus de Gualtar - 4710-057 Braga - Portugal


___
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


--
Alberto Simões - Departamento de Informática - Universidade do Minho
 Campus de Gualtar - 4710-057 Braga - Portugal


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


Re: Two voices, only one note

2008-05-06 Thread Mats Bengtsson

Quoting Alberto Simões <[EMAIL PROTECTED]>:




Simon Bailey wrote:

try:

<<
{
\override Staff.NoteCollision #'merge-differently-headed = ##t
c8[ c'(-1 g c g c])
} \\
{ c,2. }
 >>

found here:
http://lilypond.org/doc/v2.11/Documentation/user/lilypond/Collision-resolution#Collision-resolution


Damn. I think this is new with 2.11, and I couldn't make 2.11 work on
Leopard :(


Did you try with version 2.10? It seems to work well with 2.10.23 when
I try it, and the property is documented at
http://lilypond.org/doc/v2.10/Documentation/user/lilypond-internals/NoteCollision#NoteCollision

   /Mats



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


Re: Two voices, only one note

2008-05-06 Thread Alberto Simões

Mats Bengtsson wrote:
Did you try with version 2.10? It seems to work well with 2.10.23 when I 
try it, and the property is documented at 
http://lilypond.org/doc/v2.10/Documentation/user/lilypond-internals/NoteCollision#NoteCollision 


Well, yes. I tried it :-S
I have 2.10.33 here.

  << {  \override Staff.NoteCollision  #'merge-differently-headed = ##t 


c8[ c'(-1 g-2 c g c]) } \\ { c,2. } >>

:-(

Thanks
Alberto

--
Alberto Simões - Departamento de Informática - Universidade do Minho
 Campus de Gualtar - 4710-057 Braga - Portugal


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


Re: Two voices, only one note

2008-05-06 Thread Damian leGassick

it works for me on 10.5.2

i'm thinking...i do have xtools installed - that might be the  
difference as regards the missing library


d


On 6 May 2008, at 21:36, Alberto Simões wrote:


Mats Bengtsson wrote:
Did you try with version 2.10? It seems to work well with 2.10.23  
when I try it, and the property is documented at http://lilypond.org/doc/v2.10/Documentation/user/lilypond-internals/NoteCollision#NoteCollision


Well, yes. I tried it :-S
I have 2.10.33 here.

 << {  \override Staff.NoteCollision  #'merge-differently-headed = ##t
   c8[ c'(-1 g-2 c g c]) } \\ { c,2. } >>

:-(

Thanks
Alberto

--
Alberto Simões - Departamento de Informática - Universidade do Minho
Campus de Gualtar - 4710-057 Braga - Portugal


___
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: Two voices, only one note

2008-05-06 Thread Alberto Simões

Damian leGassick wrote:

it works for me on 10.5.2

i'm thinking...i do have xtools installed - that might be the difference 
as regards the missing library


I have it as well.

[EMAIL PROTECTED] tmp]$ find /Applications/LilyPond.app/ -name libstd*
/Applications/LilyPond.app//Contents/Resources/lib/libstdc++.6.0.8.dylib
/Applications/LilyPond.app//Contents/Resources/lib/libstdc++.6.dylib
/Applications/LilyPond.app//Contents/Resources/lib/libstdc++.dylib
/Applications/LilyPond.app//Contents/Resources/lib/libstdc++.la


But for the image at
http://download.linuxaudio.org/lilypond/binaries/darwin-ppc/lilypond-2.11.45-2.darwin-ppc.tar.bz2

[EMAIL PROTECTED] tmp]$ pwd
/Users/ambs/tmp
[EMAIL PROTECTED] tmp]$ find LilyPond.app/ -name libstd*
[EMAIL PROTECTED] tmp]$


I would say that that tbz is borked

Cheers



d


On 6 May 2008, at 21:36, Alberto Simões wrote:


Mats Bengtsson wrote:
Did you try with version 2.10? It seems to work well with 2.10.23 
when I try it, and the property is documented at 
http://lilypond.org/doc/v2.10/Documentation/user/lilypond-internals/NoteCollision#NoteCollision 



Well, yes. I tried it :-S
I have 2.10.33 here.

 << {  \override Staff.NoteCollision  #'merge-differently-headed = ##t
   c8[ c'(-1 g-2 c g c]) } \\ { c,2. } >>

:-(

Thanks
Alberto

--
Alberto Simões - Departamento de Informática - Universidade do Minho
Campus de Gualtar - 4710-057 Braga - Portugal


___
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


--
Alberto Simões - Departamento de Informática - Universidade do Minho
 Campus de Gualtar - 4710-057 Braga - Portugal


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


Re: Two voices, only one note

2008-05-06 Thread Mats Bengtsson

Quoting Alberto Simões <[EMAIL PROTECTED]>:


Well, yes. I tried it :-S
I have 2.10.33 here.

  << {  \override Staff.NoteCollision  #'merge-differently-headed = ##t

c8[ c'(-1 g-2 c g c]) } \\ { c,2. } >>

:-(


Since you want to merge a dotted note with a non-dotted one, you also
need \override Staff.NoteCollision #'merge-differently-dotted = ##t

  /Mats



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


Re: Two voices, only one note

2008-05-06 Thread Alberto Simões



Mats Bengtsson wrote:

Quoting Alberto Simões <[EMAIL PROTECTED]>:


Well, yes. I tried it :-S
I have 2.10.33 here.

  << {  \override Staff.NoteCollision  #'merge-differently-headed = ##t

c8[ c'(-1 g-2 c g c]) } \\ { c,2. } >>

:-(


Since you want to merge a dotted note with a non-dotted one, you also 
need \override Staff.NoteCollision #'merge-differently-dotted = ##t


Stupid me.
It works now.
Thank you a lot.

Alberto
--
Alberto Simões - Departamento de Informática - Universidade do Minho
 Campus de Gualtar - 4710-057 Braga - Portugal


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


Re: Two voices, only one note

2008-05-06 Thread Alberto Simões

Alberto Simões wrote:



Mats Bengtsson wrote:

Quoting Alberto Simões <[EMAIL PROTECTED]>:


Well, yes. I tried it :-S
I have 2.10.33 here.

  << {  \override Staff.NoteCollision  #'merge-differently-headed = ##t

c8[ c'(-1 g-2 c g c]) } \\ { c,2. } >>

:-(


Since you want to merge a dotted note with a non-dotted one, you also 
need \override Staff.NoteCollision #'merge-differently-dotted = ##t


Stupid me.
It works now.
Thank you a lot.


Sorry to bother a little more.
Any hint on why it doesn't work on this case?

<< { \override Staff.NoteCollision #'merge-differently-headed = ##t
 \override Staff.NoteCollision #'merge-differently-dotted = ##t
 f4 f' f } \\ { f,2. } >>

Thanks


Alberto


--
Alberto Simões - Departamento de Informática - Universidade do Minho
 Campus de Gualtar - 4710-057 Braga - Portugal


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


Re: Two voices, only one note

2008-05-06 Thread Neil Puttock
2008/5/6 Neil Puttock <[EMAIL PROTECTED]>:
> Hi Alberto,
>
>  2008/5/6 Alberto Simões <[EMAIL PROTECTED]>:
>
>
>  >  Sorry to bother a little more.
>  >  Any hint on why it doesn't work on this case?
>  >
>  >
>  >  << { \override Staff.NoteCollision #'merge-differently-headed = ##t
>  >  \override Staff.NoteCollision #'merge-differently-dotted = ##t
>  >  f4 f' f } \\ { f,2. } >>
>
>  LilyPond won't merge crotchets and minims because it makes them look
>  the same. In your example, if a merge were allowed, your dotted minim
>  would look just like a dotted crotchet.
>
>  I assume you want the dotted note to remain a minim; if so, the trick
>  is to scale the duration of the crotchet so it appears to be a minim:
>
>
>  << { \override Staff.NoteCollision #'merge-differently-headed = ##t
> \override Staff.NoteCollision #'merge-differently-dotted = ##t
>   f2*1/2 f' f } \\ { f,2. } >>
>
>  Regards,
>  Neil
>

Oops, I forgot to reset the duration; here's the correct snippet. :)

 << { \override Staff.NoteCollision #'merge-differently-headed = ##t
   \override Staff.NoteCollision #'merge-differently-dotted = ##t
 f2*1/2 f'4 f } \\ { f,2. } >>


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


Re: Two voices, only one note

2008-05-06 Thread Trevor Daniels


Alberto Simões wrote


Sorry to bother a little more.
Any hint on why it doesn't work on this case?


<< { \override Staff.NoteCollision #'merge-differently-headed = ##t
 \override Staff.NoteCollision #'merge-differently-dotted = ##t
 f4 f' f } \\ { f,2. } >>

I suspect it is because a quarter note and a dotted minim could not be 
distinguished from a dotted quarter and a minim if they are merged, so 
LilyPond will not do it.  At least one of the notes must have a beam or 
flag.



Alberto


Trevor



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


Re: Two voices, only one note

2008-05-06 Thread Neil Puttock
Hi Alberto,

2008/5/6 Alberto Simões <[EMAIL PROTECTED]>:

>  Sorry to bother a little more.
>  Any hint on why it doesn't work on this case?
>
>
>  << { \override Staff.NoteCollision #'merge-differently-headed = ##t
>  \override Staff.NoteCollision #'merge-differently-dotted = ##t
>  f4 f' f } \\ { f,2. } >>

LilyPond won't merge crotchets and minims because it makes them look
the same. In your example, if a merge were allowed, your dotted minim
would look just like a dotted crotchet.

I assume you want the dotted note to remain a minim; if so, the trick
is to scale the duration of the crotchet so it appears to be a minim:

<< { \override Staff.NoteCollision #'merge-differently-headed = ##t
\override Staff.NoteCollision #'merge-differently-dotted = ##t
  f2*1/2 f' f } \\ { f,2. } >>

Regards,
Neil


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


Re: Chords problem

2008-05-06 Thread Gilles Sadowski
Hello.

> I want to insert a few (not all) chord names in a sheet.
> 
> I trid the following:
> 
> \relative c {
>  ..
>  <<   \chords { cis:m1 }  
>  { cis,1 } >>
>   ..
> }
> 
> but then the Chord name is below the melody. 

Not so here; this code

%-
\version "2.10.10"


theMusic = \relative c {
  \time 4/4 |
  << \chords {cis:m1} {cis,1} >>
}

\score {
\theMusic
\layout {}
}
%-

will indeed print the chord name above the staff.
So the behviour you see must come from another part of your file.

Best,
Gilles


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


markup in \wordwrap-string

2008-05-06 Thread Peter Van Kranenburg

Something like

\markup { \wordwrap-string #" blah \italic { blah } blah"}

doesn't work. From the documentation I could not figure out how to create a 
paragraph of text in which markup is possible. Does someone have a solution for 
this?


Thanks in advance,
Peter van Kranenburg



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


Re: markup in \wordwrap-string

2008-05-06 Thread Peter Van Kranenburg

Peter Van Kranenburg wrote:

Something like

\markup { \wordwrap-string #" blah \italic { blah } blah"}

doesn't work. From the documentation I could not figure out how to 
create a paragraph of text in which markup is possible. Does someone 
have a solution for this?




I was too quick asking this question. I found a solution in the manual

\markuplines {
\justified-lines {par 1 \italic { blah }}
\justified-lines {par 2 }
}

Sorry for bothering you with this.

Peter



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


Re: All Ye People Clap your hands (was Re: lilypond-user

2008-05-06 Thread hhpmusic
Dear Gilbert
So this is the first time I offer help in this list!
Perhaps I can introduce a way I always do with my large orchestral scores with 
part amount from 24 to 42. I get this experience because I ever did it in my 
Braille Music Editor, which is very hard to turn a *listenable braille music 
file* (this is it's only advantage) into Finale--I now give up that foolish 
tool. It's very complicated and stupid probably, but can really result a very 
good Midi output. Please, if you won't see any confusing errors when compiling 
for PDF, add only \layout in your main score file, then make a separate file 
named "foo-midi.ly", and merge parts with the same sound into one staff. For 
example, piccolo and three flutes and alto flute (this must do additional 
transposition to make them sound in concert pitch, because when merging, the 
\transposition may also effect other parts, which are now become Voice in one 
part. Please see my attachment of the midi generator for my trial: First 
Symphony--DOOM). The maximum amount of parts is 16, although there will be a 
single warning. You can reject all lyrics contexts in this file (Oh, I 
remember, if you are doing with a score for voice only, just make two \score 
blocks like the piano template does, then reject lyricx in the \midi one, if 
your staff amount is under 16), then add only \midi { } at the end. After 
compiling, delete the ugly PDF file and ignore all warnings and errors which 
didn't occur in the file you want to produce .pdf.
Hope this will help you! If someone has more economy way, please share!
Haipeng
 
 
 
\version "2.11.42"

\include "sym1.ly"

\score {
  \new StaffGroup = "orchestra" <<
  \new Staff = "flutes" {
\set Staff.midiInstrument = "flute"
  \unfoldRepeats { << { \tempocontrol } \\ { \transpose c f \piccolo } \\ { \transpose c' f \fluteI } \\ { \transpose c' f \fluteII } \\ { \transpose c' f \fluteIII } \\ { \altoflute } >> }
  }
  \new Staff = "oboes" {
\set Staff.midiInstrument = "oboe"
  \unfoldRepeats { << { \transpose c' g' \oboeI } \\ { \transpose c' g' \oboeII } \\ { \transpose c' g' \oboeIII } \\ { \enghorn } >> }
  }
  \new Staff = "clarinets" {
\set Staff.midiInstrument = "clarinet"
  \unfoldRepeats { << { \transpose c c' \clarinetI } \\ { \transpose c c' \clarinetII } \\ { \transpose c c' \clarinetIII } \\ { \bassclarinet } >> }
  }
  \new Staff = "bassoons" {
\set Staff.midiInstrument = "bassoon"
  \unfoldRepeats { << { \transpose c c' \bassoonI } \\ { \transpose c c' \bassoonII } \\ { \transpose c c' \bassoonIII } \\ { \contrabassoon } >> }
  }
  \new Staff = "horns" {
\set Staff.midiInstrument = "french horn"
  \unfoldRepeats { << \hornI \hornII \hornIII >> }
  }
  \new Staff = "trumpets" {
\set Staff.midiInstrument = "trumpet"
  \unfoldRepeats { << \trumpetI \trumpetII \trumpetIII \trumpetIV >> }
  }
  \new Staff = "trombones" {
\set Staff.midiInstrument = "trombone"
  << \tromboneI \tromboneII \tromboneIII \basstrombone >>
  }
  \new Staff = "tuba" {
\set Staff.midiInstrument = "tuba"
  << \tubaI \tubaII >>
  }
  \new Staff = "timpani" {
\set Staff.midiInstrument = "timpani"
  \unfoldRepeats { << \timpaniI \timpaniII >> }
  }
  \new DrumStaff = "percussion" { \unfoldRepeats { \midiPercussion } }
  \new Staff = "harp" {
\set Staff.midiInstrument = "orchestral strings"
\unfoldRepeats { << \harprh \harplh >> }
  }
  \new StaffGroup = "strings" <<
\set StaffGroup.midiInstrument = "string ensemble 1"
\new Staff = "violins" { \unfoldRepeats { << \violinI \violinII >> } }
\new Staff = "viola" { \unfoldRepeats { \viola } }
\new Staff = "violoncello" { \unfoldRepeats { \cello } }
\new Staff = "contrabass" { \unfoldRepeats { \contrabass } }
  >>
>>
  \midi { }
}

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


Header on all pages - how to ?

2008-05-06 Thread Helmut Arnold

Hi list,
I'm new to this list and with lilypond. I like to print the header on 
all pages of a score, but couldn't found any hint, either this 
mailing-archive nor in google.


Can someone telling if its possible ?

Regards
 Helmut



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


Re: Lyric representation in MIDI?

2008-05-06 Thread Arvid Grøtting
Mats Bengtsson <[EMAIL PROTECTED]> writes:

> For songs with several verses, I guess the lyric printouts won't
> make any sense, no matter how we place the information in the MIDI
> files.

Not unless we introduce some kind of semantic to tell Lilypond that
they are verses, anyway.

pseudocode-like idea:

\repeat verses 3 \music

...

\lyricsto foo \verses { \verseI \verseII \verseIII }

...where a "\repeat verses" wouldn't show up in print, but could be
expanded in MIDI, and \verses would put its arguments below each other
in print and after each other (or just output the first argument)
in MIDI.

I'm not offering to implement or sponsor this, though; I'm just trying
to point out what would be needed to get somehow intelligent MIDI
output for multiple verses automatically.

Within today's framework and a bit of hacking, the same effect can of
course be acheived with a separate \score block for MIDI, but not as
automatically.  Here's what I do currently:

\score {
  \new Score {
\global
\unfoldRepeats
<<
  \markups
  \new Staff = "Tenor I" {
\set Staff.midiInstrument = #"oboe"
\tiMusic
  }
  \new Staff = "Tenor II" {
\set Staff.midiInstrument = #"trumpet"
\tiiMusic
  }
  \new Staff = "Bass I" {
\set Staff.midiInstrument = #"bassoon"
\biMusic
  }
  \new Staff = "Bass II" {
\set Staff.midiInstrument = #"baritone sax"
\biiMusic
  }
>>
  }
  \midi {}
}

\global and \markups hold different common stuff here, while \tiMusic
etc hold music for each voice.

Notice the complete lack of lyrics in my MIDI output when I use this.
(The \score block I use for printing is of course quite different.)



-- Arvid



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