pv & pattr


    Nov 13 2006 | 10:15 pm
    Hello
    I would like to save a list with a preset slot with pattrstorage, and have it banged out when slots are changed, yet I cant bind pv to a pattr object. Is there an easy way to get lists into a pattrstorage slot?
    Thanks,
    v a d e //
    www.vade.info abstrakt.vade.info

    • Nov 13 2006 | 10:27 pm
      ubumenu, textedit, pattr...
      jb
      Am 13.11.2006 um 23:15 schrieb vade:
      > Hello > > I would like to save a list with a preset slot with pattrstorage, > and have it banged out when slots are changed, yet I cant bind pv > to a pattr object. Is there an easy way to get lists into a > pattrstorage slot? > > Thanks, > > > v a d e // > > www.vade.info > abstrakt.vade.info > > >
    • Nov 13 2006 | 11:18 pm
      Hrm - youve got a point, although I should have been more specific. I want to be able to store arbitrary (read, I dont know what they will be before hand) lists in a shitload (read quite a few) subpatchers, in no particular/expected order, coming from "the outside world",
      ubumenu I could set with prepend append, and then prepend symbol to set the item, but it seems wasteful to keep populating ubumenu that way (see the attached patch)
      But I get the feeling I am having a brainfart and am missing something very obvious, and will be slightly humbled by missing it. Let me post an example patch anyway, so you can all chuckle at me
      Heres an issue : if I use setitem on a ubumenu bound to a pattr/pattrstorage system, pattrstorage doesnt update the data. Only if I switch slots - which means I have to keep adding to the ubumenu.
      pv and value and all those objects would be great to have working with pattr, as you could set, store and recall arbitrary data with them. Are there any 'cleaner' ways of doing this?
      v a d e //
      www.vade.info abstrakt.vade.info
      On Nov 13, 2006, at 5:27 PM, Jeremy Bernstein wrote:
      > ubumenu, textedit, pattr... > > jb > > Am 13.11.2006 um 23:15 schrieb vade: > >> Hello >> >> I would like to save a list with a preset slot with pattrstorage, >> and have it banged out when slots are changed, yet I cant bind pv >> to a pattr object. Is there an easy way to get lists into a >> pattrstorage slot? >> >> Thanks, >> >> >> v a d e // >> >> www.vade.info >> abstrakt.vade.info >> >> >> >
    • Nov 13 2006 | 11:30 pm
      Am 14.11.2006 um 00:18 schrieb vade:
      > Heres an issue : if I use setitem on a ubumenu bound to > a pattr/pattrstorage system, pattrstorage doesnt update the data. > Only if I switch slots - which means I have to keep adding to the > ubumenu.
      That sounds like a bug. Will investigate.
      > pv and value and all those objects would be great to have working > with pattr, as you could set, store and recall arbitrary data with > them. Are there any 'cleaner' ways of doing this?
      Just use an unbound pattr object. It's all that you need, unless I am catastophically misunderstanding your problem.
      jb
    • Nov 13 2006 | 11:53 pm
      Remember how I said I thought I was missing the obvious? I was. Thanks Jeremy. Brilliant. All is well with the cosmos now :)
      v a d e //
      www.vade.info abstrakt.vade.info
      On Nov 13, 2006, at 6:30 PM, Jeremy Bernstein wrote:
      > Just use an unbound pattr object. It's all that you need, unless I > am catastophically misunderstanding your problem.