home *** CD-ROM | disk | FTP | other *** search
/ Collection of Hack-Phreak Scene Programs / cleanhpvac.zip / cleanhpvac / FAQSYS18.ZIP / FAQS.DAT / MIDIPRIM.TXT < prev    next >
Text File  |  1996-01-04  |  28KB  |  594 lines

  1.                        The USENET MIDI Primer
  2.                             Bob McQueer
  3.  
  4. PURPOSE
  5.  
  6. It seems as though many people in the USENET community have an interest
  7. in the Musical Instrument Digital Interface (MIDI), but for one reason
  8. or another have only obtained word of mouth or fragmentary descriptions
  9. of the specification.  Basic questions such as "what's the baud rate?",
  10. "is it EIA?" and the like seem to keep surfacing in about half a dozen
  11. newsgroups.  This article is an attempt to provide the basic data to
  12. the readers of the net.
  13.  
  14. REFERENCE
  15.  
  16. The major written reference for this article is version 1.0 of the MIDI
  17. specification, published by the International MIDI Association, copyright
  18. 1983.  There exists an expanded document.  This document, which I have not
  19. seen, is simply an expansion of the 1.0 spec. to contain more explanatory
  20. material, and fill in some areas of hazy explanation.  There are no
  21. radical departures from 1.0 in it.  I have also heard of a "2.0" spec.,
  22. but the IMA claims no such animal exists.  In any event, backwards
  23. compatibility with the information I am presenting here should be
  24. maintained.
  25.  
  26. CONVENTIONS
  27.  
  28. I will give constants in C syntax, ie. 0x for hexadecimal.  If I
  29. refer to bits by number, I number them starting with 0 for the low
  30. order (1's place) bit.  The following notation:
  31.  
  32. >>
  33.  
  34. text
  35.  
  36. <<
  37.  
  38. will be used to delimit commentary which is not part of the "bare-
  39. bones" specification.  A sentence or paragraph marked with a question
  40. mark in column 1 is a point I would kind of like to hear something
  41. about myself.
  42.  
  43. OK, let's give it a shot.
  44.  
  45. PHYSICAL CONNECTOR SPECIFICATION
  46.  
  47. The standard connectors used for MIDI are 5 pin DIN.  Separate sockets
  48. are used for input and output, clearly marked on a given device.  The
  49. spec. gives 50 feet as the maximum cable length.  Cables are to be
  50. shielded twisted pair, with the shield connecting pin 2 at both ends.
  51. The pair is pins 4 and 5, pins 1 and 3 being unconnected:
  52.  
  53.                               2
  54.                           5       4
  55.                         3           1
  56.  
  57. A device may also be equipped with a "MIDI-THRU" socket which is used
  58. to pass the input of one device directly to output.
  59.  
  60. >>
  61.         I think this arrangement shows some of the original conception
  62.         of MIDI more as a way of allowing keyboardists to control
  63.         multiple boxes than an instrument to computer interface.  The
  64.         "daisy-chain" arrangement probably has advantages for a performing
  65.         musician who wants to play "stacked" synthesizers for a desired
  66.         sound, and has to be able to set things up on the road.
  67. <<
  68.  
  69. ELECTRICAL SPECIFICATION
  70.  
  71. Asynchronous serial interface.  The baud rate is 31.25 Kbaud (+/- 1%).
  72. There are 8 data bits, with 1 start bit and 1 stop bit, for 320
  73. microseconds per serial byte.
  74.  
  75. MIDI is current loop, 5 mA.  Logic 0 is current ON.  The specification
  76. states that input is to be opto-isolated, and points out that Sharp
  77. PC-900 and HP 6N138 optoisolators are satisfactory devices.  Rise and
  78. fall time for the optoisolator should be less than 2 microseconds.
  79.  
  80. The specification shows a little circuit diagram for the connections
  81. to a UART.  I am not going to reproduce it here.  There's not much
  82. to it - I think the important thing it shows is +5 volt connection
  83. to pin 4 of the MIDI out with pin 5 going to the UART, through 220
  84. ohm load resistors.  It also shows that you're supposed to connect
  85. to the "in" side of the UART through an optoisolator, and to the
  86. MIDI-THRU on the UART side of the isolator.
  87.  
  88. >>
  89.         I'm not much of a hardware person, and don't really know what
  90.         I'm talking about in paragraphs like the three above.  I DO
  91.         recognize that this is a "non-standard" specification, which
  92.         won't work over serial ports intended for anything else.  People
  93.         who do know about such things seem to either have giggling
  94.         or gagging fits when they see it, depending on their dispos-
  95.         itions, saying things like "I haven't seen current loop since
  96.         the days of the old teletypes".  I also know the fast 31.25
  97.         Kbaud pushes the edge for clocking commonly available UART's.
  98. <<
  99.  
  100. DATA FORMAT
  101.  
  102. For standard MIDI messages, there is a clear concept that one device
  103. is a "transmitter" or "master", and the other a "receiver" or "slave".
  104. Messages take the form of opcode bytes, followed by data bytes.
  105. Opcode bytes are commonly called "status" bytes, so we shall use
  106. this term.
  107.  
  108. >>
  109.         very similar to handling a terminal via escape sequences.  There
  110.         aren't ACK's or other handshaking mechanisms in the protocol.
  111. <<
  112.  
  113. Status bytes are marked by bit 7 being 1.  All data bytes must
  114. contain a 0 in bit 7, and thus lie in the range 0 - 127.
  115.  
  116. MIDI has a logical channel concept.  There are 16 logical channels,
  117. encoded into bits 0 - 3 of the status bytes of messages for
  118. which a channel number is significant.  Since bit 7 is taken over
  119. for marking the status byte, this leaves 3 opcode bits for message
  120. types with a logical channel.  7 of the possible 8 opcodes are
  121. used in this fashion,  reserving the status bytes containing all
  122. 1's in the high nibble for "system" messages which don't have a
  123. channel number.  The low order nibble in these remaining messages
  124. is really further opcode.
  125.  
  126. >>
  127.         If you are interested in receiving MIDI input, look over the
  128.         SYSTEM messages even if you wish to ignore them.  Especially the
  129.         "system exclusive" and "real time" messages.  The real time
  130.         messages may be legally inserted in the middle of other data,
  131.         and you should be aware of them, even though many devices won't
  132.         use them.
  133. <<
  134.  
  135. VOICE MESSAGES
  136.  
  137. I will cover the message with channel numbers first.  The opcode determines
  138. the number of data bytes for a single message (see "running status byte",
  139. below).  The specification divides these into "voice" and "mode" messages.
  140. The "mode" messages are for control of the logical channels, and the control
  141. opcodes are piggybacked onto the data bytes for the "parameter" message.
  142. I will go into this after describing the "voice messages".  These messages are:
  143.  
  144. status byte   meaning        data bytes
  145.  
  146. 0x80-0x8f     note off       2 - 1 byte pitch, followed by 1 byte velocity
  147. 0x90-0x9f     note on        2 - 1 byte pitch, followed by 1 byte velocity
  148. 0xa0-0xaf     key pressure   2 - 1 byte pitch, 1 byte pressure (after-touch)
  149. 0xb0-0xbf     parameter      2 - 1 byte parameter number, 1 byte setting
  150. 0xc0-0xcf     program        1 byte program selected
  151. 0xd0-0xdf     chan. pressure 1 byte channel pressure (after-touch)
  152. 0xe0-0xef     pitch wheel    2 bytes gives a 14 bit value, least significant
  153.                                7 bits first
  154.  
  155. Many explanations are necessary here:
  156.  
  157. For all of these messages, a convention called the "running status
  158. byte" may be used.  If the transmitter wishes to send another message
  159. of the same type on the same channel, thus the same status byte, the
  160. status byte need not be resent.
  161.  
  162. Also, a "note on" message with a velocity of zero is to be synonymous
  163. with a "note off".  Combined with the previous feature, this is intended
  164. to allow long strings of notes to be sent without repeating status bytes.
  165.  
  166. >>
  167.         From what I've seen, the "zero velocity note on" feature is very
  168.         heavily used.  My six-trak sends these, even though it sends
  169.         status bytes on every note anyway.  Roland stuff uses it.
  170. <<
  171.  
  172. The pitch bytes of notes are simply number of half-steps, with middle C = 60.
  173.  
  174. >>
  175.         On keyboard synthesizers, this usually simply means which
  176.         physical key corresponds, since the patch selection will
  177.         change the actual pitch range of the keyboard.  Most keyboards
  178.         have one C key which is unmistakably in the middle of the
  179.         keyboard.  This is probably note 60.
  180. <<
  181.  
  182. The velocity bytes for velocity sensing keyboards are supposed
  183. to represent a logarithmic scale.  "advisable" in the words
  184. of the spec.  Non-velocity sensing devices are supposed to
  185. send velocity 64.
  186.  
  187. The pitch wheel value is an absolute setting, 0 - 0x3FFF.  The
  188. 1.0 spec. says that the increment is determined by the receiver.
  189. 0x2000 is to correspond to a centered pitch wheel (unmodified notes)
  190.  
  191. >>
  192.         I believe standard scale steps are one of the things discussed
  193.         in expansions.  The six-trak pitch wheel is up/down about a third.
  194.         I believe several makers have used this value, but I may be wrong.
  195.  
  196.         The "pressure" messages are for keyboards which sense the amount
  197.         of pressure placed on an already depressed key, as opposed to
  198.         velocity, which is how fast it is depressed or released.
  199.  
  200. ?       I'm not really certain of how "channel" pressure works.  Yamaha
  201.         is one maker that uses these messages, I know.
  202. <<
  203.  
  204. Now, about those parameter messages.
  205.  
  206. Instruments are so fundamentally different in the various controls
  207. they have that no attempt was made to define a standard set, like
  208. say 9 for "Filter Resonance".  Instead, it was simply assumed that
  209. these messages allow you to set "controller" dials, whose purposes
  210. are left to the given device, except as noted below.  The first data
  211. bytes correspond to these "controllers" as follows:
  212.  
  213. data byte
  214.  
  215. 0 - 31       continuous controllers 0 - 31, most significant byte
  216. 32 - 63      continuous controllers 0 - 31, least significant byte
  217. 64 - 95      on / off switches
  218. 96 - 121     unspecified, reserved for future.
  219. 122 - 127    the "channel mode" messages I alluded to above.  See below.
  220.  
  221. The second data byte contains the seven bit setting for the controller.
  222. The switches have data byte 0 = OFF, 127 = ON with 1 - 126 undefined.
  223. If a controller only needs seven bits of resolution, it is supposed to
  224. use the most significant byte.  If both are needed, the order is
  225. specified as most significant followed by least significant.  With a
  226. 14 bit controller, it is to be legal to send only the least significant
  227. byte if the most significant doesn't need to be changed.
  228.  
  229. >>
  230.         This may of, course, wind up stretched a bit by a given manufacturer.
  231.         The Six-Trak, for instance, uses only single byte values (LEFT
  232.         justified within the 7 bits at that), and recognizes >32 parameters
  233. <<
  234.  
  235. Controller number 1 IS standardized to be the modulation wheel.
  236.  
  237. ?       Are there any other standardizations which are being followed by most
  238.         manufacturers?
  239.  
  240. MODE MESSAGES
  241.  
  242. These are messages with status bytes 0xb0 through 0xbf, and leading data
  243. bytes 122 - 127.  In reality, these data bytes function as further
  244. opcode data for a group of messages which control the combination of
  245. voices and channels to be accepted by a receiver.
  246.  
  247. An important point is that there is an implicit "basic" channel over which
  248. a given device is to receive these messages.  The receiver is to ignore
  249. mode messages over any other channels, no matter what mode it might be in.
  250. The basic channel for a given device may be fixed or set in some manner
  251. outside the scope of the MIDI standard.
  252.  
  253. The meaning of the values 122 through 127 is as follows:
  254.  
  255. data byte                   second data byte
  256. 122       local control     0 = local control off, 127 = on
  257. 123       all notes off     0
  258. 124       omni mode off     0
  259. 125       omni mode on      0
  260. 126       monophonic mode   number of monophonic channels, or 0
  261.                             for a number equal to receivers voices
  262. 127       polyphonic mode   0
  263.  
  264. 124 - 127 also turn all notes off.
  265.  
  266. Local control refers to whether or not notes played on an instruments
  267. keyboard play on the instrument or not.  With local control off, the
  268. host is still supposed to be able to read input data if desired, as
  269. well as sending notes to the instrument.  Very much like "local echo"
  270. on a terminal, or "half duplex" vs. "full duplex".
  271.  
  272. The mode setting messages control what channels / how many voices the
  273. receiver recognizes.  The "basic channel" must be kept in mind. "Omni"
  274. refers to the ability to receive voice messages on all channels.  "Mono"
  275. and "Poly" refer to whether multiple voices are allowed.  The rub is
  276. that the omni on/off state and the mono/poly state interact with each
  277. other.  We will go over each of the four possible settings, called "modes"
  278. and given numbers in the specification:
  279.  
  280. mode 1 - Omni on / Poly - voice messages received on all channels and
  281.          assigned polyphonically.  Basically, any notes it gets, it
  282.          plays, up to the number of voices it's capable of.
  283.  
  284. mode 2 - Omni on / Mono - monophonic instrument which will receive
  285.          notes to play in one voice on all channels.
  286.  
  287. mode 3 - Omni off / Poly - polyphonic instrument which will receive
  288.          voice messages on only the basic channel.
  289.  
  290. mode 4 - Omni off / Mono - A useful mode, but "mono" is a misnomer.
  291.          To operate in this mode a receiver is supposed to receive
  292.          one voice per channel.  The number channels recognized will be
  293.          given by the second data byte, or the maximum number of possible
  294.          voices if this byte is zero.  The set of channels thus defined
  295.          is a sequential set, starting with the basic channel.
  296.  
  297. The spec. states that a receiver may ignore any mode that it cannot
  298. honor, or switch to an alternate - "usually" mode 1.  Receivers are
  299. supposed to default to mode 1 on power up.  It is also stated that
  300. power up conditions are supposed to place a receiver in a state where
  301. it will only respond to note on / note off messages, requiring a
  302. setting of some sort to enable the other message types.
  303.  
  304. >>
  305.         I think this shows the desire to "daisy-chain" devices for
  306.         performance from a single master again.  We can set a series
  307.         of instruments to different basic channels, tie 'em together,
  308.         and let them pass through the stuff they're not supposed to
  309.         play to someone down the line.
  310.  
  311.         This suffers greatly from lack of acknowledgement concerning
  312.         modes and usable channels by a receiver.  You basically have
  313.         to know your device, what it can do, and what channels it can
  314.         do it on.
  315.  
  316.         I think most makers have used the "system exclusive" message
  317.         (see below) to handle channels in a more sophisticated manner,
  318.         as well as changing "basic channel" and enabling receipt of
  319.         different message types under host control rather than by
  320.         adjustment on the device alone.
  321.  
  322.         The "parameters" may also be usurped by a manufacturer for
  323.         mode control, since their purposes are undefined.
  324.  
  325.         Another HUGE problem with the "daisy-chain" mental set of MIDI
  326.         is that most devices ALWAYS shovel whatever they play to their
  327.         MIDI outs, whether they got it from the keyboard or MIDI in.
  328.         This means that you have to cope with the instrument echoing
  329.         input back at you if you're trying to do an interactive session
  330.         with the synthesizer.  There is DRASTIC need for some MIDI flag
  331.         which specifically means that only locally generated data is to
  332.         go to MIDI out.  From device to device there are ways of coping
  333.         with this, none of them good.
  334. <<
  335.  
  336. SYSTEM MESSAGES
  337.  
  338. The status bytes 0x80 - 0x8f do not have channel numbers in the
  339. lower nibble.  These bytes are used as follows:
  340.  
  341. byte    purpose              data bytes
  342.  
  343. 0xf0    system exclusive     variable length
  344. 0xf1    undefined
  345. 0xf2    song position        2 - 14 bit value, least significant byte first
  346. 0xf3    song select          1 - song number
  347. 0xf4    undefined
  348. 0xf5    undefined
  349. 0xf6    tune request         0
  350. 0xf7    EOX (terminator)     0
  351.  
  352. The status bytes 0xf8 - 0xff are the so-called "real-time" messages.
  353. I will discuss these after the accumulated notes concerning the
  354. first bunch.
  355.  
  356. Song position / song select are for control of sequencers.  The
  357. song position is in beats, which are to be interpreted as every
  358. 6 MIDI clock pulses.  These messages determine what is to be played
  359. upon receipt of a "start" real-time message (see below).
  360.  
  361. The "tune request" is a command to analog synthesizers to tune their
  362. oscillators.
  363.  
  364. The system exclusive message is intended for manufacturers to use
  365. to insert any specific messages they want to which apply to their
  366. own product.  The following data bytes are all to be "data" bytes,
  367. that is they are all to be in the range 0 - 127.  The system exclusive
  368. is to be terminated by the 0xf7 terminator byte.  The first data byte
  369. is also supposed to be a "manufacturer's id", assigned by a MIDI
  370. standards committee.  THE TERMINATOR BYTE IS OPTIONAL - a system
  371. exclusive may also be "terminated" by the status byte of the next
  372. message.
  373.  
  374. >>
  375.         Yamaha, in particular, caused problems by not sending terminator
  376.         bytes.  As I understand it, the DX-7 sends a system exclusive
  377.         at something like 80 msec. intervals when it has nothing better
  378.         to do, just so you know it's still there, I guess.  The messages
  379.         aren't explicitly terminated, so if you want to handle the
  380.         protocol (esp. in hardware), you should be aware that a DX-7
  381.         will leave you in "waiting for EOX" state a lot, and be sending
  382.         data even when it isn't doing anything.  This is all word of
  383.         mouth, since I've never personally played with a DX-7.
  384. <<
  385.  
  386. some MIDI ID's:
  387.  
  388.         Sequential Circuits   1      Bon Tempi     0x20     Kawai     0x40
  389.         Big Briar             2      S.I.E.L.      0x21     Roland    0x41
  390.         Octave / Plateau      3                             Korg      0x42
  391.         Moog                  4      SyntheAxe     0x23     Yamaha    0x43
  392.         Passport Designs      5
  393.         Lexicon               6
  394.         PAIA                  0x11
  395.         Simmons               0x12
  396.         Gentle Electric       0x13
  397.         Fairlight             0x14
  398.  
  399. >>
  400.         Note the USA / Europe / Japan grouping of codes.  Also note
  401.         that Sequential Circuits snarfed id number 1 - Sequential
  402.         Circuits was one of the earliest participators in MIDI, some
  403.         people claim its originator.
  404.  
  405.         Two large makers missing from the original lineup were Casio
  406.         and Oberheim.  I know Oberheim is on the bandwagon now, and
  407.         Casio also, I believe.  Oberheim had their own protocol previous
  408.         to MIDI, and when MIDI first came out they were reluctant to
  409. ?       go along with it.  I wonder what we'd be looking at if Oberheim
  410.         had pushed their ideas and made them the standard.  From what I
  411.         understand they thought THEIRS was better, and kind of sulked
  412.         for a while until the market forced them to go MIDI.
  413.  
  414. ?       Nobody seems to care much about these ID numbers.  I can only
  415.         imagine them becoming useful if additions to the standard message
  416.         set are placed into system exclusives, with the ID byte to let
  417.         you know what added protocol is being used.  Are any groups of
  418.         manufacturers considering consolidating their efforts in a
  419.         standard extension set via system exclusives?
  420. <<
  421.  
  422. REAL TIME MESSAGES.
  423.  
  424. This is the final group of status bytes, 0xf8 - 0xff.  These bytes
  425. are reserved for messages which are called "real-time" messages
  426. because they are allowed to be sent ANYPLACE.  This includes in
  427. between data bytes of other messages.  A receiver is supposed to
  428. be able to receive and process (or ignore) these messages and
  429. resume collection of the remaining data bytes for the message
  430. which was in progress.  Realtime messages do not affect the
  431. "running status byte" which might be in effect.
  432.  
  433. ?       Do any devices REALLY insert these things in the middle of
  434.         other messages?
  435.  
  436. All of these messages have no data bytes following (or they could
  437. get interrupted themselves, obviously).  The messages:
  438.  
  439. 0xf8   timing clock
  440. 0xf9   undefined
  441. 0xfa   start
  442. 0xfb   continue
  443. 0xfc   stop
  444. 0xfd   undefined
  445. 0xfe   active sensing
  446. 0xff   system reset
  447.  
  448. The timing clock message is to be sent at the rate of 24 clocks
  449. per quarter note, and is used to sync. devices, especially drum
  450. machines.
  451.  
  452. Start / continue / stop are for control of sequencers and drum
  453. machines.  The continue message causes a device to pick up at the
  454. next clock mark.
  455.  
  456. >>
  457.         These things are also designed for performance, allowing control
  458.         of sequencers and drum machines from a "master" unit which
  459.         sends the messages down the line when its buttons are pushed.
  460.  
  461.         I can't tell you much about the trials and tribulations of drum
  462.         machines.  Other folks can, I am sure.
  463. <<
  464.  
  465. The active sensing byte is to be sent every 300 ms. or more often,
  466. if it is used.  Its purpose is to implement a timeout mechanism
  467. for a receiver to revert to a default state.  A receiver is to
  468. operate normally if it never gets one of these, activating the
  469. timeout mechanism from the receipt of the first one.
  470.  
  471. >>
  472.         My impression is that active sensing is largely unused.
  473. <<
  474.  
  475. The system reset initializes to power up conditions.  The spec. says
  476. that it should be used "sparingly" and in particular not sent
  477. automatically on power up.
  478.  
  479. AND NOW, CLIMBING TO THE PULPIT ....
  480.  
  481. >> - from here on out.
  482.  
  483. There are many deficiencies with MIDI, but it IS a standard.  As such,
  484. it will have to be grappled with.
  485.  
  486. The electrical specification leaves me with only one question - WHY?
  487. What was wanted was a serial interface, and a perfectly good RS232
  488. specification was to be had.  WHY wasn't it used?  The baud rate is
  489. too fast to simply convert into something you can feed directly to
  490. your serial port via fairly dumb hardware, also.  The "standard"
  491. baud rate step you would have to use would be 38.4 Kbaud which very
  492. few hardware interfaces accept.  The other alternative is to buffer
  493. messages and send them out a slower baud rate - in fact buffering
  494. of characters by some kind of I/O processor is very helpful.  Hence
  495. units like the MPU-401, which does a lot of other stuff, too of course.
  496.  
  497. The fast baud rate with MIDI was set for two reasons I believe:
  498.  
  499.         1) to allow daisy-chaining of a few devices with no noticeable
  500.            end to end lag.
  501.  
  502.         2) to allow chords to be played by just sending all the notes down
  503.            the pipe, the baud rate being fast enough that they will
  504.            sound simultaneous.
  505.  
  506. It doesn't exactly work - I've heard gripes concerning end to end lag
  507. on three instrument chains.  And consider chords - at two bytes (running
  508. status byte being used) per note, there will be a ten character lag
  509. between the trailing edges of the first and last notes of a six note
  510. chord.  That's 3.2 ms., assuming no "dead air" between characters.  It's
  511. still pretty fast, but on large chords with voices possessing distinctive
  512. attack characteristics, you may hear separate note beginnings.
  513.  
  514. I think MIDI could have used some means of packetizing chords, or having
  515. transaction markers.  If a "chord" message were specified, you could
  516. easily
  517. break even on byte count with a few notes, given that we assume all notes
  518. of a chord at the same velocity.  Transaction markers might be useful in
  519. any case, although I don't know if it would be worth taking over the
  520. remaining system message space for them.  I would say yes.  I would
  521. see having "start" and "end" transaction bytes.  On receipt of a "start"
  522. a receiver buffers up but does not act on messages until receipt of the
  523. "end" byte.  You could then do chords by sending the notes ahead of time,
  524. and precisely timing the "end" marker.  Of course, the job of the hardware
  525. in the receiver has been complicated considerably.
  526.  
  527. The protocol is VERY keyboard oriented - take a look at the use of TWO
  528. of the opcodes in the limited opcode space for "pressure" messages,
  529. and the inability to specify semitones or glissando effects except
  530. through the pitch wheel (which took up yet ANOTHER of the opcodes).
  531. All keyboards I know of modify ALL playing notes when they receive
  532. pitch wheel data.  Also, you have to use a continuous stream of
  533. pitch wheel messages to effect a slide, the pitch wheel step isn't
  534. standardized, and on a slide of a large number of tones you will
  535. overrun the range of the wheel.
  536.  
  537. ?       Some of these problems would be addressed by a device which allowed
  538.         its pitch wheel to have selective control - say modifying only
  539.         the notes playing on the channel the pitch wheel message is
  540.         received in, for instance.  The thing for a guitar synthesizer
  541.         to do, then, would be to use mode 4, one channel per string, and
  542.         bends would only affect the one note.  You could play a chord
  543.         on a voice with a lot of release, then bend a note and not have
  544.         the entire still sounding chord bend.  Any such devices?
  545.  
  546. I think some of the deficiencies in MIDI might be addressed by
  547. different communities of interest developing a standard set of
  548. system exclusives which answer the problem.  One perfect area
  549. for this, I think, is a standard set for representation of "non-
  550. keyboard / drum machine" instruments which have continuous pitch
  551. capabilities.  Like a pedal steel, for instance.  Or non-western
  552. intervals.  Like a sitar.
  553.  
  554. There is a crying need to do SOMETHING about the "loopback" problem.
  555. I would even vote for usurping a few more bytes in the mode messages
  556. to allow you to TURN OFF input echo by the receiver.  With the
  557. local control message, you could then at least deal with something
  558. that would act precisely like a half or full duplex terminal.
  559. Several patchwork solutions exist to this problem, but there OUGHT
  560. to be a standard way of doing it within the protocol.  Another
  561. thought is to allow data bytes of other than 0 or 127 to control
  562. echo on the existing local control message.
  563.  
  564. The lack of acknowledgement is a problem.  Another candidate for a
  565. standard system exclusive set would be a series of messages for
  566. mode setting with acknowledgement.  This set could then also
  567. take care of the loopback problem.
  568.  
  569. The complete lack of ability to specify standardized waveforms is
  570. probably another source of intense disappointment to many readers.
  571. Trouble is, the standard lingo used by the synthesizer industry and
  572. most working musicians is something which hails back to the first
  573. days of synthesizer design, deals with envelope generators and
  574. filters and VCO / LFO hardware parameters, and is very damn difficult
  575. to relate to Fourier series expressing the harmonic content or any other
  576. abstractions some people interested in doing computer composition
  577. would like.  The parameter set used by the average synthesizer
  578. manufacturer isn't anyplace close to orthogonal in any sense, and is bound
  579. to vary wildly in comparison to anybody elses.  There are essentially no
  580. abstractions made by most of the industry from underlying hardware
  581. parameters.  What standardization exists reflects only the similarity
  582. in hardware.  This is one quagmire that we have a long way to go to
  583. get out of, I think.  It might be possible, eventually, to come up
  584. with translation tables describing the best way to approximate a
  585. desired sound on a given device in terms of its parameter set, but
  586. the difficulties are enormous.  MIDI has chosen to punt on this one, folks.
  587.  
  588. Well, that's about it.  Good luck with talking to your synthesizer.
  589.  
  590. Bob McQueer
  591. 22 Bcy, 3151
  592.  
  593. All rites reversed.  Reprint what you like.
  594.