TCLM

Section: User Commands (1)
Index Return to Main Contents

BSD mandoc
TCLM Jan 10, 1993  

NAME

tclm - a tcl interpreter with MIDI extensions  

SYNOPSIS

[-f [filename ] ]  

DESCRIPTION

is a tcl interpreter with MIDI extensions allowing it to manipulate Standard MIDI Files and in some cases play and record Standard MIDI Files. Tcl is a Tool Command Language written by John Ousterhout.

has only one option:

-f
This option has one optional argument that specifies the name of a file containing tclm commands. These commands are executed in place of reading from stdin. Without the optional argument commands are read from stdin

Without the -f option displays a ``tclm:'' prompt and reads commands from stdin  

TCLM EXTENSIONS

has a few extensions which aid in the manipulation of Standard MIDI Files ( SMF ). They are:

midiconfig
Changes configuration values in a SMF
midifixtovar
Converts fixed length integers to SMF variable length values.
midifree
Frees the space used by SMF 's.
midiget
Gets one event from a track in a SMF
midimake
Creates an empty SMF
midimerge
Merges multiple SMF tracks to one track.
midiplayable
Checks to see if a to MIDI device interface was included. If so, SMF 's can be played and recorded.
midiput
Appends an event to a track in a SMF
midiread
Reads a SMF from an open file descriptor.
midirewind
Resets a SMF to its beginning.
miditiming
Gets the timing portion of a SMF event. This only exists for backward compatibility with 0.1 and will soon disappear.
midivartofix
Converts a SMF variable length value to a fixed length integer.
midiwrite
Writes a SMF to an open file descriptor.
tclmversion
Reports the TCLM version number.

There are also three commands available for playing and recording SMF s. Since they are dependent on MIDI hardware these commands will only be available if a to driver interface was written and compiled into The midiplayable(3) command can be used to check for these extensions. These commands are:

midiplay
Play an SMF
midirecord
Record to an SMF
midistop
Stop an SMF that is currently playing or recording in the background. If the process was recording, midistop(3) collects the recorded data.

 

SEE ALSO

midiconfig(3), midifixtovar(3), midifree(3), midiget(3), midimake(3), midimerge(3), midiplay(3), midiplayable(3), midiput(3), midiread(3), midirecord(3), midirewind(3), midistop(3), miditiming(3), midivartofix(3), midiwrite(3), tclmversion(3)  

AUTHORS

John Ousterhout - ouster@cs.berkeley.edu for the
TCL stuff
Mike Durian - durian@advtech.uswest.com for the
MIDI stuff


 

Index

NAME
SYNOPSIS
DESCRIPTION
TCLM EXTENSIONS
SEE ALSO
AUTHORS

This document was created by man2html, using the manual pages.
Time: 00:28:07 GMT, March 30, 2022