{"id":2489,"date":"2012-10-15T01:29:37","date_gmt":"2012-10-15T01:29:37","guid":{"rendered":"http:\/\/zerokidz.com\/ideas\/?p=2489"},"modified":"2014-06-17T04:22:43","modified_gmt":"2014-06-17T08:22:43","slug":"differences-between-pd-and-max","status":"publish","type":"post","link":"https:\/\/reactivemusic.net\/?p=2489","title":{"rendered":"differences between Pd and Max"},"content":{"rendered":"<p><cite>From the Pd manual<\/cite><\/p>\n<p><a href=\"http:\/\/puredata.info\/docs\/manuals\/pd\/x5.htm\">http:\/\/puredata.info\/docs\/manuals\/pd\/x5.htm<\/a><\/p>\n<h4><a name=\"s3\"><\/a> 5.3. differences from Max\/MSP<\/h4>\n<p>It wasn&#8217;t anyone&#8217;s intention to make Pd a Max\/MSP clone, but on the other hand, if there&#8217;s no reason for a feature to appear differently in Pd than in Max\/MSP, the choices in Pd tend to hew to those in Max\/MSP. Moreover, some effort has been undertaken (but more is needed) to make the two interoperable.<\/p>\n<p>You can use Pd to import and export patches to Max\/MSP; just save as text to a file with extension &#8220;.pat&#8221;, and then open it in Pd. You&#8217;ll at least get something. If you stick to common or commonizable features you can actually develop patches for both platforms.<\/p>\n<p>When specific objects exist on one platform and not on the other, it&#8217;s often possible to make abstractions to imitate the missing objects, in a kind of personalized compatibility library.<\/p>\n<p>There are, however, differences in semantics you&#8217;ll want to know about; a partial list follows.<\/p>\n<p>abstraction arguments. In Pd you can edit instantiations of abstractions and save the result back to the file of the abstraction. This isn&#8217;t possible in Max, because the instantiations are different from the abstraction itself in that &#8220;#1&#8221;, etc., are replaced by the instantiation arguments. In Pd, these arguments appear as &#8220;$1&#8221;, etc, and are translated at a slightly later stage of the instantiation process so that you still see them as &#8220;$&#8221; variables in the instantiation. <a href=\"http:\/\/puredata.info\/docs\/manuals\/pd\/x2.htm#s7.1\"> (see Section 2.7. abstractions) <\/a><\/p>\n<p>In Pd, to make current all instantiations of the abstraction, either delete and recreate them or close and open the patch; this is done automatically in Max\/MSP.<\/p>\n<p>In Pd, if you select &#8220;save&#8221; while in a subpatch, the parent is saved. In Max\/MSP, if you do this a dialogue box comes up asking if you want to save the subpatch as a separate file. (if you want to save a subpatch to a file in Pd, you have to copy and paste the contents to a new document.<\/p>\n<p>In Pd, inlets and outlets are ordinary text objects; in Max\/MSP they&#8217;re &#8220;gui&#8221; objects from the palette.<\/p>\n<p>In Max\/MSP, if an object&#8217;s outlet is connected to several destinations, corresponding messages are always sent in right-to-left screen order. In Pd, the messages are sent in the order you made the connections in. In either case, in situations where you care about the order it&#8217;s appropriate to use a &#8220;trigger&#8221; object to specify.<\/p>\n<p>In Pd, there&#8217;s no &#8220;gate&#8221;; instead it&#8217;s &#8220;spigot&#8221; with the inlets in the opposite, more natural order.<\/p>\n<p>Switching subsets of the DSP patch on and off is done in completely different ways in Pd and Max\/MSP, and block sizes are handled differently as well.<\/p>\n<p>Max offers many &#8220;GUI&#8221; objects such as sliders, dials, VU meters, piano keyboards, even &#8220;bpatchers.&#8221; Until version 0.34, the only two in Pd were the number box and graphical arrays. Starting in version 0.34, Pd incorporates Thomas Musil&#8217;s GUI objects: sliders, switches, and so on. (Thanks Thomas!) Beyond this essential collection of GUI objects, it&#8217;s unlikely you&#8217;ll ever find any commonality between the two. Also, as of 0.34, importing and exporting to Max doesn&#8217;t know about the Musil objects; I&#8217;ll try to get that fixed for 0.35.<\/p>\n<p>In Pd there&#8217;s no &#8220;preset&#8221; object (I now think it&#8217;s basically a bad idea) and you have to use explicit sends and receives to restore values to number boxes. Then just make a &#8220;message&#8221; box to re-send the values you want.<\/p>\n<p>In Macintosh land, instead of getting tabosc4~ and arrays, you get cycle~ and buffer~. The only gotcha is that you probably can&#8217;t draw in buffer~ with the mouse as you can with arrays, but at least it&#8217;s possible to make a patch that copies a &#8220;table&#8221; into a &#8220;buffer~&#8221;.<\/p>\n<p>The &#8220;bpatcher&#8221; feature in Max has a correlate, &#8220;graph on parent&#8221; subpatches, in Pd; however, Pd&#8217;s version is quite different from Max&#8217;s.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>From the Pd manual http:\/\/puredata.info\/docs\/manuals\/pd\/x5.htm 5.3. differences from Max\/MSP It wasn&#8217;t anyone&#8217;s intention to make Pd a Max\/MSP clone, but on the other hand, if there&#8217;s no reason for a feature to appear differently in Pd than in Max\/MSP, the choices in Pd tend to hew to those in Max\/MSP. Moreover, some effort has been &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/reactivemusic.net\/?p=2489\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;differences between Pd and Max&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_coblocks_attr":"","_coblocks_dimensions":"","_coblocks_responsive_height":"","_coblocks_accordion_ie_support":"","footnotes":""},"categories":[143,28,249],"tags":[191,90,345,128,32],"class_list":["post-2489","post","type-post","status-publish","format-standard","hentry","category-interactive-media-art","category-maxmsp","category-pd-2","tag-favorites","tag-how-to","tag-maxmsp","tag-pd","tag-tools"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>differences between Pd and Max - reactive music<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/reactivemusic.net\/?p=2489\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"differences between Pd and Max - reactive music\" \/>\n<meta property=\"og:description\" content=\"From the Pd manual http:\/\/puredata.info\/docs\/manuals\/pd\/x5.htm 5.3. differences from Max\/MSP It wasn&#8217;t anyone&#8217;s intention to make Pd a Max\/MSP clone, but on the other hand, if there&#8217;s no reason for a feature to appear differently in Pd than in Max\/MSP, the choices in Pd tend to hew to those in Max\/MSP. Moreover, some effort has been &hellip; Continue reading &quot;differences between Pd and Max&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/reactivemusic.net\/?p=2489\" \/>\n<meta property=\"og:site_name\" content=\"reactive music\" \/>\n<meta property=\"article:published_time\" content=\"2012-10-15T01:29:37+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2014-06-17T08:22:43+00:00\" \/>\n<meta name=\"author\" content=\"Tom Zicarelli\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Tom Zicarelli\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/reactivemusic.net\\\/?p=2489#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/reactivemusic.net\\\/?p=2489\"},\"author\":{\"name\":\"Tom Zicarelli\",\"@id\":\"https:\\\/\\\/reactivemusic.net\\\/#\\\/schema\\\/person\\\/56224d281582df7e5518e037ca63e571\"},\"headline\":\"differences between Pd and Max\",\"datePublished\":\"2012-10-15T01:29:37+00:00\",\"dateModified\":\"2014-06-17T08:22:43+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/reactivemusic.net\\\/?p=2489\"},\"wordCount\":677,\"keywords\":[\"favorites\",\"how to\",\"Max\\\/MSP\",\"Pd\",\"tools\"],\"articleSection\":[\"interactive media art\",\"Max\\\/MSP\",\"Pd\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/reactivemusic.net\\\/?p=2489\",\"url\":\"https:\\\/\\\/reactivemusic.net\\\/?p=2489\",\"name\":\"differences between Pd and Max - reactive music\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/reactivemusic.net\\\/#website\"},\"datePublished\":\"2012-10-15T01:29:37+00:00\",\"dateModified\":\"2014-06-17T08:22:43+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/reactivemusic.net\\\/#\\\/schema\\\/person\\\/56224d281582df7e5518e037ca63e571\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/reactivemusic.net\\\/?p=2489#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/reactivemusic.net\\\/?p=2489\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/reactivemusic.net\\\/?p=2489#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/reactivemusic.net\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"differences between Pd and Max\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/reactivemusic.net\\\/#website\",\"url\":\"https:\\\/\\\/reactivemusic.net\\\/\",\"name\":\"reactive music\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/reactivemusic.net\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/reactivemusic.net\\\/#\\\/schema\\\/person\\\/56224d281582df7e5518e037ca63e571\",\"name\":\"Tom Zicarelli\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0da58cf21a2707dd335b204b8ed3cd9194dcbf9d9814ac5d71195a65c76c8a72?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0da58cf21a2707dd335b204b8ed3cd9194dcbf9d9814ac5d71195a65c76c8a72?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0da58cf21a2707dd335b204b8ed3cd9194dcbf9d9814ac5d71195a65c76c8a72?s=96&d=mm&r=g\",\"caption\":\"Tom Zicarelli\"},\"sameAs\":[\"http:\\\/\\\/tomzicarelli.com\"],\"url\":\"https:\\\/\\\/reactivemusic.net\\\/?author=2\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"differences between Pd and Max - reactive music","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/reactivemusic.net\/?p=2489","og_locale":"en_US","og_type":"article","og_title":"differences between Pd and Max - reactive music","og_description":"From the Pd manual http:\/\/puredata.info\/docs\/manuals\/pd\/x5.htm 5.3. differences from Max\/MSP It wasn&#8217;t anyone&#8217;s intention to make Pd a Max\/MSP clone, but on the other hand, if there&#8217;s no reason for a feature to appear differently in Pd than in Max\/MSP, the choices in Pd tend to hew to those in Max\/MSP. Moreover, some effort has been &hellip; Continue reading \"differences between Pd and Max\"","og_url":"https:\/\/reactivemusic.net\/?p=2489","og_site_name":"reactive music","article_published_time":"2012-10-15T01:29:37+00:00","article_modified_time":"2014-06-17T08:22:43+00:00","author":"Tom Zicarelli","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Tom Zicarelli","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/reactivemusic.net\/?p=2489#article","isPartOf":{"@id":"https:\/\/reactivemusic.net\/?p=2489"},"author":{"name":"Tom Zicarelli","@id":"https:\/\/reactivemusic.net\/#\/schema\/person\/56224d281582df7e5518e037ca63e571"},"headline":"differences between Pd and Max","datePublished":"2012-10-15T01:29:37+00:00","dateModified":"2014-06-17T08:22:43+00:00","mainEntityOfPage":{"@id":"https:\/\/reactivemusic.net\/?p=2489"},"wordCount":677,"keywords":["favorites","how to","Max\/MSP","Pd","tools"],"articleSection":["interactive media art","Max\/MSP","Pd"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/reactivemusic.net\/?p=2489","url":"https:\/\/reactivemusic.net\/?p=2489","name":"differences between Pd and Max - reactive music","isPartOf":{"@id":"https:\/\/reactivemusic.net\/#website"},"datePublished":"2012-10-15T01:29:37+00:00","dateModified":"2014-06-17T08:22:43+00:00","author":{"@id":"https:\/\/reactivemusic.net\/#\/schema\/person\/56224d281582df7e5518e037ca63e571"},"breadcrumb":{"@id":"https:\/\/reactivemusic.net\/?p=2489#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/reactivemusic.net\/?p=2489"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/reactivemusic.net\/?p=2489#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/reactivemusic.net\/"},{"@type":"ListItem","position":2,"name":"differences between Pd and Max"}]},{"@type":"WebSite","@id":"https:\/\/reactivemusic.net\/#website","url":"https:\/\/reactivemusic.net\/","name":"reactive music","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/reactivemusic.net\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/reactivemusic.net\/#\/schema\/person\/56224d281582df7e5518e037ca63e571","name":"Tom Zicarelli","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/0da58cf21a2707dd335b204b8ed3cd9194dcbf9d9814ac5d71195a65c76c8a72?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/0da58cf21a2707dd335b204b8ed3cd9194dcbf9d9814ac5d71195a65c76c8a72?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0da58cf21a2707dd335b204b8ed3cd9194dcbf9d9814ac5d71195a65c76c8a72?s=96&d=mm&r=g","caption":"Tom Zicarelli"},"sameAs":["http:\/\/tomzicarelli.com"],"url":"https:\/\/reactivemusic.net\/?author=2"}]}},"_links":{"self":[{"href":"https:\/\/reactivemusic.net\/index.php?rest_route=\/wp\/v2\/posts\/2489","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/reactivemusic.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/reactivemusic.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/reactivemusic.net\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/reactivemusic.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2489"}],"version-history":[{"count":6,"href":"https:\/\/reactivemusic.net\/index.php?rest_route=\/wp\/v2\/posts\/2489\/revisions"}],"predecessor-version":[{"id":14822,"href":"https:\/\/reactivemusic.net\/index.php?rest_route=\/wp\/v2\/posts\/2489\/revisions\/14822"}],"wp:attachment":[{"href":"https:\/\/reactivemusic.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2489"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/reactivemusic.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2489"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/reactivemusic.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2489"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}