XML Feeds

.

[javascript-dev] Re: [sharingisfun] passing messages via pattrstorage

pnyboer pnyboer at slambassador.com
Thu Sep 27 16:46:09 MDT 2007


well, I could pass messages before to named objects or a receive, but it wouldn't be stored, then? I suppose referring to "bang" is a poor example, since I don't need to store the message "bang".  

I'm using pattrstorage as a hub for communication to everwhere else.  I can assemble messages in a javascript somewhere, for example, and send them to pattrstorage:
1Channel::FileName "Macintosh HD:/Sounds/Drum Loop.aif"
2Channel::FileName "Macintosh HD:/Sounds/Bweep Boop.aif" 
1EffectsGroup::1VST "super delay"

With getset.js, I can just drop it in my patch, name it, and treat it the same as a number box.  Additionally, the FileName or VST name gets stored to the preset. I haven't found another way to store symbols to a pattrstorage preset besides umenu/ubumenu.

Maybe it is a bit specific for my needs and brain, but it is useful.  I have a single receive hooked up to a global pattrstorage, and everything goes thru that.  I guess I could use pattrforward to send my messages, but I didn't think of that long ago when I started using pattrstorage!

Besides that, it is a decent example of getting js communicating with pattr.
--
* * * *
The Altamont
2 oz light rum
3/4 oz lime juice
1/2 oz orange curaçao
1/4 oz orgeat
splash of pernod
handful of fresh mint leaves
shake contents vigorously with ice.
Strain well into a chilled cocktail glass.
* * * *


More information about the javascript-dev mailing list