home *** CD-ROM | disk | FTP | other *** search
/ The Best of the Best / _.img / 02162 / modedit.doc < prev    next >
Text File  |  1991-11-23  |  70KB  |  1,877 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.                           MODEDIT VERSION 2.00 DOCUMENTATION
  9.                                COPYRIGHT 1991 NORMAN LIN
  10.  
  11.                                    =================
  12.                                    TABLE OF CONTENTS
  13.                                    =================
  14.  
  15.              0.  License/Warranty/Disclaimer
  16.  
  17.              1.  Introduction
  18.                  1.1  What is ModEdit?
  19.                  1.2  What is needed to run ModEdit?
  20.  
  21.              2.  Getting started
  22.                  2.1  Quick start
  23.                  2.2  Setup
  24.                  2.3  ModEdit's menu system
  25.                  2.4  Configuration
  26.                  2.5  The main screen
  27.  
  28.              3.  Nomenclature/concepts
  29.                  3.1  Note unit
  30.                  3.1  Pattern
  31.                  3.3  Sequence
  32.                  3.4  Sample
  33.                  3.5  Integrating note units, patterns, sequence, and
  34.                       samples
  35.  
  36.              4.  Using ModEdit
  37.                  4.1  Samples: Choosing your instruments
  38.                       4.1.1  What are samples?
  39.                       4.1.2  The "sample directory"
  40.                       4.1.3  Manipulating samples
  41.                       4.1.4  Attributes of samples
  42.                       4.1.5  Default volume
  43.                  4.2  Entering music
  44.                       4.2.1  Editing patterns
  45.                       4.2.2  Creating new patterns
  46.                       4.2.3  Sequencing patterns
  47.                       4.1.3  Other pattern options
  48.                  4.3  Hearing your music
  49.                       4.3.1  MODRES:   Inline playing
  50.                       4.3.2  MODPLAY:  External playing
  51.                  4.4  Saving and loading Modules
  52.  
  53.              5.  Reference
  54.                  5.1  Pattern editor quick reference key summary
  55.                  5.2  Sample window quick reference key summary
  56.                  5.3  Pattern sequencer quick reference key summary
  57.                  5.4  Effect list quick reference chart
  58.                  5.5  ModPlay
  59.                  5.6  Coming attractions
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.                                        Page 2
  69.  
  70.  
  71.  
  72.  
  73.                         =======================================
  74.                         0.  MODEDIT LICENSE/WARRANTY/DISCLAIMER
  75.                         =======================================
  76.  
  77.              The  below  information  applies  only to ModEdit and related
  78.              documentation files.  Specifically, the below  terms  do  not
  79.              apply   to   the  "MODRES.COM"  program  file.   For  license
  80.              information concerning MODRES, consult MODRES.DOC.
  81.  
  82.              This program and  accompanying  documentation  are  Copyright
  83.              1991  by  the  author  (Norman  Lin).  You are hereby granted
  84.              permission to freely distribute  and  use  this  program  for
  85.              personal  use.   You  may  upload  this program to electronic
  86.              bulletin boards or Internet FTP sites.
  87.  
  88.              You are specifically prohibited from selling or  charging  or
  89.              requesting any monetary amount for the distribution or use of
  90.              ModEdit  or  accompanying  documentation.  ModEdit may not be
  91.              used for any commercial purposes  without  my  prior  express
  92.              written  permission.   ModEdit may not be distributed for use
  93.              with any for-profit products (software, hardware,  or  other;
  94.              including  but not limited to commercial software, shareware,
  95.              D/A  converters,  etc.)  without  my  prior  express  written
  96.              permission.
  97.  
  98.              There  is  no warranty of any kind; this software is provided
  99.              on an "AS-IS" basis.  The author  of  this  software  (Norman
  100.              Lin)  shall not be liable for any damages whatsoever that may
  101.              result, directly or indirectly, from the use of this software
  102.              or  documentation.  By owning a copy of and/or using ModEdit,
  103.              you agree to all the above terms.
  104.  
  105.              If you find ModEdit useful, entertaining, or  interesting  --
  106.              or  if  you just feel kind-hearted -- a voluntary donation in
  107.              any amount ($5 U.S. suggested) would be greatly  appreciated.
  108.              With  your support, future, better versions of this and other
  109.              software can be made available.
  110.  
  111.              Send  all  contributions,  comments, or queries about ModEdit
  112.              to:
  113.  
  114.              Norman Lin                |Norman Lin
  115.              1109 West 94th Street     |1400 Asp Avenue Box 1215 East
  116.              Jenks, OK  74037   U.S.A  |Norman, OK  73026   U.S.A.
  117.              ==========================|==================================
  118.              Permanent address         |Current address (thru Spring 1992)
  119.  
  120.              Before the end of Spring, 1992, the address on the right will
  121.              reach me more quickly.  After Spring, 1992, either  email  me
  122.              to  get my new current address, or (if email bounces) use the
  123.              permanent address.
  124.  
  125.              Internet email address:
  126.                 norlin@uokmax.ecn.uoknor.edu / norlin@129.15.22.2
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.                                        Page 3
  135.  
  136.  
  137.  
  138.  
  139.                                    ================
  140.                                    1.  INTRODUCTION
  141.                                    ================
  142.  
  143.              1.1  WHAT IS MODEDIT?
  144.              ---------------------
  145.  
  146.              ModEdit  is  a  music  editor/sequencer for the IBM PC family
  147.              that allows you to write music with  4  tracks  of  digitized
  148.              instrument   sounds.   The  file  format  used  is the "Amiga
  149.              Module" format.  ModEdit can load and save  Modules,  meaning
  150.              that  Modules  created  by  other  programs  (even  on  other
  151.              computers such as the Amiga) can be used by ModEdit, and that
  152.              the Modules created by ModEdit can be  used  by  any  program
  153.              that can use Modules.
  154.  
  155.              1.2  WHAT IS NEEDED TO RUN MODEDIT?
  156.              -----------------------------------
  157.  
  158.              To run ModEdit, you need:
  159.  
  160.              -  An IBM or compatible, 640K recommended.
  161.              -  The executable editor program MODEDIT.EXE.
  162.  
  163.              To hear  the  music,  you  also  need  one  or  both  of  the
  164.              following:
  165.  
  166.              -  The resident module player MODRES.COM  by  Mark  J.   Cox,
  167.                 which  allows  you to hear your music as you write it from
  168.                 within ModEdit.  (Included with ModEdit.)
  169.  
  170.              - The external module player MODPLAY (MP.COM) by Mark J. Cox,
  171.                which allows  you  to  play  Modules  outside  the  ModEdit
  172.                environment.
  173.  
  174.              NOTE:  To  run  MODPLAY  or MODRES, you must have a 10 MHz or
  175.              faster machine.
  176.                                   ===================
  177.                                   2.  GETTING STARTED
  178.                                   ===================
  179.  
  180.              2.1  QUICK START
  181.              ----------------
  182.  
  183.              If  you're  impatient,  and think you know what you're doing,
  184.              you  can  "quick  start"  ModEdit  by  typing  "RUNME"  after
  185.              unpacking  the  ModEdit  archive.  It's strongly recommended,
  186.              though, that you take the time to read this documentation.
  187.  
  188.              2.2  SETUP
  189.              ----------
  190.  
  191.              Your ModEdit archive file should contain the following files:
  192.  
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199.  
  200.                                        Page 4
  201.  
  202.  
  203.  
  204.  
  205.              -  RUNME.BAT   : Batch file that runs ModEdit
  206.              -  MODEDIT.DOC : This file
  207.              -  MODEDIT.EXE : The executable ModEdit module editor
  208.              -  MODRES.COM  : Mark J. Cox's resident module player, for
  209.                               use in conjunction with ModEdit
  210.              -  MODRES.DOC  : Documentation/License for MODRES
  211.              -  HARDWARE.DOC: Circuit plans for sound boards
  212.              -  BREATH.MOD  : A sample Module for you to experiment with
  213.              -  *.SAM       : Various digitized sample files
  214.  
  215.              To  run  ModEdit,  first  unpack the archive file, preferably
  216.              into its own subdirectory if you have a hard drive.
  217.  
  218.              You'll  probably  want to use the inline playing functions of
  219.              ModEdit (so that you can hear  your  music  from  within  the
  220.              editor).   So, type "MODRES" and press return; this loads the
  221.              resident module player into memory.  If you do not run MODRES
  222.              before ModEdit, you will not be able to hear your music  from
  223.              within  ModEdit, though you will still be able to load, edit,
  224.              and save Modules for external playing.
  225.  
  226.              After  running MODRES (if you wish to), run ModEdit by typing
  227.              "MODEDIT" and pressing return.   You  will  then  be  running
  228.              ModEdit.   You  may  wish  to  set  some defaults to your own
  229.              preferences (e.g. screen colors, default directories,  etc.);
  230.              see "Configuration" below.
  231.  
  232.              After  you  exit  ModEdit,  MODRES  remains in memory (it's a
  233.              TSR).  Keeping MODRES in memory does no harm, but  does  take
  234.              up  a  minimal  amount  of space.  To free this memory space,
  235.              type "MODRES -d".
  236.  
  237.              Supplied  in  the  ModEdit  archive  file  is  a  batch  file
  238.              "RUNME.BAT"   which  automatically  installs  and  deinstalls
  239.              MODRES.  It simply contains the commands:
  240.  
  241.                 modres > nul
  242.                 modedit
  243.                 modres -d > nul
  244.  
  245.              2.3  MODEDIT'S MENU SYSTEM
  246.              --------------------------
  247.  
  248.              Once  you've started up ModEdit, you need to know how to move
  249.              around  through  the various  available  options.   ModEdit's
  250.              main options are selectable from a main menu line at the  top
  251.              of  the  screen.  One option will be highlighted; to move the
  252.              highlight, use the left and right  arrow  keys.   Enter  will
  253.              select the highlighted option.  Alternatively, you may  press
  254.              the  capitalized  letter  of  the  main menu option to "quick
  255.              select" that option; for instance the "File"  option  may  be
  256.              chosen by the single keystroke "F."
  257.  
  258.  
  259.  
  260.  
  261.  
  262.  
  263.  
  264.  
  265.  
  266.                                        Page 5
  267.  
  268.  
  269.  
  270.  
  271.              Other   "popup"   and   "dropdown"   menus   will  appear  as
  272.              appropriate, presenting you with various  options.   Choosing
  273.              an option from one of these menus may be done by:
  274.  
  275.              1)  Using the cursor keys to move the menu bar to the desired
  276.                  item, then pressing enter, or
  277.  
  278.              2)  Presssing  the  capitalized  letter on the desired item's
  279.                  menu line.
  280.  
  281.              To escape from any menu or option, press the ESC key.
  282.  
  283.              Certain menu options (e.g. loading, saving, etc.) require you
  284.              to input text.  When ModEdit requires input from you, a small
  285.              window will be created in which you  may  type  the  required
  286.              input.   The  standard  cursor editing keys apply here (left,
  287.              right, backspace, insert, delete). Press return when you  are
  288.              finished, or ESC to abort the input.
  289.  
  290.              When  entering  filenames  for  load  options, you may either
  291.              specify the filename to load, or you may specify a  pathname.
  292.              If  you  choose to specify a pathname, you must end it with a
  293.              backslash (\).  After specifying a pathname, you are given  a
  294.              directory  of  files  in  that path and a large reverse video
  295.              bar. Move the bar with the arrow keys; press the space bar or
  296.              enter to choose a file.  To see  more  files  (if  there  are
  297.              more), use the left and right arrow keys.
  298.  
  299.              A  status  line at the very bottom of the screen always gives
  300.              you the current filename and various  information  about  the
  301.              song,  as  well  as memory available.  A star (*) will appear
  302.              next to the Module filename if the Module in memory has  been
  303.              modified and if the changes have not yet been saved.
  304.  
  305.              2.4  CONFIGURATION
  306.              ------------------
  307.  
  308.              Now  that  you  know  how  to move around in ModEdit, you can
  309.              configure ModEdit to your particular system and  preferences.
  310.              Select the "Configuration" option from the Main Menu.
  311.  
  312.              You  will  be presented with the Configuration Submenu.  From
  313.              here  you may set various  options  about  ModEdit,  such  as
  314.              colors,  directories,  etc.  The only ones you really need to
  315.              set right now are the following:
  316.  
  317.              -  Module directory: this is where  ModEdit  will  look  for
  318.                 your  Modules (i.e. songfiles).  This option is under the
  319.                 "Directories" option of the Configuration Submenu.
  320.  
  321.              -  Sample directory: this is where ModEdit will look for your
  322.                 sample files.  This option is also under the "Directories"
  323.                 option of the Configuration submenu.
  324.  
  325.  
  326.  
  327.  
  328.  
  329.  
  330.  
  331.  
  332.                                        Page 6
  333.  
  334.  
  335.  
  336.  
  337.              And,  if  you've  loaded MODRES into memory, you also need to
  338.              set:
  339.  
  340.              -  Output device: this is the device  to  which  MODRES  will
  341.                 play  music/samples.   It  defaults to the PC speaker, but
  342.                 can be a D/A converter on an LPT  port  (see  the  MODPLAY
  343.                 documentation  for  information  on  how  to  build  a D/A
  344.                 converter).
  345.  
  346.              -  Processor  speed:  this tells MODRES how fast your CPU is.
  347.                 You must have at least a 10 MHz processor to  use  MODRES.
  348.                 Four 10  MHz  CPU speeds are provided, listed as  "10  MHz
  349.                 (mix  speed)"  on the menu.  Lower mixing speeds should be
  350.                 chosen  if  your 10 MHz machine crashes on the other speed
  351.                 choices.
  352.  
  353.              Feel  free to set any other configuration options you wish to
  354.              customize (such as screen colors, error  beep,  etc.).   When
  355.              you're done, select "Write Configuration" to save the current
  356.              settings  to  a  configuration  file.  Next time you start up
  357.              ModEdit, the configuration file will be read and the defaults
  358.              set according to your specifications.
  359.  
  360.              The configuration  file  is  saved  to  the  current  working
  361.              directory; this will initially be the directory that you were
  362.              in  when you started ModEdit.  If for some reason you wish to
  363.              save the configuration file elsewhere, do so by changing  the
  364.              current   working   directory.    Then,  when  you  save  the
  365.              configuration, it will be saved in the  new  current  working
  366.              directory.
  367.  
  368.              2.5  THE MAIN SCREEN
  369.              --------------------
  370.  
  371.              All of ModEdit's Module editing features are handled from one
  372.              main  screen.   This  is  a  change  from earlier versions of
  373.              ModEdit.  The main screen is divided into three  main  parts:
  374.              the  pattern  editor, the pattern sequencer/selector, and the
  375.              sample window.
  376.  
  377.  
  378.  
  379.  
  380.  
  381.  
  382.  
  383.  
  384.  
  385.  
  386.  
  387.  
  388.  
  389.  
  390.  
  391.  
  392.  
  393.  
  394.  
  395.  
  396.  
  397.  
  398.                                        Page 7
  399.  
  400.  
  401.  
  402.  
  403.              The three sections are shown on the screen as follows:
  404.  
  405.                                                         Abbreviated
  406.              Pattern Editor                             Sample List
  407.              +--------+--------+--------+--------+   +--------------+
  408.              |        |        |        |        |   |1     |16     |
  409.              |        |        |        |        |   |2     |17     |
  410.              |        |        |        |        |   |      |       |
  411.              |Track 1 |Track 2 |Track 3 |Track 4 |   |.     |.      |
  412.              |        |        |        |        |   |.     |.      |
  413.              |        |        |        |        |   |.     |.      |
  414.              |        |        |        |        |   |      |31     |
  415.              |        |        |        |        |   |15    |       |
  416.              +--------+--------+--------+--------+   |--------------+
  417.                                                +-----+              |
  418.              Pattern Sequence Table            |(sample attributes  |
  419.              +--+--+--XXXX--+--+--+--+         | for current sample)|
  420.              |--|--|--X--X--|--|--|--|         +--------------------+
  421.              +--+--+--XXXX--+--+--+--+
  422.  
  423.  
  424.              Only  one  section  of  the screen is active at one time.  To
  425.              move from  section  to  section,  press  the  TAB  key.   The
  426.              currently  active  section will be indicated by a highlighted
  427.              border.
  428.  
  429.              A  description  of  each  section  (pattern  editor,  pattern
  430.              sequencer/selector,  sample window) is given below in section
  431.              4, "Using ModEdit."
  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.                                        Page 8
  465.  
  466.  
  467.  
  468.  
  469.                                =========================
  470.                                3.  NOMENCLATURE/CONCEPTS
  471.                                =========================
  472.  
  473.              To use ModEdit, it is  necessary  first  to  understand  some
  474.              general   terminology   and   concepts  dealing  with  Module
  475.              construction.
  476.  
  477.              3.1  NOTE UNIT
  478.              --------------
  479.  
  480.              The  fundamental  building block of patterns.  It consists of
  481.              three parts:
  482.  
  483.              1)  A musical note and octave (e.g. C#3 or A 2)
  484.  
  485.              2)  A "sample" or "instrument" number  that  determines  what
  486.                  instrument  sound  will  be  associated  with  the  given
  487.                  musical note
  488.  
  489.              3)  An effect number and argument,  which  jointly  determine
  490.                  "how"  the  note  is  to  be  played  (i.e.   loud, soft,
  491.                  arpeggiated, etc.)
  492.  
  493.              3.2  PATTERN
  494.              ------------
  495.  
  496.              A  collection  of four independent tracks, each containing 64
  497.              contiguous note units.  It is the fundamental building  block
  498.              of  songs  created  with  ModEdit.   By  arranging note units
  499.              within a pattern/several patterns,  you  can  create  musical
  500.              motives.  Patterns  are numbered starting with ZERO (contrast
  501.              with samples below) and may go up to  63  (i.e.  64  patterns
  502.              max).
  503.  
  504.              3.3  SEQUENCE
  505.              -------------
  506.  
  507.              An  arrangement  of  patterns.   By arranging patterns into a
  508.              sequence, you can group musical motives  into  a  song.   The
  509.              sequence may be up to 128 patterns long.  A given pattern can
  510.              appear  in  the  sequence  more than once, if desired -- this
  511.              means that for repeated musical passages, you need not create
  512.              another identical pattern; you simply place the same  pattern
  513.              number in the sequence.
  514.  
  515.  
  516.              3.4  SAMPLE
  517.              -----------
  518.  
  519.              Also interchangeably called "instrument." It is a  collection
  520.              of  digitized data which mimics a particular instrument (e.g.
  521.              flute, piano, guitar, etc.). Samples make  your  music  sound
  522.              "real"  as  opposed  to  "computerish"  (simple  square  wave
  523.  
  524.  
  525.  
  526.  
  527.  
  528.  
  529.  
  530.                                        Page 9
  531.  
  532.  
  533.  
  534.  
  535.              beeps).  Up to 31 distinct samples may be used in a  Module,
  536.              affording a wide range of orchestrational possibilities.  The
  537.              samples   are   numbered  1-31  (contrast  with  the  pattern
  538.              numbering scheme above).
  539.  
  540.              3.5  INTEGRATING NOTE UNITS, PATTERNS, SEQUENCE, AND SAMPLES
  541.              ------------------------------------------------------------
  542.  
  543.              A  complete  song,  therefore,  consists  of  a   number   of
  544.              PATTERNS,  each  of  which  contains  64  NOTE  UNITS.  These
  545.              patterns are SEQUENCED into a particular order, which defines
  546.              the  song  the  listener  will  hear.   The  SAMPLE  that  is
  547.              associated  with  each  note  determines  the timbral quality
  548.              (sound) that the note makes as it is played.
  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.                                        Page 10
  597.  
  598.  
  599.  
  600.  
  601.                                    =================
  602.                                    4.  USING MODEDIT
  603.                                    =================
  604.  
  605.              4.1  SAMPLES: CHOOSING YOUR INSTRUMENTS
  606.              ---------------------------------------
  607.  
  608.              4.1.1  What are samples?
  609.              ------------------------
  610.  
  611.              To reiterate, samples are the "instruments"  that  make  your
  612.              music  sound  real.  Up to 31 distinct samples may be present
  613.              in a Module, and each is uniquely identified  by  its  sample
  614.              number,  1  to  31.   A  sample defines the sound that a note
  615.              makes when it is played.
  616.  
  617.              The first step in creating a Module should be loading  in  at
  618.              least  one  sample.   After all, you need samples in order to
  619.              hear your music at all.
  620.  
  621.              4.1.2  The "sample directory"
  622.              -----------------------------
  623.  
  624.              Samples are stored as digitized sound  files  on  disk;  each
  625.              sample  is  stored  in  its  own  individual file.  Since the
  626.              possible number of samples is practically  infinite,  ModEdit
  627.              allows  you to specify a "sample directory" where your sample
  628.              files are stored.  For instance  you  could  set  the  sample
  629.              directory  to  A:\,  which would make ModEdit look for sample
  630.              files by default on A:\.   This  would  allow  you  to  store
  631.              sample  files  on  diskettes. Alternatively, you could make a
  632.              subdirectory  on  your  hard  drive,  and  set   the   sample
  633.              drive/directory  there,  so  that your sample files would not
  634.              clutter up other directories.
  635.  
  636.              If a sample directory is not specified  (either  by  hand  or
  637.              through  the  configuration  file) it defaults to the current
  638.              working directory.
  639.  
  640.  
  641.              4.1.3  Manipulating samples
  642.              ---------------------------
  643.  
  644.              To manipulate samples, select "Sample" from  the  main  menu,
  645.              then  select  "Edit  samples." This will highlight the sample
  646.              window, and expand it from its former abbreviated  form  into
  647.              the  full  form  (i.e.  you now will see the full sample name
  648.              instead of an abbreviation).  All 31 samples will not fit  on
  649.              the  screen at once; therefore, use the up/down/home/end/page
  650.              up/page down keys to scroll through the list of  samples.   A
  651.              reverse  video  bar  (referred  to  henceforth as the "sample
  652.              selection bar") will appear in the  sample  list,  indicating
  653.              the currently selected sample.
  654.  
  655.  
  656.  
  657.  
  658.  
  659.  
  660.  
  661.  
  662.                                        Page 11
  663.  
  664.  
  665.  
  666.  
  667.              If a sample's sample NUMBER is highlighted, that  sample  has
  668.              been  loaded (allocated).  If not, it has not been allocated,
  669.              that is, that sample "slot" is empty.
  670.  
  671.              Initially all sample fields  will  be  empty;  therefore,  no
  672.              sample numbers will be highlighted.  The sample selection bar
  673.              will   initially   be   on  the  first  sample.   Moving  the
  674.              selection bar up or down selects a sample.
  675.  
  676.              Once you've moved  the  sample  selection  bar  to  a  sample
  677.              number,  you  may  then  do  one  of  serveral things to that
  678.              sample slot, by pressing the appropriate command key:
  679.  
  680.              <L>oad:  Loads a sample  file  into  the  currently  selected
  681.                 slot.   Sets the sample attributes as follows (see "Sample
  682.                 Attributes" below):
  683.  
  684.                 - Name: The filename on disk of the sample file
  685.                 - Volume:  The  "default  volume"  (see  "Default  Volume"
  686.                   below)
  687.                 - Loopstart, Looplength: Both set to 0.
  688.  
  689.              <S>ave:  Saves the currently selected sample to disk.
  690.  
  691.              <R>elease:   Frees  the  memory  allocated  to  the currently
  692.                 selected sample.  The sample that was previously  in  that
  693.                 slot is no longer usable.
  694.  
  695.              <A>ttribute:   Edits the attributes of the currently selected
  696.                 sample (see "Sample Attributes" below).
  697.  
  698.              <P>lay:  Plays  the  currently  selected sample to the output
  699.                 device (see "Configuration"), if you've  installed  MODRES
  700.                 (see "Setup").
  701.  
  702.              <C>lear:  Clears all samples.
  703.  
  704.  
  705.              4.1.4  Attributes of samples
  706.              ----------------------------
  707.  
  708.              The  box  beneath  the  sample  list   contains   "attribute"
  709.              information   for  the  currently  selected  sample.   Sample
  710.              attributes define certain characteristics of the sample.  You
  711.              may   edit   any  of  these  attributes  by pressing "A" when
  712.              the sample window is active.
  713.  
  714.              The first attribute of a  sample  is  the  name.  ModEdit  by
  715.              default sets the sample name attribute to the sample filename
  716.              on  disk.  This is for clarity and it is recommended that you
  717.              have meaningful sample names.  You are, however, free to edit
  718.              the name attribute to anything you want, up to 22  characters
  719.              long.   Some composers edit all the sample name attributes to
  720.  
  721.  
  722.  
  723.  
  724.  
  725.  
  726.  
  727.  
  728.                                        Page 12
  729.  
  730.  
  731.  
  732.  
  733.              form a message containing composer information or  the  like.
  734.              This makes later identification of samples difficult.
  735.  
  736.              The second attribute is the volume.  Whenever a note unit  is
  737.              played,  the sample that is used to play that note can have a
  738.              volume from 0 through 64 (64 being loudest).  You may specify
  739.              the volume for this note unit explicitly through  the  effect
  740.              field  with command "C" (see "Effects" below).  If you do not
  741.              specify a volume, the sample is played back with  the  volume
  742.              specified by its volume attribute.
  743.  
  744.              The third and fourth attributes jointly  determine  "looping"
  745.              of  the sample. Some sounds, such as a piano or a snare drum,
  746.              have a definite  start  and  end  point.   Such  samples  are
  747.              generally  not  looped  (though  they  could  be  for special
  748.              effects or  something  similar).   On  the  other  hand  some
  749.              sounds,  such  as  a  flute  or  a  sine  wave, do not have a
  750.              definite "ending" point; the sound  is  a  constant  waveform
  751.              that  only  changes  in  frequency.   Such  sounds  are often
  752.              looped.
  753.  
  754.              A "looped" sample is one that  will  continuously  be  played
  755.              without  stop.  Sample  looping  is defined by a "loop start"
  756.              attribute and a "loop length" attribute.   The  "loop  start"
  757.              attribute  is  a  number  that  represents an offset from the
  758.              beginning of the sample; it is from this  point  that  sample
  759.              looping begins.  The "loop length" attribute is a number that
  760.              represents  the  length  of  the  section to loop.  A diagram
  761.              will make this clearer:
  762.  
  763.                                         +---Loop Length----------+
  764.                                         |                        |
  765.                                         | This section is played |
  766.                                         v     continuously       v
  767.              -Sample data stream--------==========================
  768.              ^                          ^                        ^
  769.              |                          |                        |
  770.              |                          Loop Start               |
  771.              |                                                   |
  772.              +--------------Sample Length------------------------+
  773.  
  774.              The portion of the sample data stream beginning at  the  loop
  775.              start   and  ending  at  loopstart  +  looplength  is  played
  776.              continuously, allowing  "ringing"  or  continuously  sounding
  777.              notes.  This looped portion of the data stream is represented
  778.              above by the "=" symbol.
  779.  
  780.              The best  way  to  get  a  feel  for  sample  looping  is  to
  781.              experiment  with  the  loop  bytes  and listen to the results
  782.              (e.g.  with the "<P>lay" option in the sample window).
  783.  
  784.  
  785.  
  786.  
  787.  
  788.  
  789.  
  790.  
  791.  
  792.  
  793.  
  794.                                        Page 13
  795.  
  796.  
  797.  
  798.  
  799.              4.1.5  Default volume
  800.              ---------------------
  801.  
  802.              When loading a sample, ModEdit sets the sample attributes  as
  803.              mentioned  above  under "<L>oad." The "default volume" is the
  804.              value that the sample attribute "volume" will be set to  when
  805.              a  sample  is  newly  loaded  from  disk.  It is initally  64
  806.              (maximum),  but  if  for  some  reason  you wish your samples
  807.              to be at a lower volume by default, you may set this "default
  808.              volume"   through  the  "Default  Volume"  option  under  the
  809.              "Sample" menu.  The volume attributes of all  loaded  samples
  810.              are set to this "default volume." You are, of course, free to
  811.              edit  a particular sample's volume attribute once it has been
  812.              loaded.
  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.                                        Page 14
  861.  
  862.  
  863.  
  864.  
  865.              4.2  ENTERING MUSIC
  866.              -------------------
  867.  
  868.              After  you've loaded in a sample (or several samples), you're
  869.              ready to enter music.  For the examples in this section it is
  870.              assumed you  have  loaded  into  sample  slot  1  the  sample
  871.              "SAMP.SAM," and into slot 2, "SAM2.SAM."
  872.  
  873.              4.2.1  Editing Patterns
  874.              -----------------------
  875.  
  876.              The main building block of Modules is the  pattern.   Musical
  877.              notes  in  Modules  are entered into patterns.  From the main
  878.              menu,  choose  the "Edit" option, which will display the Edit
  879.              Submenu.
  880.  
  881.              ModEdit  intially places one pattern in memory (in fact there
  882.              will always be at least one pattern in memory).  So, to start
  883.              editing, select the "Edit Pattern" option.  The pattern  that
  884.              is selected for editing is the "current pattern." The current
  885.              pattern  is  displayed in the "Pattern Sequence Table" with a
  886.              double-box around it (see  "Pattern  Sequencing"  below).  To
  887.              change the current pattern you may use the "<" and ">"  keys;
  888.              "<"  takes you to the previous pattern in the sequence table;
  889.              ">" takes you to the next  pattern  in  the  sequence  table.
  890.              Initially,  of  course, there will be only one pattern in the
  891.              sequence table so "<" and ">" cannot change the pattern being
  892.              edited (initially).
  893.  
  894.              You are now in the ModEdit pattern editor.  The editor screen
  895.              looks something like this:
  896.  
  897. Pattern Editor                                   Abbreviated Sample List
  898. +--!----------!----------!----------!----------+ +----------------------+
  899. |00!...|00|000!...|00|000!...|00|000!...|00|000| |01 SAMP.SAM|17        |
  900. |01!...|00|000!...|00|000!...|00|000!...|00|000| |02 SAM2.SAM|18        |
  901. |02!...|00|000!...|00|000!...|00|000!...|00|000| |03         |19        |
  902.  
  903.                                                  |15         |31        |
  904. |13!...|00|000!...|00|000!...|00|000!...|00|000| |16         |          |
  905. +--!----------!----------!----------!----------+ +-----------+----------+
  906. ^   ^  ^  ^^
  907. |   |  |  ||                            To the left are descriptions of each
  908. |   |  |  | Effect field: argument      field for each track.  Each track has a
  909. |   |  |  |                             note field, a sample field, and an
  910. |   |  |  Effect field: command         effect field, as shown.  At the very
  911. |   |  |                                left is the note position within the
  912. |   |  Sample field: sample number      pattern.  The edit window scrolls, so
  913. |   |                                   you may go up to note position 63
  914. |   Note field: note and octave         (since there are 64 note units within
  915. |                                       each pattern).
  916. Note position within the pattern
  917.  
  918.  
  919.  
  920.  
  921.  
  922.  
  923.  
  924.  
  925.                                        Page 15
  926.  
  927.  
  928.  
  929.  
  930.              The "Abbreviated Sample  List"  contains  a  list  of  sample
  931.              names, truncated so that all 31 may be displayed on screen at
  932.              once.   It's  mainly for reference, so that you can tell at a
  933.              glance which sample file is loaded into  which  sample  slot.
  934.              One  sample  name will "usually" be in reverse video; this is
  935.              the "default sample" (described below).  (It is  possible  to
  936.              have no default sample, in which case no sample name would be
  937.              in  reverse  video.)   Assume "SAMP.SAM" is in reverse video,
  938.              for the following examples.
  939.  
  940.              Moving around the pattern editor
  941.              --------------------------------
  942.              Each  pattern consists of 64 note units for each of 4 tracks.
  943.              The 64 note units are numbered 0 - 63.  The  edit  window  is
  944.              only  13  lines  long, so to see all 64 note units use the up
  945.              and down arrow keys to scroll.
  946.  
  947.              Movement around the screen is quite simple.   Use  the  arrow
  948.              keys,  home,  end,  page up, and page down to move the cursor
  949.              to any field of any track at any note unit position.  INS and
  950.              DEL will insert a note unit or delete a note  unit  from  the
  951.              track where the cursor is currently located.
  952.  
  953.              To  reset  any field (note, sample, or effect) to an empty or
  954.              zero value, simply press the SPACE bar when the cursor is  on
  955.              that  field.   Empty  fields might at first seem useless; why
  956.              would one want an empty field?  The answer is that empty note
  957.              unit fields allow  entering  notes  of  differing  durational
  958.              values. See "Note field" below.
  959.  
  960.              Editing the note field
  961.              ----------------------
  962.              The  note  field  consists  of  a musical note and an octave.
  963.              The musical note can be any of the following: C C# D D#  E  F
  964.              F# G G# A A# B.  This is a full twelve-tone scale; therefore,
  965.              to enter "flat" notes, "double sharp" notes and the like, you
  966.              must  enter  them as their enharmonic equivalent in the given
  967.              scale above.  For instance, B-flat would be  entered  as  A#,
  968.              C##  would  be  entered as D, etc.  This notation does result
  969.              in some tonal ambiguity from a  musical  standpoint,  but  it
  970.              makes  things  much  easier  for  the computer.  If you don't
  971.              quite understand what enharmonically  equivalent  notes  are,
  972.              don't worry about it.
  973.  
  974.              To  alter  an  existing  note field, you may either type over
  975.              it, or  use  one  of  the  special  note  editing  keys:  "O"
  976.              [capital]   will   increase  the  note's  octave  value;  "o"
  977.              [lowercase] will decrease the note's octave value.  "+"  will
  978.              increase  the  note  by  one half-step; "-" will decrease the
  979.              note by one half- step.  Additionally, "=" will copy  a  note
  980.              field to the note field directly underneath it.
  981.  
  982.              The  octave  range  of notes is theoretically C 0 to B 9.  If
  983.              you try to enter extremely high notes, though, you will start
  984.  
  985.  
  986.  
  987.  
  988.  
  989.  
  990.  
  991.                                        Page 16
  992.  
  993.  
  994.  
  995.  
  996.              getting inaccuracies because of loss of  note  resolution  at
  997.              the  higher  extremes.   For instance, if you try to enter "B
  998.              8", "A 8" will appear on the screen instead.  This is because
  999.              the note period for B 8  is  so  small  that  the  computer's
  1000.              limited  resolution  interprets  it  as A 8 instead.  There's
  1001.              really no reason you should need to go THAT  high  with  your
  1002.              notes  anyway.  The effective range is approximately C 0 to C
  1003.              7.
  1004.  
  1005.              Initially the note field will be blank; therefore "..."  will
  1006.              appear  in  the  field.   To  enter a note in the note field,
  1007.              simply move the cursor to  the  note  field  in  the  desired
  1008.              track,  and  type  in  the note/octave from the keyboard. The
  1009.              note will replace whatever old note was there before.
  1010.  
  1011.              Entering notes of differing durations requires  a  "relative"
  1012.              view  of  note  duration.   All  musical  note  durations are
  1013.              relative, in "real" musical notation.  For instance,  a  half
  1014.              note  is  half the length of a whole note.  A quarter note is
  1015.              half the length of a half note.  An eighth note is  half  the
  1016.              length  of  a  quarter  note;  a  sixteenth  note is half the
  1017.              length of an eighth note, etc.  For instance, here's one  way
  1018.              of conceptualizing different note durations:
  1019.  
  1020.              +---------------+
  1021.              |= = = = = = = =|   One whole note: 8 atomic units
  1022.              +-------+-------+
  1023.              |= = = =|= = = =|   Two half notes: each 4 atomic units
  1024.              +---+---+---+---+
  1025.              |= =|= =|= =|= =|   Four quarter notes: each 2 atomic units
  1026.              +-+-+-+-+-+-+-+-+
  1027.              |=|=|=|=|=|=|=|=|   Eight 8th notes: each 1 atomic unit
  1028.              +-+-+-+-+-+-+-+-+
  1029.  
  1030.              Note  that,  in  this particular diagram, we cannot subdivide
  1031.              beyond 8th notes because at  the  8th  note  level,  we  have
  1032.              reached  the  atomic  notational unit "=", which in this case
  1033.              represents an eighth note.
  1034.  
  1035.              We could alternatively, though, choose the  atomic  unit  "="
  1036.              to  represent  a  SIXTEENTH note, in which case our relations
  1037.              would be as follows:
  1038.  
  1039.              +-------------------------------+
  1040.              |= = = = = = = = = = = = = = = =| 1 whole note   :16 atomic units
  1041.              +---------------+---------------+
  1042.              |= = = = = = = =|= = = = = = = =| 2 half notes   :each 8 atomic
  1043.              +-------+-------+-------+-------+                 units
  1044.              |= = = =|= = = =|= = = =|= = = =| 4 quarter notes:each 4 atomic
  1045.              +---+---+---+---+---+---+---+---+                 units
  1046.              |= =|= =|= =|= =|= =|= =|= =|= =| 8 8th notes    :each 2 atomic
  1047.              +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+                 units
  1048.              |=|=|=|=|=|=|=|=|=|=|=|=|=|=|=|=| 16 16th notes  :each 1 atomic
  1049.              +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+                 unit
  1050.  
  1051.  
  1052.  
  1053.  
  1054.  
  1055.  
  1056.  
  1057.                                        Page 17
  1058.  
  1059.  
  1060.  
  1061.  
  1062.              Important points to note about the above diagrams:
  1063.  
  1064.              (1) We  are  using  a  certain  number  of  atomic  units  to
  1065.                  represent  each note duration.
  1066.  
  1067.              (2) The number of atomic units needed to represent a note  of
  1068.                  a  certain  duration  is  a function of the note duration
  1069.                  that a SINGLE atomic unit represents.
  1070.  
  1071.              Thus, conceptually, here is how you enter notes of  different
  1072.              durations:
  1073.  
  1074.              (1) Determine  the  SMALLEST  or  SHORTEST  note duration you
  1075.                  will need in the song.  Say, you choose the 16th note.
  1076.  
  1077.              (2) Assume the atomic note unit represents the note  duration
  1078.                  chosen in (1).
  1079.  
  1080.              (3) The  note  duration  that  is  twice  as long as the note
  1081.                  duration in (1) will be  represented  by  twice  as  many
  1082.                  atomic  units.   For instance, in this example, 8th notes
  1083.                  would be represented by  TWO  atomic  units,  since  16th
  1084.                  notes  are  represented by one.  Correspondingly, quarter
  1085.                  notes would be represented by FOUR  atomic  units,  since
  1086.                  8th  notes are represented by two... etc, etc.
  1087.  
  1088.              (4) Adjust the song speed (see "Effect field" below) so  that
  1089.                  the  atomic note unit is of the right real-time, absolute
  1090.                  length.
  1091.  
  1092.              As you have probably ascertained by  now,  the  "atomic  note
  1093.              units"  above  are  almost  exactly  the  "note  units"  that
  1094.              comprise a pattern.  So, still  using  the  above  choice  of
  1095.              atomic  note  unit  as  16th note, here's how you'd enter the
  1096.              passage C2[4th] D2[8th] E2[8th]  F2[16th]  G2[16th]  A2[16th]
  1097.              B2[16th]:
  1098.  
  1099. Pattern Editor                                   Abbreviated Sample List
  1100. +--!----------!----------!----------!----------+ +----------------------+
  1101. |00!C 2|01|000!...|00|000!...|00|000!...|00|000| |01 SAMP.SAM|17        |
  1102. |01!...|00|000!...|00|000!...|00|000!...|00|000| |02 SAM2.SAM|18        |
  1103. |02!...|00|000!...|00|000!...|00|000!...|00|000| |03         |19        |
  1104. |03!...|00|000!...|00|000!...|00|000!...|00|000| |03         |19        |
  1105. |04!D 2|01|000!...|00|000!...|00|000!...|00|000| |03         |19        |
  1106. |05!...|00|000!...|00|000!...|00|000!...|00|000| |03         |19        |
  1107. |06!E 2|01|000!...|00|000!...|00|000!...|00|000| |03         |19        |
  1108. |07!...|00|000!...|00|000!...|00|000!...|00|000| |03         |19        |
  1109. |08!F 2|01|000!...|00|000!...|00|000!...|00|000| |03         |19        |
  1110. |09!G 2|01|000!...|00|000!...|00|000!...|00|000| |03         |19        |
  1111. |10!A 2|01|000!...|00|000!...|00|000!...|00|000| |03         |19        |
  1112. |11!B 2|01|000!...|00|000!...|00|000!...|00|000| |03         |19        |
  1113. |12!...|00|000!...|00|000!...|00|000!...|00|000| |03         |19        |
  1114. |13!...|00|000!...|00|000!...|00|000!...|00|000| |16         |          |
  1115. +--!----------!----------!----------!----------+ +-----------+----------+
  1116.  
  1117.  
  1118.  
  1119.  
  1120.  
  1121.  
  1122.  
  1123.                                        Page 18
  1124.  
  1125.  
  1126.  
  1127.  
  1128.  
  1129.  
  1130.              The  "..."  in  the note field indicates that particular note
  1131.              unit is "empty"; an "empty" note unit means to HOLD the  most
  1132.              recent  note  in  that  track, whatever it was.  (Remember to
  1133.              enter empty or null fields, press  the  SPACE  bar  when  the
  1134.              cursor  is  on  that field.) So, the C 2 is played for 4 note
  1135.              units (0 - 3); then the D 2 is played for 2 note units  (4  -
  1136.              5),  etc.   Thus, the C 2 is played twice as long as the D 2,
  1137.              which is exactly as intended (C 2 is a  quarter  note,  which
  1138.              should  be  played  twice as long as the D 2, which is an 8th
  1139.              note).
  1140.  
  1141.              Editing the sample number field
  1142.              -------------------------------
  1143.              You will notice that when you enter a  note,  not  only  does
  1144.              the  note  appear,  but  also a number in the sample field to
  1145.              the right appears.   This  number  is  the  "default  sample"
  1146.              number that was mentioned above.
  1147.  
  1148.              The  concept  of  a  "default  sample"  number is as follows.
  1149.              Each note in a pattern must be  "played"  with  a  particular
  1150.              "instrument."  It is often (almost always) necessary to enter
  1151.              a long series of notes that is played  with  one  instrument.
  1152.              Rather  than  entering the notes AND entering the same sample
  1153.              number over and over again, you simply enter  the  note,  and
  1154.              ModEdit  will  automatically  enter the default sample number
  1155.              in the sample field for  you.   If  you  change  the  default
  1156.              sample  (with "S" and "s"; see below) to none, this automatic
  1157.              feature is turned off.
  1158.  
  1159.              By  default,  the  default  sample  will  NOT  overwrite   an
  1160.              existing  (i.e.  non-zero)  sample number.  For instance, say
  1161.              that the default sample is 3, and you enter a note "C  1"  in
  1162.              an  empty note unit; then the sample number of that note unit
  1163.              will become 3.  Later, you change your default sample  to  4,
  1164.              and  change  this  "C  1" to a "D 1".  The sample number will
  1165.              stay 3, since the default sample, by default, does  not  have
  1166.              "precedence" over an existing sample number.  This is so that
  1167.              you  may  change  existing  melody lines without altering the
  1168.              sample number.  You may change this precedence  by  going  to
  1169.              the  Configuration  Menu (see "Configuration" below).  If the
  1170.              default sample has "precedence," it will always overwrite  an
  1171.              existing sample field.  This is useful for entirely rewriting
  1172.              tracks, samples and all.
  1173.  
  1174.              To change  the  default  sample,  press  "S"  [uppercase]  to
  1175.              increase,  or  "s"  [lowercase]  to decrease.  You'll want to
  1176.              change the default sample number when your lead line  changes
  1177.              instruments,  when you switch from entering a lead track to a
  1178.              percussion track, etc.   --  basically,  whenever  the  music
  1179.              you're entering switches from predominantly one instrument to
  1180.              another.  By pressing "S" or "s", the reverse  video  bar  in
  1181.              the  sample  window will move up or down accordingly, to show
  1182.  
  1183.  
  1184.  
  1185.  
  1186.  
  1187.  
  1188.  
  1189.                                        Page 19
  1190.  
  1191.  
  1192.  
  1193.  
  1194.              you which sample is currently the default.  If you change the
  1195.              default sample out of bounds, this selects no default  sample
  1196.              (the reverse video bar disappears to indicate this).
  1197.  
  1198.              For  instance,  in the example above, say that "SAMP.SAM" was
  1199.              in reverse video.   By  pressing  "S",  "SAM2.SAM"  would  be
  1200.              selected,  since  it's  the next sequentially (upward) in the
  1201.              sample list.  By pressing  "S"  again,  no  sample  would  be
  1202.              selected as the default sample (since you've moved off of the
  1203.              end of the list).  By pressing "S" again, "SAMP.SAM" is again
  1204.              selected.   Using  the  "s" key cycles through the samples in
  1205.              the opposite order.  If this is a  bit  confusing,  just  try
  1206.              pressing "S" and "s" when in the pattern editor to see how it
  1207.              works.  "S" and "s" only cycle through allocated samples.
  1208.  
  1209.              You  may  also  edit  the sample field manually by moving the
  1210.              cursor onto the  sample  field,  and  typing  in  the  sample
  1211.              number  that  you  want  associated  with  the  note  in  the
  1212.              adjoining note field.  If  you  attempt  to  enter  a  sample
  1213.              number  greater  than  31, ModEdit will clip the value to 31.
  1214.              Just as with  the  note  field,  "+"  and  "-"  increase  and
  1215.              decrease the field value, respectively.
  1216.  
  1217.              Note  that it is possible for a note unit to have a non-empty
  1218.              note field, but a null (zero) sample field.  This can  happen
  1219.              if  you set the default sample to none and edit an empty note
  1220.              unit, or if you manually change the sample field to zero. The
  1221.              end result is a note with no associated sample. I  call  such
  1222.              notes  "orphaned" notes.  You generally should avoid orphaned
  1223.              notes.  They may play  correctly,  since  the  sample  number
  1224.              that  will  be  used during playback will most likely default
  1225.              to the last sample number that was used in that track.   It's
  1226.              best  explicitly  to  associate a specific sample number with
  1227.              each non-empty note field.
  1228.  
  1229.              Additionally,  you  need  to beware of using samples that you
  1230.              haven't loaded. The default sample feature will not allow you
  1231.              to select a default sample that has not been loaded. However,
  1232.              you may still edit the sample number field manually to be any
  1233.              number, say, "sample number 17" even  if  you  have  not  yet
  1234.              loaded  a  sample into position 17.  If you forget eventually
  1235.              to load a sample into position 17, you  may  (probably  will)
  1236.              get very strange results during playback which may crash your
  1237.              computer.   So,  always  make sure that, when you're ready to
  1238.              play your music, you are only using samples you have  loaded.
  1239.              Once  again,  the default sample feature is a handy way to do
  1240.              this.
  1241.  
  1242.              Editing the effect field
  1243.              ------------------------
  1244.              The effect field consists  of  2  parts:  a  command  and  an
  1245.              argument.
  1246.  
  1247.  
  1248.  
  1249.  
  1250.  
  1251.  
  1252.  
  1253.  
  1254.  
  1255.                                        Page 20
  1256.  
  1257.  
  1258.  
  1259.  
  1260.              The  command  can one of 16 values: 0 1 2 3 4 5 6 7 8 9 A B C
  1261.              D E F. These commands control various  aspects  of  note  and
  1262.              song  playback.   An  effect  command  generally takes effect
  1263.              starting immediately with the note field associated with that
  1264.              effect.
  1265.  
  1266.              The  argument  is  one  byte  long  and  is  represented   in
  1267.              hexadecimal.   A hexadecimal byte, in case you don't know, is
  1268.              a base 16 representation of a  number  that  consists  of  an
  1269.              "upper  nybble"  and a "lower nybble", each of which may take
  1270.              on a value of 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B,  C,  D,  E,
  1271.              or  F.  Values from A - F correspond to the decimal values 10
  1272.              - 15.
  1273.  
  1274.              Certain commands listed below use the  2  nybbles  separately
  1275.              (e.g.  arpeggiation).  In  this  case,  the 1st nybble is one
  1276.              argument, and the 2nd nybble  is  the  2nd  argument.   Other
  1277.              commands  treat  the  2  nybbles  jointly  as  one byte (e.g.
  1278.              speed).  In  this  case,  the  decimal  equivalent   of   the
  1279.              hexidecimal  number  is  calculated by: (upper nybble * 16) +
  1280.              lower nybble.  So, for instance, an effect of  "F  1D"  would
  1281.              mean  set  the song speed ("F") to 29 (1*16 + D = 1*16 + 13 =
  1282.              29).
  1283.  
  1284.              Here's a list of effects and their  required  argument  byte.
  1285.              "xy"  for  the  argument  byte  means  each nybble is treated
  1286.              separately; "xx" means they are treated jointly as one byte.
  1287.  
  1288.              0 -- AREPEGGIATION
  1289.              Format:  0 xy
  1290.  
  1291.              Plays its associated note in arpeggiated fashion; that is, it
  1292.              rapidly steps the note between 3 pitch values:  the  original
  1293.              pitch  value,  the  original  pitch  value  +  "x"  number of
  1294.              halfsteps, and the original  pitch  value  +  "y"  number  of
  1295.              halfsteps.
  1296.  
  1297.              1 -- SLIDE UP
  1298.              Format:  1 xx
  1299.  
  1300.              Slides pitch up; slide speed is determined by the xx argument
  1301.              (remember, it's in hexadecimal).
  1302.  
  1303.              2 -- SLIDE DOWN
  1304.              Format:  2 xx
  1305.  
  1306.              Just like SLIDE UP except it slides the pitch down.
  1307.  
  1308.              3 -- SLIDE TO NOTE
  1309.              Format:  3 xx
  1310.  
  1311.              Similar  to  slide  except  it  slides  the pitch TOWARDS the
  1312.              pitch of the associated note field (commands  1  and  2  only
  1313.  
  1314.  
  1315.  
  1316.  
  1317.  
  1318.  
  1319.  
  1320.  
  1321.                                        Page 21
  1322.  
  1323.  
  1324.  
  1325.  
  1326.              specify  a  speed,  not  a  destination).  xx is the speed to
  1327.              slide the pitch.
  1328.  
  1329.              4 -- VIBRATO
  1330.              Format:  4 xy
  1331.  
  1332.              Performs  "vibrato"  on  a note (wavering  effect).  x is the
  1333.              vibrato speed; y is the vibrato depth.
  1334.  
  1335.              A -- VOLUME SLIDE
  1336.              Format:  A x0  or  A 0y
  1337.  
  1338.              Slides the volume either up or down.  If x is specified and y
  1339.              is  0,  the  volume is slid up at speed x.  If y is specified
  1340.              and x is 0, the volume is slid down at speed y.
  1341.  
  1342.              B -- POSITION JUMP
  1343.              Format:  B xx
  1344.  
  1345.              Breaks the pattern (i.e. stops  playing  it  at  its  current
  1346.              position)  and  jumps  to  position  xx (hexadecimal!) in the
  1347.              pattern sequence table.
  1348.  
  1349.              C -- SET VOLUME
  1350.              Format:  C xx
  1351.  
  1352.              Sets  the  volume  for  its associated note unit to xx.  Note
  1353.              that it only takes effect with its associated note unit,  not
  1354.              subsequent notes.  Valid volume range is 00 - 40 (hex).
  1355.  
  1356.              D -- PATTERN BREAK
  1357.              Format:  D 00
  1358.  
  1359.              Breaks the pattern (i.e. stops  playing  it  at  its  current
  1360.              position) and goes on to the next one in the pattern sequence
  1361.              table.  The argument is meaningless.
  1362.  
  1363.              F -- SET SPEED
  1364.              Format:  F xx
  1365.  
  1366.              Sets the speed of the song; hex values 00 - 1F are valid.
  1367.  
  1368.  
  1369.              The  best  way to understand what exactly these effects do is
  1370.              just to experiment and listen.
  1371.  
  1372.              Playing music from within the editor
  1373.              ------------------------------------
  1374.              With MODRES installed, you may hear your  music  from  within
  1375.              the pattern editor three ways.
  1376.  
  1377.              First,  you  may press the "N" key.  This plays the note that
  1378.              the cursor is currently on.
  1379.  
  1380.  
  1381.  
  1382.  
  1383.  
  1384.  
  1385.  
  1386.  
  1387.                                        Page 22
  1388.  
  1389.  
  1390.  
  1391.  
  1392.              Second,  you may press the "T" key, which plays the track the
  1393.              cursor is located in.
  1394.  
  1395.              Finally, you may press the "P" key, which  plays  the  entire
  1396.              pattern.
  1397.  
  1398.              These  functions are useful for immediately hearing what your
  1399.              music sounds like, allowing you to make changes and hear  the
  1400.              results.
  1401.  
  1402.              4.2.2  Creating new patterns
  1403.              ----------------------------
  1404.  
  1405.              A  pattern only contains 64 note units.  This generally isn't
  1406.              enough for a whole song, so you  will  want  to  create  more
  1407.              patterns.   This  is  done by selecting "Create Pattern" from
  1408.              the "Edit" menu.  A new pattern is created  and  is  inserted
  1409.              int the "Pattern Sequence Table" (see "Sequencing patterns").
  1410.              You  are then free to edit this pattern.  You can also create
  1411.              patterns within the sequencer (see "Sequencing patterns").
  1412.  
  1413.              4.2.3  Sequencing patterns
  1414.              --------------------------
  1415.  
  1416.              After you've entered your music into patterns, you then  must
  1417.              sequence the individual patterns into a particular order that
  1418.              will   define   the   song.    To   do   this,   choose   the
  1419.              "Sequence/Select  Patterns" option under "Edit."  The Pattern
  1420.              Sequence Table will then be highlighted  to  indicate  it  is
  1421.              active.   (You  could  also have pressed TAB from the pattern
  1422.              editor or sample window to get to the sequencer.)
  1423.  
  1424.              The Pattern Sequence Table looks like:
  1425.  
  1426.              +---+---+---XXXXX---+---+---+---+
  1427.              |   |   |   X000X   |   |   |   |
  1428.              +---+---+---XXXXX---+---+---+---+
  1429.              |   |   |   X00 X   |   |   |   |
  1430.              +---+---+---XXXXX---+---+---+---+
  1431.  
  1432.              The  top  number  represents the POSITION within the sequence
  1433.              table.  The bottom number represents the PATTERN NUMBER  that
  1434.              is  at  that  position.   There is a maximum of 128 positions
  1435.              within the table.
  1436.  
  1437.              The double-box (represented above with "X"s)  represents  the
  1438.              current  pattern.   It is the pattern that is edited when you
  1439.              are  in  the pattern  editor.  To change it, use the left and
  1440.              right arrow keys.   This  scrolls  you  through  the  current
  1441.              pattern sequence, thereby changing the current pattern.
  1442.  
  1443.              To change the pattern number at a particular position, simply
  1444.              move to that position (with the left and right arrow keys) so
  1445.              that the desired position  is  within  the  double-box.  Then
  1446.  
  1447.  
  1448.  
  1449.  
  1450.  
  1451.  
  1452.  
  1453.                                        Page 23
  1454.  
  1455.  
  1456.  
  1457.  
  1458.              simply  type  in the new pattern number.
  1459.  
  1460.              To insert or delete patterns into your  song,  press  INS  or
  1461.              DEL,  repsectively.  A "00" pattern will be inserted into the
  1462.              sequence, which you can then  edit  to  be  whatever  pattern
  1463.              number you want.  Also,  the  "+"  key  will  append  a  "00"
  1464.              pattern  into  the  sequence  AFTER the current position (INS
  1465.              places it BEFORE).
  1466.  
  1467.              You can also create patterns within the sequencer by pressing
  1468.              "C".  This creates a new pattern and  inserts  it  after  the
  1469.              current pattern.
  1470.  
  1471.              You need to be aware that when you save a Module (see "Saving
  1472.              and  loading Modules" below), the highest pattern number that
  1473.              will be saved is the highest pattern number that was USED  in
  1474.              the  pattern  sequence.   For  instance,  say  you created 38
  1475.              patterns (0 -  37),  but  in  your  sequence  you  only  used
  1476.              patterns  0  through  20.  If you attempted to save the song,
  1477.              patterns 21 through  37  would  not  be  saved.   This  is  a
  1478.              limitation  imposed by the Module format. Be sure, therefore,
  1479.              that when you save a Module that the highest  pattern  number
  1480.              in  the  sequence table corresponds to the highest pattern in
  1481.              memory. If you try to save a Module and there is a danger  of
  1482.              losing  patterns,  ModEdit  will  warn  you  of  this  before
  1483.              proceeding.
  1484.  
  1485.              4.2.4  Other edit options
  1486.              -------------------------
  1487.  
  1488.              The Edit menu has a few other options for your convenience.
  1489.  
  1490.              "Duplicate pattern"  will  create  an  identical  copy  of  a
  1491.              pattern.   You  supply  it  source  and  destination  pattern
  1492.              numbers, and  it  will  copy  the  source  pattern  into  the
  1493.              destination  pattern (leaving the source unchanged).  You may
  1494.              choose  to  copy  all  tracks  from   the   source   to   the
  1495.              destination,  or  only  one  track  (in  which case the other
  1496.              tracks in the destination are unchanged).  This is useful for
  1497.              musical lines that are similar but not identical; you  simply
  1498.              copy  the  needed  tracks from an old pattern into a new one,
  1499.              then make the necessary minor changes to the new pattern.
  1500.  
  1501.              "Transpose pattern" allows you to increase  or  decrease  the
  1502.              pitch   of  notes  in  a  pattern  by  a  certain  number  of
  1503.              half-steps.  You may transpose all tracks or only one  track.
  1504.              Additionally,   you   may   transpose   all  samples  in  the
  1505.              pattern/track or only 1 sample.  This is useful if  you  want
  1506.              ony to transpose a particular INSTRUMENT.
  1507.  
  1508.              "Clear all patterns" does just what it  says  --  erases  all
  1509.              patterns  from  memory.  It  asks  for confirmation before it
  1510.              wipes the pattern memory.  It's useful if you want  to  start
  1511.  
  1512.  
  1513.  
  1514.  
  1515.  
  1516.  
  1517.  
  1518.  
  1519.                                        Page 24
  1520.  
  1521.  
  1522.  
  1523.  
  1524.              over   with   a  new  song  but  keep  the current samples in
  1525.              memory.
  1526.  
  1527.              "Highlight  lines" allows you to specify the starting line to
  1528.              be highlighted in the editor window, as well as the increment
  1529.              between highlighted lines.  Highlighted lines in  the  editor
  1530.              are  simply  for  reference, so that you can tell at a glance
  1531.              where you are within the  pattern.   You  can  turn  off  the
  1532.              highlighting by setting the starting highlight line to be any
  1533.              number  greater  than 63 (since a pattern has only 64 notes).
  1534.              The default highlight  start  line  is  0,  and  the  default
  1535.              increment is 4.
  1536.  
  1537.  
  1538.  
  1539.  
  1540.  
  1541.  
  1542.  
  1543.  
  1544.  
  1545.  
  1546.  
  1547.  
  1548.  
  1549.  
  1550.  
  1551.  
  1552.  
  1553.  
  1554.  
  1555.  
  1556.  
  1557.  
  1558.  
  1559.  
  1560.  
  1561.  
  1562.  
  1563.  
  1564.  
  1565.  
  1566.  
  1567.  
  1568.  
  1569.  
  1570.  
  1571.  
  1572.  
  1573.  
  1574.  
  1575.  
  1576.  
  1577.  
  1578.  
  1579.  
  1580.  
  1581.  
  1582.  
  1583.  
  1584.  
  1585.                                        Page 25
  1586.  
  1587.  
  1588.  
  1589.  
  1590.  
  1591.  
  1592.              4.3 HEARING YOUR MUSIC
  1593.              ----------------------
  1594.  
  1595.              4.3.1  MODRES:  Inline playing
  1596.              ------------------------------
  1597.  
  1598.              If you've loaded MODRES into memory (see "Setup" above),  you
  1599.              may hear your music directly from within ModEdit.
  1600.  
  1601.              The  simplest way is to choose "Whole song playback" from the
  1602.              "Play" option on the main menu.  You may also choose "Partial
  1603.              song playback" to play back only a part of the song.
  1604.  
  1605.              Second, as mentioned previously, you may use the N, T,  or  P
  1606.              keys from within the pattern editor to play a note, track, or
  1607.              pattern, respectively.
  1608.  
  1609.              Finally,  you  may  go into the pattern sequence screen, move
  1610.              the cursor to a pattern you wish to hear, and press "P." This
  1611.              will play the  pattern  that  the  cursor  is  currently  on.
  1612.              Alternatively,  you  could  press  "S,"  which would play the
  1613.              entire song, starting from the pattern  the  cursor  was  on.
  1614.              This is equivalent to selecting "Partial song playback" under
  1615.              "Play" on the main menu.
  1616.  
  1617.              Consult "MODRES.DOC" for more information on MODRES.
  1618.  
  1619.              4.3.2  MODPLAY:  External playing
  1620.              ---------------------------------
  1621.  
  1622.              To play  modules  outside  the  ModEdit  environment,  simply
  1623.              choose  the  "Save Module" option of the File Submenu to save
  1624.              your song to  a  Module.   It's  best  to  save  it  with  an
  1625.              extension   of  ".MOD,"  so  that  MODPLAY  and  ModEdit  can
  1626.              automatically locate it.
  1627.  
  1628.              The resulting Module on disk can be played via  the  external
  1629.              Module  Player  MODPLAY, by Mark J. Cox.  Consult the MODPLAY
  1630.              documentation for specific instructions on using MODPLAY.
  1631.  
  1632.  
  1633.  
  1634.  
  1635.  
  1636.  
  1637.  
  1638.  
  1639.  
  1640.  
  1641.  
  1642.  
  1643.  
  1644.  
  1645.  
  1646.  
  1647.  
  1648.  
  1649.  
  1650.  
  1651.                                        Page 26
  1652.  
  1653.  
  1654.  
  1655.  
  1656.              4.4  SAVING AND LOADING MODULES
  1657.              --------------------------------
  1658.  
  1659.              ModEdit can load in standard 15  or  31  instrument  Modules.
  1660.              This  means  you  can  edit  a vary large portion of existing
  1661.              Amiga Modules (since the Module format comes from the Amiga).
  1662.              ModEdit looks for Modules in the  "Module  directory,"  which
  1663.              you  may set/change via the Configuration Submenu.  Loading a
  1664.              Module is straightforward; choose the "Load Module" option of
  1665.              the File Submenu, specify the path/filename, and  the  Module
  1666.              will be loaded into memory. Any errors during loading will be
  1667.              printed to the screen.
  1668.  
  1669.              For some reason or another, some Modules are missing the last
  1670.              4 bytes of sample data from the last sample.  ModEdit catches
  1671.              this  length  discrepancy  and warns you of it with an "early
  1672.              end of file" warning.  It's often nothing to worry about, and
  1673.              if you re-save the Module, the error will usually  disappear.
  1674.              Be  aware,  though,  that  this  error  can  also  signify  a
  1675.              corrupted  module  (if  the  module  is  corrupted,   ModEdit
  1676.              extracts  all  the  information it can from the module during
  1677.              loading).
  1678.  
  1679.              Saving a Module is equally simple; simply  choose  the  "Save
  1680.              Module"  option of the File Submenu.  Technical note: ModEdit
  1681.              only saves 31 instrument  Modules,  even  Modules  that  were
  1682.              originally  loaded  as  15  instrument  modules. Since the 15
  1683.              instrument format is supported for loading, compabitility  is
  1684.              maintained.
  1685.  
  1686.  
  1687.  
  1688.  
  1689.  
  1690.  
  1691.  
  1692.  
  1693.  
  1694.  
  1695.  
  1696.  
  1697.  
  1698.  
  1699.  
  1700.  
  1701.  
  1702.  
  1703.  
  1704.  
  1705.  
  1706.  
  1707.  
  1708.  
  1709.  
  1710.  
  1711.  
  1712.  
  1713.  
  1714.  
  1715.  
  1716.  
  1717.                                        Page 27
  1718.  
  1719.  
  1720.  
  1721.  
  1722.                                      =============
  1723.                                      5.  REFERENCE
  1724.                                      =============
  1725.  
  1726.              5.1  Pattern editor quick reference key summary
  1727.              -----------------------------------------------
  1728.  
  1729.              Key(s)                    Function
  1730.              ------                    --------
  1731.              Cursor movement keys      Standard functions
  1732.              A-G, 0-9, #               Note entry
  1733.              N                         Play note cursor is on
  1734.              O (uppercase)             Increase note by one octave
  1735.              o (lowercase)             Decrease note by one octave
  1736.              P                         Play entire pattern
  1737.              S (uppercase)             Increase default sample
  1738.              s (lowercase)             Decrease default sample
  1739.              T                         Play track cursor is in
  1740.              +                         Increase note or sample field
  1741.              -                         Decrease note or sample field
  1742.              =                         Duplicate note/field
  1743.              >                         Move to next pattern in sequence
  1744.              <                         Move to previous pattern in seq.
  1745.              TAB                       Move to sample window
  1746.  
  1747.  
  1748.              5.2  Sample window quick reference key summary
  1749.              ----------------------------------------------
  1750.              (reverse video line indicates the selected sample)
  1751.  
  1752.              Key(s)                    Function
  1753.              ------                    --------
  1754.              Cursor movement keys      Standard functions; selects sample
  1755.              A                         Edit attributes of selected sample
  1756.              C                         Clear all samples
  1757.              L                         Load sample file into selected sample
  1758.              P                         Play selected sample
  1759.              S                         Save selected sample into file
  1760.              TAB                       Move to pattern sequencer
  1761.  
  1762.  
  1763.  
  1764.  
  1765.  
  1766.  
  1767.  
  1768.  
  1769.  
  1770.  
  1771.  
  1772.  
  1773.  
  1774.  
  1775.  
  1776.  
  1777.  
  1778.  
  1779.  
  1780.  
  1781.  
  1782.  
  1783.                                        Page 28
  1784.  
  1785.  
  1786.  
  1787.  
  1788.  
  1789.              5.3  Pattern sequencer quick reference key summary
  1790.              --------------------------------------------------
  1791.              (double-box encloses the current pattern number)
  1792.  
  1793.              Key(s)                     Function
  1794.              ------                     --------
  1795.              Cursor movement keys       Standard functions; selects current
  1796.                                         pattern
  1797.              C                          Create pattern
  1798.              P                          Play pattern
  1799.              S                          Play song
  1800.              INS                        Insert pattern into sequence
  1801.              DEL                        Delete pattern from sequence
  1802.              +                          Append pattern into sequence
  1803.              TAB                        Move to pattern editor
  1804.  
  1805.  
  1806.              5.4  Effect list -- quick reference
  1807.              -----------------------------------
  1808.  
  1809.              Effect #/Description      Format/Argument
  1810.              --------------------      ---------------
  1811.              1: Slide Up               1 xx  xx=speed
  1812.              2: Slide Down             2 xx  xx=speed
  1813.              3: Slide To Note          3 xx  xx=speed
  1814.              4: Vibrato                4 xy  x=speed y=depth
  1815.              5: <<no effect>>
  1816.              6: <<no effect>>
  1817.              7: <<no effect>>
  1818.              8: <<no effect>>
  1819.              9: <<no effect>>
  1820.              A: Volume Slide      A x0/A 0y  x=upspeed OR y=downspeed
  1821.              B: Position Jump          B xx  xx=pattern position
  1822.              C: Set Volume             C xx  xx=volume(00-40 hex)
  1823.              D: Pattern Break          D --  skip to next patt.
  1824.              E: <<no effect>>
  1825.              F: Set Speed              F xx   xx=speed(00-1F)
  1826.  
  1827.  
  1828.              5.5  MODPLAY
  1829.              ------------
  1830.  
  1831.              MODPLAY is an external Module playing program by Mark J. Cox.
  1832.              MODPLAY can play Modules created with  ModEdit,  outside  the
  1833.              ModEdit  environment.  It is available at many ftp sites, one
  1834.              of  which  is  wuarchive.wustl.edu  (in  mirrors/msdos/sound,
  1835.              program modpy112.zip).
  1836.  
  1837.  
  1838.  
  1839.  
  1840.  
  1841.  
  1842.  
  1843.  
  1844.  
  1845.  
  1846.  
  1847.  
  1848.  
  1849.                                        Page 29
  1850.  
  1851.  
  1852.  
  1853.  
  1854.              Here is an excerpt from the MODPLAY documentation:
  1855.  
  1856.                    Modplay    allows    you    to    play   (most)   Amiga
  1857.                    soundtracker/noisetracker  files  on  a  PC  (10Mhz  or
  1858.                    faster  clock  speed).  CGA minimum is required for the
  1859.                    graphical display whilst playing,  but  no  display  at
  1860.                    all  is required just to play modules.  MODPLAY detects
  1861.                    automatically if a module is corrupt, and detects if it
  1862.                    is a 15 or 31 instrument module.
  1863.  
  1864.  
  1865.              5.6  Coming attractions
  1866.              -----------------------
  1867.  
  1868.              - Real time recording
  1869.              - Song "tracking" (i.e. display of  current  position  within
  1870.                song during playback)
  1871.              - Online help
  1872.  
  1873.              And possibly, in the far distant future:
  1874.  
  1875.  
  1876.              - Standard musical staff based entry of music
  1877.