< Back to IRCAM Forum

6.6.1 and OMTristan

Since updating to 6.6.1 I get an error:

Error while loading the library OmTristan:

“Lambda list (chord approx &optional port) is not congruent with the lambda list (setf) of #<omgenericfunction stop 2375E67A>.”

does someone here know a workaround to make this library work?

All the best.

Krzysztof

Indeed the generic function STOP has been added in OM 6.6.1 as a complement to the box PLAY, which allow to stop the audio/midi player(s) in a patch evaluation process.

This new box seems to conflict with an existing function of OMTristan: as a quick temporary fix, I think you can just go in OMTristant…/sources/TMlibrarie-OM.lisp and comment/remove the block :

(om::defmethod! stop ((chord chord ) (approx integer ) &optional (port 0))

:initvals '( nil 4 0)

:icon 137

[ … ]

)

As far as I could check this is not used anywhere else and therefore shall not prevent other parts of the library to work.
Jean

Dear Jean, thank you very much, that did the trick. Hopefully that will not harm other functionality.

Greetings.

Krzysztof

Hy Jean! I did the same thing but to me it didnt work…maybe i didnt do it right? I just removed this…:

om::defmethod! stop ((chord chord ) (approx integer ) &optional (port 0))

:initvals ‘( nil 4 0)

:icon 137

Just this, and then i get other error…with “variable unbound”.

Cann you help me to this problem?

Thank you,

Best Regards

 

What do you do to get this error ?

Jean

Hallo Jean,

Thank you for your quick answer. I made some screenshots with the line that i delete and the error that i get instead.

I am using OM 6.2.2 as you cann see in the images.

Thank you, i hope i will use afterall Tristan Library!

Bildschirmfoto-2013-06-07-um-08.07.37.jpg

you must remove ALL the method: from “(om::defmethod! stop” to the “)” at the end of the definition (that’s what the “[…]” represented in my previous post)

 

 

Thank you verry much Jean! It works now!

Realy Thaks!

Best Regards,

Andrei

I have had the same issue but when I delete that line of code i get another error. Attached is the line of code I deleted and the then the following error in OM. (I edited the lisp file in TextWrangler in case that is the issue.)

Screen-Shot-2014-07-20-at-12.36.57-PM.png

OM tristan defines the OM-method “duree” which might already be defined (as a “standard” method) in another library you use (I am pretty sure it is not in OM)…
If you don’t use it you can comment or delete the expression starting with “(om::defmethod! duree …)” in TMlibrarie-OM.lisp, or just not load the two libraries at the same time.