home *** CD-ROM | disk | FTP | other *** search
- MidiTools Updates
- =================
-
- Following are recent changes and additions to MidiTools not included in
- MTOOLS.DOC.
-
-
- New programs
- ------------
-
- MFF2BIN Converts a standard MIDI file to a binary (MIDIEX) file.
- Only system exclusive messages are transferred.
- Usage: mff2bin <MIDI input file> <binary output file>
-
- BIN2MFF Converts a binary (MIDIEX) file to a standard MIDI file.
- Usage: bin2mff <binary input file> <MIDI output file>
-
- MERGE Merges one or more MIDI files. Files may be merged in
- parallel, or spliced sequentially.
- Usage: merge <output file> <input file list> <options>
-
- (Note order of files - the output file is first!)
-
- <options> -R Replace the output file (default
- is to merge into the output file)
-
- -S Splice the files sequentially
- (default is to merge in parallel)
-
- -Fn Select output file format - 0, 1, 2
- (default is 1st file's format)
-
- PLAY/D: A driver-only version of Play/R called Play/D is now included
- (playd.exe). It is identical to Play/R except there is no
- pop up control window. Run the self-extracting archive file
- playrdev.exe to extract the programming related files,
- especially API.DOC, which describes the applications
- programming interface.
-
-
- Program changes
- ---------------
-
- Play: Alt-F7 now selects among 3 sync modes: internal, internal
- master, and external. See the help file.
-
- All players: The following interface types have been added,
- supplementing the list in Appendix A:
-
- -dsbfm Sound Blaster FM sound
-
- -dadlib Adlib FM sound
-
- -dserial Generic serial device - 38400 baud
-
- As with the MIDIator, the new generic serial option takes as a
- first option value the com port number (i.e., -dser:2 selects
- com 2). The generic serial option only works with devices
- capable of accepting raw 8-bit MIDI data at rates up to 38400
- bits per second (for example, the new Roland SC-7). Also,
- since a serially connected device cannot be automatically
- detected, the -d option must always be included (or an
- environment must be set - see Appendix A).
-
- All interactive programs:
-
- The file list now displays and allows navigation among
- directories.
-
- Fmt: A new -Dn option allows a time base to be specified for
- the output file, where n is the number of divisions per
- quarter note.
-
- Play/R: The applications programming interface has been expanded to
- support additional song functions, as well as full MIDI
- input/output capability. See the API.DOC file in the
- playrdev.exe self-extracting archive. This material
- supersedes Appendix B in the manual.
-
- The meaning the timer mode 2 has changed slightly. It will
- now advance at timer ticks only if DOS is not active. Mode 3
- still uses unconditional stepping.
-
- A new -r command line option causes Play/R to unload itself if
- already loaded.
-
-
- Support for Microsoft Windows
- -----------------------------
-
- Although MidiTools is DOS based, it now includes several additional
- files which allow some of the utilities to run more effectively under
- Windows 3.1. If you normally run Windows in Standard mode, this
- information does not apply - all the MidiTools utilities will run fine
- from the Windows MS-DOS prompt. This information only applies to 386
- Enhanced Mode, where due to the fact that Windows exercises more control
- over the hardware, MIDI programs may get "stepped on" by the system.
- There are two areas where the MidiTools Windows support features will
- help:
-
- 1. Much more accurate timing in the MidiTools player programs,
- plus background playing.
-
- 2. A virtual MPU driver, allowing DOS MPU-based programs (such
- as MidiTools) to interoperate with Multimedia Extensions. This
- means, for example, that a DOS MIDI program can be used
- concurrently with a Windows MME MIDI program (when supported by
- the MME MIDI driver), or that a DOS MPU-based MIDI program work
- with other, non-MPU devices, even if the DOS program only supports
- the MPU.
-
- Working with DOS under Windows can be a bit like stepping into the
- Twilight Zone, and will require some more advanced Windows experience.
- Before proceeding, you should have a good foundation in related Windows
- topics, so please read the relevant sections of the Windows manual
- regarding running DOS applications, adding program groups and items,
- setting up PIF's (program information files), and editing text files
- (using the notepad, for example).
-
- *** Windows Timing
-
- MidiTools includes a virtual timer driver called timer.386. Once it is
- installed, the player programs can be instructed to use this driver
- instead of relying on Windows timing support for DOS, which is not very
- consistent. To install the driver, do the following:
-
- 1. Copy the file timer.386 to your windows\system directory.
- (ex: copy \mtools\timer.386 \windows\system)
-
- 2. Using the Windows notepad, or any other text editor: edit the file
- \windows\system.ini, find the [386enh] line, and add the following
- device line after it:
-
- [386enh] (look for this line)
-
- device=timer.386 (add this line after it)
-
- 3. Start (or restart) Windows.
-
- To use the driver: Whenever running one of the MidiTools players in a
- DOS window (accessed by clicking on the MS-DOS icon in the "Main"
- Program Manager group), add the -h option to the player command line.
- This instructs the player to use the new timer device instead of normal
- DOS timing mechanisms (ex: play -h). To make the MidiTools programs
- easier to use under Windows, you may wish to create a new program group
- and add the interactive MidiTools programs to that group (play, record,
- watch, filter). Be sure to include -h on the Play, Record, and Watch
- command line when setting up the program item (or PIF). For background
- playing to work correctly for any of the players, you will also need to
- enable background operations for the DOS Window from its control menu
- (upper left box). You may find it easiest to do this once in a PIF (see
- your Windows manual for information on setting up a PIF for a DOS
- program).
-
- See note 4 in the Virtual MPU section below regarding 3rd party drivers
- which may affect running MidiTools programs in a Window, even if you do
- not plan to use the MidiTools virtual MPU driver.
-
-
- *** Virtual MPU
-
- The MPU driver included with MidiTools actually consists of two parts.
- The first part is a Windows virtual device driver called VMPU.386. This
- driver fools any DOS program running in a window into thinking that the
- driver is a real MPU-401 type MIDI interface - whether or not you
- actually have the hardware. The second part is a Windows program called
- VMPU401.EXE. This is a Multimedia Extensions MIDI program which must be
- running in order to a) activate the virtual driver, and b) serve as a
- gateway between the virtual MPU and the Multimedia Extensions MIDI
- drivers. To install the virtual driver part, do the following:
-
- 1. Copy the file VMPU.386 to your \windows\system directory
- (ex: copy \mtools\vmpu.386 \windows\system)
-
- 2. Edit the file \windows\system.ini and add the line
- "device=vmpu.386" in the [386enh] section.
-
- 3. Start (or restart) Windows.
-
- To install the MME part of the driver, add a program item to any
- convenient group to run the program file \mtools\vmpu401.exe. Instead
- of adding it to a group, you may also run it directly whenever you need
- it via the "File" menu of the Program Manager. Adding a program item
- that you can simply click on is recommended, however.
-
- To use the driver, run the VMPU401 program (click on its program icon if
- you installed one, or run it from the Program Manager File menu). It
- will display a list of possible input and output MME MIDI drivers.
- Select one of each, and optionally set the simulated IRQ and base
- address of the virtual MPU. Click on OK to enable the emulation. The
- program will reduce to an icon (it must remain active while needed).
- You may now open a DOS window and run any MPU-compatible program.
-
- Virtual MPU notes:
-
- 1. Only one DOS MPU program should be active at a time (or results may
- be unpredictable).
-
- 2. Due to a bug in Windows 3.1 affecting some systems, you may have
- trouble running Windows MIDI programs while a DOS window is open if the
- Windows MIDI driver is using IRQ 2/9. The problem affects MIDI input to
- the Windows MME program. If input to any Windows MIDI program stops
- while a DOS window is open, you are affected by the problem. This
- problem is unrelated to the MidiTools VMPU driver, though it may cause
- some difficulty in using it. If your DOS MIDI program is using IRQ 2 or
- 9, try setting it up to use a different IRQ and set the simulated IRQ in
- VMPU401 to be the same. When using the MidiTools Watch program, for
- example, you would run "watch -dmpu:3", if you had set the virtual MPU
- to IRQ 3.
-
- 3. Some DOS MIDI programs use unorthodox timing techniques which do not
- allow them to happily coexist with Windows. Such programs cannot be
- used in a DOS window.
-
- 4. Some Windows MIDI programs (such as Cakewalk for Windows) and some
- Windows MIDI drivers (such as those from Music Quest), come with their
- own virtual MPU drivers. The intent of these drivers is to prevent any
- DOS program from getting to the MPU hardware. This is probably not what
- you want. Look in the \windows\system.ini file for any
- "device=xxxxxx.386" type lines in the [386enh] section that contain
- "MPU" or something similar to the device name (like "MQX") and delete
- any such lines (other than the MidiTools VMPU.386 line, of course), or
- to be safe, deactivate them by adding a semicolon at the beginning of
- the line. The driver name may vary, so no firm guidelines can be given
- here. Restart Windows afterwards.
-
- -----------------------------------------------------------------------------
-