Forums > MaxMSP

pattrstorage, autopattr, and line

September 1, 2006 | 2:40 pm

Can anyone enlighten me with an easy way to send line messages using
autopattr and pattrstorage. I can get it with number boxes and
sprintf by changing presets with number boxes, but I start using the
spacebar + counter thing that I made to go through the presets, it
stops working. There has to be some way to control line from
pattrstorage and autopattr, and messages box aren’t supported. Any
help would be great.

Thanks,
Keith


September 1, 2006 | 8:08 pm


September 2, 2006 | 8:11 am

keith manlove wrote:
> but I start using the spacebar + counter thing that I made to go
> through the presets, it stops working.

How could anybody know what you are talking about? You are the only
person in the universe which knows what you made to go though your
presets…

No chance without example patch and explanation what you want to achieve…

Stefan


Stefan Tiedje————x——-
–_____———–|————–
–(_|_ —-|—–|—–()——-
– _|_)—-|—–()————–
———-()——–www.ccmix.com


September 2, 2006 | 1:31 pm

Well, sorry for the verbose explanation. That part doesn’t even
really matter. I was really just wondering if anyone had good ways to
send messages in the 0, 1000 1000 format to line from autopattr. I
wasn’t even asking about the other part. Sorry to include it.

Thanks,
Keith

On 9/2/06, Stefan Tiedje wrote:
> keith manlove wrote:
> > but I start using the spacebar + counter thing that I made to go
> > through the presets, it stops working.
>
> How could anybody know what you are talking about? You are the only
> person in the universe which knows what you made to go though your
> presets…
>
> No chance without example patch and explanation what you want to achieve…
>
> Stefan
>
> –
> Stefan Tiedje————x——-
> –_____———–|————–
> –(_|_ —-|—–|—–()——-
> — _|_)—-|—–()————–
> ———-()——–www.ccmix.com
>
>


September 2, 2006 | 1:50 pm

Couldn’t you just use hidden number boxes?
Ie number boxes that aren’t part of the UI, but are in the chain
leading to line, and to which you apply "Hide on Lock"
Autopattr will see them, & store/recall the different values.

David

On 2 Sep 2006, at 14:31, keith manlove wrote:

> Well, sorry for the verbose explanation. That part doesn’t even
> really matter. I was really just wondering if anyone had good ways to
> send messages in the 0, 1000 1000 format to line from autopattr. I
> wasn’t even asking about the other part. Sorry to include it.
>
> Thanks,
> Keith
>
> On 9/2/06, Stefan Tiedje wrote:
>> keith manlove wrote:
>> > but I start using the spacebar + counter thing that I made to go
>> > through the presets, it stops working.
>>


September 2, 2006 | 9:34 pm

hi,

maybe this little monstrum could be of help:

#P window setfont Geneva 9.;
#P window linecount 1;
#P message 161 104 14 9830409 0;
#P message 68 47 59 9830409 6000 6000;
#P button 22 49 15 0;
#P newex 22 116 51 9830409 t l b b;
#P newex 42 177 30 9830409 f;
#P newex 22 87 101 9830409 pattr rest-of-the-list;
#X prestore 2 0 6000 6000;
#P objectname rest-of-the-list;
#P newex 62 147 84 9830409 pattr init-number;
#X prestore 1 0 0;
#P objectname init-number;
#P newex 22 255 29 9830409 print;
#P newex 22 224 40 9830409 line;
#P fasten 4 0 0 0 47 209 27 209;
#P connect 5 0 0 0;
#P connect 0 0 1 0;
#P connect 8 0 2 0;
#P connect 7 0 3 0;
#P connect 6 0 3 0;
#P connect 5 1 4 0;
#P connect 5 2 2 0;
#P connect 3 0 5 0;
#P connect 2 0 4 1;
#P window clipboard copycount 9;

best,
n


September 2, 2006 | 10:12 pm

yeah, thank you for that!

Keith

On 9/2/06, nesa wrote:
> hi,
>
> maybe this little monstrum could be of help:
>
> #P window setfont Geneva 9.;
> #P window linecount 1;
> #P message 161 104 14 9830409 0;
> #P message 68 47 59 9830409 6000 6000;
> #P button 22 49 15 0;
> #P newex 22 116 51 9830409 t l b b;
> #P newex 42 177 30 9830409 f;
> #P newex 22 87 101 9830409 pattr rest-of-the-list;
> #X prestore 2 0 6000 6000;
> #P objectname rest-of-the-list;
> #P newex 62 147 84 9830409 pattr init-number;
> #X prestore 1 0 0;
> #P objectname init-number;
> #P newex 22 255 29 9830409 print;
> #P newex 22 224 40 9830409 line;
> #P fasten 4 0 0 0 47 209 27 209;
> #P connect 5 0 0 0;
> #P connect 0 0 1 0;
> #P connect 8 0 2 0;
> #P connect 7 0 3 0;
> #P connect 6 0 3 0;
> #P connect 5 1 4 0;
> #P connect 5 2 2 0;
> #P connect 3 0 5 0;
> #P connect 2 0 4 1;
> #P window clipboard copycount 9;
>
> best,
> n
>


September 3, 2006 | 12:13 am

> Well, sorry for the verbose explanation. That part doesn’t even
> really matter. I was really just wondering if anyone had good ways to
> send messages in the 0, 1000 1000 format to line from autopattr.

something like -[pack]-"$1 $2 $3"-[line~] ?


Viewing 8 posts - 1 through 8 (of 8 total)