How can I name every page of my Sibelius scores?

Top of Sibelius document showing \$Partname\, \$Title\, \$Subtitle\, \$Composer\ and \$Arranger\

By adding text wildcards to the page header.

Has this ever happened to you?

You’ve been keeping your orchestra music in the same folder all year.  You receive the final concert running order, and you rearrange the folder.  You put the final item in…

…and find a page left over.

Sheet music labelled "Violin 3" and "Page 3" without any other information.

Which pages 1 and 2 does this page 3 belong to?

Sometimes the typesetting makes it easy to find.  However, it’s increasingly common to see music formatted in Opus Std, with text in Times New Roman.  That means it was notated in Sibelius… like a dozen other pieces this year.

If you find this happening to you, or to people who use your Sibelius files, you need to format them with all the information needed to put them back together:

  1. Title
  2. Instrument
  3. Page number
  4. Revision date

Continue reading “How can I name every page of my Sibelius scores?”

Can I import a LilyPond file into my graphical notation editor?

Yes, but you may have to convert it to MIDI first, losing a lot of detail.

Imports and exports: imbalance of trade

Transferring files between music editors has always been difficult.  Even the two behemoths of the field – Sibelius and Finale – don’t make it easy to transfer. between them.

The programming effort involved in writing an importer or exporter is immense.  The programmer has to study all possible aspects of the format, and decide how to translate them.  It is therefore not totally surprising that the export options are sparse.  If you are developing a notation package, why expend programmer time to make it easy for your customers to leave?  On the other hand, adding import options gives you a competitive edge.

As an example, for many years, Sibelius could import the MusicXML format, but not export.  If you really needed this capability, you could buy the Dolet plugin.  This changed in 2011: Sibelius 7 added native XML export, while MakeMusic (the company which makes Finale) purchased the Dolet software and made it freely available.

MusicXML is a good (but not perfect) way to migrate files between different programs.  However, the program we are currently concerned with is LilyPond.  As of November 2012, there is no way to export from LilyPond to MusicXML.  If this capability is ever added, you should use it.

MIDI: the last resort

However, LilyPond files can be converted to audio, as MIDI (Musical Instrument Digital Interface) files.  Most music editors can import these.

There is no command to export a LilyPond file to MIDI (instead of the more common choice of typesetting it to PDF).  Instead, you need a \midi block in the music.  See the GNU LilyPond Notation Reference – Creating MIDI files for specifics.

Existing file collections may come with source files for generating MIDI.  For example, the King Arthur music used in previous examples made pre-generated MIDI files available, and also provided the file “Arthur-MIDIs.ly” for re-creating them.

Why is MIDI the last resort?

Before editing or printing notation imported from MIDI, it is vital to understand its limitations.  For details, see Why didn’t this MIDI file import properly?

More LilyPond

  1. What is a LilyPond file?
  2. How do I read this LilyPond file?
  3. How do I edit a LilyPond file?
  4. How do I transpose a LilyPond part?
  5. Can I import a LilyPond file into my graphical notation editor?

How do I transpose a LilyPond part?

By using the appropriate form of “\transpose” in the source code.

Still looking at “King Arthur”, the trumpets play a few movements in Act 1, and few more in Act 5.  It would be dreadful to let them get bored, so let’s give them the violin 1 and 2 parts for some of the bombastic movements.

This post discusses the mechanics of duplicating parts for different instruments, not the art of orchestration.  Doubling parts like this is better than nothing, but a good arrangement will make better use of individual instruments.

The first movement of Act 1 looks like a good start. So, open “Act1/Trumpet.ily”. In the original arrangement it contains four tacet movements before any staffs, clefs or notes appear.

%% ACT I

\tocItem \markup { \AWodenFirst " " \italic {(\Ltacet)}}

\tocItem \markup { \ALotIsCast " " \italic {(\Ltacet)}}

\tocItem \markup { \ABraveSouls " " \italic {(\Ltacet)}}

\tocItem \markup { \AWodensHall " " \italic {(\Ltacet)}}

\tocItem \AMSymphony
\score  { % MILITARY SYMPHONY
  \keepWithTag #'Part
  \new StaffGroup = "Vents" \with {
    systemStartDelimiter = #'SystemStartBrace }
  <<
    \new Staff = "Vents 1" \transpose c d <<
      \clef treble \MAC
      \include "F/global.ily" \include "F/trumpetI.ily"
    >>
    \new Staff = "Vents 2" \transpose c d <<
      \clef treble \MAC
      \include "F/global.ily" \include "F/trumpetII.ily"
    >>
  >>

  \header {
    piece = \AMSymphony
  }
  \layout {
    \context { \StaffGroup
      \consists "Instrument_name_engraver"
    }
  }
} %ends AF military symphony

Continue reading “How do I transpose a LilyPond part?”