home *** CD-ROM | disk | FTP | other *** search
/ Audio Version 4.94 / audioversion4.94knowledgemediaresourcelibraryoctober1994.iso / msdos / midi / getit30a / getit30a.uue / GETIT30.ARC / TMIDI.TXT < prev    next >
Text File  |  1989-02-11  |  7KB  |  271 lines

  1.  
  2.  
  3.                      TURBOMIDI PROGRAMMING
  4.  
  5.  
  6. Introducing TurboMidi  1.0!   Have you ever  wanted to create  an 
  7. application  that turned your pitch bend wheel into a mod  wheel?  
  8. Have  you  ever wanted a librarian that could  store  the  latest 
  9. patch  that  you made on your MIDI instrument? Now  you   can  do 
  10. this and also create MIDI effects,  editors  and sequencers.
  11. TurboMidi   was  created  to  help  you,  the  programmer,   make  
  12. MIDI  applications.    TurboMidi can help you  create  everything 
  13. from  simple midi  mapping  to an 8 track sequencer that you  can 
  14. use  in  your applications.  TurboMidi consists of several  Turbo 
  15. Pascal Units (TPU) that  you  simply  "use"  in your  application  
  16. to  give  it  MIDI "hooks."  TPU's are provided for Turbo  Pascal 
  17. 4.0 and 5.0.
  18.  
  19. What do the units contain?
  20.  
  21. Simply everything needed to get you started in the world of  MIDI
  22. programming!   TurboMidi has many routines for MIDI control,  the 
  23. main routines are listed here.
  24.  
  25.  
  26. Lowlevel MPU Operations
  27.  
  28. These routines let you communicate to the MPU in "smart" mode.
  29.  
  30. PutData()   Send a byte of data to the MPU.
  31. GetData()   Get a byte of data from the MPU
  32. FlushData() Clear the MPU's internal data buffers.
  33. ResetMpu()  Reset the MPU to power up mode.
  34. PutCmd()    Give the MPU a command.
  35.  
  36. These routines let you communcate to the MPU in UART mode.
  37.  
  38. UPutData()   Send a byte of data to the MPU.
  39. UGetData()   Get a byte of data from the MPU
  40. UFlushData() Clear the MPU's internal data buffers.
  41. UResetMpu()  Reset the MPU to power up mode.
  42. UPutCmd()    Give the MPU a command.
  43. SetupUART()  Setup UART mode environment.
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53. TurboMidi  Copyright  (C)  1988,  1989  by  N-Focus  Technologies 
  54. All Rights Reserved.
  55.  
  56.  
  57.  
  58.  
  59. Send Operations
  60.  
  61. These routines send MIDI information to your MIDI device.
  62.  
  63. SendNoteOn()     Send a note on message to MIDI device.
  64. SendNoteOff()    Send a note off message to MIDI device.
  65. SendPB()         Send a pitch bend message to the MIDI device.
  66. SendCtrl()       Send a controller message to the MIDI device.
  67. SendPC()         Send a patch change message to the MIDI device.
  68. SendSys()        Send a system exclusive message.
  69. SendAT()         Send after touch message.
  70.  
  71. Environment Routines.
  72.  
  73. These  routines automatically set up MIDI environments  for  your 
  74. application.
  75.  
  76. OPENTMIDI()            Sets up TurboMidi environment.
  77. CLOSETMIDI()           Terminates TurboMidi environment.
  78. SetupSysEx()           Sets up automatic sysex librarian.
  79. OpenMidiTerminal()     Sets up real-time MIDI processing 
  80. environment.
  81.  
  82. Sequencer Routines()
  83.  
  84. These routines allow you to create an 8 track sequencer.
  85.  
  86. PlayTracks()
  87. StopPlay()
  88. WfnRec()
  89. RecordTrack()
  90. StopRecord()
  91. Overdub()
  92. StopOverDub()
  93. LeadIn()
  94. QtoTrack()
  95.  
  96. Algorithmic Routines
  97.  
  98. OneOverF()
  99. BrownNoise()
  100.  
  101. File Routines
  102.  
  103. SaveTracks()
  104. ReadTracks()
  105. SaveSysex()
  106. ReadSysex()
  107.  
  108. TurboMidi  Copyright  (C)  1988,  1989  by  N-Focus  Technologies 
  109. All Rights Reserved.
  110.  
  111.  
  112. Input Queue Routines
  113.  
  114. ResetQ
  115. ShowQ
  116. GetFromQ
  117. ReadMIDI()
  118. PutInQ()
  119.  
  120. TurboMidi  also  includes  many  sample  programs  that  let  you 
  121. examine/change  and  use  any  routine  included  in  the  sample 
  122. programs.   There are no royalties on applications  created  with 
  123. TurboMidi!   The samples include a simple ear  training  program, 
  124. MIDI  monitor,   simple MIDI librarian,  simple  sequencers,  and 
  125. algorithmic  generators.   You can start writing  your  TurboMidi 
  126. application right away!
  127.  
  128.  
  129. What you need to create TurboMidi applications:
  130.  
  131. An IBM-PC, AT or strict compatible with at least 256K of RAM. 
  132. A Roland MPU-401 MIDI interface.
  133. Turbo Pascal 4.0 or 5.0.
  134. A MIDI device.
  135.  
  136. TurboMidi consists of:
  137.  Turbo Pascal Units for Turbo Pascal 4 and 5.
  138.  Many sample program applications.
  139.  Tutorials taking you through the many TurboMidi applications.
  140.  Reference manual that describes the TurboMidi applications in
  141.  detail.
  142.  
  143.  
  144. The TurboMidi Toolkit costs just  U.S. $55 (includes shipping).
  145. Available from:
  146.  
  147. N-FOCUS TECHNOLOGIES
  148. TurboMidi Toolkit
  149. 1800 Stokes St. #197
  150. San Jose, Ca 95126
  151.  
  152. N-FOCUS TECHNOLOGIES
  153. TurboMidi Toolkit
  154. 2918 6th Street #1
  155. Santa Monica, CA 90405
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164. TurboMidi  Copyright  (C)  1988,  1989  by  N-Focus  Technologies 
  165. All Rights Reserved.
  166.  
  167.  
  168.  
  169. TMIDI
  170. N-Focus Technologies  NO-NONSENSE License Statement
  171.  
  172.  
  173. This  software is protected by both the United  States  copyright 
  174. law  and  international treaty provisions.   Therefore  you  must 
  175. treat this software as if it were a book.  You may transport  the 
  176. software from one computer location to another, but just as if no 
  177. two  persons  may  be  reading the same  book  in  two  different 
  178. locations,  under  no  circumstances  may  two  people  use  this 
  179. software  in two different locations at the same  time.   N-Focus 
  180. Technologies, choosing to adopt a similar licensing agreement  as 
  181. that  used by other software language  manufacturers,  authorizes 
  182. only archival copies to be made for the sole purpose of  backing-
  183. up our software and protecting your investment from loss.
  184.  
  185.  
  186. Programs  that  have been written and  compiled  utilizing  TMIDI 
  187. Tools may be used, given away, or sold without additional license 
  188. or fees, provided you have abided by Borlands license statement.
  189.  
  190.  
  191. Warranty:
  192.  
  193.  
  194. N-Focus Technologies specifically disclaims all other warranties, 
  195. expressed  or  implied,  including but  not  limited  to  implied 
  196. warranties  of  merchantability  and  fitness  for  a  particular 
  197. purpose   with   respect   to  defects  in   the   diskette   and 
  198. documentation,   and  the  program  license  grated   herein   in 
  199. particular, and without limiting operation of the program license 
  200. with respect to any particular application, use, or purpose.   In 
  201. no  event  shall N-Focus Technologies be liable for any  loss  of 
  202. profit or any other commercial damage, including but not  limited 
  203. to special, incidental, consequential or other damages.
  204.  
  205.  
  206. Governing Law:
  207.  
  208.  
  209. This  state shall be construed, interpreted, and governed by  the 
  210. laws of the state of California, as well as those implications 
  211. made by the Federal copyright laws.
  212.  
  213.  
  214. TradeMarks:
  215.  
  216.  
  217. Turbo  Pascal  4.0  and  Turbo Pascal 5.0  are  a  trademarks  of 
  218. Borland,  MPU-401  is a trademark of Roland Music, IBM  PC  is  a 
  219. trademark of IBM Inc.
  220.  
  221.  
  222.  
  223.  
  224.  
  225.  
  226.  
  227.  
  228.  
  229.  
  230.  
  231.  
  232.  
  233.  
  234.  
  235.  
  236.  
  237.  
  238.  
  239.  
  240.  
  241.  
  242.  
  243.  
  244.  
  245.  
  246.  
  247.  
  248.  
  249.  
  250.  
  251.  
  252.  
  253.  
  254.  
  255.  
  256.  
  257.  
  258.  
  259.  
  260.  
  261.  
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268.  
  269.  
  270. 
  271.