bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: midi lyric events


From: Mats Bengtsson
Subject: Re: midi lyric events
Date: Tue, 27 Apr 2004 10:54:32 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113

You could try input/template/melody-lyrics.ly
It turns out that the lyrics indeed is included in the file
even though it's not found by the strings command (since the syllables
are not ended by a \000 in the MIDI format).

>strings  melody-lyrics.midi
MThd
MTrk
'Creator: GNU LilyPond 2.2.0
:Generated automatically by: GNU LilyPond 2.2.0
<at Tue Apr 27 10:40:42 2004
<at Tue Apr 27 10:40:42 2004
Track 0
MTrk
MTrk
uniqueContext0

However, if you for example use the mf2t program
(available at http://archive.cs.uu.nl/pub/MIDI/PROGRAMS/ or
http://www.hitsquad.com/smm/programs/mf2t/) you will see the
lyrics:

>mf2t melody-lyrics.midi | tail
MTrk
0 Meta Lyric "Aaa"
0 TimeSig 4/4 18 8
0 Meta TrkName "uniqueContext0"
0 Tempo 1000000
384 Meta Lyric "Bee"
768 Meta Lyric "Cee"
1152 Meta Lyric "Dee"
1152 Meta TrkEnd
TrkEnd


   /Mats


Erik Sandberg wrote:
On Tuesday 27 April 2004 09.13, John Comeau wrote:

Lazyass that I am, I waited till someone else got 2.2
ready for Cygwin, and installed it tonight. Had to run
convert-ly on the old sample program, but sorry to say
the same bug is there.


Can you please send the exact .ly file which doesn't work with v2.2?

It will probably work if you change from \addlyrics (which now is deprecated) to the new \lyricsto syntax for lyrics.

I.e., change this

   \addlyrics
     \context Staff = one {
       \property Staff.autoBeaming = ##f
       \melody
     }
     \context Lyrics \text


to something like:
<<
 \context Staff = one {
  \set autoBeaming = ##f
  \context Voice=A
\melody }
 \lyricsto A \context Lyrics \text


Thanks,
Erik



_______________________________________________
bug-lilypond mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/bug-lilypond

--
=============================================
        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: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================




reply via email to

[Prev in Thread] Current Thread [Next in Thread]