Not necessarily. The OP set the option, that new Midi items shall be created as modi-files in the prefs.
It's only natural to assume, that this function obeys this setting and creates a new midi item as .mid-file.
It works with the action I mentioned but not in other cases.
I think an optional parameter would help:
integer Create_Mid - 0 or nil, don't create it as midifile, 1, create as midifile, 2, obey preference's setting
|