home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!olivea!charnel!rat!usc!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!agate!boulder!csn!cherokee!durian
- From: durian@advtech.uswest.com (Mike Durian)
- Newsgroups: comp.lang.tcl
- Subject: tclm0.1 - tcl with MIDI extensions (4/7)
- Message-ID: <1993Jan12.202922.19933@advtech.uswest.com>
- Date: 12 Jan 93 20:29:22 GMT
- Sender: news@advtech.uswest.com (Radio Free Boulder)
- Organization: U S WEST Advanced Technologies
- Lines: 992
- Nntp-Posting-Host: mongo.advtech.uswest.com
-
- # This is a shell archive. Save it in a file, remove anything before
- # this line, and then unpack it by entering "sh file". Note, it may
- # create directories; files and directories will be owned by you and
- # have default permissions.
- #
- # This archive contains:
- #
- # tclm0.1/doc
- # tclm0.1/doc/midiconfig.3
- # tclm0.1/doc/midifixtovar.3
- # tclm0.1/doc/midifree.3
- # tclm0.1/doc/midiget.3
- # tclm0.1/doc/midimake.3
- # tclm0.1/doc/midimpu.3
- # tclm0.1/doc/midiplay.3
- # tclm0.1/doc/midiput.3
- # tclm0.1/doc/midiread.3
- # tclm0.1/doc/midirewind.3
- # tclm0.1/doc/midistop.3
- # tclm0.1/doc/miditiming.3
- # tclm0.1/doc/midivartofix.3
- # tclm0.1/doc/midiwrite.3
- #
- echo c - tclm0.1/doc
- mkdir tclm0.1/doc > /dev/null 2>&1
- echo x - tclm0.1/doc/midiconfig.3
- sed 's/^X//' >tclm0.1/doc/midiconfig.3 << 'END-of-tclm0.1/doc/midiconfig.3'
- XMIDICONFIG(3) BSD Programmer's Manual MIDICONFIG(3)
- X
- XNNAAMMEE
- X mmiiddiiccoonnffiigg - tclm command to get or modify the configuration values of a
- X Standard MIDI File
- X
- XSSYYNNOOPPSSIISS
- X mmiiddiiccoonnffiigg _m_f_i_l_e_I_d _{_f_o_r_m_a_t | _d_i_v_i_s_i_o_n | _t_r_a_c_k_s_} [value]
- X
- XDDEESSCCRRIIPPTTIIOONN
- X mmiiddiiccoonnffiigg is a tclm command that gets or modifies the configurations
- X values of a Standard MIDI File.
- X
- X mmiiddiiccoonnffiigg takes three or four arguments. The first is a tclm Standard
- X MIDI File descriptor as returned by midiread(3TCLM), or midimake(3TCLM).
- X
- X
- X The second argument specifies which configuration value to manipulate.
- X It should be either ``format,'' ``division'' or ``tracks.'' The
- X ``format'' option allows you to get or change the format value of the
- X Standard MIDI File, and should be either 0, 1 or 2. The ``division'' op-
- X tion allows you to get or set the timing for the file in units per beat.
- X Finally, ``tracks'' allows you to get or change the number of tracks in
- X the file. This is how you create tracks in an empty file generated by
- X midimake(3TCLM).
- X
- X The final optional argument specifies that the configuration value should
- X be changed and contains the new value. Without this argument, mmiiddiiccoonnffiigg
- X returns the current setting for the specified value.
- X
- XRREETTUURRNN VVAALLUUEESS
- X mmiiddiiccoonnffiigg returns the current setting of the specified value if the
- X forth argument is missing, otherwise it returns nothing.
- X
- XSSEEEE AALLSSOO
- X midiread(3TCLM),
- X midimake(3TCLM)
- X
- XAAUUTTHHOORRSS
- X Mike Durian - durian@advtech.uswest.com
- X
- X TCLM Jan 10, 1993 1
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- END-of-tclm0.1/doc/midiconfig.3
- echo x - tclm0.1/doc/midifixtovar.3
- sed 's/^X//' >tclm0.1/doc/midifixtovar.3 << 'END-of-tclm0.1/doc/midifixtovar.3'
- XMIDIFIXTOVAR(3) BSD Programmer's Manual MIDIFIXTOVAR(3)
- X
- XNNAAMMEE
- X mmiiddiiffiixxttoovvaarr - tclm command that converts an integer value to a variable
- X length value
- X
- XSSYYNNOOPPSSIISS
- X mmiiddiiffiixxttoovvaarr _v_a_l_u_e
- X
- XDDEESSCCRRIIPPTTIIOONN
- X mmiiddiiffiixxttoovvaarr is a tclm command that converts an integer value to a Stan-
- X dard MIDI File variable length value. This command takes only one argu-
- X ment, which is the value to be converted. The value should be repre-
- X sentable in a four byte integer value (typically a long).
- X
- XRREETTUURRNN VVAALLUUEESS
- X mmiiddiiffiixxttoovvaarr returns a list of bytes representing the specified value in
- X variable length form. The individual bytes are in hex form (0x??).
- X
- XAAUUTTHHOORRSS
- X Mike Durian - durian@advtech.uswest.com
- X
- X TCLM Jan 10, 1993 1
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- END-of-tclm0.1/doc/midifixtovar.3
- echo x - tclm0.1/doc/midifree.3
- sed 's/^X//' >tclm0.1/doc/midifree.3 << 'END-of-tclm0.1/doc/midifree.3'
- XMIDIFREE(3) BSD Programmer's Manual MIDIFREE(3)
- X
- XNNAAMMEE
- X mmiiddiiffrreeee - tclm command to free the space used by a Standard MIDI File
- X
- XSSYYNNOOPPSSIISS
- X mmiiddiiffrreeee _m_f_i_l_e_I_d
- X
- XDDEESSCCRRIIPPTTIIOONN
- X mmiiddiiffrreeee is a tclm command that frees the space used by a Standard MIDI
- X File. It takes one argument that specifies the Standard MIDI File. This
- X argument is a value returned by midiread(3TCLM) or midimake(3TCLM).
- X
- XRREETTUURRNN VVAALLUUEESS
- X mmiiddiiffrreeee does not return anything.
- X
- XSSEEEE AALLSSOO
- X midiread(3TCLM),
- X midimake(3TCLM)
- X
- XAAUUTTHHOORRSS
- X Mike Durian - durian@advtech.uswest.com
- X
- X TCLM Jan 10, 1993 1
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- END-of-tclm0.1/doc/midifree.3
- echo x - tclm0.1/doc/midiget.3
- sed 's/^X//' >tclm0.1/doc/midiget.3 << 'END-of-tclm0.1/doc/midiget.3'
- XMIDIGET(3) BSD Programmer's Manual MIDIGET(3)
- X
- XNNAAMMEE
- X mmiiddiiggeett - tclm command to get one event from a track in a Standard MIDI
- X File
- X
- XSSYYNNOOPPSSIISS
- X mmiiddiiggeett _m_f_i_l_e_I_d _t_r_a_c_k
- X
- XDDEESSCCRRIIPPTTIIOONN
- X mmiiddiiggeett is a tclm command that gets one event from the specified track of
- X a Standard MIDI File. The first argument specifies the Standard MIDI
- X File and should be a value returned by either midiread(3TCLM) or
- X midimake(3TCLM). The second argument specifies which track from which to
- X get the event. Successive calls to mmiiddiiggeett on the same track will get
- X successive events from that track. midirewind(3TCLM) can be used to re-
- X turn to the begining of the track.
- X
- XRREETTUURRNN VVAALLUUEESS
- X mmiiddiiggeett returns a string of bytes consisting of one complete MIDI event.
- X The bytes are represented in hex form (0x??).
- X
- XSSEEEE AALLSSOO
- X midiread(3TCLM),
- X midimake(3TCLM),
- X midirewind(3TCLM)
- X
- XAAUUTTHHOORRSS
- X Mike Durian - durian@advtech.uswest.com
- X
- X TCLM Jan 10, 1993 1
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- END-of-tclm0.1/doc/midiget.3
- echo x - tclm0.1/doc/midimake.3
- sed 's/^X//' >tclm0.1/doc/midimake.3 << 'END-of-tclm0.1/doc/midimake.3'
- XMIDIMAKE(3) BSD Programmer's Manual MIDIMAKE(3)
- X
- XNNAAMMEE
- X mmiiddiimmaakkee - tclm command to create an empty Standard MIDI File
- X
- XSSYYNNOOPPSSIISS
- X mmiiddiimmaakkee
- X
- XDDEESSCCRRIIPPTTIIOONN
- X mmiiddiimmaakkee is a tclm command that creates an empty Standard MIDI File for
- X use by other MIDI specific tclm commands. By default the Standard MIDI
- X File is created with zero tracks allocated, the format is type one and
- X the division is 120. These defaults can then be changed with the midi-
- X config(3TCLM) command.
- X
- X Since mmiiddiimmaakkee allocates space for the Standard MIDI File, mid-
- X ifree(3TCLM) should be used when the file is no longer needed.
- X
- XRREETTUURRNN VVAALLUUEESS
- X mmiiddiimmaakkee returns a MIDI file ID for use by other MIDI specific tclm com-
- X mands.
- X
- XSSEEEE AALLSSOO
- X midiconfig(3TCLM)
- X
- XAAUUTTHHOORRSS
- X Mike Durian - durian@advtech.uswest.com
- X
- X TCLM Jan 10, 1993 1
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- END-of-tclm0.1/doc/midimake.3
- echo x - tclm0.1/doc/midimpu.3
- sed 's/^X//' >tclm0.1/doc/midimpu.3 << 'END-of-tclm0.1/doc/midimpu.3'
- XMIDIMPU(3) BSD Programmer's Manual MIDIMPU(3)
- X
- XNNAAMMEE
- X mmiiddiimmppuu - tclm command to determine if the MPU-401 commands are available
- X
- XSSYYNNOOPPSSIISS
- X mmiiddiimmppuu
- X
- XDDEESSCCRRIIPPTTIIOONN
- X mmiiddiimmppuu is a simple command that returns 1 if the MPU-401 commands,
- X midiplay(3TCLM) and midistop(3TCLM), are available for use. Since the
- X MPU-401 commands are currently available only on BSD/386 systems with an
- X MPU-401 compatible MIDI card, this function is useful for writing pro-
- X grams with varying functionality.
- X
- XRREETTUURRNN VVAALLUUEESS
- X mmiiddiimmppuu returns 1 if the commands midiplay(3TCLM) and midistop(3TCLM) are
- X available and 0 if they are not.
- X
- XSSEEEE AALLSSOO
- X midiplay(3TCLM),
- X midistop(3TCLM)
- X
- XAAUUTTHHOORRSS
- X Mike Durian - durian@advtech.uswest.com
- X
- X TCLM Jan 10, 1993 1
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- END-of-tclm0.1/doc/midimpu.3
- echo x - tclm0.1/doc/midiplay.3
- sed 's/^X//' >tclm0.1/doc/midiplay.3 << 'END-of-tclm0.1/doc/midiplay.3'
- XMIDIPLAY(3) BSD Programmer's Manual MIDIPLAY(3)
- X
- XNNAAMMEE
- X mmiiddiippllaayy - tclm command to play a Standard MIDI File
- X
- XSSYYNNOOPPSSIISS
- X mmiiddiippllaayy [bg | background] [repeat] [tracks _t_r_a_c_k___l_i_s_t] [reltempo
- X _t_e_m_p_o___s_c_a_l_a_r] _m_f_i_l_e_I_d
- X
- XDDEESSCCRRIIPPTTIIOONN
- X mmiiddiippllaayy is a tclm command that plays a Standard MIDI File through the
- X MPU-401 compatible device under BSD/386. It will not work on systems
- X without BSDI's MPU-401 device driver.
- X
- X In the most basic form mmiiddiippllaayy takes no options and only one argument
- X specifying the file to be played. This argument should be a MIDI file ID
- X as returned by midiread(3TCLM) or midimake(3TCLM).
- X
- X In the other forms, mmiiddiippllaayy can take various options to control how the
- X file is played. The usage of the various options is as follows:
- X
- X bg or background These options make mmiiddiippllaayy fork and play the
- X file in a separate process. The call returns im-
- X mediately. Without this option mmiiddiippllaayy will
- X block until the file is finished playing.
- X
- X repeat This option causes mmiiddiippllaayy to play the file con-
- X tinuously, repeating from the beginning of the
- X file when the end is reached.
- X
- X reltempo This option takes one argument which specifies a
- X value used to scale any tempos found in the file.
- X This value should be a float and should be in the
- X range 0 to 4.
- X
- X tracks This option takes an argument consisting of a
- X list of track numbers. The list should be en-
- X closed by curly braces or double quotes. With
- X this option, only those tracks specified in the
- X track list will be played. Track 0 is the first
- X track.
- X
- XRREETTUURRNN VVAALLUUEESS
- X mmiiddiippllaayy returns 0 when called without the _b_g option, and the process ID
- X of forked process when called with the _b_g option. This process ID can
- X then be used with the midistop(3TCLM) tclm function.
- X
- XSSEEEE AALLSSOO
- X midiread(3TCLM),
- X midimake(3TCLM),
- X midistop(3TCLM)
- X
- XAAUUTTHHOORRSS
- X Mike Durian - durian@advtech.uswest.com
- X
- X TCLM Jan 10, 1993 1
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- END-of-tclm0.1/doc/midiplay.3
- echo x - tclm0.1/doc/midiput.3
- sed 's/^X//' >tclm0.1/doc/midiput.3 << 'END-of-tclm0.1/doc/midiput.3'
- XMIDIPUT(3) BSD Programmer's Manual MIDIPUT(3)
- X
- XNNAAMMEE
- X mmiiddiippuutt - tclm command to put an event in a track in a Standard MIDI File
- X
- XSSYYNNOOPPSSIISS
- X mmiiddiippuutt _m_f_i_l_e_I_d _t_r_a_c_k _e_v_e_n_t
- X
- XDDEESSCCRRIIPPTTIIOONN
- X mmiiddiippuutt is a tclm command that puts an event at the end of a specified
- X track in a Standard MIDI File. The first argument specifies the Standard
- X MIDI File and should be a value returned by either midiread(3TCLM) or
- X midimake(3TCLM). The second argument specifies the track in which to get
- X the event. The third argument is the event to insert. It should be in
- X tcl list form, with each value in the list being one byte of the event.
- X The event should be surrounded by either double-quotes or curly braces.
- X
- XRREETTUURRNN VVAALLUUEESS
- X mmiiddiippuutt returns nothing.
- X
- XBBUUGGSS
- X mmiiddiippuutt should only be used at the end of a track. It should be rewrit-
- X ten to handle inserting events in the middle of a track.
- X
- XSSEEEE AALLSSOO
- X midiread(3TCLM),
- X midimake(3TCLM),
- X
- XAAUUTTHHOORRSS
- X Mike Durian - durian@advtech.uswest.com
- X
- X TCLM Jan 10, 1993 1
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- END-of-tclm0.1/doc/midiput.3
- echo x - tclm0.1/doc/midiread.3
- sed 's/^X//' >tclm0.1/doc/midiread.3 << 'END-of-tclm0.1/doc/midiread.3'
- XMIDIREAD(3) BSD Programmer's Manual MIDIREAD(3)
- X
- XNNAAMMEE
- X mmiiddiirreeaadd - tclm command to read a Standard MIDI File
- X
- XSSYYNNOOPPSSIISS
- X mmiiddiirreeaadd _f_i_l_e_I_d
- X
- XDDEESSCCRRIIPPTTIIOONN
- X mmiiddiirreeaadd is a tclm command that reads a Standard MIDI File for use by
- X other MIDI specific tclm commands.
- X
- X mmiiddiirreeaadd takes one argument that specifies a file descriptor from which
- X to read the Standard MIDI File. This argument should be a value returned
- X by the open(3TCL) tcl command, or _s_t_d_i_n.
- X
- X Since mmiiddiirreeaadd allocates space for the Standard MIDI File, mid-
- X ifree(3TCLM) should be used when the file is no longer needed.
- X
- XRREETTUURRNN VVAALLUUEESS
- X mmiiddiirreeaadd returns a MIDI file ID for use by other MIDI specific tclm com-
- X mands. If there is no data to be read, mmiiddiirreeaadd forces an error and re-
- X turns ``EOF.'' This facilitates determining when there are no more files
- X to be read from _s_t_d_i_n.
- X
- XSSEEEE AALLSSOO
- X open(3TCL),
- X midifree(3TCLM)
- X
- XAAUUTTHHOORRSS
- X Mike Durian - durian@advtech.uswest.com
- X
- X TCLM Jan 10, 1993 1
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- END-of-tclm0.1/doc/midiread.3
- echo x - tclm0.1/doc/midirewind.3
- sed 's/^X//' >tclm0.1/doc/midirewind.3 << 'END-of-tclm0.1/doc/midirewind.3'
- XMIDIREWIND(3) BSD Programmer's Manual MIDIREWIND(3)
- X
- XNNAAMMEE
- X mmiiddiirreewwiinndd - tclm command to reset a Standard MIDI File to the beginning
- X
- XSSYYNNOOPPSSIISS
- X mmiiddiirreewwiinndd _m_f_i_l_e_I_d [track_list]
- X
- XDDEESSCCRRIIPPTTIIOONN
- X mmiiddiirreewwiinndd is a tclm command that sets the internal place keeper of spec-
- X ified tracks of a Standard MIDI File to the beginning. The next midi-
- X get(3TCLM) on one of the specified tracks will return an event from the
- X start of that track regardless of the location of any previous midi-
- X get(3TCLM) calls.
- X
- X mmiiddiirreewwiinndd takes one argument specifying a Standard MIDI File descriptor
- X as returned by midiread(3TCLM) or midimake(3TCLM), and one optional ar-
- X gument specifying a list of tracks to be rewound. The track list should
- X be in tcl form and enclosed in either double-quotes or curly braces. If
- X a track list is not specified, all tracks will be rewound.
- X
- XRREETTUURRNN VVAALLUUEESS
- X mmiiddiirreewwiinndd does not return anything.
- X
- XSSEEEE AALLSSOO
- X midiread(3TCLM),
- X midimake(3TCLM),
- X midiget(3TCLM)
- X
- XAAUUTTHHOORRSS
- X Mike Durian - durian@advtech.uswest.com
- X
- X TCLM Jan 10, 1993 1
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- END-of-tclm0.1/doc/midirewind.3
- echo x - tclm0.1/doc/midistop.3
- sed 's/^X//' >tclm0.1/doc/midistop.3 << 'END-of-tclm0.1/doc/midistop.3'
- XMIDISTOP(3) BSD Programmer's Manual MIDISTOP(3)
- X
- XNNAAMMEE
- X mmiiddiissttoopp - tclm command to stop playing a Standard MIDI File playing in
- X the background
- X
- XSSYYNNOOPPSSIISS
- X mmiiddiissttoopp _p_r_o_c_e_s_s___I_D
- X
- XDDEESSCCRRIIPPTTIIOONN
- X mmiiddiissttoopp is a tclm command that stops a Standard MIDI File playing in the
- X background. It will not work on systems without BSDI's MPU-401 device
- X driver.
- X
- X mmiiddiissttoopp takes one argument that specifies the process ID of the process
- X playing the Standard MIDI File. This value can be obtained by using the
- X return code of the midiplay(3TCLM) command. mmiiddiissttoopp will only work on
- X files being played by executing midiplay(3TCLM) with the _b_g option.
- X
- XRREETTUURRNN VVAALLUUEESS
- X mmiiddiissttoopp returns 1 if it could successfully stop playing the file. It
- X returns 0 if the process ID does not exist.
- X
- XSSEEEE AALLSSOO
- X midiplay(3TCLM)
- X
- XAAUUTTHHOORRSS
- X Mike Durian - durian@advtech.uswest.com
- X
- X TCLM Jan 10, 1993 1
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- END-of-tclm0.1/doc/midistop.3
- echo x - tclm0.1/doc/miditiming.3
- sed 's/^X//' >tclm0.1/doc/miditiming.3 << 'END-of-tclm0.1/doc/miditiming.3'
- XMIDITIMING(3) BSD Programmer's Manual MIDITIMING(3)
- X
- XNNAAMMEE
- X mmiiddiittiimmiinngg - tclm command that gets the timing portion of a Standard MIDI
- X File event
- X
- XSSYYNNOOPPSSIISS
- X mmiiddiittiimmiinngg _e_v_e_n_t
- X
- XDDEESSCCRRIIPPTTIIOONN
- X mmiiddiittiimmiinngg is a tclm command that returns the timing portion of a Stan-
- X dard MIDI File event. This command takes only one argument; a Standard
- X MIDI File event. This argument should be in tcl list form, with each
- X value in the list being one byte of the event. The event should be sur-
- X rounded by either double-quotes or curly braces.
- X
- XRREETTUURRNN VVAALLUUEESS
- X mmiiddiittiimmiinngg returns the timing portion of the specified event. Since
- X Standard MIDI File events are in variable length form, one to four bytes
- X may be returned. The individual bytes will be in hex notation (0x??).
- X
- XSSEEEE AALLSSOO
- X midiget(3TCLM)
- X
- XAAUUTTHHOORRSS
- X Mike Durian - durian@advtech.uswest.com
- X
- X TCLM Jan 10, 1993 1
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- END-of-tclm0.1/doc/miditiming.3
- echo x - tclm0.1/doc/midivartofix.3
- sed 's/^X//' >tclm0.1/doc/midivartofix.3 << 'END-of-tclm0.1/doc/midivartofix.3'
- XMIDIVARTOFIX(3) BSD Programmer's Manual MIDIVARTOFIX(3)
- X
- XNNAAMMEE
- X mmiiddiivvaarrttooffiixx - tclm command that converts a variable length value to a
- X fixed length value
- X
- XSSYYNNOOPPSSIISS
- X mmiiddiivvaarrttooffiixx _e_v_e_n_t
- X
- XDDEESSCCRRIIPPTTIIOONN
- X mmiiddiivvaarrttooffiixx is a tclm command that converts a variable length value
- X specified in a Standard MIDI File event to a fixed length value. This
- X command takes only one argument; a series of bytes forming a Standard MI-
- X DI File variable length value. Additional bytes are ignored so complete
- X events can be passed to mmiiddiivvaarrttooffiixx to convert the timing portion of the
- X event directly to a fixed length value. This argument should be in tcl
- X list form, with each value in the list being one byte of the event. The
- X event should be surrounded by either double-quotes or curly braces.
- X
- XRREETTUURRNN VVAALLUUEESS
- X mmiiddiivvaarrttooffiixx returns a four byte integer (typically a long in C) repre-
- X sentation of a Standard MIDI File variable length value. Though a vari-
- X able length value could represent a value that would not fit in a long,
- X this never happens in actual usage.
- X
- XAAUUTTHHOORRSS
- X Mike Durian - durian@advtech.uswest.com
- X
- X TCLM Jan 10, 1993 1
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- END-of-tclm0.1/doc/midivartofix.3
- echo x - tclm0.1/doc/midiwrite.3
- sed 's/^X//' >tclm0.1/doc/midiwrite.3 << 'END-of-tclm0.1/doc/midiwrite.3'
- XMIDIWRITE(3) BSD Programmer's Manual MIDIWRITE(3)
- X
- XNNAAMMEE
- X mmiiddiiwwrriittee - tclm command to write a Standard MIDI File
- X
- XSSYYNNOOPPSSIISS
- X mmiiddiiwwrriittee _m_f_i_l_e_I_d _f_i_l_e_I_d
- X
- XDDEESSCCRRIIPPTTIIOONN
- X mmiiddiiwwrriittee is a tclm command that writes Standard MIDI File to an open tcl
- X file descriptor.
- X
- X This command takes two arguments. The first is a tclm Standard MIDI File
- X descriptor as returned by midiread(3TCLM) or midimake(3TCLM), while the
- X second is a tcl file descriptor as returned by open(3TCL) or _s_t_d_o_u_t or
- X _s_t_d_e_r_r.
- X
- XRREETTUURRNN VVAALLUUEESS
- X mmiiddiiwwrriittee does not return anything.
- X
- XSSEEEE AALLSSOO
- X open(3TCL),
- X midiread(3TCLM),
- X midimake(3TCLM)
- X
- XAAUUTTHHOORRSS
- X Mike Durian - durian@advtech.uswest.com
- X
- X TCLM Jan 10, 1993 1
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- END-of-tclm0.1/doc/midiwrite.3
- exit
-