< Back to IRCAM Forum

Can't load patch because of bad parameters

Hello, I’ve been using the RQ library, but I believe I saved my patch with incorrect parameters because now I’m unable to open it. This error appears every time i try. Is there any way to recover my patch?

imagen

polifonia final.omp.tar.gz (92.8 KB)

dear zerocosaitam1

In order to open your patch do the following:

  1. load the library
  2. eval this expression:
(defun k-list-add (x w ll rr list) )

  1. Now open your patch
  2. eval this expression:
(defun k-list-add (x w ll rr list)
  (if (null list)
      (list (list x w ll rr))
    (progn
      (assert (<= (weight-compare (second (first list)) w) 0))
      (append (list (list x w ll rr)) list))))

Now for some reason in the library (or your parameters?) renders an error. I am not an expert to this library. The best is to ask the author what this function do. You can find it in the RQ library path:

src/algorithm/structure

Best
K

1 Like

Thank you again, Karim!

1 Like