< Back to IRCAM Forum

code problem with lib

Hello, I’m trying to use a function of the alea library inside my own library.

Here is what I’m trying to do:

(setf marcov-last-item 1)
(defun fg-markov (table length)
“marcov chain that remembers the last state, so if it evaluated again it will start inside the prob options”
(setf marcov-all (alea::markov2 table marcov-last-item (+1 length)))
(setf marcov-last-item (first (last marcov-all)))
(butlast marcov-all))

When I load OM I get the error that the alea packet is not found. If I don’t use alea:: it won’t find the function.

can anyone help?

Thanks frank