Group Admins

  • Profile picture of Karim
  • Profile picture of Jean

OpenMusic

Public Group active 1 hour, 57 minutes ago

User group for OpenMusic and computer-aided composition. Visit the Forum for discussions.

basic questions about forum attachment

Author 3 Subscribed Users |
Profile photo of CHARLEROI DANSES
CHARLEROIDANSES

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.

July 20, 2018 at 14:10 #27197
Profile photo of Karim
Karim

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

July 20, 2018 at 14:21 #27203
Profile photo of CHARLEROI DANSES
CHARLEROIDANSES

thank you for this
fast answer

warm regards

July 20, 2018 at 22:45 #27204
Profile photo of Jean
Jean

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

July 21, 2018 at 10:13 #27208

You must be logged in to reply to this topic.

Log in now