message("Loaded MIDI File: " & @file_name)
end if
end if
end on
Loading a MIDI file with a button. In order for this to work you will need to put a MIDI file called
"test.mid" into your KONTAKT Factory folder. Otherwise the defined error message will be dis-
played.
See Also
$NI_ASYNC_ID
$NI_ASYNC_EXIT_STATUS
on async_complete
save_midi_file()
mf_set_event_par()
mf_get_event_par()
16.3. mf_set_export_area()
mf_set_export_area(
,,pos>,,)
Defines the part of the object that will be exported when using a
drag and drop area, or the
save_midi_file()
command.
Sets the name of the exported file.
Defines the start position (in ticks) of the export area.
Use
-1
to set this to the start of the object.
Defines the end position (in ticks) of the export area.
Use
-1
to set this to the end of the object.
Defines the first track to be included in the export area.
Use
-1
to set this to the first track of the object.
Defines the last track to be included in the export area.
Use
Do'stlaringiz bilan baham: