< Back to IRCAM Forum

MIDI File Export

Hi,

After generating a voice object, then selecting ‘Export’ as MIDI, the following message appears.

“ERROR: Undefined function om-midi::om-y-or-n-dialog called with arguments (“Error at saving MIDI file: try to extend memory ?”).”

The MIDI file is not exporting. This has been working and I’ve used it extensively to generate files for sample playback in Reaper.

Current setup - OSX 10.10.4. OpenMusic 6.9.

I’ve tried it in OM6.8 (not working either) and checked the forums for any other threads on this topic.

Any tips on how to get MIDI export working?

regards
Lawrence

Hi Lawrence,
There are two nested errors here, the second one (“Undefined function om-midi::om-y-or-n-dialog”) is an error at reporting the first one (“Error at saving MIDI file”).
Could you attach or send a patch containing the data you want to save ?
Thank you

hi Jean

attached is a zip file containing;

  1. Text file with the messages as reported in the listener window.
  2. A test patch that creates the error

regards
Lawrence

OM-Patch-and-Listener.zip (5.51 KB)

if you use the file attached to this post (put “midishare-save.lisp” in /OM 6.9/patches/) you should not see this error anymore (“ERROR: Undefined function …”)
however you will probably fall on another error causing the MIDI system to ask for extending memory, which is not normal (your voice is very short).

let us know!

you were right.

The first error stopped and the extend memory message appeared, with “ERROR: The value #P”/Users/lawrence/Desktop/Machines – MIDI – interim/Untitled.mid" of string is not of type string."

Listener window text attached

Is there a way to fix the second message?

Listener-window.rtf (2.56 KB)

as far as I can see the error in your listener window is still not the same as the one you write
here is an update of the fix file

midishare-save1.lisp (941 Bytes)