Module LuaMidi
LuaMidi library main module
All other modules are available through it.
It also presents useful functions to handle MIDI files.
Info:
- License: MIT
- Author: Pedro Alves Valentim
Functions
get_MIDI_tracks (path) | Reads all tracks from a MIDI file and convert them to LuaMidi's Track objects. |
add_tracks_to_MIDI (input, tracks[, output=`input`]) | Adds tracks to a MIDI file. |
Functions
- get_MIDI_tracks (path)
-
Reads all tracks from a MIDI file and convert
them to LuaMidi's Track objects.
Parameters:
- path string the MIDI file path
Returns:
-
an array of the tracks
See also:
- add_tracks_to_MIDI (input, tracks[, output=`input`])
-
Adds tracks to a MIDI file.
Parameters:
- input string the original MIDI file path
- tracks a track object or a table of tracks
- output string altered MIDI file path (default `input`)
Returns:
true
if successful,false
if notSee also: