Yahoo Groups archive

Disklavier

Index last updated: 2026-04-28 23:20 UTC

Message

Re[3]: [disklavier] Re: DOC to midi

2009-01-18 by Spencer_Lists

Greetings ISKI1,

I was not referring to the remap channels program. I wrote a separate
program for remapping patch messages. You can change the voice that a
part will play by changing the channel of all events to a channel that
has a patch set to the voice that you want but if the file does not
have the patches that you want of if there are specific requirements
of the playback instrument (in this case the DKV) you may have to
changes the patches.

I looked at one of the files that you sent (MDR_00) as an example. It
has 10 channels and a 15th called FX (soundtrack). Channel 10 is
percussion and is assigned to marimba at the beginning of the file.
None of the channels is assigned to piano.

This type of file usually needs individual attention in a sequencer
program to convert it to something that will play on the piano. There
are some steps that can be done automatically once you know what is in
the file. If I were to work on a file such as this, I would probably
use a combination of my own MIDI processing tools and cakewalk. Here
is a brief listing of a few of my tools and how they can be used to
understand and possibly convert a file such as this one for use on the
DKV.

"List MIDI events to Log" produces a text listing of all events in the
file. There are options to suppress note and or controller events in
the listing to make the file smaller so you can concentrate on other
events that might be of greater interest. You can display time as
either the original "delta" time or as cumulative time (both shown in
MIDI ticks) A few general statistics are shown at the beginning of the
log such as MIDI file type (0,1) TPQ, and then the events of each
track are listed starting with a count of the number of events. You
can learn an awful lot about a file by examining the event listing.

"Remap note events" and "remap channels" can be used for various
purposes. For example if you only need to move events to channel 1 so
the DKV will play them as piano you can do it with remap channels. You
can remap single notes transpose or delete notes with remap notes. You
can limit the action of remap notes to a single channel so you could,
for example change percussion on channel 10 by changing note numbers
on this channel which is an exception and uses note values to choose
percussion types.

"Remap patches" will allow the substitution of any patch number for
another. I just wrote this for someone who wanted it for a specific
purpose but I forget what that was. Patches can be inserted at any
point in a file so they may change the voice that events on a
particular channel play over time although this is not common usage.
Most people set a patch on each channel that is used, at the beginning
of the file, and leave it that way.

"MIDI cleaner" can be very useful to remove a lot of the strange stuff
that might mess up a particular instrument. It only leaves basic MIDI
events in the file and removes stranger stuff including sysex and
invalid messages.

"Midimod2" does a variety of things. The main use is to modify
velocity (loudness) profiles but there are a number of other
functions, some of which included at the request of DKV owners. The
program includes a help file that explains how to use it.

"MIDI 1-0" converts type 1 files to type 0. It is similar to the many
other converters but has one additional feature. It is common to use
the track name of various tracks to hold text information. When a file
is converted to type 0 all track names except the one on track 1 is
lost. My program saves this data as text events.

There are a bunch of other utilities on the files4download page of my
web site and a doc that explains many of them.

In a couple of weeks I may have a lot of time available for
programming while being stuck somewhere with little to do. I have been
wanting to put a bunch of my little utilities into a graphical
framework to make them easier to use. If anyone has ideas as to what
should be included please let me know. Any ideas on MIDI processing
utilities that might be useful would also be entertained. I have
written a lot of utilities over the last ten years for my own use.
Others may have completely different needs.

Best regards,
Spencer_Lists Chase        mailto:lists@...
67550 Bell Springs Rd.
Garberville,  CA 95542    Postal service only.
Laytonville, CA 95454    UPS only.
Lists@spencerserolls(dot)com
http://www(dot)spencerserolls.com 
replace (dot) with a .
(707) 984-8356

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.