pattrstorage and 'bad number'


    Jan 15 2011 | 7:27 pm
    I have added a pattrstorage to my patch and if i enable parameter mode i get a ': bad number' on initialization.
    no particular object receives ':' (i can't make it highlight any object by double clicking on the warning.
    If the past few issues i have tried to track down are any indicator, it is something i did... but does anyone have any suggestions? I can post a patch, but it really is the pattrstorage. if i delete it, no orange warning. if i turn parameter mode off, no orange warning. what could it be?

    • Jan 18 2011 | 3:49 pm
      I've asked about these 'Bad number' messages before on this forum, but I got little response too. You are one step ahead however, because you found out which object causes the 'bad number' error and in what situation.
      Put simply, your pattrstorage object receives something in an input that it doesn't understand. Try printing all the messages that go into your pattrstorage object, and then make some message boxes connected to pattrstorage with the different messages in them so you can try them out separately and see which one is causing the error.
    • Jan 20 2011 | 3:27 pm
      Please send me your patch. I'll try to isolate the issue.
      Jeremy
    • May 17 2011 | 6:45 pm
      Hi Jeremy, I have the same problem. Here is the patch:
    • May 17 2011 | 6:46 pm
      BTW, it's a M4L audio device. :)
    • May 17 2011 | 7:17 pm
      thanks for posting. i get it quite a lot in m4l. only way to solve? - delete the pattrstorage and make a new one with same name. works every time. of course this is horrid horrid if you've spent the best part of a day carefully dealing with ordering and interpolation types for 60+ parameters. but such is life. mr bernstein, i would love to know how to avoid this too. any genius bernstein magic insight yet?