VocalEasel/mma/docs/html/ref/node5.html

925 lines
23 KiB
HTML
Raw Normal View History

2009-05-17 22:34:44 +00:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2006-11-10 08:07:56 +00:00
2011-07-26 22:49:39 +00:00
<!--Converted with LaTeX2HTML 2008 (1.71)
2006-11-10 08:07:56 +00:00
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>Sequences</TITLE>
<META NAME="description" CONTENT="Sequences">
<META NAME="keywords" CONTENT="mma">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">
2011-07-26 22:49:39 +00:00
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
<META NAME="Generator" CONTENT="LaTeX2HTML v2008">
2006-11-10 08:07:56 +00:00
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
<LINK REL="STYLESHEET" HREF="mma.css">
<LINK REL="next" HREF="node6.html">
<LINK REL="previous" HREF="node4.html">
<LINK REL="up" HREF="mma.html">
<LINK REL="next" HREF="node6.html">
</HEAD>
<BODY bgcolor="#ffffff">
2009-05-17 22:34:44 +00:00
<DIV CLASS="navigation"><!--Navigation Panel-->
2011-07-26 22:49:39 +00:00
<A NAME="tex2html472"
2006-11-10 08:07:56 +00:00
HREF="node6.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A>
2011-07-26 22:49:39 +00:00
<A NAME="tex2html470"
2006-11-10 08:07:56 +00:00
HREF="mma.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A>
2011-07-26 22:49:39 +00:00
<A NAME="tex2html464"
2006-11-10 08:07:56 +00:00
HREF="node4.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A>
<BR>
2011-07-26 22:49:39 +00:00
<B> Next:</B> <A NAME="tex2html473"
2006-11-10 08:07:56 +00:00
HREF="node6.html">Grooves</A>
2011-07-26 22:49:39 +00:00
<B> Up:</B> <A NAME="tex2html471"
2006-11-10 08:07:56 +00:00
HREF="mma.html">Reference Manual</A>
2011-07-26 22:49:39 +00:00
<B> Previous:</B> <A NAME="tex2html465"
2006-11-10 08:07:56 +00:00
HREF="node4.html">Patterns</A>
<BR>
2009-05-17 22:34:44 +00:00
<BR></DIV>
2006-11-10 08:07:56 +00:00
<!--End of Navigation Panel-->
<!--Table of Child-Links-->
<A NAME="CHILD_LINKS"><STRONG>Subsections</STRONG></A>
2009-05-17 22:34:44 +00:00
<UL CLASS="ChildLinks">
2011-07-26 22:49:39 +00:00
<LI><A NAME="tex2html474"
2006-11-10 08:07:56 +00:00
HREF="node5.html#SECTION00510000000000000000">Defining Sequences</A>
2011-07-26 22:49:39 +00:00
<LI><A NAME="tex2html475"
2006-11-10 08:07:56 +00:00
HREF="node5.html#SECTION00520000000000000000">SeqClear</A>
2011-07-26 22:49:39 +00:00
<LI><A NAME="tex2html476"
2006-11-10 08:07:56 +00:00
HREF="node5.html#SECTION00530000000000000000">SeqRnd</A>
2011-07-26 22:49:39 +00:00
<LI><A NAME="tex2html477"
2006-11-10 08:07:56 +00:00
HREF="node5.html#SECTION00540000000000000000">SeqRndWeight</A>
2011-07-26 22:49:39 +00:00
<LI><A NAME="tex2html478"
2006-11-10 08:07:56 +00:00
HREF="node5.html#SECTION00550000000000000000">SeqSize</A>
</UL>
<!--End of Table of Child-Links-->
<HR>
<H1><A NAME="SECTION00500000000000000000"></A> <A NAME="sec-seqs"></A>
<BR>
Sequences
</H1>
<P>
Patterns by themselves don't do much good. They have to be combined into
sequences to be of any use to you or to
<FONT Face="Serif" Color="Navy"><I>MMA</I></FONT> .
<P>
<H1><A NAME="SECTION00510000000000000000">
Defining Sequences</A>
</H1>
<P>
A S<SMALL>EQUENCE</SMALL> command sets the pattern(s) used in creating
each track in your song:
<P>
2007-04-29 06:47:40 +00:00
<Table Hspace="40%" CellSpacing=0 CellPadding=10 BGColor="OldLace" Border=3>
<tr><td>
2009-05-17 22:34:44 +00:00
<B>Track Sequence Pattern1 Pattern2 ...</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>
2011-07-26 22:49:39 +00:00
&#8220;Track&#8221; can be any valid track name: &#8220;Chord&#8221;, &#8220;Walk&#8221;,
&#8220;Walk-Sus&#8221;, &#8220;Arpeggio-88&#8221;, etc.
2006-11-10 08:07:56 +00:00
<P>
All pattern names used when setting a sequence need to be defined when
this command is issued; or you can use what appears to be a pattern
definition right in the sequence command by enclosing the pattern
2011-07-26 22:49:39 +00:00
definition in a set of curly brackets &#8220;{ }&#8221;.
2006-11-10 08:07:56 +00:00
<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">
2009-05-17 22:34:44 +00:00
<SPAN CLASS="textbf"><BIG CLASS="XLARGE">Simple Sequence</BIG></SPAN> <A NAME="eg:seq1"></A>
2007-04-29 06:47:40 +00:00
</tr> </td>
<tr> <td >
2006-11-10 08:07:56 +00:00
2007-04-29 06:47:40 +00:00
<Table Hspace="40%" CellSpacing=0 CellPadding=10 BGColor="OldLace" Border=3>
<tr><td>
<B>SeqClear
2006-11-10 08:07:56 +00:00
<BR>
SeqSize 2
<BR>
Begin Drum
<BR>&nbsp;&nbsp;&nbsp; Sequence Snare4
<BR>&nbsp;&nbsp;&nbsp; Tone Snaredrum1
<BR>
End
<BR>
Begin Drum-1
<BR>&nbsp;&nbsp;&nbsp; Sequence Bass1 Bass2
<BR>&nbsp;&nbsp;&nbsp; Tone KickDrum2
<BR>
End
<BR>
Chord Sequence Broken8
<BR>
Bass Sequence Broken8
<BR>
2007-04-29 06:47:40 +00:00
Arpeggio Sequence { 1 1 100 * 8 } { 1 1 80 * 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
2007-04-29 06:47:40 +00:00
</td> </tr>
</Table>
2006-11-10 08:07:56 +00:00
<P>
<P>
<A HREF="#eg:seq1">This example</A> creates a 2 bar
pattern. The Drum, Chord and Bass patterns repeat on every bar; the
Drum-1 sequence repeats after 2 bars. Note how the Arpeggio pattern is
2011-07-26 22:49:39 +00:00
defined at run-time.<A NAME="tex2html30"
HREF="#foot2356"><SUP><SPAN CLASS="arabic">5</SPAN>.<SPAN CLASS="arabic">1</SPAN></SUP></A>
2006-11-10 08:07:56 +00:00
<P>
If there are fewer patterns than S<SMALL>EQ</SMALL>S<SMALL>IZE</SMALL>, the sequence will be
filled out to correct size. If the number of patterns used is greater
than S<SMALL>EQ</SMALL>S<SMALL>IZE</SMALL> (see
2011-07-26 22:49:39 +00:00
<A HREF="node24.html#sec-directives">directives</A>) a warning
2006-11-10 08:07:56 +00:00
message will be printed and the pattern list will be truncated.
<P>
2011-07-26 22:49:39 +00:00
When defining longer sequences, you can use the &#8220;repeat&#8221; symbol, a
single &#8220;/&#8221;, to save typing. For example, the following two lines are
2006-11-10 08:07:56 +00:00
equivalent:
<P>
2007-04-29 06:47:40 +00:00
<Table Hspace="40%" CellSpacing=0 CellPadding=10 BGColor="OldLace" Border=3>
<tr><td>
<B>Bass Sequence Bass1 Bass1 Bass2 Bass2
2006-11-10 08:07:56 +00:00
<BR>
2007-04-29 06:47:40 +00:00
Bass Sequence Bass1 / Bass2 / </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>
<A NAME="sequence-clear"></A>
<P>
2011-07-26 22:49:39 +00:00
The special pattern name &#8220;-&#8221; (no quotes, just a single hyphen), or a
single &#8220;z&#8221; can be used to turn a track off. For example, if you have
2006-11-10 08:07:56 +00:00
set the sequences in <A HREF="#eg:seq1">this example</A>
and decide to delete the Bass halfway though the song you could:
<P>
2007-04-29 06:47:40 +00:00
<Table Hspace="40%" CellSpacing=0 CellPadding=10 BGColor="OldLace" Border=3>
<tr><td>
<B>Bass Sequence - </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>
2011-07-26 22:49:39 +00:00
The special sequences, &#8220;-&#8221; or &#8220;z&#8221;, are also the equivalent of a
rest or &#8220;tacet&#8221; sequence. For example, in defining a 4 bar sequence
2006-11-10 08:07:56 +00:00
with a 1-5 bass pattern on the first 3 bars and a walking bass on bar
4 you might do something like:
<P>
2007-04-29 06:47:40 +00:00
<Table Hspace="40%" CellSpacing=0 CellPadding=10 BGColor="OldLace" Border=3>
<tr><td>
<B>Bass Sequence Bass4-13 / / z
2006-11-10 08:07:56 +00:00
<BR>
2007-04-29 06:47:40 +00:00
Walk Sequence z / / Walk4-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>
2011-07-26 22:49:39 +00:00
If you already have a sequence defined<A NAME="tex2html31"
HREF="#foot2371"><SUP><SPAN CLASS="arabic">5</SPAN>.<SPAN CLASS="arabic">2</SPAN></SUP></A> you can repeat or copy the existing pattern by
using a single &#8220;*&#8221; as the pattern name. This is useful when you are
2009-05-17 22:34:44 +00:00
modifying an existing sequence.
2006-11-10 08:07:56 +00:00
<P>
For example, assume that we have created a four bar G<SMALL>ROOVE</SMALL>
2011-07-26 22:49:39 +00:00
called &#8220;Neato&#8221;. Now, we want to change the C<SMALL>HORD</SMALL> pattern to
use for an introduction ... but, we really only want to change the
2006-11-10 08:07:56 +00:00
fourth bar in the pattern:
<P>
2007-04-29 06:47:40 +00:00
<Table Hspace="40%" CellSpacing=0 CellPadding=10 BGColor="OldLace" Border=3>
<tr><td>
<B>Groove Neato
2006-11-10 08:07:56 +00:00
<BR>
Chord Sequence * * * {1 2 90}
<BR>
2007-04-29 06:47:40 +00:00
Defgroove NeatoIntro </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>
When a sequence is created a series of pointers to the existing
patterns are created. If you change the definition of a particular
2009-05-17 22:34:44 +00:00
pattern later in your file the new definition will have <SPAN CLASS="textit">no</SPAN>
2006-11-10 08:07:56 +00:00
effect on your existing sequences.
<P>
Sequences are the workhorse of
<FONT Face="Serif" Color="Navy"><I>MMA</I></FONT> . With them you can set up many
interesting patterns and variations. This chapter should certainly
give more detail and many more examples.
2011-07-26 22:49:39 +00:00
<P>
Seqeuence definitions can get quite long and may need multiple
lines. You can do this by using &#8220; &#92;&#8221; marked continuation lines. Or, to
make it possible to have comments at the end of lines,
<FONT Face="Serif" Color="Navy"><I>MMA</I></FONT> will
parse S<SMALL>EQUENCE</SMALL> lines and attempt to join lines together until a
matching number of &#8220;{&#8221;s and &#8220;}&#8221;s are found. One caution: in
order for this feature to work with multi-bar sequences you must have
non-matching braces on a line. For example, this will work:
<P>
<Table Hspace="40%" CellSpacing=0 CellPadding=10 BGColor="OldLace" Border=3>
<tr><td>
<B>Chord Sequence {1 4 90;
<BR>
3 4 90} { 1 1 90} </B>
</td></tr>
</Table>
<P>
This will <SPAN CLASS="textit">not work</SPAN>:
<P>
<Table Hspace="40%" CellSpacing=0 CellPadding=10 BGColor="OldLace" Border=3>
<tr><td>
<B>Chord Sequence {1 4 90 } <IMG
WIDTH="28" HEIGHT="28" ALIGN="BOTTOM" BORDER="0"
SRC="img2.png"
ALT="\includegraphics[height=3ex]{stop.eps}">
<BR> {1 1 90} </B>
</td></tr>
</Table>
2006-11-10 08:07:56 +00:00
<P>
The following commands help manipulate sequences in your creations:
<P>
<H1><A NAME="SECTION00520000000000000000"></A> <A NAME="sec-seqclear"></A>
<BR>
SeqClear
</H1>
<P>
This command clears all existing sequences from memory. It is useful
when defining a new sequence and you want to be sure that no
2011-07-26 22:49:39 +00:00
&#8220;leftover&#8221; sequences are active. The command:
2006-11-10 08:07:56 +00:00
<P>
2007-04-29 06:47:40 +00:00
<Table Hspace="40%" CellSpacing=0 CellPadding=10 BGColor="OldLace" Border=3>
<tr><td>
<B>SeqClear </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>
deletes all sequence information, with the important exception that
S<SMALL>OLO</SMALL> tracks are ignored.
<P>
Alternately, the command:
<P>
2007-04-29 06:47:40 +00:00
<Table Hspace="40%" CellSpacing=0 CellPadding=10 BGColor="OldLace" Border=3>
<tr><td>
<B>Drum SeqClear </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>
2011-07-26 22:49:39 +00:00
deletes <SPAN CLASS="textit">all</SPAN> drum sequences. This includes the track &#8220;Drum&#8221;,
&#8220;Drum1&#8221;, etc.
2006-11-10 08:07:56 +00:00
<P>
If you use a sub-track:
<P>
2007-04-29 06:47:40 +00:00
<Table Hspace="40%" CellSpacing=0 CellPadding=10 BGColor="OldLace" Border=3>
<tr><td>
<B>Chord-Piano SeqClear </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>
2011-07-26 22:49:39 +00:00
only the sequence for that track is cleared.<A NAME="tex2html32"
HREF="#foot2461"><SUP><SPAN CLASS="arabic">5</SPAN>.<SPAN CLASS="arabic">3</SPAN></SUP></A>
2006-11-10 08:07:56 +00:00
<P>
In addition to clearing the sequence pattern, the following other
settings are restored to a default condition:
<P>
<UL>
<LI>Track Invert setting,
<P>
</LI>
<LI>Track Sequence Rnd setting,
<P>
</LI>
<LI>Track MidiSeq setting,
<P>
</LI>
<LI>Track octave,
<P>
</LI>
<LI>Track voice,
<P>
</LI>
<LI>Track Rvolume,
<P>
</LI>
<LI>Track Volume,
<P>
</LI>
<LI>Track RTime,
<P>
</LI>
<LI>Track Strum.
<P>
</LI>
</UL>
<P>
CAUTION: It is not possible to clear only a track like D<SMALL>RUM</SMALL> or
C<SMALL>HORD</SMALL> using this command. The command
<P>
2007-04-29 06:47:40 +00:00
<Table Hspace="40%" CellSpacing=0 CellPadding=10 BGColor="OldLace" Border=3>
<tr><td>
<B>Chord SeqClear </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>
2009-05-17 22:34:44 +00:00
resets <SPAN CLASS="textit">all</SPAN> C<SMALL>HORD</SMALL> tracks, whereas the command:
2006-11-10 08:07:56 +00:00
<P>
2007-04-29 06:47:40 +00:00
<Table Hspace="40%" CellSpacing=0 CellPadding=10 BGColor="OldLace" Border=3>
<tr><td>
<B>Chord-Foo SeqClear </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>
2009-05-17 22:34:44 +00:00
resets the C<SMALL>HORD-</SMALL>F<SMALL>OO</SMALL> track. If you need to clear <SPAN CLASS="textit">only</SPAN>
2011-07-26 22:49:39 +00:00
the C<SMALL>HORD</SMALL> track use the &#8220;-&#8221; option.
2006-11-10 08:07:56 +00:00
<P>
2009-05-17 22:34:44 +00:00
<H1><A NAME="SECTION00530000000000000000"></A>
<A NAME="seqrnd"></A>
<BR>
SeqRnd
2006-11-10 08:07:56 +00:00
</H1>
<P>
Normally, the patterns used for each bar are selected in order. For
example, if you had a sequence:
<P>
2007-04-29 06:47:40 +00:00
<Table Hspace="40%" CellSpacing=0 CellPadding=10 BGColor="OldLace" Border=3>
<tr><td>
<B>Drum-2 Sequence P1 P2 P3 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>
2011-07-26 22:49:39 +00:00
bar 1 would use &#8220;P1&#8221;, bar 2 &#8220;P2&#8221;, etc. However, it is quite
2006-11-10 08:07:56 +00:00
possible (and fun and useful) to insert a randomness to the order of
sequences.
<FONT Face="Serif" Color="Navy"><I>MMA</I></FONT> can achieve this in three different ways:
<P>
<OL>
<LI>Separately for each track:
<P>
2007-04-29 06:47:40 +00:00
<Table Hspace="40%" CellSpacing=0 CellPadding=10 BGColor="OldLace" Border=3>
<tr><td>
<B>Drum-Snare SeqRnd On </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>
</LI>
<LI>Globally for all tracks:
<P>
2007-04-29 06:47:40 +00:00
<Table Hspace="40%" CellSpacing=0 CellPadding=10 BGColor="OldLace" Border=3>
<tr><td>
<B>SeqRnd On </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>
</LI>
<LI>For a selected set of tracks (keeping the tracks synchronized):
<P>
2007-04-29 06:47:40 +00:00
<Table Hspace="40%" CellSpacing=0 CellPadding=10 BGColor="OldLace" Border=3>
<tr><td>
<B>SeqRnd Drum-Snare Chord-2 Chord-3 </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>
</LI>
</OL>
<P>
To disable random sequencing:
<P>
2007-04-29 06:47:40 +00:00
<Table Hspace="40%" CellSpacing=0 CellPadding=10 BGColor="OldLace" Border=3>
<tr><td>
<B>SeqRnd Off
2006-11-10 08:07:56 +00:00
<BR>
2007-04-29 06:47:40 +00:00
Drum SeqRnd Off </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 illustrate the different effects you can generate, assume that you
have a total of four tracks defined: Drum-Snare, Drum-Low, Chord and
Bass; your sequence size is 4 bars; and you have created some type of
sequence for each track with a commands similar to:
<P>
2007-04-29 06:47:40 +00:00
<Table Hspace="40%" CellSpacing=0 CellPadding=10 BGColor="OldLace" Border=3>
<tr><td>
<B>Drum-Snare Sequence D1 D2 D3 D4
2006-11-10 08:07:56 +00:00
<BR>
Drum-Low Sequence D11 D22 D33 D44
<BR>
Chord Sequence C1 C2 C3 C4
<BR>
2007-04-29 06:47:40 +00:00
Bass Sequence B1 B2 B3 B4 </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>
With no sequence randomization at all, the tracks will be be processed
as:
<P>
<BLOCKQUOTE>
<TABLE CELLPADDING=3 BORDER="1">
<TR><TD ALIGN="RIGHT">Track &#92; Bar</TD>
<TD ALIGN="LEFT">1</TD>
<TD ALIGN="LEFT">2</TD>
<TD ALIGN="LEFT">3</TD>
<TD ALIGN="LEFT">4</TD>
<TD ALIGN="LEFT">5</TD>
</TR>
<TR><TD ALIGN="RIGHT">&nbsp;</TD>
<TD ALIGN="LEFT">&nbsp;</TD>
<TD ALIGN="LEFT">&nbsp;</TD>
<TD ALIGN="LEFT">&nbsp;</TD>
<TD ALIGN="LEFT">&nbsp;</TD>
<TD ALIGN="LEFT">&nbsp;</TD>
</TR>
<TR><TD ALIGN="RIGHT">Drum-Snare</TD>
<TD ALIGN="LEFT">D1</TD>
<TD ALIGN="LEFT">D2</TD>
<TD ALIGN="LEFT">D3</TD>
<TD ALIGN="LEFT">D4</TD>
<TD ALIGN="LEFT">D1</TD>
</TR>
<TR><TD ALIGN="RIGHT">Drum-Low</TD>
<TD ALIGN="LEFT">D11</TD>
<TD ALIGN="LEFT">D22</TD>
<TD ALIGN="LEFT">D33</TD>
<TD ALIGN="LEFT">D44</TD>
<TD ALIGN="LEFT">D11</TD>
</TR>
<TR><TD ALIGN="RIGHT">Chord</TD>
<TD ALIGN="LEFT">C1</TD>
<TD ALIGN="LEFT">C2</TD>
<TD ALIGN="LEFT">C3</TD>
<TD ALIGN="LEFT">C4</TD>
<TD ALIGN="LEFT">C1</TD>
</TR>
<TR><TD ALIGN="RIGHT">Bass</TD>
<TD ALIGN="LEFT">B1</TD>
<TD ALIGN="LEFT">B2</TD>
<TD ALIGN="LEFT">B3</TD>
<TD ALIGN="LEFT">B4</TD>
<TD ALIGN="LEFT">B1</TD>
</TR>
</TABLE>
</BLOCKQUOTE>
<P>
Next, assume we have set sequence randomization with:
<P>
2007-04-29 06:47:40 +00:00
<Table Hspace="40%" CellSpacing=0 CellPadding=10 BGColor="OldLace" Border=3>
<tr><td>
<B>SeqRnd On </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, the sequence may look like:
<P>
<BLOCKQUOTE>
<TABLE CELLPADDING=3 BORDER="1">
<TR><TD ALIGN="RIGHT">Track &#92; Bar</TD>
<TD ALIGN="LEFT">1</TD>
<TD ALIGN="LEFT">2</TD>
<TD ALIGN="LEFT">3</TD>
<TD ALIGN="LEFT">4</TD>
<TD ALIGN="LEFT">5</TD>
</TR>
<TR><TD ALIGN="RIGHT">&nbsp;</TD>
<TD ALIGN="LEFT">&nbsp;</TD>
<TD ALIGN="LEFT">&nbsp;</TD>
<TD ALIGN="LEFT">&nbsp;</TD>
<TD ALIGN="LEFT">&nbsp;</TD>
<TD ALIGN="LEFT">&nbsp;</TD>
</TR>
<TR><TD ALIGN="RIGHT">Drum-Snare</TD>
<TD ALIGN="LEFT">D3</TD>
<TD ALIGN="LEFT">D1</TD>
<TD ALIGN="LEFT">D1</TD>
<TD ALIGN="LEFT">D2</TD>
<TD ALIGN="LEFT">D4</TD>
</TR>
<TR><TD ALIGN="RIGHT">Drum-Low</TD>
<TD ALIGN="LEFT">D33</TD>
<TD ALIGN="LEFT">D11</TD>
<TD ALIGN="LEFT">D11</TD>
<TD ALIGN="LEFT">D22</TD>
<TD ALIGN="LEFT">D44</TD>
</TR>
<TR><TD ALIGN="RIGHT">Chord</TD>
<TD ALIGN="LEFT">C3</TD>
<TD ALIGN="LEFT">C1</TD>
<TD ALIGN="LEFT">C1</TD>
<TD ALIGN="LEFT">C2</TD>
<TD ALIGN="LEFT">C4</TD>
</TR>
<TR><TD ALIGN="RIGHT">Bass</TD>
<TD ALIGN="LEFT">B3</TD>
<TD ALIGN="LEFT">B1</TD>
<TD ALIGN="LEFT">B1</TD>
<TD ALIGN="LEFT">B2</TD>
<TD ALIGN="LEFT">B4</TD>
</TR>
</TABLE>
</BLOCKQUOTE>
<P>
Note that the randomization keeps the different sequences together:
Drum sequences D3 and D33 are always played with Chord sequence C3,
etc.
<P>
Next, we will set randomization for a Drum and Chord track only:
<P>
2007-04-29 06:47:40 +00:00
<Table Hspace="40%" CellSpacing=0 CellPadding=10 BGColor="OldLace" Border=3>
<tr><td>
<B>Drum-Low SeqRnd On
2006-11-10 08:07:56 +00:00
<BR>
2007-04-29 06:47:40 +00:00
Chord SeqRnd On </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>
<BLOCKQUOTE>
<TABLE CELLPADDING=3 BORDER="1">
<TR><TD ALIGN="RIGHT">Track &#92; Bar</TD>
<TD ALIGN="LEFT">1</TD>
<TD ALIGN="LEFT">2</TD>
<TD ALIGN="LEFT">3</TD>
<TD ALIGN="LEFT">4</TD>
<TD ALIGN="LEFT">5</TD>
</TR>
<TR><TD ALIGN="RIGHT">&nbsp;</TD>
<TD ALIGN="LEFT">&nbsp;</TD>
<TD ALIGN="LEFT">&nbsp;</TD>
<TD ALIGN="LEFT">&nbsp;</TD>
<TD ALIGN="LEFT">&nbsp;</TD>
<TD ALIGN="LEFT">&nbsp;</TD>
</TR>
<TR><TD ALIGN="RIGHT">Drum-Snare</TD>
<TD ALIGN="LEFT">D1</TD>
<TD ALIGN="LEFT">D2</TD>
<TD ALIGN="LEFT">D3</TD>
<TD ALIGN="LEFT">D4</TD>
<TD ALIGN="LEFT">D1</TD>
</TR>
<TR><TD ALIGN="RIGHT">Drum-Low</TD>
<TD ALIGN="LEFT">D22</TD>
<TD ALIGN="LEFT">D11</TD>
<TD ALIGN="LEFT">D44</TD>
<TD ALIGN="LEFT">D44</TD>
<TD ALIGN="LEFT">D33</TD>
</TR>
<TR><TD ALIGN="RIGHT">Chord</TD>
<TD ALIGN="LEFT">C3</TD>
<TD ALIGN="LEFT">C4</TD>
<TD ALIGN="LEFT">C2</TD>
<TD ALIGN="LEFT">C1</TD>
<TD ALIGN="LEFT">C1</TD>
</TR>
<TR><TD ALIGN="RIGHT">Bass</TD>
<TD ALIGN="LEFT">B1</TD>
<TD ALIGN="LEFT">B2</TD>
<TD ALIGN="LEFT">B3</TD>
<TD ALIGN="LEFT">B4</TD>
<TD ALIGN="LEFT">B1</TD>
</TR>
</TABLE>
</BLOCKQUOTE>
<P>
In this case there is no relationship between any of the randomized
tracks.
<P>
2011-07-26 22:49:39 +00:00
Finally, it is possible to set a &#8220;global&#8221; randomization for a
2006-11-10 08:07:56 +00:00
selected set of tracks. In this case we will set the Drum tracks only:
<P>
2007-04-29 06:47:40 +00:00
<Table Hspace="40%" CellSpacing=0 CellPadding=10 BGColor="OldLace" Border=3>
<tr><td>
<B>SeqRnd Drum-Snare Drum-Low </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>
<BLOCKQUOTE>
<TABLE CELLPADDING=3 BORDER="1">
<TR><TD ALIGN="RIGHT">Track &#92; Bar</TD>
<TD ALIGN="LEFT">1</TD>
<TD ALIGN="LEFT">2</TD>
<TD ALIGN="LEFT">3</TD>
<TD ALIGN="LEFT">4</TD>
<TD ALIGN="LEFT">5</TD>
</TR>
<TR><TD ALIGN="RIGHT">&nbsp;</TD>
<TD ALIGN="LEFT">&nbsp;</TD>
<TD ALIGN="LEFT">&nbsp;</TD>
<TD ALIGN="LEFT">&nbsp;</TD>
<TD ALIGN="LEFT">&nbsp;</TD>
<TD ALIGN="LEFT">&nbsp;</TD>
</TR>
<TR><TD ALIGN="RIGHT">Drum-Snare</TD>
<TD ALIGN="LEFT">D3</TD>
<TD ALIGN="LEFT">D1</TD>
<TD ALIGN="LEFT">D4</TD>
<TD ALIGN="LEFT">D4</TD>
<TD ALIGN="LEFT">D2</TD>
</TR>
<TR><TD ALIGN="RIGHT">Drum-Low</TD>
<TD ALIGN="LEFT">D33</TD>
<TD ALIGN="LEFT">D11</TD>
<TD ALIGN="LEFT">D44</TD>
<TD ALIGN="LEFT">D44</TD>
<TD ALIGN="LEFT">D22</TD>
</TR>
<TR><TD ALIGN="RIGHT">Chord</TD>
<TD ALIGN="LEFT">C1</TD>
<TD ALIGN="LEFT">C2</TD>
<TD ALIGN="LEFT">C3</TD>
<TD ALIGN="LEFT">C4</TD>
<TD ALIGN="LEFT">C1</TD>
</TR>
<TR><TD ALIGN="RIGHT">Bass</TD>
<TD ALIGN="LEFT">B1</TD>
<TD ALIGN="LEFT">B2</TD>
<TD ALIGN="LEFT">B3</TD>
<TD ALIGN="LEFT">B4</TD>
<TD ALIGN="LEFT">B1</TD>
</TR>
</TABLE>
</BLOCKQUOTE>
<P>
2011-07-26 22:49:39 +00:00
Note that the drum sequences always &#8220;line up&#8221; with each other and
2006-11-10 08:07:56 +00:00
the Chord and Bass sequences follow in the normal order.
<P>
The S<SMALL>EQ</SMALL>C<SMALL>LEAR</SMALL> command will disable all sequence
2011-07-26 22:49:39 +00:00
randomization. The S<SMALL>EQ</SMALL> command will disable &#8220;global&#8221; (for all
2006-11-10 08:07:56 +00:00
tracks) randomization.
<P>
2009-05-17 22:34:44 +00:00
<H1><A NAME="SECTION00540000000000000000"></A>
<A NAME="seqrndweight"></A>
<BR>
SeqRndWeight
2006-11-10 08:07:56 +00:00
</H1>
<P>
When S<SMALL>EQ</SMALL>R<SMALL>ND</SMALL> is enabled each sequence for the track (or globally) has an equal chance
2009-05-17 22:34:44 +00:00
of being selected. There are times when you may want to change this behavior. For example,
2006-11-10 08:07:56 +00:00
you might have a sequence like this:
<P>
2007-04-29 06:47:40 +00:00
<Table Hspace="40%" CellSpacing=0 CellPadding=10 BGColor="OldLace" Border=3>
<tr><td>
<B>Chord Sequence C1 C2 C3 C4 </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>
and you feel that the patterns C1 and C2 need to be used twice as often as C3 and C4.
Simple:
<P>
2007-04-29 06:47:40 +00:00
<Table Hspace="40%" CellSpacing=0 CellPadding=10 BGColor="OldLace" Border=3>
<tr><td>
<B>Chord SeqRndWeight 2 2 1 1 </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>
Think of the random selection occurring like selecting balls out of bag. The S<SMALL>EQ</SMALL>R<SMALL>ND</SMALL>W<SMALL>EIGHT</SMALL>
2011-07-26 22:49:39 +00:00
command &#8220;fills up the bag&#8221;. In the above case, there will be two C1 and C2 balls, one C3 and C4 ball--
2006-11-10 08:07:56 +00:00
for a total of six balls.
<P>
This command can be used in both a track and global context.
<P>
The effects are saved in G<SMALL>ROOVES</SMALL>.
<P>
S<SMALL>EQ</SMALL>C<SMALL>LEAR</SMALL> will reset both global and track contexts to the default (equal) condition.
<P>
<H1><A NAME="SECTION00550000000000000000">
SeqSize</A>
</H1>
<P>
2011-07-26 22:49:39 +00:00
The number of bars in a sequence are set with the &#8220;SeqSize&#8221; command.
2006-11-10 08:07:56 +00:00
For example:
<P>
2007-04-29 06:47:40 +00:00
<Table Hspace="40%" CellSpacing=0 CellPadding=10 BGColor="OldLace" Border=3>
<tr><td>
<B>SeqSize 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>
sets it to 4 bars. The SeqSize applies to all tracks.
<P>
2009-05-17 22:34:44 +00:00
This command resets the <SPAN CLASS="textit">sequence counter</SPAN> to 1.
2006-11-10 08:07:56 +00:00
<P>
If some sequences have already been defined, they will be truncated or
expanded to the new size. Truncation is done by removing patterns from
the end of the sequence; expansion is done by duplicating the sequence
until it is long enough.
2011-07-26 22:49:39 +00:00
<P>
2006-11-10 08:07:56 +00:00
<P>
<BR><HR><H4>Footnotes</H4>
<DL>
2011-07-26 22:49:39 +00:00
<DT><A NAME="foot2356">... run-time.</A><A
HREF="node5.html#tex2html30"><SUP><SPAN CLASS="arabic">5</SPAN>.<SPAN CLASS="arabic">1</SPAN></SUP></A></DT>
2006-11-10 08:07:56 +00:00
<DD>If you run
2011-07-26 22:49:39 +00:00
<FONT Face="Serif" Color="Navy"><I>MMA</I></FONT> with the &#8220;-s&#8221; option
you'll see pattern names in the format &#8220;_1&#8221;. The leading
2006-11-10 08:07:56 +00:00
underscore indicates that the pattern was dynamically created in the
sequence.
</DD>
2011-07-26 22:49:39 +00:00
<DT><A NAME="foot2371">... defined</A><A
HREF="node5.html#tex2html31"><SUP><SPAN CLASS="arabic">5</SPAN>.<SPAN CLASS="arabic">2</SPAN></SUP></A></DT>
2006-11-10 08:07:56 +00:00
<DD>In reality there is
always a sequence defined for every track, but it might be a series
2011-07-26 22:49:39 +00:00
of &#8220;rest&#8221; bars.
2006-11-10 08:07:56 +00:00
</DD>
2011-07-26 22:49:39 +00:00
<DT><A NAME="foot2461">... cleared.</A><A
HREF="node5.html#tex2html32"><SUP><SPAN CLASS="arabic">5</SPAN>.<SPAN CLASS="arabic">3</SPAN></SUP></A></DT>
2006-11-10 08:07:56 +00:00
<DD>It is probably
easier to use the command:
2007-04-29 06:47:40 +00:00
<Table Hspace="40%" CellSpacing=0 CellPadding=10 BGColor="OldLace" Border=3>
<tr><td>
<B>Chord-Piano Sequence - </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
if that is
2009-05-17 22:34:44 +00:00
what you want to do. In this case <SPAN CLASS="textit">only</SPAN> sequence pattern is
2006-11-10 08:07:56 +00:00
cleared.
</DD>
2009-05-17 22:34:44 +00:00
</DL>
<DIV CLASS="navigation"><HR>
2006-11-10 08:07:56 +00:00
<!--Navigation Panel-->
2011-07-26 22:49:39 +00:00
<A NAME="tex2html472"
2006-11-10 08:07:56 +00:00
HREF="node6.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A>
2011-07-26 22:49:39 +00:00
<A NAME="tex2html470"
2006-11-10 08:07:56 +00:00
HREF="mma.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A>
2011-07-26 22:49:39 +00:00
<A NAME="tex2html464"
2006-11-10 08:07:56 +00:00
HREF="node4.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A>
<BR>
2011-07-26 22:49:39 +00:00
<B> Next:</B> <A NAME="tex2html473"
2006-11-10 08:07:56 +00:00
HREF="node6.html">Grooves</A>
2011-07-26 22:49:39 +00:00
<B> Up:</B> <A NAME="tex2html471"
2006-11-10 08:07:56 +00:00
HREF="mma.html">Reference Manual</A>
2011-07-26 22:49:39 +00:00
<B> Previous:</B> <A NAME="tex2html465"
2009-05-17 22:34:44 +00:00
HREF="node4.html">Patterns</A></DIV>
2006-11-10 08:07:56 +00:00
<!--End of Navigation Panel-->
<ADDRESS>
2007-04-29 06:47:40 +00:00
bob
2011-07-26 22:49:39 +00:00
2010-11-07
2006-11-10 08:07:56 +00:00
</ADDRESS>
</BODY>
</HTML>