MF2ROL

From AGI Wiki
Jump to navigationJump to search
MF2ROL - MIDI file to .ROL file converter
Version 1.1b

Author: Alejandro Kapauan

1991/04/08
MF2ROL
{{{Image}}}
Latest Version:  1.1b
Release Date:  1991/04/08
Company: N/A
Publication Status:  Published
Developer(s): Alejandro Kapauan
Language:
Open Source: Change to OpenSRC
Source Available: 
License: None
Platform: DOS
Type: Template:AudioConverterTool
Localization: English
Website:





Description

Alejandro Kapauan's MF2ROL converts MIDI files to .ROL files. This beta version processes note, program (patch/timbre) and tempo information and ignores pitch-bend and volume (pressure). The MIDI file parser is based on Tim Thompson's C Language MIDI routines found in MIDIFILE.ZIP.


Features


Version History

 


Development Status

 


Usage

To convert a MIDI file, simply specify it on the command line. For example to convert a file MUSIC.MID to a ROL:

mf2rol music.mid

This will create the file called music.rol in the current directory. The conversion will assume all notes should be played with the instrument "PIANO1". To control what timbres (instruments) are used, you may specify a configuration file as a second argument to the program, for example:

mf2rol music.mid mt32.cfg

In this case, the converter will use the information in the config file MT32.CFG to assign instruments to patch numbers, tracks or channels. The config file specifies an instrument bank file to use, percussion mode, and a set of timbre assignment rules. Examine the sample config files for documentation. You will certainly want to develop your own config files to emulate the more popular synths. Some knowledge of MIDI would be handy. During the conversion, the program prints some important information on the screen about the MIDI file being converted, like the MIDI channels used, patches (i.e. programs or instruments) used, and comments (if any) about each track. Sometimes, the creator of a MIDI sequence adds comments about what instrument is on each track, or at least tells you what synth(s) are used. You can use this information to create a custom config file for that particular MIDI file.

To convert the sample MIDI files in this package to ROLs, use the following commands:

mf2rol panama.mid panama.cfg

mf2rol fantasia.mid default.cfg
mf2rol rootbeer.mid

mf2rol styx-32.mid mt32ins.cfg

When you play the ROLs, remember to tell your player to use BNK835.BNK, especially for MT32INS.CFG since that file uses unusual instruments not normally found in the default instrument bank file. The converter uses a dynamic allocation method to assign sound-card voices to individual notes. If there are more simultaneous notes in a MIDI file than there are voices, the program cuts off the oldest notes currently playing. Thus, if you convert MIDI files that have very many simultaneous notes playing, the resulting ROL may sound choppy. Take note that many professionally sequenced files DO use a LOT of notes. The styx-32 sample is included to illustrate this effect.


LISTBNK -

This program lists the contents of an instrument bank file. For example, to list the contents of BNK835.BNK use the command:

listbnk bnk835.bnk

This will list the instruments to the screen. To save into a file or to print, use:

listbnk bnk835.bnk > bnk835.lst listbnk bnk835.bnk > prn:

A listing of the contents of your favorite instrument bank file is handy when creating your own config file.


Options

 


Download

Download from here:


Known issues

  • None known


Credits


References



Also See