automated abstraction building
This is my first post, so maybe my language is unclear:
How can I automate the process of abstraction building?
If I have a abstraction called xxxx.maxpat and I want to
build several copys of xxxx.maxpat in a patcher.
For example I want to make 4000 of them. I recall them by
creating a object called xxxx 0 and then a object called xxxx 1.
(I use the #1 inside the abstraction for building a "sel #1" object. Anyway.. I dont want to make manually by clicking with a mouse all 4000 objects. …
Can I automate this process?
have a look the subpatch "Making New Objects" in the [thispatcher] helpfile.
I don’t know what you’re trying to achieve, but you may be highly interested by [poly~] as well.
you can SCRIPT objects, see help for [thispatcher], or you can
repeat the last copy process using command-D.
|algorhythm wrote on Sat, 10 October 2009 17:40|
|(I use the #1 inside the abstraction for building a "sel #1" object. Anyway.. I dont want to make manually by clicking with a mouse all 4000 objects.|
You definitely want to look into poly~ including thispoly~… Learning Max takes less time than duplicating and connecting 4000 objects…;-)
Though nobody has a clue why you would need 4000 of the same abstraction, I would bet that your concept has some flaws and you could achieve what you need much easier. (Think formula instead of a list of all possible solutions maybe…;-)
thanks all to nice comments!
I dont intend to do synth building with this, so I dont need to poly~ object.
I am trying to rebuild an old computer with max/msp.
Next step for learning would be being able to control where the objects are going to be created, I know it is something with offset bla bla, but I dont need that now.
----------begin_max5_patcher---------- 691.3ocyWsriaBCEcM4qvB0koQ1FBO5ttqq5OPUUEObYbEXh.SmLcz7uW+.l jIELNoDzrHjvEGeOmy8gu77FG2z5ijVWvm.eC3377FGGkIoAm96cbqRNlUlz pVlacGujvc2pezgDd1CTVwOZHYb81D6uCtEf8hUese3J368+EZtdeR+0GwCa CqqhxDaqxEnSF0NSYE1aMqtphvT9x0UZ5kMajW1ZI9YjGEtdvwbxQ8VkSJSd BfLvqHOIUPAJd4quIZbd44MJwv8F+YMiyRpHp0+ER4uIbZVB3qjNh6nbePQz l3OcfngjaZBqv8UDH22V5eTODA2AuE0oqJkzXPE7hTDOVoB6gFUAyg2qVEvS oBTQ5v16gXLdpRKoDfg9gyqR5Z.+HipDbYyUvFyUDxzhJQEsOREr+0HMUWYh lUZzkQZAxCOQ6gXiRik7tmy2whA3YECX3DbIx9hgO2PSJW7Z.zt8w6QQgKWg PEg2TKn+rJjuVfBLIPAA1WGXPftkVk+GJCutnnjXQ+xApaP.BuhSCQlxCtoj 8zNNulMKSB7m+X8f3kfI8ArkKcMqtiwIM.nccu0ywDZr4Md7X19as4s+Lk2C ezQ469IcGZDNBTRaMMumWet.b9lfdnEoI3oQAKqazf.tKzaq3ZDVdMP7azYP Xop1qHssIEj+chfrF5ANPqhBgAjjm2jIbpXPUTPJkC9.Z17MLRWZACLkwghu usImHsB+lzJ0ZbKorKe0AE4j1eqH1V20jM3ggSCAm3WNokSYIbpnAzoEImL5 rE8.MOmvNO9WQyOTKxP6AwD8JrESW3twwjbjj2aXR91FqIl7r.SxCyVQLIGd XdLstwtKjfIvTv5F6vVfIz5pSW3tIxwQqJlvVgI75hoHa6OgdeE6VWYJvJHs tsmv1zJ3h360gIwMur4u4cohYC -----------end_max5_patcher-----------
Have a look at the "Making New Objects" subpatch in the [thispatcher] help file for positioning and scripting objects.
actually, [poly~] is not only used for creating synths, but also to avoid scripting tons of objects.
you might wanna try scripting first, but believe me, in some time, you’ll end up doing the same with 1 [poly~]
also think about how you’ll communicate with your 2047 abstractions.
also, your [metro] + [bang] + [counter] + [sel] + [del] + [gswitch] can be replaced by one [uzi]
Forums > MaxMSP