I am having fun making an abstraction. I want it to be able to respond to 
"messages"/commands in a similar way to externals. For example, imagine an 
abstraction that has 1 inlet, and if it gets (from the parent patch) "file 
filename.mid" then it reads that file, or if it gets "bpm 120" it sets the bpm 
to 120, or if it gets "loop 0" it turns off looping, or if it gets "bang" or 
"play" it starts playing. What object(s) do I use to set up something like this?

How do I set this up? I've mucked around with pack/unpack but it seems i'm 
totally barking up the wrong tree. I'm sure if I had a look at a simple example 
abstraction I'd figure it out but I'm still at the flailing about blindly stage!

 
Note I think I have a good understanding of $1 etc, creation args, and $0, 
per-instance variable thingy, which are documented well... I don't think they'd 
do what I'm after.

Thanks in advance,
Rua HM.

-- 
http://myspace.com/haszari
http://haszaristwocents.blogspot.com
http://last.fm/music/Haszari



      Easy recipes for Christmas entertaining on Yahoo!Xtra Lifestyle- 
http://nz.lifestyle.yahoo.com/food-recipes

_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to