< Back to IRCAM Forum

save-as-etf and OM6.12

Hi,

It seems that OM6.12 is not seeing/recognizing the template.etf it has enclosed in its own package (Resources folder). I tried to create a new Resources folder in the main folder of the app, as it was in earlier versions (I did so for 6.11 and it worked), but no success with 6.12. You can see the error message attached.

Thanks for any help!

Jimmie

Hi Jimmie,

That’s partly caused by the relocation of the .app in recent macOS versions.

Can you try with OM 6.13 ?

Jean

Hi Jean,

Thank you!, it actually works in 6.13. The reason why I am stil with 6.12 is because OM-Tristan has not been updated yet to load properly on 6.13 (and I’m not sure I would know how to edit the code myself, as it has been discussed in an earlier thread)…

Is there any affordable fix at hand, either for the template with 6.12, or the edit to do in OM-Tristan?

J.

(and I’m not sure I would know how to edit the code myself, as it has been discussed in an earlier thread)

Why not just try it :slight_smile:

  • Open the file TMlibrarie-OM.lisp with a Text editor of your choice (or from the OM Listener: cmd+O),
  • Search (cmd+F) and remove all definitions (defmethod … ) of mc->n mc->n1, n->mc, n->mc1.
  • Save the file. Restart.
    => you’re a hacker now !

http://forumnet.ircam.fr/fr/user-groups/openmusic/forum/topic/om-6-13-error-whlie-loading-omtristan-3-3/

Indeed, you are absolutely right :slight_smile:

Just to be sure, though: do I delete only the expressions you mention (like ‘mc->n’) or the whole lines and paragraphs containing them?

In Lisp a function (or “method”) definition is formatted as

(defun/defmethod name_of_the_function (arguments)
[body of the function]
)

Every opening parenthesis has a corresponding closing parentheis (otherwise there’s a syntax error in the program)

=> just find the closing parenthesis corresponding to the opening “defun” or “defmethod” and remove the whole definition.

(this would usually roughly corresponds to a text “paragraph”)

Ok, I did it and at least the library now loads without error.

Just to make sure, since I don’t want to have erased too much things : I paste an example of a paragraph I deleted - everything from (defun… to midic)), and the next line starts at (om: :defmethod! mc->n…). Is that correct? I assumed that all that was not justified to the left was part of the same definition…

Thank you again!
Jimmie