1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!--Converted with LaTeX2HTML 2008 (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>Sequences</TITLE>
<META NAME="description" CONTENT="Sequences">
<META NAME="keywords" CONTENT="mma">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
<META NAME="Generator" CONTENT="LaTeX2HTML v2008">
<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">
<DIV CLASS="navigation"><!--Navigation Panel-->
<A NAME="tex2html537"
HREF="node6.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A>
<A NAME="tex2html535"
HREF="mma.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A>
<A NAME="tex2html529"
HREF="node4.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A>
<BR>
<B> Next:</B> <A NAME="tex2html538"
HREF="node6.html">Grooves</A>
<B> Up:</B> <A NAME="tex2html536"
HREF="mma.html">Reference Manual</A>
<B> Previous:</B> <A NAME="tex2html530"
HREF="node4.html">Patterns</A>
<BR>
<BR></DIV>
<!--End of Navigation Panel-->
<!--Table of Child-Links-->
<A NAME="CHILD_LINKS"><STRONG>Subsections</STRONG></A>
<UL CLASS="ChildLinks">
<LI><A NAME="tex2html539"
HREF="node5.html#SECTION00510000000000000000">Defining Sequences</A>
<LI><A NAME="tex2html540"
HREF="node5.html#SECTION00520000000000000000">SeqClear</A>
<LI><A NAME="tex2html541"
HREF="node5.html#SECTION00530000000000000000">SeqRnd</A>
<LI><A NAME="tex2html542"
HREF="node5.html#SECTION00540000000000000000">SeqRndWeight</A>
<LI><A NAME="tex2html543"
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>
<Table Hspace="40%" CellSpacing=0 CellPadding=10 BGColor="OldLace" Border=3>
<tr><td>
<B>Track Sequence Pattern1 Pattern2 ...</B>
</td></tr>
</Table>
<P>
``Track'' can be any valid track name: ``Chord'', ``Walk'',
``Walk-Sus'', ``Arpeggio-88'', etc.
<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
definition in a set of curly brackets ``{ }''.
<P>
<Table Hspace="40%" CellSpacing=0 CellPadding=10 BGColor="#efefef" Border=3>
<tr><td Align="CENTER" BGColor="White">
<SPAN CLASS="textbf"><BIG CLASS="XLARGE">Simple Sequence</BIG></SPAN> <A NAME="eg:seq1"></A>
</tr> </td>
<tr> <td >
<Table Hspace="40%" CellSpacing=0 CellPadding=10 BGColor="OldLace" Border=3>
<tr><td>
<B>SeqClear
<BR>
SeqSize 2
<BR>
Begin Drum
<BR> Sequence Snare4
<BR> Tone Snaredrum1
<BR>
End
<BR>
Begin Drum-1
<BR> Sequence Bass1 Bass2
<BR> Tone KickDrum2
<BR>
End
<BR>
Chord Sequence Broken8
<BR>
Bass Sequence Broken8
<BR>
Arpeggio Sequence { 1 1 100 * 8 } { 1 1 80 * 4 } </B>
</td></tr>
</Table>
</td> </tr>
</Table>
<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
defined at run-time.<A NAME="tex2html32"
HREF="#foot2590"><SUP><SPAN CLASS="arabic">5</SPAN>.<SPAN CLASS="arabic">1</SPAN></SUP></A>
<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
<A HREF="node29.html#sec-directives">directives</A>) a warning
message will be printed and the pattern list will be truncated.
<P>
When defining longer sequences, you can use the ``repeat'' symbol, a
single ``/'', to save typing. For example, the following two lines are
equivalent:
<P>
<Table Hspace="40%" CellSpacing=0 CellPadding=10 BGColor="OldLace" Border=3>
<tr><td>
<B>Bass Sequence Bass1 Bass1 Bass2 Bass2
<BR>
Bass Sequence Bass1 / Bass2 / </B>
</td></tr>
</Table>
<P>
<A NAME="sequence-clear"></A>
<P>
The special pattern name ``-'' (no quotes, just a single hyphen), or a
single ``z'' can be used to turn a track off. For example, if you have
set the sequences in <A HREF="#eg:seq1">this example</A>
and decide to delete the Bass halfway though the song you could:
<P>
<Table Hspace="40%" CellSpacing=0 CellPadding=10 BGColor="OldLace" Border=3>
<tr><td>
<B>Bass Sequence - </B>
</td></tr>
</Table>
<P>
The special sequences, ``-'' or ``z'', are also the equivalent of a
rest or ``tacet'' sequence. For example, in defining a 4 bar sequence
with a bass pattern on the first 3 bars and a walking bass on bar
4 you might do something like:
<P>
<Table Hspace="40%" CellSpacing=0 CellPadding=10 BGColor="OldLace" Border=3>
<tr><td>
<B>Bass Sequence Bass4-13 / / z
<BR>
Walk Sequence z / / Walk4-4 </B>
</td></tr>
</Table>
<P>
If you already have a sequence defined<A NAME="tex2html33"
HREF="#foot2492"><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 ``*'' as the pattern name. This is useful when you are
modifying an existing sequence.
<P>
For example, assume that we have created a four bar G<SMALL>ROOVE</SMALL>
called ``Neato''. Now, we want to change the C<SMALL>HORD</SMALL> pattern to
use for an introduction ... but, we really only want to change the
fourth bar in the pattern:
<P>
<Table Hspace="40%" CellSpacing=0 CellPadding=10 BGColor="OldLace" Border=3>
<tr><td>
<B>Groove Neato
<BR>
Chord Sequence * * * {1 2 90}
<BR>
Defgroove NeatoIntro </B>
</td></tr>
</Table>
<P>
When a sequence is created a series of pointers to the existing
patterns are created. If you change the definition of a particular
pattern later in your file the new definition will have <SPAN CLASS="textit">no</SPAN>
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.
<P>
Seqeuence definitions can get quite long and may need multiple
lines. You can do this by using `` \'' 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 ``{''s and ``}''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="21" HEIGHT="21" ALIGN="BOTTOM" BORDER="0"
SRC="img2.png"
ALT="\includegraphics[height=2.5ex]{/home/bob/src/bv/mma/docs/images/stop.eps}">
<BR> {1 1 90} </B>
</td></tr>
</Table>
<P>
In the second example
<FONT Face="Serif" Color="Navy"><I>MMA</I></FONT> reads the first ``{1 4 90}'' and figures
that's the end of the sequence. When if finds the next line, it's
totally confused.
<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
``leftover'' sequences are active. The command:
<P>
<Table Hspace="40%" CellSpacing=0 CellPadding=10 BGColor="OldLace" Border=3>
<tr><td>
<B>SeqClear </B>
</td></tr>
</Table>
<P>
deletes all sequence information, with the important exception that
S<SMALL>OLO</SMALL> and S<SMALL>TICKY</SMALL> (<A HREF="node6.html#sect-sticky">here</A>) tracks are ignored.
<P>
Alternately, the command:
<P>
<Table Hspace="40%" CellSpacing=0 CellPadding=10 BGColor="OldLace" Border=3>
<tr><td>
<B>Drum SeqClear </B>
</td></tr>
</Table>
<P>
deletes <SPAN CLASS="textit">all</SPAN> drum sequences. This includes the track ``Drum'',
``Drum1'', etc.
<P>
If you use a sub-track:
<P>
<Table Hspace="40%" CellSpacing=0 CellPadding=10 BGColor="OldLace" Border=3>
<tr><td>
<B>Chord-Piano SeqClear </B>
</td></tr>
</Table>
<P>
only the sequence for that track is cleared.<A NAME="tex2html34"
HREF="#foot2591"><SUP><SPAN CLASS="arabic">5</SPAN>.<SPAN CLASS="arabic">3</SPAN></SUP></A>
<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 RDuration,
<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>
<Table Hspace="40%" CellSpacing=0 CellPadding=10 BGColor="OldLace" Border=3>
<tr><td>
<B>Chord SeqClear </B>
</td></tr>
</Table>
<P>
resets <SPAN CLASS="textit">all</SPAN> C<SMALL>HORD</SMALL> tracks, whereas the command:
<P>
<Table Hspace="40%" CellSpacing=0 CellPadding=10 BGColor="OldLace" Border=3>
<tr><td>
<B>Chord-Foo SeqClear </B>
</td></tr>
</Table>
<P>
resets the C<SMALL>HORD-</SMALL>F<SMALL>OO</SMALL> track. If you need to clear <SPAN CLASS="textit">only</SPAN>
the C<SMALL>HORD</SMALL> track use the ``-'' option.
<P>
<H1><A NAME="SECTION00530000000000000000"></A>
<A NAME="seqrnd"></A>
<BR>
SeqRnd
</H1>
<P>
Normally, the patterns used for each bar are selected in order. For
example, if you had a sequence:
<P>
<Table Hspace="40%" CellSpacing=0 CellPadding=10 BGColor="OldLace" Border=3>
<tr><td>
<B>Drum-2 Sequence P1 P2 P3 z </B>
</td></tr>
</Table>
<P>
bar 1 would use ``P1'', bar 2 ``P2'', etc. However, it is quite
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>
<Table Hspace="40%" CellSpacing=0 CellPadding=10 BGColor="OldLace" Border=3>
<tr><td>
<B>Drum-Snare SeqRnd On </B>
</td></tr>
</Table>
<P>
</LI>
<LI>Globally for all tracks:
<P>
<Table Hspace="40%" CellSpacing=0 CellPadding=10 BGColor="OldLace" Border=3>
<tr><td>
<B>SeqRnd On </B>
</td></tr>
</Table>
<P>
</LI>
<LI>For a selected set of tracks (keeping the tracks synchronized):
<P>
<Table Hspace="40%" CellSpacing=0 CellPadding=10 BGColor="OldLace" Border=3>
<tr><td>
<B>SeqRnd Drum-Snare Chord-2 Chord-3 </B>
</td></tr>
</Table>
<P>
</LI>
</OL>
<P>
To disable random sequencing:
<P>
<Table Hspace="40%" CellSpacing=0 CellPadding=10 BGColor="OldLace" Border=3>
<tr><td>
<B>SeqRnd Off
<BR>
Drum SeqRnd Off </B>
</td></tr>
</Table>
<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>
<Table Hspace="40%" CellSpacing=0 CellPadding=10 BGColor="OldLace" Border=3>
<tr><td>
<B>Drum-Snare Sequence D1 D2 D3 D4
<BR>
Drum-Low Sequence D11 D22 D33 D44
<BR>
Chord Sequence C1 C2 C3 C4
<BR>
Bass Sequence B1 B2 B3 B4 </B>
</td></tr>
</Table>
<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 \ 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"> </TD>
<TD ALIGN="LEFT"> </TD>
<TD ALIGN="LEFT"> </TD>
<TD ALIGN="LEFT"> </TD>
<TD ALIGN="LEFT"> </TD>
<TD ALIGN="LEFT"> </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>
<Table Hspace="40%" CellSpacing=0 CellPadding=10 BGColor="OldLace" Border=3>
<tr><td>
<B>SeqRnd On </B>
</td></tr>
</Table>
<P>
Now, the sequence may look like:
<P>
<BLOCKQUOTE>
<TABLE CELLPADDING=3 BORDER="1">
<TR><TD ALIGN="RIGHT">Track \ 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"> </TD>
<TD ALIGN="LEFT"> </TD>
<TD ALIGN="LEFT"> </TD>
<TD ALIGN="LEFT"> </TD>
<TD ALIGN="LEFT"> </TD>
<TD ALIGN="LEFT"> </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>
<Table Hspace="40%" CellSpacing=0 CellPadding=10 BGColor="OldLace" Border=3>
<tr><td>
<B>Drum-Low SeqRnd On
<BR>
Chord SeqRnd On </B>
</td></tr>
</Table>
<P>
<BLOCKQUOTE>
<TABLE CELLPADDING=3 BORDER="1">
<TR><TD ALIGN="RIGHT">Track \ 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"> </TD>
<TD ALIGN="LEFT"> </TD>
<TD ALIGN="LEFT"> </TD>
<TD ALIGN="LEFT"> </TD>
<TD ALIGN="LEFT"> </TD>
<TD ALIGN="LEFT"> </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>
Finally, it is possible to set a ``global'' randomization for a
selected set of tracks. In this case we will set the Drum tracks only:
<P>
<Table Hspace="40%" CellSpacing=0 CellPadding=10 BGColor="OldLace" Border=3>
<tr><td>
<B>SeqRnd Drum-Snare Drum-Low </B>
</td></tr>
</Table>
<P>
<BLOCKQUOTE>
<TABLE CELLPADDING=3 BORDER="1">
<TR><TD ALIGN="RIGHT">Track \ 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"> </TD>
<TD ALIGN="LEFT"> </TD>
<TD ALIGN="LEFT"> </TD>
<TD ALIGN="LEFT"> </TD>
<TD ALIGN="LEFT"> </TD>
<TD ALIGN="LEFT"> </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>
Note that the drum sequences always ``line up'' with each other and
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
randomization. The S<SMALL>EQ</SMALL> command will disable ``global'' (for all
tracks) randomization.
<P>
<H1><A NAME="SECTION00540000000000000000"></A>
<A NAME="seqrndweight"></A>
<BR>
SeqRndWeight
</H1>
<P>
When S<SMALL>EQ</SMALL>R<SMALL>ND</SMALL> is enabled each sequence for the track (or globally) has an equal chance
of being selected. There are times when you may want to change this behavior. For example,
you might have a sequence like this:
<P>
<Table Hspace="40%" CellSpacing=0 CellPadding=10 BGColor="OldLace" Border=3>
<tr><td>
<B>Chord Sequence C1 C2 C3 C4 </B>
</td></tr>
</Table>
<P>
and you feel that the patterns C1 and C2 need to be used twice as often as C3 and C4.
Simple:
<P>
<Table Hspace="40%" CellSpacing=0 CellPadding=10 BGColor="OldLace" Border=3>
<tr><td>
<B>Chord SeqRndWeight 2 2 1 1 </B>
</td></tr>
</Table>
<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>
command ``fills up the bag''. In the above case, there will be two C1 and C2 balls, one C3 and C4 ball--
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>
The number of bars in a sequence are set with the ``SeqSize'' command.
For example:
<P>
<Table Hspace="40%" CellSpacing=0 CellPadding=10 BGColor="OldLace" Border=3>
<tr><td>
<B>SeqSize 4 </B>
</td></tr>
</Table>
<P>
sets it to 4 bars. The SeqSize applies to all tracks.
<P>
This command resets the <SPAN CLASS="textit">sequence counter</SPAN> to 1.
<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.
<P>
<P>
<BR><HR><H4>Footnotes</H4>
<DL>
<DT><A NAME="foot2590">... run-time.</A><A
HREF="node5.html#tex2html32"><SUP><SPAN CLASS="arabic">5</SPAN>.<SPAN CLASS="arabic">1</SPAN></SUP></A></DT>
<DD>If you run
<FONT Face="Serif" Color="Navy"><I>MMA</I></FONT> with the ``-s'' option
you'll see pattern names in the format ``_1''. The leading
underscore indicates that the pattern was dynamically created in the
sequence.
</DD>
<DT><A NAME="foot2492">... defined</A><A
HREF="node5.html#tex2html33"><SUP><SPAN CLASS="arabic">5</SPAN>.<SPAN CLASS="arabic">2</SPAN></SUP></A></DT>
<DD>In reality there is
always a sequence defined for every track, but it might be a series
of ``rest'' bars.
</DD>
<DT><A NAME="foot2591">... cleared.</A><A
HREF="node5.html#tex2html34"><SUP><SPAN CLASS="arabic">5</SPAN>.<SPAN CLASS="arabic">3</SPAN></SUP></A></DT>
<DD>It is probably
easier to use the command:
<Table Hspace="40%" CellSpacing=0 CellPadding=10 BGColor="OldLace" Border=3>
<tr><td>
<B>Chord-Piano Sequence - </B>
</td></tr>
</Table>
if that is
what you want to do. In this case <SPAN CLASS="textit">only</SPAN> sequence pattern is
cleared.
</DD>
</DL>
<DIV CLASS="navigation"><HR>
<!--Navigation Panel-->
<A NAME="tex2html537"
HREF="node6.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A>
<A NAME="tex2html535"
HREF="mma.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A>
<A NAME="tex2html529"
HREF="node4.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A>
<BR>
<B> Next:</B> <A NAME="tex2html538"
HREF="node6.html">Grooves</A>
<B> Up:</B> <A NAME="tex2html536"
HREF="mma.html">Reference Manual</A>
<B> Previous:</B> <A NAME="tex2html530"
HREF="node4.html">Patterns</A></DIV>
<!--End of Navigation Panel-->
<ADDRESS>
Bob van der Poel
2016-06-11
</ADDRESS>
</BODY>
</HTML>
|