importmidi
importmidi(
@path ## symbol (required)
) -> llll
Imports a midi file, as a list of events, each with the following keys: 'pitch' , 'velocity', 'onset', 'voice', 'channel', and 'duration'
Arguments
@path[symbol]: Input midi file path. (required)
Output
Midi events [llll]
Usage
$events = importmidi('bach.mid');
for $e in left($events, 10) do view($e)