Forums > MaxMSP

how to send a bang from pattrstorage

June 21, 2009 | 11:16 am

Hello Everyone,

I am learning to use the pattrstorage control to load preesets.

Anyone knows how could I just send a simple BANG from the pattrstorage control?

So far I am able to send values to different devices, but not a simple bang.

I would apreciate a lot if someone could help me about this Smile
Thanks

Sabina


June 21, 2009 | 5:05 pm

hey there,

i have been experimenting with lots of preset loading lately also.
Have you tried the bangbang object? it turns any input into a bang.
sometimes it is useful when trying to trigger operations at specific times.

for when loading, I have used loadbang and closebang messages in conjunction with "write filename.maxpresets" and "read filename".
My first ever post on this forum was tonight in regards to this topic where there is a mistake in the documentation. http://www.cycling74.com/forums/index.php?t=msg&th=40137&start=0&rid=9462&S=232853379d541115746d81d8e7a44920

hope this was of some help.


June 21, 2009 | 10:37 pm

pattrstorage stores states (values) of objects. bang is a message and not a state, so you can’t really store that. Depending on what you want to do, you might wanna have a look to pattrforward if you want to use the scripting name of an object to send messages remotely, or use pattrstorage to store something that you turn into a bang.


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