Administrateur

  • Profile picture of Karim
  • Profile picture of Jean

OpenMusic

Groupe Public active 20 hours et 31 minutes ago

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

basic questions about forum attachment

Auteur 3 Utilisateurs souscrits |
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.

Juillet 20, 2018 à 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

Juillet 20, 2018 à 14:21 #27203
Profile photo of CHARLEROI DANSES
CHARLEROIDANSES

thank you for this
fast answer

warm regards

Juillet 20, 2018 à 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

Juillet 21, 2018 à 10:13 #27208

Vous devez être connecté pour répondre à ce sujet.

Log in now