home *** CD-ROM | disk | FTP | other *** search
/ Sound Sensations! / sound_sensations.iso / midifile / d10lib / midi.txt < prev   
Text File  |  1988-06-05  |  15KB  |  256 lines

  1.  
  2. MIDI is shareware.  This means that you may copy it and give the copies to
  3. anyone you want.  It also means that you are requested to send a contribution
  4. if you, or anyone you give it to, uses it.  If you give MIDI to a friend, be
  5. sure you give him/her this text file with the program.
  6.  
  7. Remember - if you're using it, then it is obviously worth something to you,
  8. and a contribution should be made.
  9.  
  10. Eddy Reynolds
  11. 11214 Olde Mint House Lane
  12. Tomball, Texas 77375
  13.  
  14. If you have any comments or suggestions I'm EDDYR on PAN and BDQ855 on the
  15. Source.
  16.  
  17. Oh, and how much?  Whatever you think is appropriate.
  18.  
  19. And we thank you for your support...
  20.  
  21.  
  22.  
  23.                                      MIDI
  24.  
  25. Note:  In order to write to the screen as fast as possible, MIDI writes data
  26. directly to the screen memory.  This works fine with monochrome and color
  27. display adapters in all Compaq & compatible computers except the old IBM CGA
  28. color card.  If you have one of these, the screen will "snow" badly.  Sorry -
  29. I can only suggest upgrading to an EGA, VGA, or another brand of CGA card.
  30.  
  31. Except for the Real Time Commands page in Send Mode, MIDI uses the hex
  32. numbering system.  All midi data displayed on the screen is in hex, and all
  33. midi data entered at the keyboard must be done in hex.  Most information in
  34. synth manuals about sys-ex messages is given in hex but be careful, SOME of it
  35. is not.  At the end of this file is a conversion chart for your convenience.
  36. A memory resident program by Borland International called "Sidekick" has a
  37. calculator that converts numbers from decimal to hex or binary.  Be sure to
  38. note the warnings for it's use in the following information about MIDI.
  39.  
  40.  
  41.  
  42.                                MONITOR MODE
  43.  
  44. Monitor Mode is used to look at the midi data coming from an instrument.  The
  45. Mask Bytes option enables you to have the program ignore and not display bytes
  46. you don't want to see.  To remove or enter a mask, press the "?" key - you do
  47. not have to press Shift when doing this.  The arrow keys can be used to move
  48. around in the mask display area.  Delete a mask by pressing "X" when the
  49. cursor is at the desired byte.  You can mask up to five different bytes.  When
  50. the masked byte is received, it is not displayed, and all following data bytes
  51. are also masked.  When the next status byte is received, if it is not masked,
  52. it and it's associated data bytes will be displayed.  Pressing "E" or "8" is a
  53. shorthand way of entering "FE" or "F8".  If you make a mistake in entering the
  54. first digit of the byte, the Backspace key can be used to start again.  If the
  55. mistake is made on the second digit, you will have to press the "?" key, arrow
  56. over to the byte, and then reenter it.  To clear all masks, press "C".
  57.  
  58. To make the display of data more readable, any byte higher than 7F is
  59. displayed in reverse video (to identify it as a status byte), and 2 spaces are
  60. inserted before it.  Pressing "L" will display a list of MIDI status bytes and
  61. what they mean.  The "K" key clears the screen and also clears the history
  62. buffer.  Pressing "H" calls up the history buffer, which holds 30,000 bytes
  63. max.  After the buffer shows 30,000, it is still being updated - so it will
  64. always contain the last 30K received.  The History Buffer can be written to
  65. disk as an ASCII file which can then be printed.  Don't call up any memory
  66. resident programs like Sidekick while in the monitor screen.  If you need to
  67. do so, press "L" to call up the MIDI list, or "H" for the history buffer
  68. display, and THEN call up Sidekick.
  69.  
  70.  
  71.  
  72.                                 SEND MODE
  73.  
  74. Send Mode is used to find out how equipment will respond to various midi data.
  75. The loop repeat can be used to constantly send a small sequence for trouble
  76. shooting and testing.  Use spaces for delays.  You can enter up to two lines
  77. of data.  The "G" key retypes the last line(s) that were entered.  The "U" key
  78. allows you to send a "dump request" and then view the response in Monitor
  79. Mode.  Just type in the request, complete with F0 at the beginning and F7 at
  80. the end, and then press "U".  The request will be sent and you will be
  81. immediately put in Monitor Mode to view the response, with FE and F8 masked.
  82. Of course the response can then be viewed in the history buffer and printed if
  83. desired.  Some synths will respond to a dump request without the F7 at the
  84. end.
  85.  
  86. It takes two hex characters to make a complete byte.  If an odd number of hex
  87. characters is entered, the last single character won't be sent.  If you press
  88. "U", the entry area will be blanked and you won't be put in Monitor Mode.  If
  89. this happens, press "G" to retype the entry, correct it, and then try again.
  90. Don't call up any memory resident programs while in this screen either.  Press
  91. "L" first.
  92.  
  93. The Real Time Commands screen has more options for sending data, including
  94. MIDI clock and associated commands.  The only time the MPU is allowed to send
  95. MIDI clock bytes is when you are in this screen.
  96.  
  97.  
  98.                                 PATCH MODE
  99.  
  100. Patch Mode consists of several subsections for dealing with saving and
  101. transmitting bulk patch or sequence data that is in the standard "System
  102. Exclusive" format.
  103.  
  104. When you first enter Patch Mode the screen shows an alphabetical listing of
  105. all the files on the disk or current subdirectory.  The maximum number of
  106. files that can be displayed is 114.  If there are more, they will not be
  107. displayed and a message will appear to inform you of this condition.  As files
  108. are added, deleted, or renamed, the directory will be updated.  You will
  109. notice that the name of this program (MIDI.EXE) is not displayed.  This is
  110. done on purpose to save space for voice bank listings.  DO NOT use this name
  111. for any bank names.  Memory resident programs can be called up when in Patch
  112. Mode except when receiving or transmitting data.
  113.  
  114. The "Receive" option will save System Exclusive dumps from midi instruments.
  115. When you press "R", you are given the choice of initiating the dump from the
  116. instrument or sending a "dump request".  Some common dump requests are listed
  117. on the screen along with instructions for entering the request.  If you elect
  118. not to send a dump request, the computer is immediately put in sys-ex receive
  119. mode and is waiting for data.  As data comes in, small musical notes will
  120. appear between the braces in the upper left portion of the screen.  When the
  121. notes are gone, the "W" key should be pressed to write the data to the disk.
  122. This is a separate operation so that separate bulk dumps from one or more
  123. instruments can be saved to one file.  Just keep initiating bulk dumps until
  124. you are done, then press the "W" key.  The buffer in memory that holds the
  125. data before writing to disk can hold 131,070 bytes.  A switch in the SPX-90
  126. has to be changed which makes the thru jack an out jack in order to use the
  127. special SPX-90 dump request.
  128.  
  129. The "Transmit" option transmits the system exclusive files back to the
  130. instruments.  You have a "block-at-a-time" choice here in case you have saved
  131. several instruments to one file and need time between each "send" to connect
  132. the proper instrument to the computer.  If the instruments are all different,
  133. they can be fed the file non stop.  Each instrument will respond only to it's
  134. particular sys-ex message.
  135.  
  136. The "Rename" and "Delete" options are self explanatory.  Delete does not ask
  137. if you are sure before deleting so be careful.
  138.  
  139. The "File Size" command lists sizes of sys-ex dumps of various instruments.
  140. This is for checking data integrity after a patch dump is received.
  141.  
  142. The "Echo ->" toggle turns the "thru" function of the midi interface on or off
  143. for the patch mode only.  Whenever you enter this screen, it is initially
  144. turned off.
  145.  
  146. Enjoy !!
  147.  
  148.  
  149.  
  150.  
  151.                               NUMBER CONVERSION
  152.                               ~~~~~~~~~~~~~~~~~
  153.  
  154.  
  155.                          ******   Data Bytes   ******
  156.                                   ~~~~ ~~~~~
  157.  
  158.  HEX  DECIMAL  BINARY        HEX  DECIMAL  BINARY       HEX  DECIMAL  BINARY
  159.  ~~~  ~~~~~~~  ~~~~~~        ~~~  ~~~~~~~  ~~~~~~       ~~~  ~~~~~~~  ~~~~~~
  160.    0     0   00000000         2B    43   00101011        56    86   01010110
  161.    1     1   00000001         2C    44   00101100        57    87   01010111
  162.    2     2   00000010         2D    45   00101101        58    88   01011000
  163.    3     3   00000011         2E    46   00101110        59    89   01011001
  164.    4     4   00000100         2F    47   00101111        5A    90   01011010
  165.    5     5   00000101         30    48   00110000        5B    91   01011011
  166.    6     6   00000110         31    49   00110001        5C    92   01011100
  167.    7     7   00000111         32    50   00110010        5D    93   01011101
  168.    8     8   00001000         33    51   00110011        5E    94   01011110
  169.    9     9   00001001         34    52   00110100        5F    95   01011111
  170.    A    10   00001010         35    53   00110101        60    96   01100000
  171.    B    11   00001011         36    54   00110110        61    97   01100001
  172.    C    12   00001100         37    55   00110111        62    98   01100010
  173.    D    13   00001101         38    56   00111000        63    99   01100011
  174.    E    14   00001110         39    57   00111001        64   100   01100100
  175.    F    15   00001111         3A    58   00111010        65   101   01100101
  176.   10    16   00010000         3B    59   00111011        66   102   01100110
  177.   11    17   00010001         3C    60   00111100        67   103   01100111
  178.   12    18   00010010         3D    61   00111101        68   104   01101000
  179.   13    19   00010011         3E    62   00111110        69   105   01101001
  180.   14    20   00010100         3F    63   00111111        6A   106   01101010
  181.   15    21   00010101         40    64   01000000        6B   107   01101011
  182.   16    22   00010110         41    65   01000001        6C   108   01101100
  183.   17    23   00010111         42    66   01000010        6D   109   01101101
  184.   18    24   00011000         43    67   01000011        6E   110   01101110
  185.   19    25   00011001         44    68   01000100        6F   111   01101111
  186.   1A    26   00011010         45    69   01000101        70   112   01110000
  187.   1B    27   00011011         46    70   01000110        71   113   01110001
  188.   1C    28   00011100         47    71   01000111        72   114   01110010
  189.   1D    29   00011101         48    72   01001000        73   115   01110011
  190.   1E    30   00011110         49    73   01001001        74   116   01110100
  191.   1F    31   00011111         4A    74   01001010        75   117   01110101
  192.   20    32   00100000         4B    75   01001011        76   118   01110110
  193.   21    33   00100001         4C    76   01001100        77   119   01110111
  194.   22    34   00100010         4D    77   01001101        78   120   01111000
  195.   23    35   00100011         4E    78   01001110        79   121   01111001
  196.   24    36   00100100         4F    79   01001111        7A   122   01111010
  197.   25    37   00100101         50    80   01010000        7B   123   01111011
  198.   26    38   00100110         51    81   01010001        7C   124   01111100
  199.   27    39   00100111         52    82   01010010        7D   125   01111101
  200.   28    40   00101000         53    83   01010011        7E   126   01111110
  201.   29    41   00101001         54    84   01010100        7F   127   01111111
  202.   2A    42   00101010         55    85   01010101
  203.  
  204.  
  205.  
  206.  
  207.                         ******   Status Bytes   ******
  208.                                  ~~~~~~ ~~~~~
  209.  
  210.  HEX  DECIMAL  BINARY        HEX  DECIMAL  BINARY       HEX  DECIMAL  BINARY
  211.  ~~~  ~~~~~~~  ~~~~~~        ~~~  ~~~~~~~  ~~~~~~       ~~~  ~~~~~~~  ~~~~~~
  212.   80   128   10000000         AB   171   10101011        D6   214   11010110
  213.   81   129   10000001         AC   172   10101100        D7   215   11010111
  214.   82   130   10000010         AD   173   10101101        D8   216   11011000
  215.   83   131   10000011         AE   174   10101110        D9   217   11011001
  216.   84   132   10000100         AF   175   10101111        DA   218   11011010
  217.   85   133   10000101         B0   176   10110000        DB   219   11011011
  218.   86   134   10000110         B1   177   10110001        DC   220   11011100
  219.   87   135   10000111         B2   178   10110010        DD   221   11011101
  220.   88   136   10001000         B3   179   10110011        DE   222   11011110
  221.   89   137   10001001         B4   180   10110100        DF   223   11011111
  222.   8A   138   10001010         B5   181   10110101        E0   224   11100000
  223.   8B   139   10001011         B6   182   10110110        E1   225   11100001
  224.   8C   140   10001100         B7   183   10110111        E2   226   11100010
  225.   8D   141   10001101         B8   184   10111000        E3   227   11100011
  226.   8E   142   10001110         B9   185   10111001        E4   228   11100100
  227.   8F   143   10001111         BA   186   10111010        E5   229   11100101
  228.   90   144   10010000         BB   187   10111011        E6   230   11100110
  229.   91   145   10010001         BC   188   10111100        E7   231   11100111
  230.   92   146   10010010         BD   189   10111101        E8   232   11101000
  231.   93   147   10010011         BE   190   10111110        E9   233   11101001
  232.   94   148   10010100         BF   191   10111111        EA   234   11101010
  233.   95   149   10010101         C0   192   11000000        EB   235   11101011
  234.   96   150   10010110         C1   193   11000001        EC   236   11101100
  235.   97   151   10010111         C2   194   11000010        ED   237   11101101
  236.   98   152   10011000         C3   195   11000011        EE   238   11101110
  237.   99   153   10011001         C4   196   11000100        EF   239   11101111
  238.   9A   154   10011010         C5   197   11000101        F0   240   11110000
  239.   9B   155   10011011         C6   198   11000110        F1   241   11110001
  240.   9C   156   10011100         C7   199   11000111        F2   242   11110010
  241.   9D   157   10011101         C8   200   11001000        F3   243   11110011
  242.   9E   158   10011110         C9   201   11001001        F4   244   11110100
  243.   9F   159   10011111         CA   202   11001010        F5   245   11110101
  244.   A0   160   10100000         CB   203   11001011        F6   246   11110110
  245.   A1   161   10100001         CC   204   11001100        F7   247   11110111
  246.   A2   162   10100010         CD   205   11001101        F8   248   11111000
  247.   A3   163   10100011         CE   206   11001110        F9   249   11111001
  248.   A4   164   10100100         CF   207   11001111        FA   250   11111010
  249.   A5   165   10100101         D0   208   11010000        FB   251   11111011
  250.   A6   166   10100110         D1   209   11010001        FC   252   11111100
  251.   A7   167   10100111         D2   210   11010010        FD   253   11111101
  252.   A8   168   10101000         D3   211   11010011        FE   254   11111110
  253.   A9   169   10101001         D4   212   11010100        FF   255   11111111
  254.   AA   170   10101010         D5   213   11010101
  255.  
  256.