Group Admins

  • Profile picture of Karim
  • Profile picture of Jean

OpenMusic

Public Group active 10 hours, 44 minutes ago

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

Eval-once mode inside a Generic Function

Author 1 Subscribed Users |
Profile photo of BUCK
BUCK

Hi,

I’m having a problem with a generic function that I created. When I connect the regular patch to a pulsemaker object the results are fine but when I connect the exact same patch compiled in a generic function it doesn’t work anymore. I’m receiving a message pointing to the problem: the variable nth-random is unbound. Ok, I got the problem, the nth-random function is in “evaluation once” mode. but I need the function nth-random to be “locked” so the algorithm work as I planned. Is there another opption? How could I solve this problem?

Attachments:
  1. Captura-de-Tela-2017-09-04-às-16.47.27

    Captura-de-Tela-2017-09-04-às-16.47.27.png

  2. Captura-de-Tela-2017-09-04-às-16.47.27

    Captura-de-Tela-2017-09-04-às-16.47.27.png

  3. Captura-de-Tela-2017-09-04-às-16.41.28

    Captura-de-Tela-2017-09-04-às-16.41.28.png

  4. Captura-de-Tela-2017-09-04-às-16.41.28

    Captura-de-Tela-2017-09-04-às-16.41.28.png

September 4, 2017 at 20:52 #23527

You must be logged in to reply to this topic.

Log in now