MIDIVARTOFIX

Section: C Library Functions (3)
Index Return to Main Contents

BSD mandoc
TCLM Jan 10, 1993  

NAME

midivartofix - tclm command that converts a variable length value to a fixed length value  

SYNOPSIS

event  

DESCRIPTION

is a tclm(1) command that converts a variable length value specified in a Standard MIDI File event to a fixed length value. This command takes only one argument; a series of bytes forming a Standard MIDI File variable length value. Additional bytes are ignored so complete events can be passed to to convert the timing portion of the event directly to a fixed length value. This argument should be in tcl list form, with each value in the list being one byte of the event. The event should be surrounded by either double-quotes or curly braces.

The value of this command has decreased since release 0.1 and it may disappear in the future.  

RETURN VALUES

returns a four byte integer (typically a long in C) representation of a Standard MIDI File variable length value. Though a variable length value could represent a value that would not fit in a long, this never happens in actual usage.  

SEE ALSO

tclm(1), midifixtovar(3)  

AUTHORS

Mike Durian - durian@advtech.uswest.com


 

Index

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUES
SEE ALSO
AUTHORS

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