< Back to IRCAM Forum

basic questions about forum attachment

hello

could somebody re-explain

  • the procedure to import in OM the patches submitted in attachment in the forum’s discussions
  • how to transform “lisp code” patch into an readable patch in OM ?

or tell where those informations can be found ?

sorry if inappropriate

best

Ch.D.

Hi Ch.D.

You have two cases :
1- graphical patches attached in the forum. In fact they are lisp code. So in order to import it :
a- Save-as the attachement by appending “.omp” to its name, like so mypatch.omp
b- THen you can import it as a patch in om. Without this extension, om will not recognize it as a ptch

2- Lisp code (not patches), are not importable. But you can open them using your listener. Usually they should have as a first line :
(in-package :om)
if you need to use the contents as a graphical function or method.

Hope this helps

Best
K

thank you for this
fast answer

warm regards

For importing patches in OM, you can also have a look at this page from the user manual:
http://support.ircam.fr/docs/om/om6-manual/co/WS-ImportExport.html

As Karim explained, using “Lisp code” is a bit more involved. Actually there exist many ways to use and import Lisp code in OM: application init files, workspace “user” startup files, add-on libraries, Lisp functions etc.
The user manual also provides hints to start with: http://support.ircam.fr/docs/om/om6-manual/co/Lisp.html

Jean