midi vocabulary
Factor handbook ยป Vocabulary index


Summary
Reading and writing MIDI files

Metadata
Tags:audio
Authors:John Benediktsson


Words

Tuple classes
ClassSuperclassSlots
meta-event tupledelta name value
midi tupleheader chunks
midi-chunk tupletype bytes
midi-event tupledelta name value
midi-header tupleformat #chunks division
midi-track tupleevents
sysex-event tupledelta type bytes


Ordinary words
WordStack effect
<meta-event>( delta name value -- meta-event )
<midi-chunk>( type bytes -- midi-chunk )
<midi-event>( delta name value -- midi-event )
<midi>( header chunks -- midi )
<sysex-event>( delta type bytes -- sysex-event )
>midi( byte-array -- midi )
file>midi( path -- midi )
formats( -- value )
key-signatures( -- value )
max-pitchwheel( -- value )
max-songpos( -- value )
midi>( midi -- byte-array )
midi>file( midi path -- )
min-pitchwheel( -- value )
min-songpos( -- value )
read-midi( -- midi )
smpte-framerate( -- value )
write-midi( midi -- )


Class predicate words
WordStack effect
meta-event?( object -- ? )
midi-chunk?( object -- ? )
midi-event?( object -- ? )
midi-header?( object -- ? )
midi-track?( object -- ? )
midi?( object -- ? )
sysex-event?( object -- ? )


Files


Metadata files