how to send a bang from pattrstorage

Jun 21, 2009 at 11:16am

how to send a bang from pattrstorage

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


Jun 21, 2009 at 5:05pm

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.

hope this was of some help.

Jun 21, 2009 at 10:37pm

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.


You must be logged in to reply to this topic.