home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: Multimed / Multimed.zip / pmpiano3.zip / piano.INF (.txt) < prev   
OS/2 Help File  |  1994-07-10  |  29KB  |  824 lines

  1.  
  2. ΓòÉΓòÉΓòÉ 1. Introduction ΓòÉΓòÉΓòÉ
  3.  
  4. Piano is a Presentation Manager application (for OS/2 2.x) that turns your 
  5. computer into a MIDI controller.  In other words, it allows you to play notes 
  6. on external MIDI sound modules from your computer's keyboard and mouse via a 
  7. MIDI Interface.  If you have a sound card with a built-in sound module that is 
  8. triggered via MIDI notes (such as a Turtle Beach MultiSound or Roland RAP-10, 
  9. SCC-1, or other such cards, with appropriate OS/2 driver), then you can play 
  10. those like musical instruments as well.  Piano also allows you to generate many 
  11. other types of MIDI data such as Volume, Pan, Effects Level, Chorus Level, 
  12. Pitch Wheel, Modulation Wheel, AfterTouch (Key Pressure), and Channel Pressure 
  13. so that if your MIDI sound module supports these MIDI messages, you can control 
  14. the module appropriately. 
  15.  
  16.  
  17. Some of the words in this manual are highlighted in bold text, such as Program 
  18. Change.  These are words that refer to controls (ie, buttons, sliders, 
  19. checkboxes) which you manipulate in Piano's window.  Other words are in colored 
  20. text such as Channel Pressure.  These refer to MIDI messages (ie, data). 
  21. Underlined words, such as Pitch Wheel, refer to hardware, such as if I was 
  22. referring to the Pitch Wheel on your MIDI unit.  Words that are in colored text 
  23. such as Read This are meant to be emphasized.  Words in italics refer to 
  24. aspects of OS/2. 
  25.  
  26. Piano is version 1.3, copyright 1994 by Jeff Glatt.  Piano is freely 
  27. redistributable. 
  28.  
  29.  
  30. ΓòÉΓòÉΓòÉ 2. Driver Requirements and Setup ΓòÉΓòÉΓòÉ
  31.  
  32. Piano requires that your MIDI interface or Sound Card has an OS/2 driver. 
  33. Information sent to this driver via DosWrite() must be interpreted as MIDI 
  34. data.  (It would have to be a rather strange driver if it didn't interpret data 
  35. in this way, but if you're using a sound card with WAVE playback in addition to 
  36. a MIDI interface, it's conceivable that the Sound Card might interpret 
  37. DosWrite() data to be WAVE data). 
  38.  
  39. You must also know your driver's internal name (which might be different than 
  40. the filename of the driver).  Often, this is the driver filename minus the .SYS 
  41. extension.  For example, I use a Roland RAP-10 audio card which has an MPU-401 
  42. compatible MIDI interface built into it.  There is a shareware OS/2 driver 
  43. available for the MPU-401 by the following manufacturer: 
  44.  
  45. Delta Music Systems 
  46. 2615 Ginghamsburg-Frederick Rd. 
  47. Tipp City, OH 45371 
  48.  
  49. This driver's internal name is MPU401.  It properly interprets DosWrite() data 
  50. as MIDI data, and ships it out of any MPU-401 compatible interface.  So, you 
  51. can use this driver with Piano, and any card that has an MPU-401 compatible 
  52. interface (in hardware, not just a software driver simulation). 
  53.  
  54. By default, Piano will use that driver, and so you don't have to supply it with 
  55. that name.  If you want Piano to use a different driver, then you must supply 
  56. the name of the driver to Piano.  If you run piano from an OS/2 Command Prompt, 
  57. then simply type the name of your driver as an argument. 
  58.  
  59. If you run Piano from a Desktop icon, open up the Settings menu for that 
  60. program.  In the Parameters field, type the name of your driver.  Now whenever 
  61. you run Piano from the Desktop, it will use that driver. 
  62.  
  63. Note:  Remember to omit the .SYS extension from the driver name.
  64.  
  65. If Piano can't open the specified driver, it will display an error dialog box. 
  66. At this point, the program will run, but it won't really do anything. 
  67.  
  68. Note:  Piano is not an MMPM app.  It doesn't use MMPM drivers.  It only uses 
  69.        drivers that follow the same scheme as the DMS driver.  Tell IBM to fix 
  70.        up their Physical Device Driver model so that it isn't an archaic 16-bit 
  71.        thing harking back to the days of MS-DOS 2.0's driver scheme, and maybe 
  72.        I'll do something with MMPM drivers.
  73.  
  74.  
  75. ΓòÉΓòÉΓòÉ 3. Options ΓòÉΓòÉΓòÉ
  76.  
  77. When starting Piano, there are a number of optional parameters that can be 
  78. specified.  If running Piano from a Command Prompt Window, then add the 
  79. parameters to the command line.  If running Piano from a Presentation Manager 
  80. Object (ie, icon), then open up the Settings menu for that object, and in the 
  81. Parameters field, type the desired options (ie, where you also put the driver 
  82. name).  Now whenever you run Piano from the Desktop, it will use those options. 
  83. You could even create several program objects (by copying the Program object in 
  84. OS/2's Template folder), and give each one different options tailored for 
  85. various MIDI devices (and also give each object a unique name).  For example, 
  86. to specify the driver MPU401 with channel 7: 
  87.  
  88. MPU401 /C7 
  89.  
  90. If not using the Delta Music Systems driver, then specify the /N option.  This 
  91. will cause Piano to skip some MPU-401 initialization code for that driver.  For 
  92. example, to use a driver called "RAP10", skipping initialization. 
  93.  
  94. RAP10 /N 
  95.  
  96. Some sound cards, such as the RAP-10, have a built-in General MIDI (GM) sound 
  97. module.  The module will not play MIDI messages sent to it until it receives a 
  98. "Turn GM Sound On" MIDI System Exclusive Message (although the card may still 
  99. pass MIDI messages on to its MIDI OUT jack).  Initially, Piano will send such a 
  100. MIDI message unless you specify the /G option.  This will prevent Piano from 
  101. turning on the GM Sound Module (if you desire) of a card that supports this 
  102. MIDI message. 
  103.  
  104. By default, Piano starts with only MIDI channel 1 selected.  You can override 
  105. this, and specify which MIDI channel(s) that Piano should select upon startup. 
  106. You specify the /C option, and then follow this with the desired MIDI channels 
  107. to select, each separated by a comma.  For example, to select channels 3 and 4 
  108. initially: 
  109.  
  110. /C3,4 
  111.  
  112. By default, Piano starts with mouse button 2 emulating a Hold Pedal.  You can 
  113. specify a different controller for mouse button 2 to emulate via the /B2 
  114. option.  Follow the option with a comma, and then the new controller number (in 
  115. decimal).  For example, to specify the Hold2 Pedal Controller (ie, 69) for 
  116. mouse button 2: 
  117.  
  118. /B2,69 
  119.  
  120. By default, Piano starts with mouse button 3 emulating a Portamento On/Off 
  121. switch.  You can specify a different controller for mouse button 3 to emulate 
  122. via the /B3 option.  Follow the option with a comma, and then the new 
  123. controller number (in decimal).  For example, to specify the Data Increment 
  124. (Button) Controller (ie, 96) for mouse button 3: 
  125.  
  126. /B3,96 
  127.  
  128. By default, Piano starts with the "Effect" slider (ie, 2nd slider from the top 
  129. of the window) set to send Effects Level Controller (#91).  You can specify a 
  130. different controller for this slider via the /B1 option.  Follow the option 
  131. with a comma, and then the new controller number (in decimal).  For example, to 
  132. specify the Breath (ie, Wind) Coarse Controller (ie, 2) for this slider: 
  133.  
  134. /B1,2 
  135.  
  136. Initially, Piano also sends out All Notes Off and Reset Controllers MIDI 
  137. messages on the selected MIDI channels.  On MIDI devices that acknowledge these 
  138. messages, this turns off any sounding notes, and usually resets the Pitch Wheel 
  139. to center, the MOD wheel to 0 (ie, off), releases the Hold Pedal, turns off any 
  140. Pressure or Aftertouch effects, and may reset other controllers.  (Check your 
  141. device's MIDI implementation chart for its response to the Reset Controllers 
  142. MIDI message).  If you don't want Piano to send these messages initially, then 
  143. specify the /Z option.  If you specify this option, note that the state of 
  144. Piano's sliders and Program may not reflect the true state of the MIDI device. 
  145. Of course, you can always press Piano's Reset button to force the MIDI device 
  146. to be set to the state of Piano's sliders and buttons, but this also sets the 
  147. sliders to default values as well as turning off the controllers associated 
  148. with Mouse 2 and Mouse 3. 
  149.  
  150. Note:  You can specify options (and the driver name) in any order.  For options 
  151.        that require additional text, such as the /M option, you must not leave 
  152.        blank spaces between the option and additional text.
  153.  
  154.  
  155. ΓòÉΓòÉΓòÉ 4. MultiTimbral Modules ΓòÉΓòÉΓòÉ
  156.  
  157. Some MIDI modules are "multi-timbral".  This means that the module can listen 
  158. to all 16 MIDI channels, and play any 16 of its "patches" simultaneously, with 
  159. each of the 16 patches set to a different MIDI channel.  It's as if the module 
  160. had 16 smaller modules inside of it, with each being able to play a patch on 
  161. its own MIDI channel. 
  162.  
  163. So is there a name for these 16 "sub-modules" inside of your MIDI module? 
  164. Well, different manufacturers refer to them in different ways, and I'm going to 
  165. use the Roland preference, a Part.  A Roland multi-timbral module has 16 Parts 
  166. inside of it, and each usually has its own settings for such things as Volume, 
  167. Panning, Reverb and Chorus levels, Brightness, and its MIDI channel (ie, which 
  168. MIDI data the Part "plays").  Furthermore, each Part has its own way of 
  169. reacting to MIDI data such as Channel Pressure (often used to adjust volume or 
  170. brightness), MOD Wheel controller (often used for a vibrato effect), and Pitch 
  171. Wheel (used to slide the pitch up and down).  For example, one Part can cause 
  172. its patch to sound brighter when it receives Channel Pressure messages that 
  173. increase in value.  On the other hand, another Part could make its volume 
  174. increase when it receives increasing Channel Pressure messages.  These Parts 
  175. are completely independent of each other.  Just because one Part is receiving a 
  176. Pitch Wheel message and bending its pitch doesn't mean that another Part has to 
  177. do the same. 
  178.  
  179.  
  180. ΓòÉΓòÉΓòÉ 5. General MIDI Standard ΓòÉΓòÉΓòÉ
  181.  
  182. Nowadays, most MIDI modules have specific Patches setup in a specific order 
  183. according to a standard known as General MIDI (or GM).  All this means is that 
  184. on every GM module, a Piano patch must be the very first patch.  Patch #49 must 
  185. be a Flute.  Patch #25 must be a Nylon String Guitar.  Etc.  There are 128 
  186. defined patches that a GM module must have, in the proper order. 
  187.  
  188. Note:  When you drop down the list box for Piano's Program, you'll see all 128 
  189.        GM Patch names.
  190.  
  191. Furthermore, all patches must sound a middle C when receiving a MIDI note 
  192. number of 60.  This corresponds to setting the QWERTY Octave to 6 and pressing 
  193. the z key. 
  194.  
  195. If the GM module also has a built-in "drum module" (ie, usually one of 16 
  196. Parts), then each of that Drum Part's MIDI notes triggers a different drum 
  197. sound.  Particular drum sounds are assigned to particular MIDI note numbers. 
  198. For example, a Closed HiHat sound is set to note number 42.  The Drum Part is 
  199. usually set to receive MIDI data on channel 10, and some devices with a 
  200. built-in drum module have this module permanently set to MIDI channel 10. 
  201.  
  202. Note:  The QWERTY keyboard counts its octaves from 1.  Most MIDI devices count 
  203.        their octaves from -2.  What this means is that, to play the Snare 1 
  204.        sound, which is a D2 (ie, a D note in octave 2), set the QWERTY keyboard 
  205.        to octave 4 (ie, 2 octaves higher than written) and play the z key (ie, 
  206.        a D note).
  207.  
  208.  
  209. ΓòÉΓòÉΓòÉ 6. Piano Window ΓòÉΓòÉΓòÉ
  210.  
  211. When run, Piano opens a Presentation Manager window that has a number of 
  212. controls that you can operate to do 2 things: 
  213.  
  214.  1. Setup how the QWERTY (computer) keyboard operates.  These controls don't 
  215.     change settings on your MIDI modules, but rather, affect how your computer 
  216.     controls those modules.  In other words, if your computer was a real MIDI 
  217.     controller, it would need some means of setting itself to a particular MIDI 
  218.     channel(s), and perhaps offer features such as being able to transpose its 
  219.     "piano keyboard" (if it were a keyboard controller), etc.  These controls 
  220.     setup the controller, rather than the external modules that are slaved to 
  221.     the controller. 
  222.  
  223.  2. Directly generate MIDI events with sliders, buttons, and the QWERTY 
  224.     keyboard.  These MIDI events are what control and change settings on the 
  225.     external modules. 
  226.  
  227. You exit Piano by selecting Close from its System Menu, or double-clicking on 
  228. the window upper left corner icon. 
  229.  
  230.  
  231. ΓòÉΓòÉΓòÉ 6.1. QWERTY Keyboard ΓòÉΓòÉΓòÉ
  232.  
  233. The QWERTY keyboard is just the bottom 2 rows of your computer keyboard, which 
  234. are setup as if they were the black and white keys on a piano keyboard.  The z 
  235. key corresponds to a D note.  Therefore, the x key next to it would correspond 
  236. to a E note.  You'll note that the s key is above and inbetween the z and x 
  237. keys.  As you might expect, this would be a D# key.  The left SHIFT key is the 
  238. C key.  This physical piano keyboard extends all of the way up to the right 
  239. SHIFT key which represents a high G.  In other words, it has an octave and a 
  240. half range. 
  241.  
  242. When you press down one of these keys, it sends a MIDI Note On message to your 
  243. MIDI interface on each of the MIDI channels that you have selected.  The net 
  244. result is that it will play this one note on each sound module that is assigned 
  245. to one of those selected MIDI channels. 
  246.  
  247. Note:  By default, the QWERTY keyboard is set to output MIDI data on only MIDI 
  248.        Channel 1 (unless you specify the /C option when starting Piano).  If 
  249.        your external module allows you to set its MIDI channel, make sure that 
  250.        it is set to the same channel as the QWERTY keyboard (or vice versa).
  251.  
  252. You can even press down several keys simultaneously and play a chord.  For 
  253. example, press the left SHIFT, x, and v keys simultaneously to hear a C Major 
  254. chord.  When you release the keys, the QWERTY keyboard sends the appropriate 
  255. Note Off messages to your MIDI interface on each of the selected MIDI channels. 
  256.  
  257. You'll notice that there is a picture of a piano keyboard in the QWERTY window. 
  258. You can move the mouse pointer over one of the keys on this graphical piano, 
  259. and click the mouse button 1 to sound that note (ie, in lieu of using the 
  260. computer keyboard).  When you release the mouse button, the note stops playing. 
  261. (ie, A Note Off is sent). 
  262.  
  263. There is a checkbox for each of the 16 MIDI Channels.  Make sure that a 
  264. channel's box is checked if you want the QWERTY keyboard to output upon that 
  265. channel.  You can check as many of those channels as desired, and the QWERTY 
  266. keyboard will broadcast its notes on all of those channels simultaneously. 
  267. Because the QWERTY keyboard is "multi-channel", it allows you to play any 
  268. combination of sound modules (set to various MIDI channels), at any time.  So, 
  269. you could use the QWERTY keyboard to easily play all of your MIDI modules or 
  270. check the setup of those modules. 
  271.  
  272. Note:  You must have at least one channel selected in order for any MIDI 
  273.        messages to be sent.
  274.  
  275. By default, the left SHIFT key is middle C, but you can change the octave that 
  276. the QWERTY keyboard plays within by using the Octave spin button.  Click on 
  277. either the up or down arrows to increment/decrement the octave, or click into 
  278. the text field, type the desired octave (1 to 10), and press ENTER. 
  279.  
  280. If you ever get any "stuck" notes, use the All Notes Off button to turn them 
  281. off.  If you really get into big trouble with stuck notes, and odd controller 
  282. settings, click on the Reset button. 
  283.  
  284. By default, MIDI Note On messages are sent with a velocity of 127 (ie, the 
  285. highest possible velocity).  Generally, velocity is used to set the volume on a 
  286. per note basis, although some modules can use velocity for other effects such 
  287. as adjust attack time of a voltage controlled generator (VCA).  Your computer 
  288. keyboard does not generate velocity information (which is how fast you press 
  289. and release the keys).  Piano allows you to set the QWERTY keyboard to one of 
  290. 12 preset velocity ranges.  The 12 Function keys represent those 12 levels, 
  291. with function key 12 being full velocity (ie, 127).  So, you can change the 
  292. velocity while you're playing by pressing the function keys. 
  293.  
  294.  
  295. ΓòÉΓòÉΓòÉ 6.2. MIDI (Mouse) Buttons and Effect Slider ΓòÉΓòÉΓòÉ
  296.  
  297. Mouse button 1 is always used to play the graphical piano, or manipulate 
  298. Piano's window and controls. 
  299.  
  300. By default, mouse button 2 simulates a Hold Pedal, and sends MIDI Hold Pedal 
  301. Controller messages.  When you push the button down (and hold it down), the 
  302. hold pedal is on.  When you release the button, the hold pedal is also 
  303. released.  In other words, this is a "momentary pedal" because it's only on 
  304. while you hold the button down.  You can specify a different controller for 
  305. mouse button 2 to emulate by using the Mouse 2 control.  See the Mouse 2 
  306. section for details. 
  307.  
  308. By default, mouse button 3 simulates a Portamento On/Off switch, and sends MIDI 
  309. Portamento On/Off Controller messages.  When you push the button down, 
  310. Portamento is toggled on or off (ie, if it was previously off, it's now on, and 
  311. vice versa).  This is not a momentary pedal because, when you toggle it on, it 
  312. stays on until you press mouse button 3 again (at which time it is toggled 
  313. off).  When the switch is "on", an asterisk appears next to the controller name 
  314. selected for Mouse 3.  If the switch is off, there is no asterisk.  You can 
  315. specify a different controller for mouse button 3 to emulate by using the Mouse 
  316. 3 control.  See the Mouse 3 section for details. 
  317.  
  318. By default, the "Effect" slider (ie, 2nd slider from the top of the window) 
  319. sends MIDI Effects Level Controller (#91).  Various MIDI devices may interpret 
  320. this in different ways (if at all).  For example, Roland devices that have a 
  321. built-in reverb unit often use this for the reverb level.  You can specify a 
  322. different controller for this slider by typing the desired Controller number 
  323. (in decimal) or Controller name into the entry field next to the slider, or 
  324. dropping down the list of defined Controller names and selecting one. 
  325.  
  326. Mouse button 2 is good for emulating controllers that normally are associated 
  327. with momentary Pedals, such as Hold, Hold2, Soft, and Sustenuto pedals, whereas 
  328. button 3 is good for controllers normally associated with Foot Switches, such 
  329. as Data +/-, Portamento On/Off, Local keyboard On/Off, etc.  The "Effect" 
  330. slider is suited for continuous MIDI controllers; controllers that have more 
  331. than just an "on" and "off" state, such as Breath controller, Mod wheel, Foot 
  332. pedal, PTme (Portamento time), etc. 
  333.  
  334. Any continuous controller has both a coarse and fine controller number.  For 
  335. example, there is a controller number (10) that adjusts the Pan Position in 
  336. coarse amounts.  It offers 128 "coarse" Pan positions.  There is another 
  337. controller number (42) that adjusts Pan in fine increments.  It offers 128 
  338. "fine" increments in between two, consecutive coarse settings.  So, you could 
  339. use the Pan coarse controller to set a sound to one of the 128 coarse 
  340. positions, and then use the Pan fine controller to adjust the Pan to one of the 
  341. 128 fine increments that fall between the current coarse position and the next 
  342. coarse position.  Some MIDI devices only respond to the coarse controllers and 
  343. do not implement the fine controllers (ie, for example, a device may only 
  344. implement the 128 coarse pan positions, and allow no fine adjustments to 
  345. those).  In Piano's drop down list of defined controllers, an H at the end of 
  346. the name refers to coarse (ie, high resolution) controller, and an L refers to 
  347. fine (ie, low resolution) controller. 
  348.  
  349.  
  350. ΓòÉΓòÉΓòÉ 6.3. MIDI Sliders ΓòÉΓòÉΓòÉ
  351.  
  352. As mentioned, Piano generates MIDI Note On and Note Off messages on the 
  353. selected MIDI channels when you play the QWERTY keyboard.  Virtually all MIDI 
  354. modules respond to these messages.  But, there are many more types of MIDI 
  355. messages that Piano can generate and send to your MIDI module.  The sliders on 
  356. the left side of the window generate some of these different types of MIDI 
  357. messages. 
  358.  
  359. Note:  Not all MIDI sound modules respond to all of these types of MIDI 
  360.        messages.  In particular, old and very cheap equipment may not respond 
  361.        to any of these messages.  If you get a response to the QWERTY keyboard 
  362.        (ie, the MIDI module makes some sound), but a particular slider doesn't 
  363.        seem to be having any effect, then you're probably dealing with such 
  364.        limited equipment.  On the other hand, sophisticated gear often allows 
  365.        you to turn on/off the module's response to these types of messages, so 
  366.        check your unit's setup.
  367.  
  368. You operate a slider by "grabbing" its knob with mouse button 1 and moving it 
  369. to a new position.  You have to "let go" (ie, release the mouse button) before 
  370. Piano sends out any MIDI message (and you perhaps hear the result on your MIDI 
  371. sound module).  Alternately, if you want to increment/decrement the knob's 
  372. position, move the mouse pointer inside of the slider's shaft, but not on top 
  373. of the knob itself (ie, to either side of the knob), and click the mouse button 
  374. 1 once.  If you're to the left of the knob, it will decrement by 1 position, 
  375. and a MIDI message will be sent.  If you're to the right of the knob, it will 
  376. increment by 1 position, and a MIDI message will be sent. 
  377.  
  378. Note:  Each slider has a small arrow above it.  (The arrow may be in different 
  379.        positions on different sliders).  This arrow marks the default position 
  380.        of the slider.  If you want to quickly set the slider to this default 
  381.        position, click on that arrow, and the knob will move to that position, 
  382.        and send out an appropriate MIDI message.  This is very handy for such 
  383.        things as Pan and Pitch since the default is to center the Pan and Pitch 
  384.        wheel.  Note that when Piano is first started or when you change the 
  385.        MIDI channel checkboxes, the settings shown for the sliders may not 
  386.        reflect the actual state of your external MIDI modules.  You could click 
  387.        on a default arrow in order to send a slider's setting to your module, 
  388.        or use the Reset button.
  389.  
  390. You can hold down a key on the QWERTY keyboard to sound a note on your external 
  391. module.  Then, without releasing the key (ie, so that the note on the external 
  392. module is still sounding), you can operate a slider.  If your external unit 
  393. responds to such a MIDI message while sounding a note, then you will hear the 
  394. result on the currently sounding note.  In fact, that's really how AfterTouch 
  395. and Channel Pressure are meant to be applied.  Some modules won't make changes 
  396. to any already sounding notes, so you'll have to release the note and play it 
  397. again in order to hear the results of moving a slider.  You don't have to be 
  398. playing a note when you move a slider.  You can simply move the slider, and 
  399. then play a note to hear the result.  It's just that moving a slider while 
  400. listening to a note sounding can give you a much clearer sonic idea of what 
  401. that slider is doing to the sound (assuming that your module responds to the 
  402. slider's MIDI messages). 
  403.  
  404. Note:  Remember that if you "grab and move" the slider's knob with the mouse, 
  405.        you must eventually "let go" of the knob in order for Piano to send any 
  406.        MIDI message.
  407.  
  408. Some modules use AfterTouch and Channel Pressure to affect the Brightness of 
  409. the sound (ie, Filter cutoff), or Volume, or some other such parameter. 
  410. Normally, AfterTouch and Channel Pressure are generated by pressing harder and 
  411. softer on the piano keyboard while you're holding down a note.  Obviously, your 
  412. computer's keyboard doesn't generate AfterTouch and Channel Pressure.  If you 
  413. press down harder, you'll only break it.  So, when you release notes after 
  414. having adjusted the AfterTouch or Pressure sliders, you may wish to click on 
  415. the respective default arrow to turn the effect off (which is what would happen 
  416. as you released the keys on a real controller).  If you're adjusting the 
  417. AfterTouch slider, you should only play one note at a time, and reset 
  418. AfterTouch to default upon releasing each note, since AfterTouch only works on 
  419. the last key that you've played (ie, Piano doesn't fully implement Aftertouch). 
  420. The Reset button also resets AfterTouch and Channel Pressure (as well as the 
  421. other sliders). 
  422.  
  423.  
  424. ΓòÉΓòÉΓòÉ 6.4. Controls ΓòÉΓòÉΓòÉ
  425.  
  426. What follows is a description of the controls in the Piano window; what they 
  427. control, and additional notes about any MIDI information that they send. 
  428.  
  429.  
  430. ΓòÉΓòÉΓòÉ 6.4.1. Program ΓòÉΓòÉΓòÉ
  431.  
  432. Affects        Which one of its Patches, Presets, or Instruments the MIDI 
  433.                module will play.  If the module is a MultiTimbral unit, then it 
  434.                usually can play 16 "Parts" at once, each receiving data upon 
  435.                its own MIDI channel.  This changes all Parts (which are set to 
  436.                one of the selected MIDI channels) to use that one chosen GM 
  437.                Patch. 
  438.  
  439.                Note:  If a module's Part receives a Program Change message on 
  440.                       the channel to which it is assigned, then its Patch will 
  441.                       change to the program number embedded in that message. 
  442.                       For example, assume that a Part is set to MIDI channel 1, 
  443.                       and its Patch is set to Grand Piano.  If a Program Change 
  444.                       message with a program number of 41 is sent on MIDI 
  445.                       channel 1, then the Part will switch to the Violin (ie, 
  446.                       which is GM Patch #41).  A Program Change can be sent 
  447.                       while the Part is playing -- even while the Part is 
  448.                       playing some Grand Piano notes.  The Part will simply 
  449.                       play subsequent MIDI notes using the new Patch. 
  450.  
  451. Range          One of the 128 GM Patches.  You pick out which one from the list 
  452.                box (by clicking on it), or type in the desired Patch name and 
  453.                press the ENTER key.  If you prefer to deal with numbers, 
  454.                especially if you're dealing with a non-GM MIDI device, you can 
  455.                instead type in the desired Patch number (where 1 is the first 
  456.                Patch) and press the ENTER key.  In this case, Piano will always 
  457.                display the respective GM Patch name.  If you type in the Patch 
  458.                name, you may enter only as many characters as are needed for 
  459.                Piano to find a matching name.  For example, if you type "Gran" 
  460.                (or "Piano") and press ENTER, then Piano will match this as 
  461.                "Grand Piano".  If you type "harp" and press ENTER, Piano will 
  462.                match this with "Harpsichord" (since that comes before "Harp"). 
  463.  
  464.                Note:  It doesn't matter whether you type the name in upper or 
  465.                       lower case.
  466.  
  467.  
  468. ΓòÉΓòÉΓòÉ 6.4.2. Pan ΓòÉΓòÉΓòÉ
  469.  
  470. Affects        Where within the stereo field the module will be placed.  If the 
  471.                module is a MultiTimbral unit, then each one of its Parts 
  472.                usually has its own pan position.  This changes the pan of all 
  473.                Parts assigned to one of the selected MIDI channels. 
  474.  
  475.                Note:  If the Part receives a Pan Controller message on the 
  476.                       channel to which it is assigned, then its pan will change 
  477.                       to the value embedded in that message.  For example, 
  478.                       assume that a Part is set to MIDI channel 1, and is 
  479.                       panned hard left.  If a Pan Controller message with a 
  480.                       value of 64 (ie, center) is sent on MIDI channel 1, then 
  481.                       the Part's sound will switch to center position.  A Pan 
  482.                       Controller can be sent while the Part is playing -- even 
  483.                       while the Part is playing some notes.  The Part will 
  484.                       simply play with a new pan position. 
  485.  
  486. Range          128 possible positions, with 0 being hard left, 64 being center, 
  487.                and 127 being hard right.  You must center the slider's knob for 
  488.                center pan (ie, where the default arrow is), and moving the knob 
  489.                to the left or right pans in those directions respectively. 
  490.                (This is the coarse controller for Pan). 
  491.  
  492.  
  493. ΓòÉΓòÉΓòÉ 6.4.3. Chorus ΓòÉΓòÉΓòÉ
  494.  
  495. Affects        The chorus effect amount (ie, level) for the module.  If the 
  496.                module is a MultiTimbral unit, then each one of its Parts 
  497.                usually has its own chorus level.  This changes the chorus level 
  498.                of all Parts assigned to one of the selected MIDI channels. 
  499.  
  500.                Note:  If the Part receives a Chorus Controller message on the 
  501.                       channel to which it is assigned, then its Chorus Level 
  502.                       will change to the value embedded in that message.  For 
  503.                       example, assume that a Part is set to MIDI channel 1, and 
  504.                       has a Chorus Level of 64.  If a Chorus Controller message 
  505.                       with a value of 0 is sent on MIDI channel 1, then the 
  506.                       Part will switch to having no chorus (ie, chorus 
  507.                       level=0).  A Chorus Controller can be sent while the Part 
  508.                       is playing -- even while the Part is playing some notes. 
  509.                       The Part will simply play with a new chorus effect level. 
  510.  
  511. Range          0 to 127, with 0 being no chorus effect applied at all.  Moving 
  512.                the fader all the way to the left gives a chorus level of 0. 
  513.  
  514.  
  515. ΓòÉΓòÉΓòÉ 6.4.4. Volume ΓòÉΓòÉΓòÉ
  516.  
  517. Affects        The MIDI module's volume.  If the module is a MultiTimbral unit, 
  518.                then each one of its Parts usually has its own volume.  This 
  519.                changes the volumes of all Parts assigned to one of the selected 
  520.                MIDI channels. 
  521.  
  522.                Note:  If a Part receives a Volume Controller message on the 
  523.                       channel to which it is assigned, then its Volume will 
  524.                       change to the value embedded in that message.  For 
  525.                       example, assume that a Part is set to MIDI channel 1, and 
  526.                       has a Volume of 127.  If a Volume Controller message with 
  527.                       a value of 64 is sent on MIDI channel 1, then the Part's 
  528.                       volume will drop by half.  A Volume Controller can be 
  529.                       sent while the Part is playing -- even while the Part is 
  530.                       playing some notes.  The Part will simply play with a new 
  531.                       Volume. 
  532.  
  533. Range          0 to 127, with 0 being no volume at all.  Moving the fader all 
  534.                the way to the left gives a volume of 0.  (This is the coarse 
  535.                controller for volume). 
  536.  
  537.  
  538. ΓòÉΓòÉΓòÉ 6.4.5. MOD Wheel ΓòÉΓòÉΓòÉ
  539.  
  540. Affects        Sends MOD Wheel messages to the MIDI module.  If the module is a 
  541.                MultiTimbral unit, then each one of its Parts may respond 
  542.                differently (or not at all) to MOD Wheel.  This sends a MOD 
  543.                Wheel message to all Parts assigned to one of the selected MIDI 
  544.                channels. 
  545.  
  546.                Note:  If a Part receives a MOD Wheel Controller message on the 
  547.                       channel to which it is assigned, then it may or may not 
  548.                       do something depending upon how the Part is set to 
  549.                       respond to this message.  Usually, MOD Wheel introduces 
  550.                       some sort of vibrato effect.  For example, assume that a 
  551.                       Part is set to MIDI channel 1.  If a MOD Wheel Controller 
  552.                       message with a value of 64 is sent on MIDI channel 1, 
  553.                       then a medium vibrato effect may be applied to the Part's 
  554.                       sound.  A MOD Wheel Controller can be sent while the Part 
  555.                       is playing -- even while the Part is playing some notes. 
  556.                       A vibrato effect will simply be applied to any sounding 
  557.                       notes. 
  558.  
  559. Range          0 to 127, with 0 being no modulation.  (This is the coarse 
  560.                controller for MOD wheel). 
  561.  
  562.  
  563. ΓòÉΓòÉΓòÉ 6.4.6. Pitch Wheel ΓòÉΓòÉΓòÉ
  564.  
  565. Affects        Sends Pitch Wheel messages to the MIDI module.  If the module is 
  566.                a MultiTimbral unit, then each one of its Parts may or may not 
  567.                respond to Pitch Wheel.  This sends a Pitch Wheel message to all 
  568.                Parts assigned to one of the selected MIDI channels. 
  569.  
  570.                Note:  If a Part receives a Pitch Wheel message on the channel 
  571.                       to which it is assigned, then it may or may shift its 
  572.                       pitch up/down depending upon whether the Part is set to 
  573.                       respond to this message.  A value of 64 (MSB only) is 
  574.                       centered pitch, and values below that shift the pitch 
  575.                       downward, whereas values above shift the pitch upward. 
  576.                       For example, assume that a Part is set to MIDI channel 1. 
  577.                       If a Pitch Wheel message with a value of 95 (MSB only) is 
  578.                       sent on MIDI channel 1, then the pitch shifts upward.  A 
  579.                       Pitch Wheel can be sent while the Part is playing -- even 
  580.                       while the Part is playing some notes.  The pitch will 
  581.                       simply shift accordingly. 
  582.  
  583. Range          0 to 127, with 64 being no pitch shift (ie, center position). 
  584.  
  585.                Note:  Piano only sends the MSB of Pitch Wheel.  In other words, 
  586.                       its a coarse adjustment only. 
  587.  
  588.  
  589. ΓòÉΓòÉΓòÉ 6.4.7. Pressure ΓòÉΓòÉΓòÉ
  590.  
  591. Affects        Sends Channel Pressure messages to the MIDI module.  If the 
  592.                module is a MultiTimbral unit, then each one of its Parts may 
  593.                respond differently (or not at all) to Channel Pressure.  This 
  594.                sends a Channel Pressure message to all Parts assigned to one of 
  595.                the selected MIDI channels. 
  596.  
  597.                Note:  If a Part receives a Channel Pressure message on the 
  598.                       channel to which it is assigned, then it may or may not 
  599.                       do something depending upon how the Part is set to 
  600.                       respond to this message.  Usually, Channel Pressure 
  601.                       adjusts the brightness (ie, filter cutoff), the volume, 
  602.                       and/or introduces some sort of vibrato effect.  For 
  603.                       example, assume that a Part is set to MIDI channel 1.  If 
  604.                       a Channel Pressure message with a value of 64 is sent on 
  605.                       MIDI channel 1, then a medium vibrato effect may be 
  606.                       applied to the Part's sound.  Channel Pressure can be 
  607.                       sent while the Part is playing -- even while the Part is 
  608.                       playing some notes.  Some effect will simply be applied 
  609.                       to any sounding notes.  Indeed, Channel Pressure is 
  610.                       usually generated by pressing harder or softer on the 
  611.                       keys while holding them down (ie, so you are playing some 
  612.                       notes).  So, Channel Pressure is meant to affect sounding 
  613.                       notes in some way. 
  614.  
  615. Range          0 to 127, with 0 being no channel pressure (ie, off). 
  616.  
  617.  
  618. ΓòÉΓòÉΓòÉ 6.4.8. AfterTouch ΓòÉΓòÉΓòÉ
  619.  
  620. Affects        Sends AfterTouch messages (sometimes referred to as Key 
  621.                Pressure) to the MIDI module.  If the module is a MultiTimbral 
  622.                unit, then each one of its Parts may respond differently (or not 
  623.                at all) to these messages.  This sends an AfterTouch message to 
  624.                all Parts assigned to one of the selected MIDI channels. 
  625.  
  626.                Note:  If a Part receives an AfterTouch message on the channel 
  627.                       to which it is assigned, then it may or may not do 
  628.                       something depending upon how the Part is set to respond 
  629.                       to this message.  Usually, AfterTouch adjusts the 
  630.                       brightness (ie, filter cutoff), the volume, and/or 
  631.                       introduces some sort of vibrato effect.  For example, 
  632.                       assume that a Part is set to MIDI channel 1.  If an 
  633.                       AfterTouch message with a value of 64 is sent on MIDI 
  634.                       channel 1, then a medium vibrato effect may be applied 
  635.                       one of the Part's sounding notes.  AfterTouch can be sent 
  636.                       while the Part is playing -- even while the Part is 
  637.                       playing some notes.  Some effect will simply be applied 
  638.                       to the note corresponding to the message.  Indeed, 
  639.                       AfterTouch is usually generated by pressing harder or 
  640.                       softer on a key while holding it down (ie, so you are 
  641.                       playing a note).  So, AfterTouch is meant to affect a 
  642.                       sounding note in some way.  What's the difference between 
  643.                       AfterTouch and Channel Pressure?  Well, AfterTouch 
  644.                       messages are for individual keys.  Every key that you 
  645.                       press down generates its own AfterTouch messages.  If you 
  646.                       press on one key harder than another, then the one key 
  647.                       will generate AfterTouch messages with higher values than 
  648.                       the other key.  The net result is that some effect will 
  649.                       be applied to the one key more than the other key.  You 
  650.                       have individual control over each key that you play. 
  651.                       With Channel Pressure, one message is sent out for the 
  652.                       entire keyboard.  So, if you press one key harder than 
  653.                       another, the module will average out the difference, and 
  654.                       then just pretend that you're pressing both keys with the 
  655.                       exact same pressure.  The net result is that some effect 
  656.                       gets applied to all sounding keys evenly.  You don't have 
  657.                       individual control per each key.  A controller would use 
  658.                       either Channel Pressure or AfterTouch, but usually not 
  659.                       both.  Most MIDI controllers don't generate AfterTouch 
  660.                       because the circuitry required is a bit too costly. 
  661.                       Piano's QWERTY keyboard is no exception.  (Hey, you got 
  662.                       it free.  What do you expect?).  It only generates 
  663.                       AfterTouch messages for the last key that you play.  If 
  664.                       you play a chord, only one of the notes gets the 
  665.                       AfterTouch effect when you move the slider (ie, the last 
  666.                       one that you pressed down).  Ideally, there should be 
  667.                       AfterTouch messages happening for each key being held 
  668.                       down, but that's irrelevant here because your computer 
  669.                       keyboard doesn't have some way of detecting pressure for 
  670.                       each key, and it would be impractical to be adjusting an 
  671.                       AfterTouch slider for every key that you hold down.  You 
  672.                       should avoid playing chords while adjusting the 
  673.                       AfterTouch slider.  If you do, you may need to Reset in 
  674.                       order to clear aftertouch from all of the keys that you 
  675.                       played. 
  676.  
  677. Range          0 to 127, with 0 being no aftertouch (ie, off). 
  678.  
  679.  
  680. ΓòÉΓòÉΓòÉ 6.4.9. Effect ΓòÉΓòÉΓòÉ
  681.  
  682. Affects        This slider can be set to emulate any one of the 128 possible 
  683.                MIDI controllers.  By default, it emulates the effects level for 
  684.                the module.  If the module is a MultiTimbral unit, then each one 
  685.                of its Parts usually has its own effects level.  This changes 
  686.                the effects level of all Parts assigned to one of the selected 
  687.                MIDI channels.  Various MIDI devices may respond to effects 
  688.                controller differently (if at all).  Some Roland devices with a 
  689.                built-in reverb unit, use Effects controller to set the reverb 
  690.                amount. 
  691.  
  692.                Note:  If the Part receives a MIDI Effects Controller message on 
  693.                       the channel to which it is assigned, and the device uses 
  694.                       that to adjust reverb amount, then its Reverb Level will 
  695.                       change to the value embedded in that message.  For 
  696.                       example, assume that a Part is set to MIDI channel 1, and 
  697.                       has a Reverb Level of 64.  If an Effects Controller 
  698.                       message with a value of 0 is sent on MIDI channel 1, then 
  699.                       the Part will switch to having no reverb (ie, reverb 
  700.                       level=0).  An Effects Controller can be sent while the 
  701.                       Part is playing -- even while the Part is playing some 
  702.                       notes.  The Part will simply play with a new reverb 
  703.                       level. 
  704.  
  705.                When you select a new controller for the Effect slider, this new 
  706.                controller is initially set to whatever value the slider is set 
  707.                to (ie, if the slider is all of the way to the right, then the 
  708.                controller's value is set to 127). 
  709.  
  710. Range          0 to 127, with 0 being no effects applied at all.  Moving the 
  711.                fader all the way to the left gives an effects level of 0. 
  712.  
  713.  
  714. ΓòÉΓòÉΓòÉ 6.4.10. All Notes Off ΓòÉΓòÉΓòÉ
  715.  
  716. Affects        This button sends Note Off messages to the MIDI module for any 
  717.                notes that Piano thinks are still "on".  Due to the way that 
  718.                Presentation Manager works, it's possible for Piano to not "see" 
  719.                a mouse button up message (ie, some other app may get it). 
  720.                Clicking on this button forces Piano to turn off all notes that 
  721.                it played and didn't turn off even though you may no longer be 
  722.                pressing the mouse button over the graphical piano, or holding 
  723.                down a key on the computer. 
  724.  
  725.                Piano also sends All Notes Off Controller and All Sound Off 
  726.                Controller messages on the MIDI channels that you have selected, 
  727.                as an extra precaution to turn off any "stuck notes".  See the 
  728.                remarks about such in the Reset description. 
  729.  
  730.  
  731. ΓòÉΓòÉΓòÉ 6.4.11. Reset ΓòÉΓòÉΓòÉ
  732.  
  733. Affects        This is a more drastic reset than the All Notes Off button.  The 
  734.                latter button only turns off notes.  This button also resets 
  735.                various controllers to default values, and resets the Program on 
  736.                the MIDI channels that you have selected. 
  737.  
  738.                This button sends All Notes Off Controller, All Sound Off 
  739.                Controller, and Reset Controllers messages on all 16 MIDI 
  740.                channels.  Note that some older or cheap MIDI gear does not 
  741.                implement some of these special controller messages.  (ie, On 
  742.                some gear, you have to send an individual MIDI Note Off message 
  743.                for each note that you wish turned off.  This is an archaic and 
  744.                slow way of turning off "stuck notes".  Piano doesn't bother 
  745.                with that.  Likewise, some gear doesn't implement Reset 
  746.                Controllers, and wants individual controller messages for each 
  747.                controller that you wish to reset.  Piano does initialize the 
  748.                MIDI parameters associated with the 8 sliders (ie, Volume, MOD, 
  749.                PITCH, etc) as well as the Mouse 2 and Mouse 3 controllers 
  750.                regardless of whether a device understands the Reset Controllers 
  751.                message, but other controllers may not be reset.  You'll have to 
  752.                reset those manually.  Piano resets the sliders to default 
  753.                values, and turns off the controllers for Mouse 2 and Mouse 3. 
  754.                Finally, this button causes the Program to be changed on all of 
  755.                the selected MIDI channels, to that program displayed in Piano's 
  756.                Program control. 
  757.  
  758.  
  759. ΓòÉΓòÉΓòÉ 6.4.12. Octave ΓòÉΓòÉΓòÉ
  760.  
  761. Affects        The note range that the QWERTY piano (and graphical piano) plays 
  762.                back.  In other words, this transposes Piano's note range an 
  763.                octave at a time. 
  764.  
  765.                Note:  The QWERTY keyboard counts its octaves from 1.  Most MIDI 
  766.                       devices count their octaves from -2.  What this means is 
  767.                       that, to play a middle C (MIDI note number 60), set 
  768.                       Octave to 4 and play the z key (ie, a C note) or click on 
  769.                       the leftmost C of the graphical piano.
  770.  
  771.  
  772. ΓòÉΓòÉΓòÉ 6.4.13. Mouse 2 ΓòÉΓòÉΓòÉ
  773.  
  774. Affects        The controller that is sent (on the selected MIDI channels) 
  775.                every time that you press and release mouse button 2.  You can 
  776.                choose any one of the possible 128 MIDI Controllers.  48 of 
  777.                these 128 Controllers are defined for specific purposes, and 
  778.                have "names".  If you drop down the list box for Mouse 2, you'll 
  779.                see those defined controller names.  You can choose one of these 
  780.                (by clicking on the name, or typing the name), or you can type 
  781.                in the desired controller number (from 0 to 127 decimal). 
  782.  
  783.                If you type in the Controller name, you may enter only as many 
  784.                characters as are needed for Piano to find a matching name.  For 
  785.                example, if you type "Por" and press ENTER, then Piano will 
  786.                match this as "Porta" (ie, Portamento On/Off).  If you type 
  787.                "Mod" and press ENTER, Piano will match this with "Mod H" (since 
  788.                that comes before "Mod L").  It doesn't matter whether you type 
  789.                the name in upper or lower case. 
  790.  
  791.                When you select a new controller for Mouse 2, this new 
  792.                controller is initially set to 0 (ie, turned off). 
  793.  
  794.                Note:  Consult my OS/2 online book, "The MIDI Book" for 
  795.                       descriptions of all the defined MIDI controllers.
  796.  
  797.  
  798. ΓòÉΓòÉΓòÉ 6.4.14. Mouse 3 ΓòÉΓòÉΓòÉ
  799.  
  800. Affects        The controller that is sent (on the selected MIDI channels) 
  801.                every time that you press mouse button 3.  You can choose any 
  802.                one of the possible 128 MIDI Controllers.  48 of these 128 
  803.                Controllers are defined for specific purposes, and have "names". 
  804.                If you drop down the list box for Mouse 3, you'll see those 
  805.                defined controller names.  You can choose one of these (by 
  806.                clicking on the name, or typing the name), or you can type in 
  807.                the desired controller number (from 0 to 127 decimal). 
  808.  
  809.                If you type in the Controller name, you may enter only as many 
  810.                characters as are needed for Piano to find a matching name.  For 
  811.                example, if you type "Por" and press ENTER, then Piano will 
  812.                match this as "Porta" (ie, Portamento On/Off).  If you type 
  813.                "Mod" and press ENTER, Piano will match this with "Mod H" (since 
  814.                that comes before "Mod L").  It doesn't matter whether you type 
  815.                the name in upper or lower case. 
  816.  
  817.                When you select a new controller for Mouse 3, this new 
  818.                controller is initially set to 0 (ie, turned off). 
  819.  
  820.                Note:  Consult my OS/2 online book, "The MIDI Book" for 
  821.                       descriptions of all the defined MIDI controllers.
  822.  
  823.  
  824.