< Back to IRCAM Forum

Error with encapsulation in patch

This patch presents a strange error (Error while evaluating the box mypatch : Cannot take CAR of 195.99771799087463), every time I try to encapsulate it in a mypatch box. Outside the mypatch, it works fine: why? Is there a way to fix it? Thanks for your kind concern.
Best,
Francesco Vitale

midi-to-bpf-segments-3.omp (30.1 KB)

There is a little bug with the textfile when it is compiled inside a subpatch (the “eval-mode” is not taken into account)
Here is a fix (put “compile-textfile.lisp” in OM 6.9/patches/)
This will be corrected in future releases.
Jean

Dear Jean,
thanks for your effort. Unfortunately the .lisp patch causes this error to appear when I launch OM (both in the 6.7 and in the 6.9 versions).
All the best,
Francesco

Screen-Capture.pdf (33.6 KB)

This is also the log file for OM 6.7

sorry. new version.

compile-textfile1.lisp (849 Bytes)

Great, now it works fine. Many thanks as usual, Jean.
Best,
Francesco