MIDIDELETE(N) LOCAL MIDIDELETE(N)NAME
mididelete — tclmidi command to delete an event or events in a MIDI song
SYNOPSIS
mididelete MidiID track event
mididelete MidiID track file ... “range” start end
DESCRIPTION
mididelete is a tclmidi(1) command that deletes one or more events from a
specified track in a MIDI song. The first argument is a MIDI song
descriptor as returned by midimake(n) or midiread(n). The second argu‐
ment is the track in the MIDI song. In the first form, the third argu‐
ment is a specific event to remove. For formatting of events, see
midievents(n).
In the second form, the third argument is the string “range”. The fourth
argument is then the start time of events to be delete and the last argu‐
ment is the end time of the range. All events starting at time start up
to but not including events at time end are then deleted.
RETURN VALUES
mididelete returns a 1 if the event or events were successfully removed,
or 0 if, in the first case, the event could not be found.
SEE ALSOtclmidi(1), midiread(n), midimake(n), midiput(n), midievents(n)AUTHOR
Mike Durian - durian@boogie.com
BSD April 13, 1994 BSD