2006-11-10 08:07:56 +00:00
|
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
|
|
|
|
|
|
|
|
<!--Converted with LaTeX2HTML 2002-2-1 (1.71)
|
|
|
|
original version by: Nikos Drakos, CBLU, University of Leeds
|
|
|
|
* revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan
|
|
|
|
* with significant contributions from:
|
|
|
|
Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
|
|
|
|
<HTML>
|
|
|
|
<HEAD>
|
|
|
|
<TITLE>A More Complex Example</TITLE>
|
|
|
|
<META NAME="description" CONTENT="A More Complex Example">
|
|
|
|
<META NAME="keywords" CONTENT="mma-tutorial">
|
|
|
|
<META NAME="resource-type" CONTENT="document">
|
|
|
|
<META NAME="distribution" CONTENT="global">
|
|
|
|
|
|
|
|
<META NAME="Generator" CONTENT="LaTeX2HTML v2002-2-1">
|
|
|
|
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
|
|
|
|
|
|
|
|
<LINK REL="STYLESHEET" HREF="mma-tutorial.css">
|
|
|
|
|
|
|
|
<LINK REL="next" HREF="node5.html">
|
|
|
|
<LINK REL="previous" HREF="node3.html">
|
|
|
|
<LINK REL="up" HREF="mma-tutorial.html">
|
|
|
|
<LINK REL="next" HREF="node5.html">
|
|
|
|
</HEAD>
|
|
|
|
|
|
|
|
<BODY bgcolor="#ffffff">
|
|
|
|
<!--Navigation Panel-->
|
|
|
|
<A NAME="tex2html76"
|
|
|
|
HREF="node5.html">
|
|
|
|
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A>
|
|
|
|
<A NAME="tex2html74"
|
|
|
|
HREF="mma-tutorial.html">
|
|
|
|
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A>
|
|
|
|
<A NAME="tex2html68"
|
|
|
|
HREF="node3.html">
|
|
|
|
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A>
|
|
|
|
<BR>
|
|
|
|
<B> Next:</B> <A NAME="tex2html77"
|
|
|
|
HREF="node5.html">Library File Creation</A>
|
|
|
|
<B> Up:</B> <A NAME="tex2html75"
|
|
|
|
HREF="mma-tutorial.html">Tutorial</A>
|
|
|
|
<B> Previous:</B> <A NAME="tex2html69"
|
|
|
|
HREF="node3.html">A Simple Example</A>
|
|
|
|
<BR>
|
|
|
|
<BR>
|
|
|
|
<!--End of Navigation Panel-->
|
|
|
|
<!--Table of Child-Links-->
|
|
|
|
<A NAME="CHILD_LINKS"><STRONG>Subsections</STRONG></A>
|
|
|
|
|
|
|
|
<UL>
|
|
|
|
<LI><A NAME="tex2html78"
|
|
|
|
HREF="node4.html#SECTION00410000000000000000">Deep River--A Swinging Spiritual</A>
|
|
|
|
<LI><A NAME="tex2html79"
|
|
|
|
HREF="node4.html#SECTION00420000000000000000">Future Directions</A>
|
|
|
|
</UL>
|
|
|
|
<!--End of Table of Child-Links-->
|
|
|
|
<HR>
|
|
|
|
|
|
|
|
<H1><A NAME="SECTION00400000000000000000">
|
|
|
|
A More Complex Example</A>
|
|
|
|
</H1>
|
|
|
|
|
|
|
|
<P>
|
|
|
|
Fun time. We're going to take an old (slow) spiritual and surprise some people!
|
|
|
|
We'll also learn about repeats, play with volumes, and do some interesting
|
|
|
|
tempo things.
|
|
|
|
|
|
|
|
<P>
|
|
|
|
|
|
|
|
<H1><A NAME="SECTION00410000000000000000">
|
|
|
|
Deep River--A Swinging Spiritual</A>
|
|
|
|
</H1>
|
|
|
|
|
|
|
|
<P>
|
|
|
|
|
2007-04-29 06:47:40 +00:00
|
|
|
<Table Hspace="40%" CellSpacing=0 CellPadding=10 BGColor="#efefef" Border=3>
|
|
|
|
<tr><td Align="CENTER" BGColor="White">
|
|
|
|
<B><FONT SIZE="+2">A Public Domain Song</FONT></B> <A NAME="eg:deepriver"></A>
|
|
|
|
</tr> </td>
|
|
|
|
<tr> <td >
|
|
|
|
|
2006-11-10 08:07:56 +00:00
|
|
|
<IMG WIDTH="95%" SRC="mup/deep.png" ALT="Lost Image">
|
|
|
|
|
|
|
|
<BR>
|
|
|
|
|
|
|
|
|
2007-04-29 06:47:40 +00:00
|
|
|
</td> </tr>
|
|
|
|
</Table>
|
2006-11-10 08:07:56 +00:00
|
|
|
|
|
|
|
<P>
|
|
|
|
|
|
|
|
<P>
|
|
|
|
Rather than list the song separately, we've inter spaced the listing with
|
|
|
|
textual comments. If you want to see the listing, it is in the <B>egs</B>
|
|
|
|
directory.
|
|
|
|
|
|
|
|
<P>
|
|
|
|
We start out with a comment block.
|
|
|
|
|
|
|
|
<P>
|
|
|
|
|
2007-04-29 06:47:40 +00:00
|
|
|
<Table Hspace="40%" CellSpacing=0 CellPadding=10 BGColor="OldLace" Border=3>
|
|
|
|
<tr><td>
|
|
|
|
<B>// Deep River </B>
|
2006-11-10 08:07:56 +00:00
|
|
|
|
2007-04-29 06:47:40 +00:00
|
|
|
</td></tr>
|
|
|
|
</Table>
|
2006-11-10 08:07:56 +00:00
|
|
|
|
|
|
|
<P>
|
|
|
|
Start off by selecting the 4 beat metronome.
|
|
|
|
|
|
|
|
<P>
|
|
|
|
|
2007-04-29 06:47:40 +00:00
|
|
|
<Table Hspace="40%" CellSpacing=0 CellPadding=10 BGColor="OldLace" Border=3>
|
|
|
|
<tr><td>
|
|
|
|
<B>Groove metronome2-4 </B>
|
2006-11-10 08:07:56 +00:00
|
|
|
|
2007-04-29 06:47:40 +00:00
|
|
|
</td></tr>
|
|
|
|
</Table>
|
2006-11-10 08:07:56 +00:00
|
|
|
|
|
|
|
<P>
|
|
|
|
We want to surprise our listeners a bit, so we start off with a ``normal''
|
|
|
|
tempo. The single ``z'' produces a 4 beat introduction.
|
|
|
|
|
|
|
|
<P>
|
|
|
|
|
2007-04-29 06:47:40 +00:00
|
|
|
<Table Hspace="40%" CellSpacing=0 CellPadding=10 BGColor="OldLace" Border=3>
|
|
|
|
<tr><td>
|
|
|
|
<B>Tempo 90
|
2006-11-10 08:07:56 +00:00
|
|
|
<BR>
|
|
|
|
z
|
|
|
|
<BR>
|
2007-04-29 06:47:40 +00:00
|
|
|
Groove FolkArticulated </B>
|
2006-11-10 08:07:56 +00:00
|
|
|
|
2007-04-29 06:47:40 +00:00
|
|
|
</td></tr>
|
|
|
|
</Table>
|
2006-11-10 08:07:56 +00:00
|
|
|
|
|
|
|
<P>
|
|
|
|
As an introduction we play some nice, gentle chords for 4 bars.
|
|
|
|
|
|
|
|
<P>
|
|
|
|
|
2007-04-29 06:47:40 +00:00
|
|
|
<Table Hspace="40%" CellSpacing=0 CellPadding=10 BGColor="OldLace" Border=3>
|
|
|
|
<tr><td>
|
|
|
|
<B>1 F
|
2006-11-10 08:07:56 +00:00
|
|
|
<BR>
|
|
|
|
2 Dm
|
|
|
|
<BR>
|
|
|
|
3 Gm
|
|
|
|
<BR>
|
2007-04-29 06:47:40 +00:00
|
|
|
4 C7 </B>
|
2006-11-10 08:07:56 +00:00
|
|
|
|
2007-04-29 06:47:40 +00:00
|
|
|
</td></tr>
|
|
|
|
</Table>
|
2006-11-10 08:07:56 +00:00
|
|
|
|
|
|
|
<P>
|
|
|
|
Surprise time. We are going to pump the tempo up to 140 BPM and
|
|
|
|
select the Swing2 Groove.
|
|
|
|
|
|
|
|
<P>
|
|
|
|
|
2007-04-29 06:47:40 +00:00
|
|
|
<Table Hspace="40%" CellSpacing=0 CellPadding=10 BGColor="OldLace" Border=3>
|
|
|
|
<tr><td>
|
|
|
|
<B>Tempo 140
|
2006-11-10 08:07:56 +00:00
|
|
|
<BR>
|
2007-04-29 06:47:40 +00:00
|
|
|
Groove Swing2 </B>
|
2006-11-10 08:07:56 +00:00
|
|
|
|
2007-04-29 06:47:40 +00:00
|
|
|
</td></tr>
|
|
|
|
</Table>
|
2006-11-10 08:07:56 +00:00
|
|
|
|
|
|
|
<P>
|
|
|
|
If we just did a switch of rhythm and tempo it'd be quite ``interesting''.
|
|
|
|
We need some
|
|
|
|
kind of a transition. Hmmm, what if we have two beats (not four) of swing
|
|
|
|
drums? We could create a 2 beat measure, but it's quite cool to give the
|
|
|
|
drummer a real workout. So, here we double the time and put in a single
|
|
|
|
``z'' bar.
|
|
|
|
|
|
|
|
<P>
|
|
|
|
|
2007-04-29 06:47:40 +00:00
|
|
|
<Table Hspace="40%" CellSpacing=0 CellPadding=10 BGColor="OldLace" Border=3>
|
|
|
|
<tr><td>
|
|
|
|
<B>Tempo *2
|
2006-11-10 08:07:56 +00:00
|
|
|
<BR>
|
2007-04-29 06:47:40 +00:00
|
|
|
z </B>
|
2006-11-10 08:07:56 +00:00
|
|
|
|
2007-04-29 06:47:40 +00:00
|
|
|
</td></tr>
|
|
|
|
</Table>
|
2006-11-10 08:07:56 +00:00
|
|
|
|
|
|
|
<P>
|
|
|
|
Now, we restore the tempo to the original 140.
|
|
|
|
|
|
|
|
<P>
|
|
|
|
|
2007-04-29 06:47:40 +00:00
|
|
|
<Table Hspace="40%" CellSpacing=0 CellPadding=10 BGColor="OldLace" Border=3>
|
|
|
|
<tr><td>
|
|
|
|
<B>Tempo *.5 </B>
|
2006-11-10 08:07:56 +00:00
|
|
|
|
2007-04-29 06:47:40 +00:00
|
|
|
</td></tr>
|
|
|
|
</Table>
|
2006-11-10 08:07:56 +00:00
|
|
|
|
|
|
|
<P>
|
|
|
|
Each time we restart the piece we want the same volume setting. This is bit
|
|
|
|
of overkill, but it's supposed to be an example. So, we set the volume to
|
|
|
|
``mf'' and assign that to the <B>Volume Groove</B> ``Main''.
|
|
|
|
|
|
|
|
<P>
|
|
|
|
|
2007-04-29 06:47:40 +00:00
|
|
|
<Table Hspace="40%" CellSpacing=0 CellPadding=10 BGColor="OldLace" Border=3>
|
|
|
|
<tr><td>
|
|
|
|
<B>Volume mf
|
2006-11-10 08:07:56 +00:00
|
|
|
<BR>
|
2007-04-29 06:47:40 +00:00
|
|
|
DefVolume Main </B>
|
2006-11-10 08:07:56 +00:00
|
|
|
|
2007-04-29 06:47:40 +00:00
|
|
|
</td></tr>
|
|
|
|
</Table>
|
2006-11-10 08:07:56 +00:00
|
|
|
|
|
|
|
<P>
|
|
|
|
Now, just like the sheet music we insert a repeat start.
|
|
|
|
|
|
|
|
<P>
|
|
|
|
|
2007-04-29 06:47:40 +00:00
|
|
|
<Table Hspace="40%" CellSpacing=0 CellPadding=10 BGColor="OldLace" Border=3>
|
|
|
|
<tr><td>
|
|
|
|
<B>Repeat </B>
|
2006-11-10 08:07:56 +00:00
|
|
|
|
2007-04-29 06:47:40 +00:00
|
|
|
</td></tr>
|
|
|
|
</Table>
|
2006-11-10 08:07:56 +00:00
|
|
|
|
|
|
|
<P>
|
|
|
|
Set the volume, and advise
|
|
|
|
<FONT Face="Serif" Color="Navy"><I>MMA</I></FONT> that we'd like it get softer over the
|
|
|
|
next 8 bars.
|
|
|
|
|
|
|
|
<P>
|
|
|
|
|
2007-04-29 06:47:40 +00:00
|
|
|
<Table Hspace="40%" CellSpacing=0 CellPadding=10 BGColor="OldLace" Border=3>
|
|
|
|
<tr><td>
|
|
|
|
<B>SetVolume Main
|
2006-11-10 08:07:56 +00:00
|
|
|
<BR>
|
2007-04-29 06:47:40 +00:00
|
|
|
Decresc mp 8 </B>
|
2006-11-10 08:07:56 +00:00
|
|
|
|
2007-04-29 06:47:40 +00:00
|
|
|
</td></tr>
|
|
|
|
</Table>
|
2006-11-10 08:07:56 +00:00
|
|
|
|
|
|
|
<P>
|
|
|
|
This is straightforward chording.
|
|
|
|
|
|
|
|
<P>
|
|
|
|
|
2007-04-29 06:47:40 +00:00
|
|
|
<Table Hspace="40%" CellSpacing=0 CellPadding=10 BGColor="OldLace" Border=3>
|
|
|
|
<tr><td>
|
|
|
|
<B>5 F
|
2006-11-10 08:07:56 +00:00
|
|
|
<BR>
|
|
|
|
6 Gm
|
|
|
|
<BR>
|
|
|
|
7 Dm
|
|
|
|
<BR>
|
|
|
|
8 Am C
|
|
|
|
<BR>
|
|
|
|
9 F
|
|
|
|
<BR>
|
|
|
|
10 Gm / Dm
|
|
|
|
<BR>
|
|
|
|
11 F / C7
|
|
|
|
<BR>
|
|
|
|
12 F
|
|
|
|
<BR>
|
|
|
|
13 Dm
|
|
|
|
<BR>
|
2007-04-29 06:47:40 +00:00
|
|
|
14 Am </B>
|
2006-11-10 08:07:56 +00:00
|
|
|
|
2007-04-29 06:47:40 +00:00
|
|
|
</td></tr>
|
|
|
|
</Table>
|
2006-11-10 08:07:56 +00:00
|
|
|
|
|
|
|
<P>
|
|
|
|
Increase the volume over the next 4 bars, and more chording.
|
|
|
|
|
|
|
|
<P>
|
|
|
|
|
2007-04-29 06:47:40 +00:00
|
|
|
<Table Hspace="40%" CellSpacing=0 CellPadding=10 BGColor="OldLace" Border=3>
|
|
|
|
<tr><td>
|
|
|
|
<B>Cresc ff 4
|
2006-11-10 08:07:56 +00:00
|
|
|
<BR>
|
|
|
|
<BR>
|
|
|
|
15 Bb
|
|
|
|
<BR>
|
|
|
|
16 Am / / C7
|
|
|
|
<BR>
|
|
|
|
17 F
|
|
|
|
<BR>
|
|
|
|
18 Gm
|
|
|
|
<BR>
|
|
|
|
19 F / C7
|
|
|
|
<BR>
|
|
|
|
20 Am / Dm C7
|
|
|
|
<BR>
|
|
|
|
21 F
|
|
|
|
<BR>
|
2007-04-29 06:47:40 +00:00
|
|
|
22 Gm </B>
|
2006-11-10 08:07:56 +00:00
|
|
|
|
2007-04-29 06:47:40 +00:00
|
|
|
</td></tr>
|
|
|
|
</Table>
|
2006-11-10 08:07:56 +00:00
|
|
|
|
|
|
|
<P>
|
|
|
|
This is the first/second ending. Note how we've put a ``2'' at the end
|
|
|
|
of the next line ... this forces 2 repeats.
|
|
|
|
|
|
|
|
<P>
|
|
|
|
|
2007-04-29 06:47:40 +00:00
|
|
|
<Table Hspace="40%" CellSpacing=0 CellPadding=10 BGColor="OldLace" Border=3>
|
|
|
|
<tr><td>
|
|
|
|
<B>RepeatEnding 2
|
2006-11-10 08:07:56 +00:00
|
|
|
<BR>
|
|
|
|
<BR>
|
|
|
|
23 / / / C7
|
|
|
|
<BR>
|
2007-04-29 06:47:40 +00:00
|
|
|
24 F </B>
|
2006-11-10 08:07:56 +00:00
|
|
|
|
2007-04-29 06:47:40 +00:00
|
|
|
</td></tr>
|
|
|
|
</Table>
|
2006-11-10 08:07:56 +00:00
|
|
|
|
|
|
|
<P>
|
|
|
|
For the second and third time we play this we want a more interesting
|
|
|
|
accompaniment. So, we select ``Swing2Plus'' which adds a clarinet doing
|
|
|
|
its thing.
|
|
|
|
|
|
|
|
<P>
|
|
|
|
|
2007-04-29 06:47:40 +00:00
|
|
|
<Table Hspace="40%" CellSpacing=0 CellPadding=10 BGColor="OldLace" Border=3>
|
|
|
|
<tr><td>
|
|
|
|
<B>Groove Swing2Plus </B>
|
2006-11-10 08:07:56 +00:00
|
|
|
|
2007-04-29 06:47:40 +00:00
|
|
|
</td></tr>
|
|
|
|
</Table>
|
2006-11-10 08:07:56 +00:00
|
|
|
|
|
|
|
<P>
|
|
|
|
This ends the repeated section.
|
|
|
|
|
|
|
|
<P>
|
|
|
|
|
2007-04-29 06:47:40 +00:00
|
|
|
<Table Hspace="40%" CellSpacing=0 CellPadding=10 BGColor="OldLace" Border=3>
|
|
|
|
<tr><td>
|
|
|
|
<B>RepeatEnd </B>
|
2006-11-10 08:07:56 +00:00
|
|
|
|
2007-04-29 06:47:40 +00:00
|
|
|
</td></tr>
|
|
|
|
</Table>
|
2006-11-10 08:07:56 +00:00
|
|
|
|
|
|
|
<P>
|
|
|
|
For our 2 bar ending we select the ``Swing2End'' groove. Next, we
|
|
|
|
ritard our tempo over the next 2 bars.
|
|
|
|
|
|
|
|
<P>
|
|
|
|
|
2007-04-29 06:47:40 +00:00
|
|
|
<Table Hspace="40%" CellSpacing=0 CellPadding=10 BGColor="OldLace" Border=3>
|
|
|
|
<tr><td>
|
|
|
|
<B>Groove Swing2End
|
2006-11-10 08:07:56 +00:00
|
|
|
<BR>
|
|
|
|
Tempo -40 2
|
|
|
|
<BR>
|
|
|
|
<BR>
|
2007-04-29 06:47:40 +00:00
|
|
|
1 / / / C7 </B>
|
2006-11-10 08:07:56 +00:00
|
|
|
|
2007-04-29 06:47:40 +00:00
|
|
|
</td></tr>
|
|
|
|
</Table>
|
2006-11-10 08:07:56 +00:00
|
|
|
|
|
|
|
<P>
|
|
|
|
The ``Swing2End'' groove has a neat little saxophone scale. But only on the
|
|
|
|
third and fourth bars. It is a four bar sequence and the first two give
|
|
|
|
the sax player time to rest. The <B>Seq 3</B> forces the sequence to use
|
|
|
|
the bar with the solo. We also set the solo to a louder volume.
|
|
|
|
|
|
|
|
<P>
|
|
|
|
|
2007-04-29 06:47:40 +00:00
|
|
|
<Table Hspace="40%" CellSpacing=0 CellPadding=10 BGColor="OldLace" Border=3>
|
|
|
|
<tr><td>
|
|
|
|
<B>Scale Volume ff
|
2006-11-10 08:07:56 +00:00
|
|
|
<BR>
|
|
|
|
Seq 3
|
|
|
|
<BR>
|
|
|
|
1 F
|
|
|
|
<BR>
|
2007-04-29 06:47:40 +00:00
|
|
|
Fermata -1 1 200 </B>
|
2006-11-10 08:07:56 +00:00
|
|
|
|
2007-04-29 06:47:40 +00:00
|
|
|
</td></tr>
|
|
|
|
</Table>
|
2006-11-10 08:07:56 +00:00
|
|
|
|
|
|
|
<P>
|
|
|
|
To finish off the example, we add a bit of time to the last note with a <B>fermata</B>
|
|
|
|
command.
|
|
|
|
|
|
|
|
<P>
|
|
|
|
Compile this example and play it. Follow along on both the sheet music and the
|
|
|
|
|
|
|
|
<FONT Face="Serif" Color="Navy"><I>MMA</I></FONT> file so you understand what's happening.
|
|
|
|
|
|
|
|
<P>
|
|
|
|
|
|
|
|
<H1><A NAME="SECTION00420000000000000000">
|
|
|
|
Future Directions</A>
|
|
|
|
</H1>
|
|
|
|
|
|
|
|
<P>
|
|
|
|
Well, that's two examples.
|
|
|
|
|
|
|
|
<P>
|
|
|
|
Certainly, the ideas here only scratch the surface of what
|
|
|
|
<FONT Face="Serif" Color="Navy"><I>MMA</I></FONT> can do.
|
|
|
|
We, as developers, can only hope that we've included enough commands and options
|
|
|
|
for you to create wonderful music. And hope that if we haven't, that you
|
|
|
|
let us know.
|
|
|
|
|
|
|
|
<P>
|
|
|
|
May we suggest that you list and examine some of the
|
|
|
|
sample songs--then, it's all up to you. Have fun!
|
|
|
|
|
|
|
|
<P>
|
|
|
|
|
|
|
|
<P>
|
|
|
|
<HR>
|
|
|
|
<!--Navigation Panel-->
|
|
|
|
<A NAME="tex2html76"
|
|
|
|
HREF="node5.html">
|
|
|
|
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A>
|
|
|
|
<A NAME="tex2html74"
|
|
|
|
HREF="mma-tutorial.html">
|
|
|
|
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A>
|
|
|
|
<A NAME="tex2html68"
|
|
|
|
HREF="node3.html">
|
|
|
|
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A>
|
|
|
|
<BR>
|
|
|
|
<B> Next:</B> <A NAME="tex2html77"
|
|
|
|
HREF="node5.html">Library File Creation</A>
|
|
|
|
<B> Up:</B> <A NAME="tex2html75"
|
|
|
|
HREF="mma-tutorial.html">Tutorial</A>
|
|
|
|
<B> Previous:</B> <A NAME="tex2html69"
|
|
|
|
HREF="node3.html">A Simple Example</A>
|
|
|
|
<!--End of Navigation Panel-->
|
|
|
|
<ADDRESS>
|
2007-04-29 06:47:40 +00:00
|
|
|
bob
|
|
|
|
2007-03-07
|
2006-11-10 08:07:56 +00:00
|
|
|
</ADDRESS>
|
|
|
|
</BODY>
|
|
|
|
</HTML>
|