Skip to main content

create_tmp_midi_file

Creates a temporary MIDI file for the given export area and returns a file URL to it.

Use this to enable MIDI drag and drop.

fun create_tmp_midi_file(for_export_area: Int) -> (String)

Parameters

for_export_area: Int

The export area to create the MIDI file for.

Returns

String

A file URI to the temporary MIDI file.