[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: combining pieces
From: |
Laura Conrad |
Subject: |
Re: combining pieces |
Date: |
12 Jan 2003 23:03:47 -0500 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Common Lisp) |
>>>>> "Jeff" == Jeff Ousley <address@hidden> writes:
Jeff> I have these two pieces of music (attached):
Jeff> psalm22.ly
Jeff> melody.ly
Jeff> I need them combined into one piece of music with the
Jeff> psalm22 (antiphon) piece at the top and underneath it
Jeff> the melody piece. What is the best way to accomplish
Jeff> this? (There is more to the melody piece that I'll add
Jeff> later.)
We've had this discussion before (it might have a subject about multiple
movements or something), and there are other ways to do it, but for me
the easiest way is to use lilypond-book. So you say something like:
\documentclass[12pt,letterpaper]{article}
\usepackage[latin1]{inputenc}
\begin{document}
\newcommand{\composer}[1]{\begin{flushright}{\textsl{#1}}\end{flushright}}
\newcommand{\lilytitle}[2]{\begin{center}{\LARGE{\textbf{#1}}\\\Large{#2}}\end{center}}
\newcommand{\lilycontentsline}[1]{\addcontentsline{toc}{section}{#1}}
\lilycontentsline{Psalm 22}
\lilytitle{Psalm 22}{Antiphon}
\lilypondfile{psalm22.ly}
%whatever stuff you want as header to the melody part
\lilypondfile{melody.ly}
\end{document}
in a file named psalm22.lytex, and then in your makefile you have:
psalm22.ps: psalm22.lytex *.ly
lilypond-book --outdir=out psalm22.lytex
cd out;latex psalm22.latex;dvips -o ../psalm22.ps psalm22.dvi
So then you just say "make psalm22.ps".
--
Laura (mailto:address@hidden , http://www.laymusic.org/ )
(617) 661-8097 fax: (801) 365-6574
233 Broadway, Cambridge, MA 02139