weird seg-fault involving lyrics
I'm transposing an orchestral part. I'm preserving the original cues etc. I've set up definitions for different layers so that I can leave the cues at there original pitches when I transpose the instrument part. The cues are, of course, in a separate definition block. The very first measure is a vocal cue. I've had trouble adding the lyrics (I seldom work with vocal music so it always takes me a few tries to get it right) but I got it to work in isolation. Then I tried adding it to the main file. Suddenly I was getting segmentation faults. I tried a minimal example but the seg fault went away. I finally found a way to reproduce it. In descriptive terms; if I leave out the lyrics for the vocal cue it runs fine. If I leave out all subsequent cues it runs fine. Am I doing something wrong, or is this a bug? Example below: %%% Begin LilyPond file %%% \version 2.10.10 cue = {\set fontSize = #-3.5 } euc = {\unset fontSize } inv = { \once \override Stem #'transparent = ##t \once \override NoteHead #'transparent = ##t \override Accidental #'transparent = ##t } basstpt = \relative c''{ \key c \major \override Score.TimeSignature #'transparent = ##t \time 4/4 s1 \override Score.TimeSignature #'transparent = ##f \time 12/8 s4 g8-\f c8. g16 c8 e4 c8 e8. c16 e8 \time 4/4 g2-\ ~ g8-\! r r4 } que = \relative c'' { s1 s1. s1 %% Commenting out the block below allows lyrics in the first bar %% Otherwise: seg fault %% { \cue c8 d e f g a b c } \\ { R1 } %% %% Commenting out the block above allows lyrics in the first bar %% Otherwise: seg fault } barOne = \relative c'' { { \context Voice = vox { \cue \autoBeamOff es4 d8 c bes4. g8 \inv g4 s4*5 \euc } %% Commenting out the lyrics allows the later cue to work %\addlyrics { gräss lich sten Schmach sie preis } } \\ { R1 a4\rest s4*5 } } \score { \context Staff \que \barOne \basstpt } %%% End LilyPond file %%% -David ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
alternative chords
Ahoi! For a songbook I'd like to give some chord alternatives (decide yourself if you'd like to play here c major or a minor) or optional chords (in braces). How can I do that? mychords = \chordmode { % the slash denotes alternatives, not base tones d2:m c | d1:m//bes1 | f2//d2:m c | d1:m//g1 } Greetlings from Lake Constance --- fiëé visuëlle Henning Hraban Ramm http://www.fiee.net http://angerweit.tikon.ch/lieder/ https://www.cacert.org (I'm an assurer) ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Seperate Midi-Channel for each Voice?
Hi, my problem is that in the midi, you don't hear notes that are already played by another voice. For example you don't hear the last c here: -- \version 2.10.23 \score { \new Staff { {\relative f' {f4 e d c}} \\ {\relative c' {c1}} } \midi {} \layout{} } -- At the moment I'm using this workaround for midi-output: {\relative f' {f4 e d c}} \\ {\relative c' {c2. s1}} Is there an easier way? In the archive I found a similar problem that was solved by writing an 'translator'(?) so that every Voice was played with another midi-instrument but I couldn't find anything about it in the documentation... Also I want all the notes to be played with the same instrument. Can anyone help? Henrik ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
stanzas
hi all, try as i might i cannot figure out how to add a second stanza in a choir staff. can anybody help? pilger -- View this message in context: http://www.nabble.com/stanzas-tf3700378.html#a10347643 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
Re: Seperate Midi-Channel for each Voice?
Am 2007-05-06 um 14:57 schrieb Henrik Schröder: my problem is that in the midi, you don't hear notes that are already played by another voice. I guess your problem is merely that you don't seperate your voices. \score { \new Staff { {\relative f' {f4 e d c}} \\ {\relative c' {c1}} } \midi {} \layout{} } I define my voices in separate variables like this: oberstimme = \relative c' { \repeat volta 2 { r8 f f f e4 d8 c | c( d) d d~ d2 | r8 f f f g4 e8( c) | c( d) d d~ d2 } } and use them in different staves: % MIDI \score { \unfoldRepeats { \context Staff = chords \set Staff.midiInstrument = fx 4 (atmosphere) \context Voice = chords { \dynamics \akkorde } \context Staff = ober \set Staff.midiInstrument = violin \context Voice = ober \oberstimme \context Staff = unter \set Staff.midiInstrument = viola \context Voice = unter \unterstimme } \midi{ \context { \Score tempoWholesPerMinute = #(ly:make-moment 120 4) } } } I use the same voice variables in an other \score setup for PDF output, so that I can tweak both outputs separately. Please find attached my song template (hope it'll come through), maybe it helps. Greetlings from Lake Constance --- fiëé visuëlle Henning Hraban Ramm http://www.fiee.net http://angerweit.tikon.ch/lieder/ https://www.cacert.org (I'm an assurer) \version 2.9.9 #(ly:set-option (quote no-point-and-click)) %#(set-global-staff-size 18) \header{ title = poet = T: composer = M: % instrument = 2 voc + git source = maintainer = Henning Hraban Ramm maintainerWeb = http://angerweit.tikon.ch/lieder/; lastupdated = 2007-05-05 tagline = copyright = } global = { \clef treble \key a \minor \time 4/4 } akkorde = \chordmode { } dynamics = \relative c { r4\mp } oberstimme = \relative c'' { %\voiceOne \repeat volta 2 { } \alternative { { } { } } } unterstimme = \relative c' { %\voiceTwo \repeat volta 2 { } \alternative { { } { } } } text = \lyricmode { %\set stanza = 1. } % Papier-Ausgabe \score { %\override Score . LyricText #'font-name = #Gentium %\override Score . LyricText #'font-shape = #'italic %\override Score . LyricText #'text-font-size = 12 % default: 12/20 * staff-size %\override Score . BarNumber %#'break-visibility = #all-invisible \context ChordNames { %\override ChordNames . ChordName #'font-name = #Gentium \germanChords \set chordChanges = ##t \akkorde } \context Staff = Oben \global \context Voice = eins \oberstimme \lyricsto eins \new Lyrics { \text } \context Staff = Unten \global \context Voice = zwei \unterstimme \layout { indent = 0\cm %linewidth = 123\mm } } % MIDI \score { \unfoldRepeats { \context Staff = chords \set Staff.midiInstrument = fx 4 (atmosphere) \context Voice = chords { \dynamics \akkorde } \context Staff = ober \set Staff.midiInstrument = violin \context Voice = ober \oberstimme \context Staff = unter \set Staff.midiInstrument = viola \context Voice = unter \unterstimme } \midi{ \context { \Score tempoWholesPerMinute = #(ly:make-moment 120 4) } } } %%% Local Variables: %%% coding: utf-8 %%% End: ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: stanzas
Am 2007-05-06 um 19:57 schrieb pilger: try as i might i cannot figure out how to add a second stanza in a choir staff. can anybody help? If you want them below the notes, just add another Lyrics: \lyricsto eins \new Lyrics { \text } \lyricsto eins \new Lyrics { \textZwei } If you want lyrics below the whole music (like in songbooks), you can use \markup (in a \book, below the \score), but that's very limited - I use TeX or InDesign for such... (see also http://wiki.contextgarden.net/LilyPond) Greetlings from Lake Constance --- fiëé visuëlle Henning Hraban Ramm http://www.fiee.net http://angerweit.tikon.ch/lieder/ https://www.cacert.org (I'm an assurer) ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: can't open .ly file
I hope you updated the file syntax first to correspond to your version of LilyPond. The .ly files were written for version 2.2.6 and much has changed since then. After updating the syntax using convert-ly (I think there is a menu command available for that on MacOS), I could compile the file here without any such error. However, there were quite a number of warnings and the file uses a number of features that convert-ly unfortunately not can handle automatically, so you have to edit the file by hand, for example to get the titling correct. /Mats Quoting Themis Matsoukas [EMAIL PROTECTED]: I downloaded a file from mutopia but when I try t open in lilypond I get: An unexpected error has occurred: (UnicodeDecodeError: 'utf8' codec can't decode bytes in position 204-206: invalid data) The file in question is http://www.mutopiaproject.org/ftp/ChopinFF/O69/w10-h-moll-cfi/w10-h- moll-cfi-lys.zip. This contains two .ly files both of which produce the same error. I am running lilypond 2.10.23-1 (vBuild from Tue May 1 11:50:24 2007 on a G4 iMac (10.3.9) TIA Themis ___ 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: input/tolsr/
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Graham Percival wrote: Mats Bengtsson wrote: Excellent! I just hope that everybody who contributes with a new feature takes the time not only to make a regression test but also an illustrative example (and of course, some text for the main manual). (snip) As long as we all agree that this is a temporary solution, waiting either for LSR to support multiple LilyPond versions and always stay up to date with the latest LilyPond releases or conversely for LSR to be fully integrated with the LilyPond releases, then it's fine. I don't think that either of those will happen. I agree that it makes life a bit harder for Trevor and the like... but I think we only have a dozen serious users who track unstable. *hand* Paul Scott -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGPi19Vxeh4Z8mvCsRAjpnAJ9SwbJ+OjdDz+gkVCs2Nhpfy9p/4QCdHR1B AO5fWaUDAP6EL0aOnRP5DKI= =HScW -END PGP SIGNATURE- ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: ottava
How does the musician know which of the voices the ottava bracket should apply to? In the current implementation, it seems that the ottaviation is handled internally exactly the same way as a clef change, which explains why it is handled at the stave level. However, if there is an established notation practice for separate octaviation on each voice, this could be the topic of a feature request. You could of course work around this easily, by using \transpose c c' {...} around the octaviated section in the corresponding voice and adding the text and brackets separately using text spanners. There is no difference between 2.8 and 2.10 in this respect, as far as I know. /Mats Quoting David Raleigh Arnold [EMAIL PROTECTED]: I found (#set-octavation 1) to be useless in 2.8.7 because it's at staff level instead of voice level. Why? In polyphony it nearly always has to be at voice level, and if there is only one voice on the stave it doesn't matter. Is it better in 2.10? Example: http://www.openguitar.com/pdf/campanil.pdf daveA -- Free download of technical exercises worth a lifetime of practice: http://www.openguitar.com/dynamic.html You can play the cards you're dealt, or improve your hand with DGT. Very easy guitar solos, duets, exercises. http://www.openguitar.com/contact.html ___ 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
hiding empty staves
Ahoi! In LP 2.6 I could hide empty staves (also in the first system) with \layout { \context { \RemoveEmptyStaffContext } } Can't remember if I also needed \set Score . skipBars = ##t In LP 2.10 an empty stave in the first system is only hidden with \override Score . VerticalAxisGroup #'remove-first = ##t But that can't go into the \layout block. It would be rather important to be able to set that as a general preference (i.e. in the \paper or \layout block) for our ConTeXt module (similar to lily-book with LaTeX). If it's possible, please tell me how! Greetlings from Lake Constance --- fiëé visuëlle Henning Hraban Ramm http://www.fiee.net http://angerweit.tikon.ch/lieder/ https://www.cacert.org (I'm an assurer) ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: can't open .ly file
Well..., no, I forgot about convert-ly. However, I cannot find it on the menu and when I invoke it the terminal, I receive tcsh: convert-ly: Command not found. This confuses me because I thought that convert-ly is installed along with lilypond. Am I missing something? Thanks Themis On May 6, 2007, at 3:04 PM, Mats Bengtsson wrote: I hope you updated the file syntax first to correspond to your version of LilyPond. The .ly files were written for version 2.2.6 and much has changed since then. After updating the syntax using convert-ly (I think there is a menu command available for that on MacOS), I could compile the file here without any such error. However, there were quite a number of warnings and the file uses a number of features that convert-ly unfortunately not can handle automatically, so you have to edit the file by hand, for example to get the titling correct. /Mats Quoting Themis Matsoukas [EMAIL PROTECTED]: I downloaded a file from mutopia but when I try t open in lilypond I get: An unexpected error has occurred: (UnicodeDecodeError: 'utf8' codec can't decode bytes in position 204-206: invalid data) The file in question is http://www.mutopiaproject.org/ftp/ChopinFF/O69/w10-h-moll-cfi/w10-h- moll-cfi-lys.zip. This contains two .ly files both of which produce the same error. I am running lilypond 2.10.23-1 (vBuild from Tue May 1 11:50:24 2007 on a G4 iMac (10.3.9) TIA Themis ___ 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
jazz chords superscript
hello, i'm trying to define a set of custom chords for use in jazz charts, and i would like to be able to have the numbers (7, 9, 11, 13, etc) raised above the chord name. I use Brandt-Roemer standardized chord notation, so my chords look like Cmi7, Cma9, Cdim, Cmi7b5 etc. I've checked out the regression test,http://lilypond.org/doc/v2.10/Documentation/user/source/input/regression/lily-2253a7494a.lyand it says to add a superscript, the number has to be preceded by \super. i've tried this in the following example, and i get an 'unknown escaped string \super' error: b4^\markup {G#mi \super 9} what am i doing wrong? thanks, -steve ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
How do I typeset this!?
Hi, consider the following bit of markup: \new Voice { e' a'1~e' a'2 } { e''2. c''4} It looks pretty straight forward to me, but Lilypond (2.11.23) doesn't manage to typeset this properly, the e''2. doesn't get a stem and I also get warnings telling me that a note head is being added to an incompatible stem. How can I fix this? signature.asc Description: This is a digitally signed message part. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user