Re: Lyric representation in MIDI?

2008-05-07 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


Re: Header on all pages - how to ?

2008-05-07 Thread Mats Bengtsson

What do you want to appear in the page header?
By default, only the page number and the instrument name are typeset, 
except for the

first page, where only the page number is printed.

This can be changed, but it's easiest to answer your question if you 
tell more exactly what
you want printed. One example, showing how to include the title of the 
piece at the top of
every page, can be found at 
http://lists.gnu.org/archive/html/lilypond-user/2007-02/msg00638.html


   /Mats

Helmut Arnold wrote:

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


--
=
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: Header on all pages - how to ?

2008-05-07 Thread Valentin Villenave
2008/5/7 Mats Bengtsson [EMAIL PROTECTED]:

  One example, showing how to include the title of the
 piece at the top of
  every page, can be found at
 http://lists.gnu.org/archive/html/lilypond-user/2007-02/msg00638.html

... or can also (more easily) be found on the LilyPond Snippet Repository:

http://lsr.dsi.unimi.it/LSR/Item?id=293

Cheers,
Valentin


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


Re: Chords problem

2008-05-07 Thread Mats Bengtsson



Gilles Sadowski wrote:

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
  

You missed the .. in the example above. Christian wants to introduce the
ChordNames context in the middle of the piece, not from the top.
The following example shows one way to do it:

\new Staff = mystaff \relative c' {
 c d e f  \chords{ \set alignAboveContext = mystaff cis:m1 } {cis,1 } 
}


 /Mats



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


Re: Header on all pages - how to ?

2008-05-07 Thread Mats Bengtsson



Valentin Villenave wrote:

2008/5/7 Mats Bengtsson [EMAIL PROTECTED]:

  

 One example, showing how to include the title of the
piece at the top of
 every page, can be found at
http://lists.gnu.org/archive/html/lilypond-user/2007-02/msg00638.html



... or can also (more easily) be found on the LilyPond Snippet Repository:

http://lsr.dsi.unimi.it/LSR/Item?id=293
  


Which I failed to find when searching for head, header or head*. I 
should

have searched for top  :-)

   /Mats



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


Re: Header on all pages - how to ?

2008-05-07 Thread Valentin Villenave
2008/5/7 Mats Bengtsson [EMAIL PROTECTED]:

  Which I failed to find when searching for head, header or head*. I
 should
  have searched for top  :-)

Yes, I tried head too before you posted; after seeing your mail I
looked for print and this gave me the answer :)

Cheers,
Valentin


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


Re: Header on all pages - how to ?

2008-05-07 Thread Helmut Arnold

Hello Mats,
many thanks for your hints it works now. After some trials my script now 
looks like:


\paper{
   oddHeaderMarkup = \markup
   \fill-line {
   \fromproperty #'header:title

   \fromproperty #'header:instrument
 % This will make sure that the header is never completely 
empty, to
   % avoid some layout problems. Also, moving it in between the 
title and
   % the page number, makes these be typeset left and right 
aligned, respectively.
   \on-the-fly #print-page-number-check-first \fromproperty 
#'page:page-number-string

   }

   evenHeaderMarkup = \markup
   \fill-line {
   \on-the-fly #print-page-number-check-first \fromproperty 
#'page:page-number-string


   \fromproperty #'header:title

   \fromproperty #'header:instrument
  
   }

}

Regards
  Helmut

Mats Bengtsson schrieb:

What do you want to appear in the page header?
By default, only the page number and the instrument name are typeset, 
except for the

first page, where only the page number is printed.

This can be changed, but it's easiest to answer your question if you 
tell more exactly what
you want printed. One example, showing how to include the title of the 
piece at the top of
every page, can be found at 
http://lists.gnu.org/archive/html/lilypond-user/2007-02/msg00638.html


   /Mats

Helmut Arnold wrote:

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




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