├── .gitignore ├── .gitmodules ├── LICENSE ├── README.md ├── docs ├── cm.buffercloud~.maxref.xml ├── cm.gausscloud~.maxref.xml ├── cm.indexcloud~.maxref.xml └── cm.livecloud~.maxref.xml ├── externals ├── cm.buffercloud~.mxe ├── cm.buffercloud~.mxe64 ├── cm.buffercloud~.mxo │ └── Contents │ │ ├── Info.plist │ │ ├── MacOS │ │ └── cm.buffercloud~ │ │ ├── PkgInfo │ │ └── Resources │ │ └── maxmspsdk.xcconfig ├── cm.gausscloud~.mxe ├── cm.gausscloud~.mxe64 ├── cm.gausscloud~.mxo │ └── Contents │ │ ├── Info.plist │ │ ├── MacOS │ │ └── cm.gausscloud~ │ │ ├── PkgInfo │ │ └── Resources │ │ └── maxmspsdk.xcconfig ├── cm.indexcloud~.mxe ├── cm.indexcloud~.mxe64 ├── cm.indexcloud~.mxo │ └── Contents │ │ ├── Info.plist │ │ ├── MacOS │ │ └── cm.indexcloud~ │ │ ├── PkgInfo │ │ └── Resources │ │ └── maxmspsdk.xcconfig ├── cm.livecloud~.mxe ├── cm.livecloud~.mxe64 └── cm.livecloud~.mxo │ └── Contents │ ├── Info.plist │ ├── MacOS │ └── cm.livecloud~ │ ├── PkgInfo │ └── Resources │ └── maxmspsdk.xcconfig ├── extras ├── petra for live.amxd └── petra_overview.maxpat ├── help ├── cm.buffercloud~.maxhelp ├── cm.gausscloud~.maxhelp ├── cm.indexcloud~.maxhelp └── cm.livecloud~.maxhelp ├── icon.png ├── media ├── images │ ├── maxOverviewIcon.png │ ├── petra-logo.png │ ├── triggers-ramp.png │ ├── triggers-zero-crossing.png │ ├── window_bartlett.png │ ├── window_flattop.png │ ├── window_gauss2.png │ ├── window_gauss4.png │ ├── window_gauss8.png │ ├── window_hamming.png │ ├── window_hanning.png │ └── window_rectangular.png └── windows │ ├── bartlett-hanning.wav │ ├── bartlett.wav │ ├── blackman-harris.wav │ ├── blackman.wav │ ├── bohman.wav │ ├── chebyshef.wav │ ├── flat-top.wav │ ├── gauss.wav │ ├── hamming.wav │ ├── hanning.wav │ ├── kaiser.wav │ ├── nuttall.wav │ ├── parzen.wav │ ├── rectangular.wav │ ├── taylor.wav │ ├── triangular.wav │ ├── turkey.wav │ └── white-noise.wav ├── package-info.json └── source ├── cm.buffercloud~ ├── cm.buffercloud~.c └── cm.buffercloud~.xcodeproj │ ├── project.pbxproj │ └── project.xcworkspace │ └── contents.xcworkspacedata ├── cm.gausscloud~ ├── cm.gausscloud~.c └── cm.gausscloud~.xcodeproj │ ├── project.pbxproj │ └── project.xcworkspace │ └── contents.xcworkspacedata ├── cm.indexcloud~ ├── cm.indexcloud~.c └── cm.indexcloud~.xcodeproj │ ├── project.pbxproj │ └── project.xcworkspace │ └── contents.xcworkspacedata ├── cm.livecloud~ ├── cm.livecloud~.c └── cm.livecloud~.xcodeproj │ ├── project.pbxproj │ └── project.xcworkspace │ └── contents.xcworkspacedata └── maxmspsdk.xcconfig /.gitignore: -------------------------------------------------------------------------------- 1 | build/ 2 | _build/ 3 | _archive/ 4 | *.pbxuser 5 | !default.pbxuser 6 | *.mode1v3 7 | !default.mode1v3 8 | *.mode2v3 9 | !default.mode2v3 10 | *.perspectivev3 11 | !default.perspectivev3 12 | xcuserdata 13 | *.xccheckout 14 | *.moved-aside 15 | DerivedData 16 | *.xcuserstate 17 | **/.DS_Store 18 | -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "max-sdk"] 2 | path = max-sdk 3 | url = https://github.com/Cycling74/max-sdk 4 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | GNU GENERAL PUBLIC LICENSE 2 | Version 3, 29 June 2007 3 | 4 | Copyright (C) 2007 Free Software Foundation, Inc. 5 | Everyone is permitted to copy and distribute verbatim copies 6 | of this license document, but changing it is not allowed. 7 | 8 | Preamble 9 | 10 | The GNU General Public License is a free, copyleft license for 11 | software and other kinds of works. 12 | 13 | The licenses for most software and other practical works are designed 14 | to take away your freedom to share and change the works. By contrast, 15 | the GNU General Public License is intended to guarantee your freedom to 16 | share and change all versions of a program--to make sure it remains free 17 | software for all its users. We, the Free Software Foundation, use the 18 | GNU General Public License for most of our software; it applies also to 19 | any other work released this way by its authors. You can apply it to 20 | your programs, too. 21 | 22 | When we speak of free software, we are referring to freedom, not 23 | price. Our General Public Licenses are designed to make sure that you 24 | have the freedom to distribute copies of free software (and charge for 25 | them if you wish), that you receive source code or can get it if you 26 | want it, that you can change the software or use pieces of it in new 27 | free programs, and that you know you can do these things. 28 | 29 | To protect your rights, we need to prevent others from denying you 30 | these rights or asking you to surrender the rights. Therefore, you have 31 | certain responsibilities if you distribute copies of the software, or if 32 | you modify it: responsibilities to respect the freedom of others. 33 | 34 | For example, if you distribute copies of such a program, whether 35 | gratis or for a fee, you must pass on to the recipients the same 36 | freedoms that you received. You must make sure that they, too, receive 37 | or can get the source code. And you must show them these terms so they 38 | know their rights. 39 | 40 | Developers that use the GNU GPL protect your rights with two steps: 41 | (1) assert copyright on the software, and (2) offer you this License 42 | giving you legal permission to copy, distribute and/or modify it. 43 | 44 | For the developers' and authors' protection, the GPL clearly explains 45 | that there is no warranty for this free software. For both users' and 46 | authors' sake, the GPL requires that modified versions be marked as 47 | changed, so that their problems will not be attributed erroneously to 48 | authors of previous versions. 49 | 50 | Some devices are designed to deny users access to install or run 51 | modified versions of the software inside them, although the manufacturer 52 | can do so. This is fundamentally incompatible with the aim of 53 | protecting users' freedom to change the software. The systematic 54 | pattern of such abuse occurs in the area of products for individuals to 55 | use, which is precisely where it is most unacceptable. Therefore, we 56 | have designed this version of the GPL to prohibit the practice for those 57 | products. If such problems arise substantially in other domains, we 58 | stand ready to extend this provision to those domains in future versions 59 | of the GPL, as needed to protect the freedom of users. 60 | 61 | Finally, every program is threatened constantly by software patents. 62 | States should not allow patents to restrict development and use of 63 | software on general-purpose computers, but in those that do, we wish to 64 | avoid the special danger that patents applied to a free program could 65 | make it effectively proprietary. To prevent this, the GPL assures that 66 | patents cannot be used to render the program non-free. 67 | 68 | The precise terms and conditions for copying, distribution and 69 | modification follow. 70 | 71 | TERMS AND CONDITIONS 72 | 73 | 0. Definitions. 74 | 75 | "This License" refers to version 3 of the GNU General Public License. 76 | 77 | "Copyright" also means copyright-like laws that apply to other kinds of 78 | works, such as semiconductor masks. 79 | 80 | "The Program" refers to any copyrightable work licensed under this 81 | License. Each licensee is addressed as "you". "Licensees" and 82 | "recipients" may be individuals or organizations. 83 | 84 | To "modify" a work means to copy from or adapt all or part of the work 85 | in a fashion requiring copyright permission, other than the making of an 86 | exact copy. The resulting work is called a "modified version" of the 87 | earlier work or a work "based on" the earlier work. 88 | 89 | A "covered work" means either the unmodified Program or a work based 90 | on the Program. 91 | 92 | To "propagate" a work means to do anything with it that, without 93 | permission, would make you directly or secondarily liable for 94 | infringement under applicable copyright law, except executing it on a 95 | computer or modifying a private copy. Propagation includes copying, 96 | distribution (with or without modification), making available to the 97 | public, and in some countries other activities as well. 98 | 99 | To "convey" a work means any kind of propagation that enables other 100 | parties to make or receive copies. Mere interaction with a user through 101 | a computer network, with no transfer of a copy, is not conveying. 102 | 103 | An interactive user interface displays "Appropriate Legal Notices" 104 | to the extent that it includes a convenient and prominently visible 105 | feature that (1) displays an appropriate copyright notice, and (2) 106 | tells the user that there is no warranty for the work (except to the 107 | extent that warranties are provided), that licensees may convey the 108 | work under this License, and how to view a copy of this License. If 109 | the interface presents a list of user commands or options, such as a 110 | menu, a prominent item in the list meets this criterion. 111 | 112 | 1. Source Code. 113 | 114 | The "source code" for a work means the preferred form of the work 115 | for making modifications to it. "Object code" means any non-source 116 | form of a work. 117 | 118 | A "Standard Interface" means an interface that either is an official 119 | standard defined by a recognized standards body, or, in the case of 120 | interfaces specified for a particular programming language, one that 121 | is widely used among developers working in that language. 122 | 123 | The "System Libraries" of an executable work include anything, other 124 | than the work as a whole, that (a) is included in the normal form of 125 | packaging a Major Component, but which is not part of that Major 126 | Component, and (b) serves only to enable use of the work with that 127 | Major Component, or to implement a Standard Interface for which an 128 | implementation is available to the public in source code form. A 129 | "Major Component", in this context, means a major essential component 130 | (kernel, window system, and so on) of the specific operating system 131 | (if any) on which the executable work runs, or a compiler used to 132 | produce the work, or an object code interpreter used to run it. 133 | 134 | The "Corresponding Source" for a work in object code form means all 135 | the source code needed to generate, install, and (for an executable 136 | work) run the object code and to modify the work, including scripts to 137 | control those activities. However, it does not include the work's 138 | System Libraries, or general-purpose tools or generally available free 139 | programs which are used unmodified in performing those activities but 140 | which are not part of the work. For example, Corresponding Source 141 | includes interface definition files associated with source files for 142 | the work, and the source code for shared libraries and dynamically 143 | linked subprograms that the work is specifically designed to require, 144 | such as by intimate data communication or control flow between those 145 | subprograms and other parts of the work. 146 | 147 | The Corresponding Source need not include anything that users 148 | can regenerate automatically from other parts of the Corresponding 149 | Source. 150 | 151 | The Corresponding Source for a work in source code form is that 152 | same work. 153 | 154 | 2. Basic Permissions. 155 | 156 | All rights granted under this License are granted for the term of 157 | copyright on the Program, and are irrevocable provided the stated 158 | conditions are met. This License explicitly affirms your unlimited 159 | permission to run the unmodified Program. The output from running a 160 | covered work is covered by this License only if the output, given its 161 | content, constitutes a covered work. This License acknowledges your 162 | rights of fair use or other equivalent, as provided by copyright law. 163 | 164 | You may make, run and propagate covered works that you do not 165 | convey, without conditions so long as your license otherwise remains 166 | in force. You may convey covered works to others for the sole purpose 167 | of having them make modifications exclusively for you, or provide you 168 | with facilities for running those works, provided that you comply with 169 | the terms of this License in conveying all material for which you do 170 | not control copyright. Those thus making or running the covered works 171 | for you must do so exclusively on your behalf, under your direction 172 | and control, on terms that prohibit them from making any copies of 173 | your copyrighted material outside their relationship with you. 174 | 175 | Conveying under any other circumstances is permitted solely under 176 | the conditions stated below. Sublicensing is not allowed; section 10 177 | makes it unnecessary. 178 | 179 | 3. Protecting Users' Legal Rights From Anti-Circumvention Law. 180 | 181 | No covered work shall be deemed part of an effective technological 182 | measure under any applicable law fulfilling obligations under article 183 | 11 of the WIPO copyright treaty adopted on 20 December 1996, or 184 | similar laws prohibiting or restricting circumvention of such 185 | measures. 186 | 187 | When you convey a covered work, you waive any legal power to forbid 188 | circumvention of technological measures to the extent such circumvention 189 | is effected by exercising rights under this License with respect to 190 | the covered work, and you disclaim any intention to limit operation or 191 | modification of the work as a means of enforcing, against the work's 192 | users, your or third parties' legal rights to forbid circumvention of 193 | technological measures. 194 | 195 | 4. Conveying Verbatim Copies. 196 | 197 | You may convey verbatim copies of the Program's source code as you 198 | receive it, in any medium, provided that you conspicuously and 199 | appropriately publish on each copy an appropriate copyright notice; 200 | keep intact all notices stating that this License and any 201 | non-permissive terms added in accord with section 7 apply to the code; 202 | keep intact all notices of the absence of any warranty; and give all 203 | recipients a copy of this License along with the Program. 204 | 205 | You may charge any price or no price for each copy that you convey, 206 | and you may offer support or warranty protection for a fee. 207 | 208 | 5. Conveying Modified Source Versions. 209 | 210 | You may convey a work based on the Program, or the modifications to 211 | produce it from the Program, in the form of source code under the 212 | terms of section 4, provided that you also meet all of these conditions: 213 | 214 | a) The work must carry prominent notices stating that you modified 215 | it, and giving a relevant date. 216 | 217 | b) The work must carry prominent notices stating that it is 218 | released under this License and any conditions added under section 219 | 7. This requirement modifies the requirement in section 4 to 220 | "keep intact all notices". 221 | 222 | c) You must license the entire work, as a whole, under this 223 | License to anyone who comes into possession of a copy. This 224 | License will therefore apply, along with any applicable section 7 225 | additional terms, to the whole of the work, and all its parts, 226 | regardless of how they are packaged. This License gives no 227 | permission to license the work in any other way, but it does not 228 | invalidate such permission if you have separately received it. 229 | 230 | d) If the work has interactive user interfaces, each must display 231 | Appropriate Legal Notices; however, if the Program has interactive 232 | interfaces that do not display Appropriate Legal Notices, your 233 | work need not make them do so. 234 | 235 | A compilation of a covered work with other separate and independent 236 | works, which are not by their nature extensions of the covered work, 237 | and which are not combined with it such as to form a larger program, 238 | in or on a volume of a storage or distribution medium, is called an 239 | "aggregate" if the compilation and its resulting copyright are not 240 | used to limit the access or legal rights of the compilation's users 241 | beyond what the individual works permit. Inclusion of a covered work 242 | in an aggregate does not cause this License to apply to the other 243 | parts of the aggregate. 244 | 245 | 6. Conveying Non-Source Forms. 246 | 247 | You may convey a covered work in object code form under the terms 248 | of sections 4 and 5, provided that you also convey the 249 | machine-readable Corresponding Source under the terms of this License, 250 | in one of these ways: 251 | 252 | a) Convey the object code in, or embodied in, a physical product 253 | (including a physical distribution medium), accompanied by the 254 | Corresponding Source fixed on a durable physical medium 255 | customarily used for software interchange. 256 | 257 | b) Convey the object code in, or embodied in, a physical product 258 | (including a physical distribution medium), accompanied by a 259 | written offer, valid for at least three years and valid for as 260 | long as you offer spare parts or customer support for that product 261 | model, to give anyone who possesses the object code either (1) a 262 | copy of the Corresponding Source for all the software in the 263 | product that is covered by this License, on a durable physical 264 | medium customarily used for software interchange, for a price no 265 | more than your reasonable cost of physically performing this 266 | conveying of source, or (2) access to copy the 267 | Corresponding Source from a network server at no charge. 268 | 269 | c) Convey individual copies of the object code with a copy of the 270 | written offer to provide the Corresponding Source. This 271 | alternative is allowed only occasionally and noncommercially, and 272 | only if you received the object code with such an offer, in accord 273 | with subsection 6b. 274 | 275 | d) Convey the object code by offering access from a designated 276 | place (gratis or for a charge), and offer equivalent access to the 277 | Corresponding Source in the same way through the same place at no 278 | further charge. You need not require recipients to copy the 279 | Corresponding Source along with the object code. If the place to 280 | copy the object code is a network server, the Corresponding Source 281 | may be on a different server (operated by you or a third party) 282 | that supports equivalent copying facilities, provided you maintain 283 | clear directions next to the object code saying where to find the 284 | Corresponding Source. Regardless of what server hosts the 285 | Corresponding Source, you remain obligated to ensure that it is 286 | available for as long as needed to satisfy these requirements. 287 | 288 | e) Convey the object code using peer-to-peer transmission, provided 289 | you inform other peers where the object code and Corresponding 290 | Source of the work are being offered to the general public at no 291 | charge under subsection 6d. 292 | 293 | A separable portion of the object code, whose source code is excluded 294 | from the Corresponding Source as a System Library, need not be 295 | included in conveying the object code work. 296 | 297 | A "User Product" is either (1) a "consumer product", which means any 298 | tangible personal property which is normally used for personal, family, 299 | or household purposes, or (2) anything designed or sold for incorporation 300 | into a dwelling. In determining whether a product is a consumer product, 301 | doubtful cases shall be resolved in favor of coverage. For a particular 302 | product received by a particular user, "normally used" refers to a 303 | typical or common use of that class of product, regardless of the status 304 | of the particular user or of the way in which the particular user 305 | actually uses, or expects or is expected to use, the product. A product 306 | is a consumer product regardless of whether the product has substantial 307 | commercial, industrial or non-consumer uses, unless such uses represent 308 | the only significant mode of use of the product. 309 | 310 | "Installation Information" for a User Product means any methods, 311 | procedures, authorization keys, or other information required to install 312 | and execute modified versions of a covered work in that User Product from 313 | a modified version of its Corresponding Source. The information must 314 | suffice to ensure that the continued functioning of the modified object 315 | code is in no case prevented or interfered with solely because 316 | modification has been made. 317 | 318 | If you convey an object code work under this section in, or with, or 319 | specifically for use in, a User Product, and the conveying occurs as 320 | part of a transaction in which the right of possession and use of the 321 | User Product is transferred to the recipient in perpetuity or for a 322 | fixed term (regardless of how the transaction is characterized), the 323 | Corresponding Source conveyed under this section must be accompanied 324 | by the Installation Information. But this requirement does not apply 325 | if neither you nor any third party retains the ability to install 326 | modified object code on the User Product (for example, the work has 327 | been installed in ROM). 328 | 329 | The requirement to provide Installation Information does not include a 330 | requirement to continue to provide support service, warranty, or updates 331 | for a work that has been modified or installed by the recipient, or for 332 | the User Product in which it has been modified or installed. Access to a 333 | network may be denied when the modification itself materially and 334 | adversely affects the operation of the network or violates the rules and 335 | protocols for communication across the network. 336 | 337 | Corresponding Source conveyed, and Installation Information provided, 338 | in accord with this section must be in a format that is publicly 339 | documented (and with an implementation available to the public in 340 | source code form), and must require no special password or key for 341 | unpacking, reading or copying. 342 | 343 | 7. Additional Terms. 344 | 345 | "Additional permissions" are terms that supplement the terms of this 346 | License by making exceptions from one or more of its conditions. 347 | Additional permissions that are applicable to the entire Program shall 348 | be treated as though they were included in this License, to the extent 349 | that they are valid under applicable law. If additional permissions 350 | apply only to part of the Program, that part may be used separately 351 | under those permissions, but the entire Program remains governed by 352 | this License without regard to the additional permissions. 353 | 354 | When you convey a copy of a covered work, you may at your option 355 | remove any additional permissions from that copy, or from any part of 356 | it. (Additional permissions may be written to require their own 357 | removal in certain cases when you modify the work.) You may place 358 | additional permissions on material, added by you to a covered work, 359 | for which you have or can give appropriate copyright permission. 360 | 361 | Notwithstanding any other provision of this License, for material you 362 | add to a covered work, you may (if authorized by the copyright holders of 363 | that material) supplement the terms of this License with terms: 364 | 365 | a) Disclaiming warranty or limiting liability differently from the 366 | terms of sections 15 and 16 of this License; or 367 | 368 | b) Requiring preservation of specified reasonable legal notices or 369 | author attributions in that material or in the Appropriate Legal 370 | Notices displayed by works containing it; or 371 | 372 | c) Prohibiting misrepresentation of the origin of that material, or 373 | requiring that modified versions of such material be marked in 374 | reasonable ways as different from the original version; or 375 | 376 | d) Limiting the use for publicity purposes of names of licensors or 377 | authors of the material; or 378 | 379 | e) Declining to grant rights under trademark law for use of some 380 | trade names, trademarks, or service marks; or 381 | 382 | f) Requiring indemnification of licensors and authors of that 383 | material by anyone who conveys the material (or modified versions of 384 | it) with contractual assumptions of liability to the recipient, for 385 | any liability that these contractual assumptions directly impose on 386 | those licensors and authors. 387 | 388 | All other non-permissive additional terms are considered "further 389 | restrictions" within the meaning of section 10. If the Program as you 390 | received it, or any part of it, contains a notice stating that it is 391 | governed by this License along with a term that is a further 392 | restriction, you may remove that term. If a license document contains 393 | a further restriction but permits relicensing or conveying under this 394 | License, you may add to a covered work material governed by the terms 395 | of that license document, provided that the further restriction does 396 | not survive such relicensing or conveying. 397 | 398 | If you add terms to a covered work in accord with this section, you 399 | must place, in the relevant source files, a statement of the 400 | additional terms that apply to those files, or a notice indicating 401 | where to find the applicable terms. 402 | 403 | Additional terms, permissive or non-permissive, may be stated in the 404 | form of a separately written license, or stated as exceptions; 405 | the above requirements apply either way. 406 | 407 | 8. Termination. 408 | 409 | You may not propagate or modify a covered work except as expressly 410 | provided under this License. Any attempt otherwise to propagate or 411 | modify it is void, and will automatically terminate your rights under 412 | this License (including any patent licenses granted under the third 413 | paragraph of section 11). 414 | 415 | However, if you cease all violation of this License, then your 416 | license from a particular copyright holder is reinstated (a) 417 | provisionally, unless and until the copyright holder explicitly and 418 | finally terminates your license, and (b) permanently, if the copyright 419 | holder fails to notify you of the violation by some reasonable means 420 | prior to 60 days after the cessation. 421 | 422 | Moreover, your license from a particular copyright holder is 423 | reinstated permanently if the copyright holder notifies you of the 424 | violation by some reasonable means, this is the first time you have 425 | received notice of violation of this License (for any work) from that 426 | copyright holder, and you cure the violation prior to 30 days after 427 | your receipt of the notice. 428 | 429 | Termination of your rights under this section does not terminate the 430 | licenses of parties who have received copies or rights from you under 431 | this License. If your rights have been terminated and not permanently 432 | reinstated, you do not qualify to receive new licenses for the same 433 | material under section 10. 434 | 435 | 9. Acceptance Not Required for Having Copies. 436 | 437 | You are not required to accept this License in order to receive or 438 | run a copy of the Program. Ancillary propagation of a covered work 439 | occurring solely as a consequence of using peer-to-peer transmission 440 | to receive a copy likewise does not require acceptance. However, 441 | nothing other than this License grants you permission to propagate or 442 | modify any covered work. These actions infringe copyright if you do 443 | not accept this License. Therefore, by modifying or propagating a 444 | covered work, you indicate your acceptance of this License to do so. 445 | 446 | 10. Automatic Licensing of Downstream Recipients. 447 | 448 | Each time you convey a covered work, the recipient automatically 449 | receives a license from the original licensors, to run, modify and 450 | propagate that work, subject to this License. You are not responsible 451 | for enforcing compliance by third parties with this License. 452 | 453 | An "entity transaction" is a transaction transferring control of an 454 | organization, or substantially all assets of one, or subdividing an 455 | organization, or merging organizations. If propagation of a covered 456 | work results from an entity transaction, each party to that 457 | transaction who receives a copy of the work also receives whatever 458 | licenses to the work the party's predecessor in interest had or could 459 | give under the previous paragraph, plus a right to possession of the 460 | Corresponding Source of the work from the predecessor in interest, if 461 | the predecessor has it or can get it with reasonable efforts. 462 | 463 | You may not impose any further restrictions on the exercise of the 464 | rights granted or affirmed under this License. For example, you may 465 | not impose a license fee, royalty, or other charge for exercise of 466 | rights granted under this License, and you may not initiate litigation 467 | (including a cross-claim or counterclaim in a lawsuit) alleging that 468 | any patent claim is infringed by making, using, selling, offering for 469 | sale, or importing the Program or any portion of it. 470 | 471 | 11. Patents. 472 | 473 | A "contributor" is a copyright holder who authorizes use under this 474 | License of the Program or a work on which the Program is based. The 475 | work thus licensed is called the contributor's "contributor version". 476 | 477 | A contributor's "essential patent claims" are all patent claims 478 | owned or controlled by the contributor, whether already acquired or 479 | hereafter acquired, that would be infringed by some manner, permitted 480 | by this License, of making, using, or selling its contributor version, 481 | but do not include claims that would be infringed only as a 482 | consequence of further modification of the contributor version. For 483 | purposes of this definition, "control" includes the right to grant 484 | patent sublicenses in a manner consistent with the requirements of 485 | this License. 486 | 487 | Each contributor grants you a non-exclusive, worldwide, royalty-free 488 | patent license under the contributor's essential patent claims, to 489 | make, use, sell, offer for sale, import and otherwise run, modify and 490 | propagate the contents of its contributor version. 491 | 492 | In the following three paragraphs, a "patent license" is any express 493 | agreement or commitment, however denominated, not to enforce a patent 494 | (such as an express permission to practice a patent or covenant not to 495 | sue for patent infringement). To "grant" such a patent license to a 496 | party means to make such an agreement or commitment not to enforce a 497 | patent against the party. 498 | 499 | If you convey a covered work, knowingly relying on a patent license, 500 | and the Corresponding Source of the work is not available for anyone 501 | to copy, free of charge and under the terms of this License, through a 502 | publicly available network server or other readily accessible means, 503 | then you must either (1) cause the Corresponding Source to be so 504 | available, or (2) arrange to deprive yourself of the benefit of the 505 | patent license for this particular work, or (3) arrange, in a manner 506 | consistent with the requirements of this License, to extend the patent 507 | license to downstream recipients. "Knowingly relying" means you have 508 | actual knowledge that, but for the patent license, your conveying the 509 | covered work in a country, or your recipient's use of the covered work 510 | in a country, would infringe one or more identifiable patents in that 511 | country that you have reason to believe are valid. 512 | 513 | If, pursuant to or in connection with a single transaction or 514 | arrangement, you convey, or propagate by procuring conveyance of, a 515 | covered work, and grant a patent license to some of the parties 516 | receiving the covered work authorizing them to use, propagate, modify 517 | or convey a specific copy of the covered work, then the patent license 518 | you grant is automatically extended to all recipients of the covered 519 | work and works based on it. 520 | 521 | A patent license is "discriminatory" if it does not include within 522 | the scope of its coverage, prohibits the exercise of, or is 523 | conditioned on the non-exercise of one or more of the rights that are 524 | specifically granted under this License. You may not convey a covered 525 | work if you are a party to an arrangement with a third party that is 526 | in the business of distributing software, under which you make payment 527 | to the third party based on the extent of your activity of conveying 528 | the work, and under which the third party grants, to any of the 529 | parties who would receive the covered work from you, a discriminatory 530 | patent license (a) in connection with copies of the covered work 531 | conveyed by you (or copies made from those copies), or (b) primarily 532 | for and in connection with specific products or compilations that 533 | contain the covered work, unless you entered into that arrangement, 534 | or that patent license was granted, prior to 28 March 2007. 535 | 536 | Nothing in this License shall be construed as excluding or limiting 537 | any implied license or other defenses to infringement that may 538 | otherwise be available to you under applicable patent law. 539 | 540 | 12. No Surrender of Others' Freedom. 541 | 542 | If conditions are imposed on you (whether by court order, agreement or 543 | otherwise) that contradict the conditions of this License, they do not 544 | excuse you from the conditions of this License. If you cannot convey a 545 | covered work so as to satisfy simultaneously your obligations under this 546 | License and any other pertinent obligations, then as a consequence you may 547 | not convey it at all. For example, if you agree to terms that obligate you 548 | to collect a royalty for further conveying from those to whom you convey 549 | the Program, the only way you could satisfy both those terms and this 550 | License would be to refrain entirely from conveying the Program. 551 | 552 | 13. Use with the GNU Affero General Public License. 553 | 554 | Notwithstanding any other provision of this License, you have 555 | permission to link or combine any covered work with a work licensed 556 | under version 3 of the GNU Affero General Public License into a single 557 | combined work, and to convey the resulting work. The terms of this 558 | License will continue to apply to the part which is the covered work, 559 | but the special requirements of the GNU Affero General Public License, 560 | section 13, concerning interaction through a network will apply to the 561 | combination as such. 562 | 563 | 14. Revised Versions of this License. 564 | 565 | The Free Software Foundation may publish revised and/or new versions of 566 | the GNU General Public License from time to time. Such new versions will 567 | be similar in spirit to the present version, but may differ in detail to 568 | address new problems or concerns. 569 | 570 | Each version is given a distinguishing version number. If the 571 | Program specifies that a certain numbered version of the GNU General 572 | Public License "or any later version" applies to it, you have the 573 | option of following the terms and conditions either of that numbered 574 | version or of any later version published by the Free Software 575 | Foundation. If the Program does not specify a version number of the 576 | GNU General Public License, you may choose any version ever published 577 | by the Free Software Foundation. 578 | 579 | If the Program specifies that a proxy can decide which future 580 | versions of the GNU General Public License can be used, that proxy's 581 | public statement of acceptance of a version permanently authorizes you 582 | to choose that version for the Program. 583 | 584 | Later license versions may give you additional or different 585 | permissions. However, no additional obligations are imposed on any 586 | author or copyright holder as a result of your choosing to follow a 587 | later version. 588 | 589 | 15. Disclaimer of Warranty. 590 | 591 | THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY 592 | APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT 593 | HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY 594 | OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, 595 | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 596 | PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM 597 | IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF 598 | ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 599 | 600 | 16. Limitation of Liability. 601 | 602 | IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 603 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS 604 | THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY 605 | GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE 606 | USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF 607 | DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD 608 | PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), 609 | EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF 610 | SUCH DAMAGES. 611 | 612 | 17. Interpretation of Sections 15 and 16. 613 | 614 | If the disclaimer of warranty and limitation of liability provided 615 | above cannot be given local legal effect according to their terms, 616 | reviewing courts shall apply local law that most closely approximates 617 | an absolute waiver of all civil liability in connection with the 618 | Program, unless a warranty or assumption of liability accompanies a 619 | copy of the Program in return for a fee. 620 | 621 | END OF TERMS AND CONDITIONS 622 | 623 | How to Apply These Terms to Your New Programs 624 | 625 | If you develop a new program, and you want it to be of the greatest 626 | possible use to the public, the best way to achieve this is to make it 627 | free software which everyone can redistribute and change under these terms. 628 | 629 | To do so, attach the following notices to the program. It is safest 630 | to attach them to the start of each source file to most effectively 631 | state the exclusion of warranty; and each file should have at least 632 | the "copyright" line and a pointer to where the full notice is found. 633 | 634 | {one line to give the program's name and a brief idea of what it does.} 635 | Copyright (C) {year} {name of author} 636 | 637 | This program is free software: you can redistribute it and/or modify 638 | it under the terms of the GNU General Public License as published by 639 | the Free Software Foundation, either version 3 of the License, or 640 | (at your option) any later version. 641 | 642 | This program is distributed in the hope that it will be useful, 643 | but WITHOUT ANY WARRANTY; without even the implied warranty of 644 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 645 | GNU General Public License for more details. 646 | 647 | You should have received a copy of the GNU General Public License 648 | along with this program. If not, see . 649 | 650 | Also add information on how to contact you by electronic and paper mail. 651 | 652 | If the program does terminal interaction, make it output a short 653 | notice like this when it starts in an interactive mode: 654 | 655 | {project} Copyright (C) {year} {fullname} 656 | This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 657 | This is free software, and you are welcome to redistribute it 658 | under certain conditions; type `show c' for details. 659 | 660 | The hypothetical commands `show w' and `show c' should show the appropriate 661 | parts of the General Public License. Of course, your program's commands 662 | might be different; for a GUI interface, you would use an "about box". 663 | 664 | You should also get your employer (if you work as a programmer) or school, 665 | if any, to sign a "copyright disclaimer" for the program, if necessary. 666 | For more information on this, and how to apply and follow the GNU GPL, see 667 | . 668 | 669 | The GNU General Public License does not permit incorporating your program 670 | into proprietary programs. If your program is a subroutine library, you 671 | may consider it more useful to permit linking proprietary applications with 672 | the library. If this is what you want to do, use the GNU Lesser General 673 | Public License instead of this License. But first, please read 674 | . 675 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Development discontinued - package maintained by Cycling '74 2 | I have officially discontinued further development and maintenance for the Petra package. For this reason, Cycling '74 has taken over maintenance of the repository. Please refer to the official fork at [https://github.com/Cycling74/petra](https://github.com/Cycling74/petra). 3 | 4 | **Matthias W. Müller - [@verenasounds](https://twitter.com/verenasounds) - [www.circuitmusiclabs.com](http://www.circuitmusiclabs.com/)** 5 | 6 | petra is now available in the official Max Package Manager. Just open Max, go to the Package Manager and search for the petra package to download and install. 7 | 8 | **Note:** 9 | This repository might be in active development at any time, so any of the existing branches might be unstable or contain incomplete code. If you're interested in downloading stable code only, please find the latest release [here](https://github.com/CircuitMusicLabs/petra/releases). 10 | 11 | ## Package Description 12 | ### External Objects for Max 13 | petra is a is a collection of external audio objects neatly packed into a Package for Max by [Cycling '74](https://cycling74.com/). It is used for polyphonic granulation of pre-recorded sounds. The package is loosely based on the principle of asynchronous granular synthesis (outlined in Curtis Roads' book [Microsound](https://mitpress.mit.edu/books/microsound)). The objects are made for sample precision granulation of both single- and dual-channel audio files. 14 | 15 | In addition, petra contains an audio object for live input granulation. It makes use of a circular buffer and an adjustable, and optionally randomised, delay control over the duration of the entire buffer. 16 | 17 | All objects share the following controls, which consist of an upper and lower range, from within which a random value is generated for each grain: 18 | 19 | * start position within the selected sample buffer~ object 20 | * grain length 21 | * grain pitch 22 | * panorama position per grain 23 | * gain per grain 24 | 25 | ### Max for Live Device 26 | As of v1.1.0, the petra package will contain a Max for Live Device, which showcases the potential of the external objects: 27 | 28 | ![m4l device](http://circuitmusiclabs.com/wp-content/uploads/petra-m4l-device.png) 29 | 30 | The device uses the `cm.indexcloud~`external object and merely serves as an example of what can be done with the objects contained in the petra package. The device can be found in the [extras](https://github.com/CircuitMusicLabs/petra/blob/master/extras) folder. 31 | 32 | #### How to use the Max for Live Device 33 | Drop the Max for Live Device onto a new MIDI Track in Ableton Live and you are ready to go. 34 | 35 | Descriptions for all parameters can be viewed in the Ableton Live Info View in the bottom left corner of the Live window. Just hover with the mouse over a parameter and the respective description is displayed. 36 | 37 | ## System Requirements for Compiled Externals 38 | * Mac OS 10.9.5 or above or Microsoft Windows 7 or later 39 | * Max 6.1.8 or above (compatible with Max 7 and Max 8) 40 | * Max 32 bit and 64 bit 41 | 42 | ## Installing the Source Code 43 | ### Prerequisites 44 | * [Git](http://git-scm.com/) 45 | * XCode (Mac OS) 46 | * Visual Studio (Windows) 47 | 48 | ### Cloning the Repository 49 | Clone the petra repository via the Terminal using the following commands: 50 | 51 | cd ~/yourdirectory 52 | git clone https://github.com/CircuitMusicLabs/petra 53 | 54 | After you cloned the repository, you have to pull the contents of the Max SDK submodule with the following commands: 55 | 56 | cd petra 57 | git submodule update --init --recursive 58 | 59 | ### Compiling the External Objects (Mac OS) 60 | Go to ~/yourdirectory/petra/source, open the included Xcode projects and compile the externals with via Product > Build (Command-B). 61 | 62 | ### Compiling the External Objects (Windows) 63 | Currently, the repository does not contain preconfigured project files for Visual Studio on Windows. Apparently, managing the locations of the Max SDK include-files is not as straight forward. 64 | 65 | The easiest way to compile the petra external objects on Windows is the following (cm.buffercloud~ object serving as an example): 66 | 67 | 1. Go to \~/yourdirectory/petra/max-sdk/source/audio 68 | 2. Duplicate any one of the project folders (e.g. simplemsp~) and rename this folder into cm.buffercloud~ (do not move) 69 | 3. Enter the cm.buffercloud~ folder and rename the \~.vcxproj file and the \~.c source file into cm.buffercloud~ 70 | 4. Open the \~.vcxproj file with Visual Studio 71 | 5. Replace the contents of the \~.c source file with the contents of the cm.buffercloud\~.c source file contained in \~/yourdirectory/petra/source/cm.buffercloud~ 72 | 6. Build both Release|Win32 and Release|x64 build configurations 73 | 74 | After building, the compiled externals can be found in ~/yourdirectory/petra/max-sdk/externals 75 | 76 | ## Manual Installation 77 | The latest stable release can be installed with the Max Package Manager. However, if you wish to experiment with the source code, you can also install manually. 78 | 79 | #### Installing for Max 6.1 - Mac OS X and Windows 80 | Copy the entire petra repository either into the "packages" folder in your Max installation or into "Max/Packages" in your ~/Documents folder. 81 | 82 | #### Installing for Max 7 - Mac OS X and Windows 83 | Copy the entire petra repository into “Max 7/Packages" in your ~/Documents folder. 84 | 85 | #### Installing for Max 8 - Mac OS X and Windows 86 | Copy the entire petra repository into “Max 8/Packages" in your ~/Documents folder. 87 | 88 | ## How to use petra 89 | After installing, open the [petra_overview.maxpat](https://github.com/CircuitMusicLabs/petra/blob/master/extras/petra_overview.maxpat) file. It contains the entire documentation and links to all object helpfiles. 90 | -------------------------------------------------------------------------------- /docs/cm.buffercloud~.maxref.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Buffer based window polyphonic granular synthesizer 8 | 9 | 10 | cm.buffercloud~ by circuit.music.labs is a polyphonic granulator object for granulation of mono and stereo audio files loaded into a buffer~ object. It uses a windowing function loaded into a buffer~ object. 11 | 12 | 13 | 14 | 15 | circuit.music.labs 16 | 17 | 18 | Max 19 | 20 | 21 | MSP Sampling 22 | 23 | 24 | TEXT_HERE 25 | 26 | 27 | TEXT_HERE 28 | 29 | 30 | 31 | 32 | 33 | 34 | trigger inlet 35 | 36 | 37 | Signal inlet used for triggering new grains 38 | 39 | 40 | 41 | 42 | min start position 43 | 44 | 45 | Minimum start position value in ms 46 | 47 | 48 | 49 | 50 | max start position 51 | 52 | 53 | Maximum start position value in ms 54 | 55 | 56 | 57 | 58 | min grain length 59 | 60 | 61 | Minimum grain length in ms 62 | 63 | 64 | 65 | 66 | max grain length 67 | 68 | 69 | Maximum grain length in ms 70 | 71 | 72 | 73 | 74 | min pitch 75 | 76 | 77 | Minimum pitch value 78 | 79 | 80 | 81 | 82 | max pitch 83 | 84 | 85 | Maximum pitch value 86 | 87 | 88 | 89 | 90 | min pan 91 | 92 | 93 | Minimum pan value 94 | 95 | 96 | 97 | 98 | max pan 99 | 100 | 101 | Maximum pan value 102 | 103 | 104 | 105 | 106 | min gain 107 | 108 | 109 | Minimum gain value 110 | 111 | 112 | 113 | 114 | max gain 115 | 116 | 117 | Maximum gain value 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | Signal output left 126 | 127 | 128 | 129 | 130 | 131 | 132 | Signal output right 133 | 134 | 135 | 136 | 137 | 138 | 139 | Number of currently playing grains 140 | 141 | 142 | 143 | 144 | 145 | 146 | Bang when preview completed 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | Sample buffer reference 157 | 158 | 159 | Name of the buffer~ used for playback. 160 | 161 | 162 | 163 | 164 | Window buffer reference 165 | 166 | 167 | Name of the buffer~ used for the grain window. 168 | 169 | 170 | 171 | 172 | Maximum size of grain cloud 173 | 174 | 175 | Maximum number of overlapping grains. 176 | 177 | 178 | 179 | 180 | Maximum grain length 181 | 182 | 183 | Maximum length of grains in ms. 184 | 185 | 186 | 187 | 188 | 189 | 190 | 191 | 192 | 193 | 194 | 195 | Sets the buffer references 196 | 197 | 198 | Specifies the sample and window buffer references. 199 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | Maximum size of grain cloud 207 | 208 | 209 | Specifies the new maximum size of the grain cloud and resizes allocated memory. The supplied value must be a positive integer. 210 | 211 | 212 | 213 | 214 | 215 | 216 | 217 | Maximum grain length 218 | 219 | 220 | Specifies the new maximum grain length and resizes allocated memory. The supplied value must be a positive integer. 221 | 222 | 223 | 224 | 225 | 226 | 227 | 228 | List of pitch values 229 | 230 | 231 | When provided, the object randomly selects pitch values from the list and the object inlets for minimum and maximum pitch will be ignored. Supply a single zero value to deactivate pitch list processing. 232 | 233 | 234 | 235 | 236 | 237 | 238 | 239 | Starts and stops preview of the sample loaded into the buffer~ object. 240 | 241 | 242 | Int value larger than zero starts preview playback. Int value zero stops preview playback. 243 | 244 | 245 | 246 | 247 | 248 | 249 | 250 | Multi-channel playback on/off 251 | 252 | 253 | Activates and deactivates stereo playback of multi-channel files loaded into the sample buffer. 254 | 255 | 256 | 257 | 258 | 259 | 260 | 261 | Window interpolation on/off 262 | 263 | 264 | Activates and deactivates window sample interpolation. 265 | 266 | 267 | 268 | 269 | 270 | 271 | 272 | Sample interpolation on/off 273 | 274 | 275 | Activates and deactivates buffer sample interpolation. 276 | 277 | 278 | 279 | 280 | 281 | 282 | 283 | Zero crossing trigger mode on/off 284 | 285 | 286 | Activates and deactivates zero crossing trigger mode. 287 | 288 | 289 | 290 | 291 | 292 | 293 | 294 | Reverse grain playback mode 295 | 296 | 297 | Sets the reverse grain playback mode. 298 | 299 | 300 | 301 | 302 | 303 | 304 | 305 | Forward grain playback 306 | 307 | 308 | TEXT_HERE 309 | 310 | 311 | 312 | 313 | Reverse grain playback 314 | 315 | 316 | TEXT_HERE 317 | 318 | 319 | 320 | 321 | Randomly alternating between reverse and forward grain playback 322 | 323 | 324 | TEXT_HERE 325 | 326 | 327 | 328 | 329 | Forward playback when value for min/max offset increasing, reverse playback when value for min/max offset decreasing 330 | 331 | 332 | TEXT_HERE 333 | 334 | 335 | 336 | 337 | 338 | 339 | 340 | 341 | 342 | 343 | 344 | Signal outlet for left channel. 345 | 346 | 347 | 348 | 349 | Signal outlet for right channel. 350 | 351 | 352 | 353 | 354 | Number of currently playing grains. 355 | 356 | 357 | 358 | 359 | "preview" message when preview is completed. "resize" message when internal grain buffer resize is completed. 360 | 361 | 362 | 363 | 364 | -------------------------------------------------------------------------------- /docs/cm.gausscloud~.maxref.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Gaussian window polyphonic granular synthesizer 8 | 9 | 10 | cm.gausscloud~ by circuit.music.labs is a polyphonic granulator object for granulation of mono and stereo audio files loaded into a buffer~ object. It uses a gaussian windowing function calculated inside the external itself. The shape of the gaussian window can be freely manipulated in real time and per grain with the min/max alpha value object inlets. 11 | 12 | 13 | 14 | 15 | circuit.music.labs 16 | 17 | 18 | Max 19 | 20 | 21 | MSP Sampling 22 | 23 | 24 | TEXT_HERE 25 | 26 | 27 | TEXT_HERE 28 | 29 | 30 | 31 | 32 | 33 | 34 | trigger inlet 35 | 36 | 37 | Signal inlet used for triggering new grains 38 | 39 | 40 | 41 | 42 | min start position 43 | 44 | 45 | Minimum start position value in ms 46 | 47 | 48 | 49 | 50 | max start position 51 | 52 | 53 | Maximum start position value in ms 54 | 55 | 56 | 57 | 58 | min grain length 59 | 60 | 61 | Minimum grain length in ms 62 | 63 | 64 | 65 | 66 | max grain length 67 | 68 | 69 | Maximum grain length in ms 70 | 71 | 72 | 73 | 74 | min pitch 75 | 76 | 77 | Minimum pitch value 78 | 79 | 80 | 81 | 82 | max pitch 83 | 84 | 85 | Maximum pitch value 86 | 87 | 88 | 89 | 90 | min pan 91 | 92 | 93 | Minimum pan value 94 | 95 | 96 | 97 | 98 | max pan 99 | 100 | 101 | Maximum pan value 102 | 103 | 104 | 105 | 106 | min gain 107 | 108 | 109 | Minimum gain value 110 | 111 | 112 | 113 | 114 | max gain 115 | 116 | 117 | Maximum gain value 118 | 119 | 120 | 121 | 122 | min alpha 123 | 124 | 125 | Minimum alpha value 126 | 127 | 128 | 129 | 130 | max alpha 131 | 132 | 133 | Maximum alpha value 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | Signal output left 142 | 143 | 144 | 145 | 146 | 147 | 148 | Signal output right 149 | 150 | 151 | 152 | 153 | 154 | 155 | Number of currently playing grains 156 | 157 | 158 | 159 | 160 | 161 | 162 | Bang when preview completed 163 | 164 | 165 | 166 | 167 | 168 | 169 | 170 | 171 | 172 | Sample buffer reference 173 | 174 | 175 | Name of the buffer~ used for playback. 176 | 177 | 178 | 179 | 180 | Maximum size of grain cloud 181 | 182 | 183 | Maximum number of overlapping grains. 184 | 185 | 186 | 187 | 188 | Maximum grain length 189 | 190 | 191 | Maximum length of grains in ms. 192 | 193 | 194 | 195 | 196 | 197 | 198 | 199 | 200 | 201 | 202 | 203 | Sets the buffer references 204 | 205 | 206 | Specifies the sample and window buffer references. 207 | 208 | 209 | 210 | 211 | 212 | 213 | 214 | Maximum size of grain cloud 215 | 216 | 217 | Specifies the new maximum size of the grain cloud and resizes allocated memory. The supplied value must be a positive integer. 218 | 219 | 220 | 221 | 222 | 223 | 224 | 225 | Maximum grain length 226 | 227 | 228 | Specifies the new maximum grain length and resizes allocated memory. The supplied value must be a positive integer. 229 | 230 | 231 | 232 | 233 | 234 | 235 | 236 | List of pitch values 237 | 238 | 239 | When provided, the object randomly selects pitch values from the list and the object inlets for minimum and maximum pitch will be ignored. Supply a single zero value to deactivate pitch list processing. 240 | 241 | 242 | 243 | 244 | 245 | 246 | 247 | Starts and stops preview of the sample loaded into the buffer~ object. 248 | 249 | 250 | Int value larger than zero starts preview playback. Int value zero stops preview playback. 251 | 252 | 253 | 254 | 255 | 256 | 257 | 258 | Multi-channel playback on/off 259 | 260 | 261 | Activates and deactivates stereo playback of multi-channel files loaded into the sample buffer. 262 | 263 | 264 | 265 | 266 | 267 | 268 | 269 | Sample interpolation on/off 270 | 271 | 272 | Activates and deactivates buffer sample interpolation. 273 | 274 | 275 | 276 | 277 | 278 | 279 | 280 | Zero crossing trigger mode on/off 281 | 282 | 283 | Activates and deactivates zero crossing trigger mode. 284 | 285 | 286 | 287 | 288 | 289 | 290 | 291 | Reverse grain playback mode 292 | 293 | 294 | Sets the reverse grain playback mode. 295 | 296 | 297 | 298 | 299 | 300 | 301 | 302 | Forward grain playback 303 | 304 | 305 | TEXT_HERE 306 | 307 | 308 | 309 | 310 | Reverse grain playback 311 | 312 | 313 | TEXT_HERE 314 | 315 | 316 | 317 | 318 | Randomly alternating between reverse and forward grain playback 319 | 320 | 321 | TEXT_HERE 322 | 323 | 324 | 325 | 326 | Forward playback when value for min/max offset increasing, reverse playback when value for min/max offset decreasing 327 | 328 | 329 | TEXT_HERE 330 | 331 | 332 | 333 | 334 | 335 | 336 | 337 | 338 | 339 | 340 | 341 | Signal outlet for left channel. 342 | 343 | 344 | 345 | 346 | Signal outlet for right channel. 347 | 348 | 349 | 350 | 351 | Number of currently playing grains. 352 | 353 | 354 | 355 | 356 | "preview" message when preview is completed. "resize" message when internal grain buffer resize is completed. 357 | 358 | 359 | 360 | 361 | -------------------------------------------------------------------------------- /docs/cm.indexcloud~.maxref.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Indexed window polyphonic granular synthesizer 8 | 9 | 10 | cm.indexcloud~ by circuit.music.labs is a polyphonic granulator object for granulation of mono and stereo audio files loaded into a buffer~ object. It uses a windowing function calculated inside the external itself. The windowing functions can be accessed with and index number supplied as an argument or with a message. 11 | 12 | 13 | 14 | 15 | circuit.music.labs 16 | 17 | 18 | Max 19 | 20 | 21 | MSP Sampling 22 | 23 | 24 | TEXT_HERE 25 | 26 | 27 | TEXT_HERE 28 | 29 | 30 | 31 | 32 | 33 | 34 | trigger inlet 35 | 36 | 37 | Signal inlet used for triggering new grains 38 | 39 | 40 | 41 | 42 | min start position 43 | 44 | 45 | Minimum start position value in ms 46 | 47 | 48 | 49 | 50 | max start position 51 | 52 | 53 | Maximum start position value in ms 54 | 55 | 56 | 57 | 58 | min grain length 59 | 60 | 61 | Minimum grain length in ms 62 | 63 | 64 | 65 | 66 | max grain length 67 | 68 | 69 | Maximum grain length in ms 70 | 71 | 72 | 73 | 74 | min pitch 75 | 76 | 77 | Minimum pitch value 78 | 79 | 80 | 81 | 82 | max pitch 83 | 84 | 85 | Maximum pitch value 86 | 87 | 88 | 89 | 90 | min pan 91 | 92 | 93 | Minimum pan value 94 | 95 | 96 | 97 | 98 | max pan 99 | 100 | 101 | Maximum pan value 102 | 103 | 104 | 105 | 106 | min gain 107 | 108 | 109 | Minimum gain value 110 | 111 | 112 | 113 | 114 | max gain 115 | 116 | 117 | Maximum gain value 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | Signal output left 126 | 127 | 128 | 129 | 130 | 131 | 132 | Signal output right 133 | 134 | 135 | 136 | 137 | 138 | 139 | Number of currently playing grains 140 | 141 | 142 | 143 | 144 | 145 | 146 | Bang when preview completed 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | Sample buffer reference 157 | 158 | 159 | Name of the buffer used for playback. 160 | 161 | 162 | 163 | 164 | Maximum size of grain cloud 165 | 166 | 167 | Maximum number of overlapping grains. 168 | 169 | 170 | 171 | 172 | Maximum grain length 173 | 174 | 175 | Maximum length of grains in ms. 176 | 177 | 178 | 179 | 180 | 181 | 182 | 183 | 184 | 185 | 186 | Sets the buffer references 187 | 188 | 189 | Specifies the sample buffer reference. 190 | 191 | 192 | 193 | 194 | 195 | 196 | 197 | Maximum size of grain cloud 198 | 199 | 200 | Specifies the new maximum size of the grain cloud and resizes allocated memory. The supplied value must be a positive integer. 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | Maximum grain length 209 | 210 | 211 | Specifies the new maximum grain length and resizes allocated memory. The supplied value must be a positive integer. 212 | 213 | 214 | 215 | 216 | 217 | 218 | 219 | Sets the window type 220 | 221 | 222 | Specifies the type of the window buffer. See the helpfile for a detailed specification of index values. 223 | 224 | 225 | 226 | 227 | 228 | 229 | 230 | Sets the length of the window buffer. 231 | 232 | 233 | Specifies the length of the window buffer in number of samples. Minimum value is 16 samples. 234 | 235 | 236 | 237 | 238 | 239 | 240 | 241 | List of pitch values 242 | 243 | 244 | When provided, the object randomly selects pitch values from the list and the object inlets for minimum and maximum pitch will be ignored. Supply a single zero value to deactivate pitch list processing. 245 | 246 | 247 | 248 | 249 | 250 | 251 | 252 | Starts and stops preview of the sample loaded into the buffer~ object. 253 | 254 | 255 | Int value larger than zero starts preview playback. Int value zero stops preview playback. 256 | 257 | 258 | 259 | 260 | 261 | 262 | 263 | Multi-channel playback on/off 264 | 265 | 266 | Activates and deactivates stereo playback of multi-channel files loaded into the sample buffer. 267 | 268 | 269 | 270 | 271 | 272 | 273 | 274 | Window interpolation on/off 275 | 276 | 277 | Activates and deactivates window sample interpolation. 278 | 279 | 280 | 281 | 282 | 283 | 284 | 285 | Sample interpolation on/off 286 | 287 | 288 | Activates and deactivates buffer sample interpolation. 289 | 290 | 291 | 292 | 293 | 294 | 295 | 296 | Zero crossing trigger mode on/off 297 | 298 | 299 | Activates and deactivates zero crossing trigger mode. 300 | 301 | 302 | 303 | 304 | 305 | 306 | 307 | Reverse grain playback mode 308 | 309 | 310 | Sets the reverse grain playback mode. 311 | 312 | 313 | 314 | 315 | 316 | 317 | 318 | Forward grain playback 319 | 320 | 321 | TEXT_HERE 322 | 323 | 324 | 325 | 326 | Reverse grain playback 327 | 328 | 329 | TEXT_HERE 330 | 331 | 332 | 333 | 334 | Randomly alternating between reverse and forward grain playback 335 | 336 | 337 | TEXT_HERE 338 | 339 | 340 | 341 | 342 | Forward playback when value for min/max offset increasing, reverse playback when value for min/max offset decreasing 343 | 344 | 345 | TEXT_HERE 346 | 347 | 348 | 349 | 350 | 351 | 352 | 353 | 354 | 355 | 356 | 357 | Signal outlet for left channel. 358 | 359 | 360 | 361 | 362 | Signal outlet for right channel. 363 | 364 | 365 | 366 | 367 | Number of currently playing grains. 368 | 369 | 370 | 371 | 372 | "preview" message when preview is completed. "resize" message when internal grain buffer resize is completed. 373 | 374 | 375 | 376 | 377 | -------------------------------------------------------------------------------- /docs/cm.livecloud~.maxref.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Real time live polyphonic granular synthesizer 8 | 9 | 10 | cm.livecloud~ by circuit.music.labs is a polyphonic granulator object that records incoming audio into an internal circular buffer. Any signal can be granulated in real time with adjustable delay. The object uses a windowing function loaded into a buffer~ object. 11 | 12 | 13 | 14 | 15 | circuit.music.labs 16 | 17 | 18 | Max 19 | 20 | 21 | MSP Sampling 22 | 23 | 24 | TEXT_HERE 25 | 26 | 27 | TEXT_HERE 28 | 29 | 30 | 31 | 32 | 33 | 34 | trigger inlet 35 | 36 | 37 | Signal inlet used for triggering new grains 38 | 39 | 40 | 41 | 42 | audio input 43 | 44 | 45 | Audio signal input to record into internal circular buffer 46 | 47 | 48 | 49 | 50 | delay 51 | 52 | 53 | Delay value in ms 54 | 55 | 56 | 57 | 58 | min grain length 59 | 60 | 61 | Minimum grain length in ms 62 | 63 | 64 | 65 | 66 | max grain length 67 | 68 | 69 | Maximum grain length in ms 70 | 71 | 72 | 73 | 74 | min pitch 75 | 76 | 77 | Minimum pitch value 78 | 79 | 80 | 81 | 82 | max pitch 83 | 84 | 85 | Maximum pitch value 86 | 87 | 88 | 89 | 90 | min pan 91 | 92 | 93 | Minimum pan value 94 | 95 | 96 | 97 | 98 | max pan 99 | 100 | 101 | Maximum pan value 102 | 103 | 104 | 105 | 106 | min gain 107 | 108 | 109 | Minimum gain value 110 | 111 | 112 | 113 | 114 | max gain 115 | 116 | 117 | Maximum gain value 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | Signal output left 126 | 127 | 128 | 129 | 130 | 131 | 132 | Signal output right 133 | 134 | 135 | 136 | 137 | 138 | 139 | Current record position (ms) 140 | 141 | 142 | 143 | 144 | 145 | 146 | Number of currently playing grains 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | Window buffer reference 157 | 158 | 159 | Name of the buffer used for the grain window. 160 | 161 | 162 | 163 | 164 | Maximum size of grain cloud 165 | 166 | 167 | Maximum number of overlapping grains. 168 | 169 | 170 | 171 | 172 | Maximum grain length 173 | 174 | 175 | Maximum length of grains in ms. 176 | 177 | 178 | 179 | 180 | Length of circular buffer (ms) 181 | 182 | 183 | Specifies the length of the internal circular buffer (ms). 184 | 185 | 186 | 187 | 188 | 189 | 190 | 191 | 192 | 193 | 194 | Sets the window buffer reference 195 | 196 | 197 | Specifies the window buffer reference. 198 | 199 | 200 | 201 | 202 | 203 | 204 | 205 | Maximum size of grain cloud 206 | 207 | 208 | Specifies the new maximum size of the grain cloud and resizes allocated memory. The supplied value must be a positive integer. 209 | 210 | 211 | 212 | 213 | 214 | 215 | 216 | Maximum grain length 217 | 218 | 219 | Specifies the new maximum grain length and resizes allocated memory. The supplied value must be a positive integer. 220 | 221 | 222 | 223 | 224 | 225 | 226 | 227 | Start/stop recording into circular buffer 228 | 229 | 230 | Value > 0 starts recording into the circular buffer. Value < 1 stops recording into the circular buffer. 231 | 232 | 233 | 234 | 235 | 236 | 237 | 238 | Size of internal circular buffer (ms) 239 | 240 | 241 | Specifies the new length of the internal circular buffer and resizes allocated memory. The supplied value must be a positive integer. 242 | 243 | 244 | 245 | 246 | 247 | 248 | 249 | List of pitch values 250 | 251 | 252 | When provided, the object randomly selects pitch values from the list and the object inlets for minimum and maximum pitch will be ignored. Supply a single zero value to deactivate pitch list processing. 253 | 254 | 255 | 256 | 257 | 258 | 259 | 260 | Window interpolation on/off 261 | 262 | 263 | Activates and deactivates window sample interpolation. 264 | 265 | 266 | 267 | 268 | 269 | 270 | 271 | Sample interpolation on/off 272 | 273 | 274 | Activates and deactivates buffer sample interpolation. 275 | 276 | 277 | 278 | 279 | 280 | 281 | 282 | Zero crossing trigger mode on/off 283 | 284 | 285 | Activates and deactivates zero crossing trigger mode. 286 | 287 | 288 | 289 | 290 | 291 | 292 | 293 | Reverse grain playback mode 294 | 295 | 296 | Sets the reverse grain playback mode. 297 | 298 | 299 | 300 | 301 | 302 | 303 | 304 | Forward grain playback 305 | 306 | 307 | TEXT_HERE 308 | 309 | 310 | 311 | 312 | Reverse grain playback 313 | 314 | 315 | TEXT_HERE 316 | 317 | 318 | 319 | 320 | Randomly alternating between reverse and forward grain playback 321 | 322 | 323 | TEXT_HERE 324 | 325 | 326 | 327 | 328 | Forward playback when value for min/max delay decreasing, reverse playback when value for min/max delay increasing 329 | 330 | 331 | TEXT_HERE 332 | 333 | 334 | 335 | 336 | 337 | 338 | 339 | 340 | 341 | 342 | 343 | Signal outlet for left channel. 344 | 345 | 346 | 347 | 348 | Signal outlet for right channel. 349 | 350 | 351 | 352 | 353 | Current recording position in the circular buffer. 354 | 355 | 356 | 357 | 358 | "preview" message when preview is completed. "resize" message when internal grain buffer resize is completed. 359 | 360 | 361 | 362 | 363 | -------------------------------------------------------------------------------- /externals/cm.buffercloud~.mxe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CircuitMusicLabs/petra/c67d27fb7abce058ad3f75cf9874b546cb3e1572/externals/cm.buffercloud~.mxe -------------------------------------------------------------------------------- /externals/cm.buffercloud~.mxe64: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CircuitMusicLabs/petra/c67d27fb7abce058ad3f75cf9874b546cb3e1572/externals/cm.buffercloud~.mxe64 -------------------------------------------------------------------------------- /externals/cm.buffercloud~.mxo/Contents/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | BuildMachineOSBuild 6 | 16G2128 7 | CFBundleDevelopmentRegion 8 | English 9 | CFBundleExecutable 10 | cm.buffercloud~ 11 | CFBundleIdentifier 12 | com.cycling74.cm-buffercloud- 13 | CFBundleInfoDictionaryVersion 14 | 7.0.1 15 | CFBundleLongVersionString 16 | cm.buffercloud~ 7.0.1, Copyright 2014 Cycling '74 17 | CFBundlePackageType 18 | iLaX 19 | CFBundleShortVersionString 20 | 7.0.1 21 | CFBundleSignature 22 | max2 23 | CFBundleSupportedPlatforms 24 | 25 | MacOSX 26 | 27 | CFBundleVersion 28 | 7.0.1 29 | CSResourcesFileMapped 30 | 31 | DTCompiler 32 | com.apple.compilers.llvm.clang.1_0 33 | DTPlatformBuild 34 | 8A218a 35 | DTPlatformVersion 36 | GM 37 | DTSDKBuild 38 | 16A300 39 | DTSDKName 40 | macosx10.12 41 | DTXcode 42 | 0800 43 | DTXcodeBuild 44 | 8A218a 45 | 46 | 47 | -------------------------------------------------------------------------------- /externals/cm.buffercloud~.mxo/Contents/MacOS/cm.buffercloud~: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CircuitMusicLabs/petra/c67d27fb7abce058ad3f75cf9874b546cb3e1572/externals/cm.buffercloud~.mxo/Contents/MacOS/cm.buffercloud~ -------------------------------------------------------------------------------- /externals/cm.buffercloud~.mxo/Contents/PkgInfo: -------------------------------------------------------------------------------- 1 | iLaXmax2 -------------------------------------------------------------------------------- /externals/cm.buffercloud~.mxo/Contents/Resources/maxmspsdk.xcconfig: -------------------------------------------------------------------------------- 1 | // Xcode target configuration settings for the Max 6 SDK 2 | // Used as the basis for Xcode projects to build Max externals. 3 | // 4 | // Changes to the settings in this file will be applied to all SDK examples 5 | // To change settings for only one of the examples, override the settings using 6 | // Xcode's target inspector. 7 | // 8 | // by Timothy Place 9 | // Copyright © 2012, Cycling '74 10 | 11 | 12 | // Name & Version 13 | PRODUCT_NAME = $(PROJECT_NAME) 14 | PRODUCT_VERSION = 7.0.1 15 | ARCHS = i386 x86_64 16 | 17 | 18 | // Paths 19 | C74SUPPORT = $(SRCROOT)/../../max-sdk/source/c74support 20 | HEADER_SEARCH_PATHS = "$(C74SUPPORT)/max-includes" "$(C74SUPPORT)/msp-includes" "$(C74SUPPORT)/jit-includes" 21 | FRAMEWORK_SEARCH_PATHS = "$(C74SUPPORT)/max-includes" "$(C74SUPPORT)/msp-includes" "$(C74SUPPORT)/jit-includes" 22 | DSTROOT = $(C74SUPPORT)/../../../externals 23 | // (This next path is relative to DSTROOT) 24 | INSTALL_PATH = / 25 | 26 | 27 | // Special Files 28 | GCC_PREFIX_HEADER = $(C74SUPPORT)/max-includes/macho-prefix.pch 29 | INFOPLIST_FILE = $(C74SUPPORT)/../Info.plist 30 | 31 | 32 | // Architecture and Deployment 33 | ARCHS = i386 x86_64 34 | 35 | // The following section sets the Mac SDK version to be used. 36 | // For most projects this has little to no impact because there are no direct dependencies on OS function calls. 37 | // In those projects with OS function calls, it should be okay to use the most recent SDK version because the 38 | // MACOSX_DEPLOYMENT_TARGET will disable functionality that is unavailable in the older target OS. 39 | // For this reason, the SDKROOT variable is commented out, telling Xcode to use the default (which is the most recent SDK). 40 | // 41 | // SDKROOT = macosx10.6 42 | 43 | MACOSX_DEPLOYMENT_TARGET = 10.7 44 | 45 | 46 | // Compiler Version -- leave them all commented out to get the default version provided by Xcode 47 | // GCC_VERSION = com.apple.compilers.llvmgcc42 48 | // GCC_VERSION = com.apple.compilers.llvm.clang.1_0 49 | 50 | 51 | // Preprocessor Defines 52 | GCC_PREPROCESSOR_DEFINITIONS = "DENORM_WANT_FIX = 1" "NO_TRANSLATION_SUPPORT = 1" 53 | 54 | 55 | // Static Configuration (don't change these) 56 | WRAPPER_EXTENSION = mxo; 57 | WARNING_CFLAGS = -Wmost -Wno-four-char-constants -Wno-unknown-pragmas 58 | DEPLOYMENT_LOCATION = YES 59 | GENERATE_PKGINFO_FILE = YES 60 | 61 | 62 | // Flags to enforce some build-time checks for the symbols used while not actually performing a hard link 63 | C74_SYM_LINKER_FLAGS = @$(C74SUPPORT)/max-includes/c74_linker_flags.txt 64 | 65 | 66 | // hide all symbols by default 67 | // mark a function to be exported with the C74_EXPORT macro 68 | // most likely this will only apply to the ext_main() function which we've already prototyped for you 69 | OTHER_CFLAGS = -fvisibility=hidden 70 | 71 | OTHER_LDFLAGS = -framework MaxAudioAPI -framework JitterAPI $(C74_SYM_LINKER_FLAGS) 72 | -------------------------------------------------------------------------------- /externals/cm.gausscloud~.mxe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CircuitMusicLabs/petra/c67d27fb7abce058ad3f75cf9874b546cb3e1572/externals/cm.gausscloud~.mxe -------------------------------------------------------------------------------- /externals/cm.gausscloud~.mxe64: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CircuitMusicLabs/petra/c67d27fb7abce058ad3f75cf9874b546cb3e1572/externals/cm.gausscloud~.mxe64 -------------------------------------------------------------------------------- /externals/cm.gausscloud~.mxo/Contents/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | BuildMachineOSBuild 6 | 16G2128 7 | CFBundleDevelopmentRegion 8 | English 9 | CFBundleExecutable 10 | cm.gausscloud~ 11 | CFBundleIdentifier 12 | com.cycling74.cm-gausscloud- 13 | CFBundleInfoDictionaryVersion 14 | 7.0.1 15 | CFBundleLongVersionString 16 | cm.gausscloud~ 7.0.1, Copyright 2014 Cycling '74 17 | CFBundlePackageType 18 | iLaX 19 | CFBundleShortVersionString 20 | 7.0.1 21 | CFBundleSignature 22 | max2 23 | CFBundleSupportedPlatforms 24 | 25 | MacOSX 26 | 27 | CFBundleVersion 28 | 7.0.1 29 | CSResourcesFileMapped 30 | 31 | DTCompiler 32 | com.apple.compilers.llvm.clang.1_0 33 | DTPlatformBuild 34 | 8A218a 35 | DTPlatformVersion 36 | GM 37 | DTSDKBuild 38 | 16A300 39 | DTSDKName 40 | macosx10.12 41 | DTXcode 42 | 0800 43 | DTXcodeBuild 44 | 8A218a 45 | 46 | 47 | -------------------------------------------------------------------------------- /externals/cm.gausscloud~.mxo/Contents/MacOS/cm.gausscloud~: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CircuitMusicLabs/petra/c67d27fb7abce058ad3f75cf9874b546cb3e1572/externals/cm.gausscloud~.mxo/Contents/MacOS/cm.gausscloud~ -------------------------------------------------------------------------------- /externals/cm.gausscloud~.mxo/Contents/PkgInfo: -------------------------------------------------------------------------------- 1 | iLaXmax2 -------------------------------------------------------------------------------- /externals/cm.gausscloud~.mxo/Contents/Resources/maxmspsdk.xcconfig: -------------------------------------------------------------------------------- 1 | // Xcode target configuration settings for the Max 6 SDK 2 | // Used as the basis for Xcode projects to build Max externals. 3 | // 4 | // Changes to the settings in this file will be applied to all SDK examples 5 | // To change settings for only one of the examples, override the settings using 6 | // Xcode's target inspector. 7 | // 8 | // by Timothy Place 9 | // Copyright © 2012, Cycling '74 10 | 11 | 12 | // Name & Version 13 | PRODUCT_NAME = $(PROJECT_NAME) 14 | PRODUCT_VERSION = 7.0.1 15 | ARCHS = i386 x86_64 16 | 17 | 18 | // Paths 19 | C74SUPPORT = $(SRCROOT)/../../max-sdk/source/c74support 20 | HEADER_SEARCH_PATHS = "$(C74SUPPORT)/max-includes" "$(C74SUPPORT)/msp-includes" "$(C74SUPPORT)/jit-includes" 21 | FRAMEWORK_SEARCH_PATHS = "$(C74SUPPORT)/max-includes" "$(C74SUPPORT)/msp-includes" "$(C74SUPPORT)/jit-includes" 22 | DSTROOT = $(C74SUPPORT)/../../../externals 23 | // (This next path is relative to DSTROOT) 24 | INSTALL_PATH = / 25 | 26 | 27 | // Special Files 28 | GCC_PREFIX_HEADER = $(C74SUPPORT)/max-includes/macho-prefix.pch 29 | INFOPLIST_FILE = $(C74SUPPORT)/../Info.plist 30 | 31 | 32 | // Architecture and Deployment 33 | ARCHS = i386 x86_64 34 | 35 | // The following section sets the Mac SDK version to be used. 36 | // For most projects this has little to no impact because there are no direct dependencies on OS function calls. 37 | // In those projects with OS function calls, it should be okay to use the most recent SDK version because the 38 | // MACOSX_DEPLOYMENT_TARGET will disable functionality that is unavailable in the older target OS. 39 | // For this reason, the SDKROOT variable is commented out, telling Xcode to use the default (which is the most recent SDK). 40 | // 41 | // SDKROOT = macosx10.6 42 | 43 | MACOSX_DEPLOYMENT_TARGET = 10.7 44 | 45 | 46 | // Compiler Version -- leave them all commented out to get the default version provided by Xcode 47 | // GCC_VERSION = com.apple.compilers.llvmgcc42 48 | // GCC_VERSION = com.apple.compilers.llvm.clang.1_0 49 | 50 | 51 | // Preprocessor Defines 52 | GCC_PREPROCESSOR_DEFINITIONS = "DENORM_WANT_FIX = 1" "NO_TRANSLATION_SUPPORT = 1" 53 | 54 | 55 | // Static Configuration (don't change these) 56 | WRAPPER_EXTENSION = mxo; 57 | WARNING_CFLAGS = -Wmost -Wno-four-char-constants -Wno-unknown-pragmas 58 | DEPLOYMENT_LOCATION = YES 59 | GENERATE_PKGINFO_FILE = YES 60 | 61 | 62 | // Flags to enforce some build-time checks for the symbols used while not actually performing a hard link 63 | C74_SYM_LINKER_FLAGS = @$(C74SUPPORT)/max-includes/c74_linker_flags.txt 64 | 65 | 66 | // hide all symbols by default 67 | // mark a function to be exported with the C74_EXPORT macro 68 | // most likely this will only apply to the ext_main() function which we've already prototyped for you 69 | OTHER_CFLAGS = -fvisibility=hidden 70 | 71 | OTHER_LDFLAGS = -framework MaxAudioAPI -framework JitterAPI $(C74_SYM_LINKER_FLAGS) 72 | -------------------------------------------------------------------------------- /externals/cm.indexcloud~.mxe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CircuitMusicLabs/petra/c67d27fb7abce058ad3f75cf9874b546cb3e1572/externals/cm.indexcloud~.mxe -------------------------------------------------------------------------------- /externals/cm.indexcloud~.mxe64: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CircuitMusicLabs/petra/c67d27fb7abce058ad3f75cf9874b546cb3e1572/externals/cm.indexcloud~.mxe64 -------------------------------------------------------------------------------- /externals/cm.indexcloud~.mxo/Contents/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | BuildMachineOSBuild 6 | 16G2128 7 | CFBundleDevelopmentRegion 8 | English 9 | CFBundleExecutable 10 | cm.indexcloud~ 11 | CFBundleIdentifier 12 | com.cycling74.cm-indexcloud- 13 | CFBundleInfoDictionaryVersion 14 | 7.0.1 15 | CFBundleLongVersionString 16 | cm.indexcloud~ 7.0.1, Copyright 2014 Cycling '74 17 | CFBundlePackageType 18 | iLaX 19 | CFBundleShortVersionString 20 | 7.0.1 21 | CFBundleSignature 22 | max2 23 | CFBundleSupportedPlatforms 24 | 25 | MacOSX 26 | 27 | CFBundleVersion 28 | 7.0.1 29 | CSResourcesFileMapped 30 | 31 | DTCompiler 32 | com.apple.compilers.llvm.clang.1_0 33 | DTPlatformBuild 34 | 8A218a 35 | DTPlatformVersion 36 | GM 37 | DTSDKBuild 38 | 16A300 39 | DTSDKName 40 | macosx10.12 41 | DTXcode 42 | 0800 43 | DTXcodeBuild 44 | 8A218a 45 | 46 | 47 | -------------------------------------------------------------------------------- /externals/cm.indexcloud~.mxo/Contents/MacOS/cm.indexcloud~: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CircuitMusicLabs/petra/c67d27fb7abce058ad3f75cf9874b546cb3e1572/externals/cm.indexcloud~.mxo/Contents/MacOS/cm.indexcloud~ -------------------------------------------------------------------------------- /externals/cm.indexcloud~.mxo/Contents/PkgInfo: -------------------------------------------------------------------------------- 1 | iLaXmax2 -------------------------------------------------------------------------------- /externals/cm.indexcloud~.mxo/Contents/Resources/maxmspsdk.xcconfig: -------------------------------------------------------------------------------- 1 | // Xcode target configuration settings for the Max 6 SDK 2 | // Used as the basis for Xcode projects to build Max externals. 3 | // 4 | // Changes to the settings in this file will be applied to all SDK examples 5 | // To change settings for only one of the examples, override the settings using 6 | // Xcode's target inspector. 7 | // 8 | // by Timothy Place 9 | // Copyright © 2012, Cycling '74 10 | 11 | 12 | // Name & Version 13 | PRODUCT_NAME = $(PROJECT_NAME) 14 | PRODUCT_VERSION = 7.0.1 15 | ARCHS = i386 x86_64 16 | 17 | 18 | // Paths 19 | C74SUPPORT = $(SRCROOT)/../../max-sdk/source/c74support 20 | HEADER_SEARCH_PATHS = "$(C74SUPPORT)/max-includes" "$(C74SUPPORT)/msp-includes" "$(C74SUPPORT)/jit-includes" 21 | FRAMEWORK_SEARCH_PATHS = "$(C74SUPPORT)/max-includes" "$(C74SUPPORT)/msp-includes" "$(C74SUPPORT)/jit-includes" 22 | DSTROOT = $(C74SUPPORT)/../../../externals 23 | // (This next path is relative to DSTROOT) 24 | INSTALL_PATH = / 25 | 26 | 27 | // Special Files 28 | GCC_PREFIX_HEADER = $(C74SUPPORT)/max-includes/macho-prefix.pch 29 | INFOPLIST_FILE = $(C74SUPPORT)/../Info.plist 30 | 31 | 32 | // Architecture and Deployment 33 | ARCHS = i386 x86_64 34 | 35 | // The following section sets the Mac SDK version to be used. 36 | // For most projects this has little to no impact because there are no direct dependencies on OS function calls. 37 | // In those projects with OS function calls, it should be okay to use the most recent SDK version because the 38 | // MACOSX_DEPLOYMENT_TARGET will disable functionality that is unavailable in the older target OS. 39 | // For this reason, the SDKROOT variable is commented out, telling Xcode to use the default (which is the most recent SDK). 40 | // 41 | // SDKROOT = macosx10.6 42 | 43 | MACOSX_DEPLOYMENT_TARGET = 10.7 44 | 45 | 46 | // Compiler Version -- leave them all commented out to get the default version provided by Xcode 47 | // GCC_VERSION = com.apple.compilers.llvmgcc42 48 | // GCC_VERSION = com.apple.compilers.llvm.clang.1_0 49 | 50 | 51 | // Preprocessor Defines 52 | GCC_PREPROCESSOR_DEFINITIONS = "DENORM_WANT_FIX = 1" "NO_TRANSLATION_SUPPORT = 1" 53 | 54 | 55 | // Static Configuration (don't change these) 56 | WRAPPER_EXTENSION = mxo; 57 | WARNING_CFLAGS = -Wmost -Wno-four-char-constants -Wno-unknown-pragmas 58 | DEPLOYMENT_LOCATION = YES 59 | GENERATE_PKGINFO_FILE = YES 60 | 61 | 62 | // Flags to enforce some build-time checks for the symbols used while not actually performing a hard link 63 | C74_SYM_LINKER_FLAGS = @$(C74SUPPORT)/max-includes/c74_linker_flags.txt 64 | 65 | 66 | // hide all symbols by default 67 | // mark a function to be exported with the C74_EXPORT macro 68 | // most likely this will only apply to the ext_main() function which we've already prototyped for you 69 | OTHER_CFLAGS = -fvisibility=hidden 70 | 71 | OTHER_LDFLAGS = -framework MaxAudioAPI -framework JitterAPI $(C74_SYM_LINKER_FLAGS) 72 | -------------------------------------------------------------------------------- /externals/cm.livecloud~.mxe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CircuitMusicLabs/petra/c67d27fb7abce058ad3f75cf9874b546cb3e1572/externals/cm.livecloud~.mxe -------------------------------------------------------------------------------- /externals/cm.livecloud~.mxe64: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CircuitMusicLabs/petra/c67d27fb7abce058ad3f75cf9874b546cb3e1572/externals/cm.livecloud~.mxe64 -------------------------------------------------------------------------------- /externals/cm.livecloud~.mxo/Contents/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | BuildMachineOSBuild 6 | 16G2128 7 | CFBundleDevelopmentRegion 8 | English 9 | CFBundleExecutable 10 | cm.livecloud~ 11 | CFBundleIdentifier 12 | com.cycling74.cm-livecloud- 13 | CFBundleInfoDictionaryVersion 14 | 7.0.1 15 | CFBundleLongVersionString 16 | cm.livecloud~ 7.0.1, Copyright 2014 Cycling '74 17 | CFBundlePackageType 18 | iLaX 19 | CFBundleShortVersionString 20 | 7.0.1 21 | CFBundleSignature 22 | max2 23 | CFBundleSupportedPlatforms 24 | 25 | MacOSX 26 | 27 | CFBundleVersion 28 | 7.0.1 29 | CSResourcesFileMapped 30 | 31 | DTCompiler 32 | com.apple.compilers.llvm.clang.1_0 33 | DTPlatformBuild 34 | 8A218a 35 | DTPlatformVersion 36 | GM 37 | DTSDKBuild 38 | 16A300 39 | DTSDKName 40 | macosx10.12 41 | DTXcode 42 | 0800 43 | DTXcodeBuild 44 | 8A218a 45 | 46 | 47 | -------------------------------------------------------------------------------- /externals/cm.livecloud~.mxo/Contents/MacOS/cm.livecloud~: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CircuitMusicLabs/petra/c67d27fb7abce058ad3f75cf9874b546cb3e1572/externals/cm.livecloud~.mxo/Contents/MacOS/cm.livecloud~ -------------------------------------------------------------------------------- /externals/cm.livecloud~.mxo/Contents/PkgInfo: -------------------------------------------------------------------------------- 1 | iLaXmax2 -------------------------------------------------------------------------------- /externals/cm.livecloud~.mxo/Contents/Resources/maxmspsdk.xcconfig: -------------------------------------------------------------------------------- 1 | // Xcode target configuration settings for the Max 6 SDK 2 | // Used as the basis for Xcode projects to build Max externals. 3 | // 4 | // Changes to the settings in this file will be applied to all SDK examples 5 | // To change settings for only one of the examples, override the settings using 6 | // Xcode's target inspector. 7 | // 8 | // by Timothy Place 9 | // Copyright © 2012, Cycling '74 10 | 11 | 12 | // Name & Version 13 | PRODUCT_NAME = $(PROJECT_NAME) 14 | PRODUCT_VERSION = 7.0.1 15 | ARCHS = i386 x86_64 16 | 17 | 18 | // Paths 19 | C74SUPPORT = $(SRCROOT)/../../max-sdk/source/c74support 20 | HEADER_SEARCH_PATHS = "$(C74SUPPORT)/max-includes" "$(C74SUPPORT)/msp-includes" "$(C74SUPPORT)/jit-includes" 21 | FRAMEWORK_SEARCH_PATHS = "$(C74SUPPORT)/max-includes" "$(C74SUPPORT)/msp-includes" "$(C74SUPPORT)/jit-includes" 22 | DSTROOT = $(C74SUPPORT)/../../../externals 23 | // (This next path is relative to DSTROOT) 24 | INSTALL_PATH = / 25 | 26 | 27 | // Special Files 28 | GCC_PREFIX_HEADER = $(C74SUPPORT)/max-includes/macho-prefix.pch 29 | INFOPLIST_FILE = $(C74SUPPORT)/../Info.plist 30 | 31 | 32 | // Architecture and Deployment 33 | ARCHS = i386 x86_64 34 | 35 | // The following section sets the Mac SDK version to be used. 36 | // For most projects this has little to no impact because there are no direct dependencies on OS function calls. 37 | // In those projects with OS function calls, it should be okay to use the most recent SDK version because the 38 | // MACOSX_DEPLOYMENT_TARGET will disable functionality that is unavailable in the older target OS. 39 | // For this reason, the SDKROOT variable is commented out, telling Xcode to use the default (which is the most recent SDK). 40 | // 41 | // SDKROOT = macosx10.6 42 | 43 | MACOSX_DEPLOYMENT_TARGET = 10.7 44 | 45 | 46 | // Compiler Version -- leave them all commented out to get the default version provided by Xcode 47 | // GCC_VERSION = com.apple.compilers.llvmgcc42 48 | // GCC_VERSION = com.apple.compilers.llvm.clang.1_0 49 | 50 | 51 | // Preprocessor Defines 52 | GCC_PREPROCESSOR_DEFINITIONS = "DENORM_WANT_FIX = 1" "NO_TRANSLATION_SUPPORT = 1" 53 | 54 | 55 | // Static Configuration (don't change these) 56 | WRAPPER_EXTENSION = mxo; 57 | WARNING_CFLAGS = -Wmost -Wno-four-char-constants -Wno-unknown-pragmas 58 | DEPLOYMENT_LOCATION = YES 59 | GENERATE_PKGINFO_FILE = YES 60 | 61 | 62 | // Flags to enforce some build-time checks for the symbols used while not actually performing a hard link 63 | C74_SYM_LINKER_FLAGS = @$(C74SUPPORT)/max-includes/c74_linker_flags.txt 64 | 65 | 66 | // hide all symbols by default 67 | // mark a function to be exported with the C74_EXPORT macro 68 | // most likely this will only apply to the ext_main() function which we've already prototyped for you 69 | OTHER_CFLAGS = -fvisibility=hidden 70 | 71 | OTHER_LDFLAGS = -framework MaxAudioAPI -framework JitterAPI $(C74_SYM_LINKER_FLAGS) 72 | -------------------------------------------------------------------------------- /extras/petra for live.amxd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CircuitMusicLabs/petra/c67d27fb7abce058ad3f75cf9874b546cb3e1572/extras/petra for live.amxd -------------------------------------------------------------------------------- /extras/petra_overview.maxpat: -------------------------------------------------------------------------------- 1 | { 2 | "patcher" : { 3 | "fileversion" : 1, 4 | "appversion" : { 5 | "major" : 8, 6 | "minor" : 0, 7 | "revision" : 8, 8 | "architecture" : "x64", 9 | "modernui" : 1 10 | } 11 | , 12 | "classnamespace" : "box", 13 | "rect" : [ 310.0, 121.0, 988.0, 719.0 ], 14 | "bglocked" : 0, 15 | "openinpresentation" : 0, 16 | "default_fontsize" : 12.0, 17 | "default_fontface" : 0, 18 | "default_fontname" : "Arial", 19 | "gridonopen" : 1, 20 | "gridsize" : [ 15.0, 15.0 ], 21 | "gridsnaponopen" : 1, 22 | "objectsnaponopen" : 1, 23 | "statusbarvisible" : 2, 24 | "toolbarvisible" : 1, 25 | "lefttoolbarpinned" : 0, 26 | "toptoolbarpinned" : 0, 27 | "righttoolbarpinned" : 0, 28 | "bottomtoolbarpinned" : 0, 29 | "toolbars_unpinned_last_save" : 15, 30 | "tallnewobj" : 0, 31 | "boxanimatetime" : 200, 32 | "enablehscroll" : 1, 33 | "enablevscroll" : 1, 34 | "devicewidth" : 0.0, 35 | "description" : "", 36 | "digest" : "", 37 | "tags" : "", 38 | "style" : "", 39 | "subpatcher_template" : "", 40 | "boxes" : [ { 41 | "box" : { 42 | "hidden" : 1, 43 | "id" : "obj-39", 44 | "maxclass" : "newobj", 45 | "numinlets" : 1, 46 | "numoutlets" : 0, 47 | "patcher" : { 48 | "fileversion" : 1, 49 | "appversion" : { 50 | "major" : 8, 51 | "minor" : 0, 52 | "revision" : 8, 53 | "architecture" : "x64", 54 | "modernui" : 1 55 | } 56 | , 57 | "classnamespace" : "box", 58 | "rect" : [ 0.0, 0.0, 640.0, 480.0 ], 59 | "bglocked" : 0, 60 | "openinpresentation" : 0, 61 | "default_fontsize" : 12.0, 62 | "default_fontface" : 0, 63 | "default_fontname" : "Arial", 64 | "gridonopen" : 1, 65 | "gridsize" : [ 15.0, 15.0 ], 66 | "gridsnaponopen" : 1, 67 | "objectsnaponopen" : 1, 68 | "statusbarvisible" : 2, 69 | "toolbarvisible" : 1, 70 | "lefttoolbarpinned" : 0, 71 | "toptoolbarpinned" : 0, 72 | "righttoolbarpinned" : 0, 73 | "bottomtoolbarpinned" : 0, 74 | "toolbars_unpinned_last_save" : 0, 75 | "tallnewobj" : 0, 76 | "boxanimatetime" : 200, 77 | "enablehscroll" : 1, 78 | "enablevscroll" : 1, 79 | "devicewidth" : 0.0, 80 | "description" : "", 81 | "digest" : "", 82 | "tags" : "", 83 | "style" : "", 84 | "subpatcher_template" : "", 85 | "boxes" : [ { 86 | "box" : { 87 | "hidden" : 1, 88 | "id" : "obj-31", 89 | "maxclass" : "message", 90 | "numinlets" : 2, 91 | "numoutlets" : 1, 92 | "outlettype" : [ "" ], 93 | "patching_rect" : [ 50.0, 100.0, 35.0, 22.0 ], 94 | "text" : "front" 95 | } 96 | 97 | } 98 | , { 99 | "box" : { 100 | "hidden" : 1, 101 | "id" : "obj-29", 102 | "maxclass" : "newobj", 103 | "numinlets" : 1, 104 | "numoutlets" : 0, 105 | "patcher" : { 106 | "fileversion" : 1, 107 | "appversion" : { 108 | "major" : 8, 109 | "minor" : 0, 110 | "revision" : 8, 111 | "architecture" : "x64", 112 | "modernui" : 1 113 | } 114 | , 115 | "classnamespace" : "box", 116 | "rect" : [ 475.0, 198.0, 713.0, 697.0 ], 117 | "bglocked" : 0, 118 | "openinpresentation" : 0, 119 | "default_fontsize" : 12.0, 120 | "default_fontface" : 0, 121 | "default_fontname" : "Arial", 122 | "gridonopen" : 1, 123 | "gridsize" : [ 15.0, 15.0 ], 124 | "gridsnaponopen" : 1, 125 | "objectsnaponopen" : 1, 126 | "statusbarvisible" : 2, 127 | "toolbarvisible" : 1, 128 | "lefttoolbarpinned" : 0, 129 | "toptoolbarpinned" : 0, 130 | "righttoolbarpinned" : 0, 131 | "bottomtoolbarpinned" : 0, 132 | "toolbars_unpinned_last_save" : 15, 133 | "tallnewobj" : 0, 134 | "boxanimatetime" : 200, 135 | "enablehscroll" : 1, 136 | "enablevscroll" : 1, 137 | "devicewidth" : 0.0, 138 | "description" : "", 139 | "digest" : "", 140 | "tags" : "", 141 | "style" : "", 142 | "subpatcher_template" : "", 143 | "boxes" : [ { 144 | "box" : { 145 | "id" : "obj-37", 146 | "linecount" : 4, 147 | "maxclass" : "comment", 148 | "numinlets" : 1, 149 | "numoutlets" : 0, 150 | "patching_rect" : [ 15.0, 600.0, 75.199982000000006, 60.0 ], 151 | "text" : "1) off\n2) on\n3) random\n4) direction " 152 | } 153 | 154 | } 155 | , { 156 | "box" : { 157 | "id" : "obj-33", 158 | "linecount" : 4, 159 | "maxclass" : "comment", 160 | "numinlets" : 1, 161 | "numoutlets" : 0, 162 | "patching_rect" : [ 87.099975999999998, 600.0, 613.90002400000003, 60.0 ], 163 | "text" : "forward playback only\nreverse playback only\nrandomly alternating between forward and reverse playback for each grain\nforward playback when moving forwards, reverse playback when moving backwards" 164 | } 165 | 166 | } 167 | , { 168 | "box" : { 169 | "fontface" : 3, 170 | "fontsize" : 36.0, 171 | "id" : "obj-3", 172 | "maxclass" : "comment", 173 | "numinlets" : 1, 174 | "numoutlets" : 0, 175 | "patching_rect" : [ 231.0, 47.288361000000002, 470.0, 47.0 ], 176 | "text" : "common object properties" 177 | } 178 | 179 | } 180 | , { 181 | "box" : { 182 | "autofit" : 1, 183 | "forceaspect" : 1, 184 | "id" : "obj-4", 185 | "maxclass" : "fpic", 186 | "numinlets" : 1, 187 | "numoutlets" : 1, 188 | "outlettype" : [ "jit_matrix" ], 189 | "patching_rect" : [ 14.0, 5.0, 200.0, 119.576719999999995 ], 190 | "pic" : "maxOverviewIcon.png" 191 | } 192 | 193 | } 194 | , { 195 | "box" : { 196 | "hidden" : 1, 197 | "id" : "obj-2", 198 | "maxclass" : "newobj", 199 | "numinlets" : 1, 200 | "numoutlets" : 2, 201 | "outlettype" : [ "", "" ], 202 | "patching_rect" : [ 603.0, 186.0, 69.0, 22.0 ], 203 | "save" : [ "#N", "thispatcher", ";", "#Q", "end", ";" ], 204 | "text" : "thispatcher" 205 | } 206 | 207 | } 208 | , { 209 | "box" : { 210 | "comment" : "", 211 | "hidden" : 1, 212 | "id" : "obj-1", 213 | "index" : 1, 214 | "maxclass" : "inlet", 215 | "numinlets" : 0, 216 | "numoutlets" : 1, 217 | "outlettype" : [ "" ], 218 | "patching_rect" : [ 603.0, 150.0, 30.0, 30.0 ] 219 | } 220 | 221 | } 222 | , { 223 | "box" : { 224 | "fontface" : 1, 225 | "fontsize" : 14.0, 226 | "id" : "obj-12", 227 | "maxclass" : "comment", 228 | "numinlets" : 1, 229 | "numoutlets" : 0, 230 | "patching_rect" : [ 15.0, 150.0, 527.0, 22.0 ], 231 | "text" : "Minimum and maximum values:" 232 | } 233 | 234 | } 235 | , { 236 | "box" : { 237 | "fontname" : "Arial", 238 | "fontsize" : 12.0, 239 | "id" : "obj-21", 240 | "linecount" : 7, 241 | "maxclass" : "comment", 242 | "numinlets" : 1, 243 | "numoutlets" : 0, 244 | "patching_rect" : [ 302.0, 174.0, 67.0, 100.0 ], 245 | "text" : "1 ms\n0.001\n8\n0\n2\n0.1\n10", 246 | "textjustification" : 2 247 | } 248 | 249 | } 250 | , { 251 | "box" : { 252 | "fontname" : "Arial", 253 | "fontsize" : 12.0, 254 | "id" : "obj-11", 255 | "linecount" : 7, 256 | "maxclass" : "comment", 257 | "numinlets" : 1, 258 | "numoutlets" : 0, 259 | "patching_rect" : [ 15.0, 174.0, 527.0, 100.0 ], 260 | "text" : "- Minimum grain length value:\n- Minimum pitch value:\n- Maximum pitch value:\n- Minimum gain value:\n- Maximum gain value:\n- Minimum alpha value (cm.gausscloud~ only):\n- Maximum alpha value (cm.gausscloud~ only):" 261 | } 262 | 263 | } 264 | , { 265 | "box" : { 266 | "fontface" : 1, 267 | "fontsize" : 14.0, 268 | "id" : "obj-10", 269 | "maxclass" : "comment", 270 | "numinlets" : 1, 271 | "numoutlets" : 0, 272 | "patching_rect" : [ 15.0, 303.0, 668.0, 22.0 ], 273 | "text" : "Common object attributes:" 274 | } 275 | 276 | } 277 | , { 278 | "box" : { 279 | "id" : "obj-9", 280 | "linecount" : 20, 281 | "maxclass" : "comment", 282 | "numinlets" : 1, 283 | "numoutlets" : 0, 284 | "patching_rect" : [ 15.0, 327.0, 686.0, 275.0 ], 285 | "text" : "@stereo (0 or 1)\nActivates/deactivates stereo playback when multi-channel files are loaded into the sample buffer. Default is 0. Not available for cm.livecloud~.\n\n@w_interp (0 or 1)\nActivates/deactivates window interpolation. Saves some CPU when deactivated.\nDefault is 0. Not available for cm.gausscloud~ because the windowing function is calculated in real time.\n\n@s_interp (0 or 1)\nActivates/deactivates sample interpolation. Saves some CPU when deactivated.\nDefault is 1.\n\n@zero (0 or 1)\nActivates/deactivates zero crossing trigger mode. When activated, a grain is triggered as soon as a zero crossing from < 0 to > 0 is detected (audio signals as trigger signals). When deactivated, a grain is triggered as soon as the signal generated by phasor~ wraps back from 1 to 0.\nDefault is 0.\n\n@reverse (off / on / random / direction)\nSets the reverse grain playback mode." 286 | } 287 | 288 | } 289 | ], 290 | "lines" : [ { 291 | "patchline" : { 292 | "destination" : [ "obj-2", 0 ], 293 | "hidden" : 1, 294 | "source" : [ "obj-1", 0 ] 295 | } 296 | 297 | } 298 | ], 299 | "styles" : [ { 300 | "name" : "AudioStatus_Menu", 301 | "default" : { 302 | "bgfillcolor" : { 303 | "type" : "color", 304 | "color" : [ 0.294118, 0.313726, 0.337255, 1 ], 305 | "color1" : [ 0.454902, 0.462745, 0.482353, 0.0 ], 306 | "color2" : [ 0.290196, 0.309804, 0.301961, 1.0 ], 307 | "angle" : 270.0, 308 | "proportion" : 0.39, 309 | "autogradient" : 0 310 | } 311 | 312 | } 313 | , 314 | "parentstyle" : "", 315 | "multi" : 0 316 | } 317 | , { 318 | "name" : "panel001", 319 | "default" : { 320 | "bgfillcolor" : { 321 | "type" : "color", 322 | "color" : [ 0.239216, 0.254902, 0.278431, 1.0 ], 323 | "color1" : [ 0.239216, 0.254902, 0.278431, 1.0 ], 324 | "color2" : [ 0.239216, 0.254902, 0.278431, 1.0 ], 325 | "angle" : 90.0, 326 | "proportion" : 0.39, 327 | "autogradient" : 0 328 | } 329 | , 330 | "color" : [ 0.0, 0.0, 0.0, 1.0 ] 331 | } 332 | , 333 | "parentstyle" : "", 334 | "multi" : 0 335 | } 336 | ] 337 | } 338 | , 339 | "patching_rect" : [ 50.0, 124.0, 160.0, 22.0 ], 340 | "saved_object_attributes" : { 341 | "description" : "", 342 | "digest" : "", 343 | "globalpatchername" : "", 344 | "tags" : "" 345 | } 346 | , 347 | "text" : "p common-object-properties" 348 | } 349 | 350 | } 351 | , { 352 | "box" : { 353 | "comment" : "", 354 | "id" : "obj-38", 355 | "index" : 1, 356 | "maxclass" : "inlet", 357 | "numinlets" : 0, 358 | "numoutlets" : 1, 359 | "outlettype" : [ "" ], 360 | "patching_rect" : [ 50.0, 40.0, 30.0, 30.0 ] 361 | } 362 | 363 | } 364 | ], 365 | "lines" : [ { 366 | "patchline" : { 367 | "destination" : [ "obj-29", 0 ], 368 | "hidden" : 1, 369 | "source" : [ "obj-31", 0 ] 370 | } 371 | 372 | } 373 | , { 374 | "patchline" : { 375 | "destination" : [ "obj-31", 0 ], 376 | "source" : [ "obj-38", 0 ] 377 | } 378 | 379 | } 380 | ] 381 | } 382 | , 383 | "patching_rect" : [ 686.0, 54.355873000000003, 74.0, 22.0 ], 384 | "saved_object_attributes" : { 385 | "description" : "", 386 | "digest" : "", 387 | "globalpatchername" : "", 388 | "tags" : "" 389 | } 390 | , 391 | "text" : "p sub-props" 392 | } 393 | 394 | } 395 | , { 396 | "box" : { 397 | "hidden" : 1, 398 | "id" : "obj-37", 399 | "maxclass" : "newobj", 400 | "numinlets" : 1, 401 | "numoutlets" : 0, 402 | "patcher" : { 403 | "fileversion" : 1, 404 | "appversion" : { 405 | "major" : 8, 406 | "minor" : 0, 407 | "revision" : 8, 408 | "architecture" : "x64", 409 | "modernui" : 1 410 | } 411 | , 412 | "classnamespace" : "box", 413 | "rect" : [ 0.0, 0.0, 640.0, 480.0 ], 414 | "bglocked" : 0, 415 | "openinpresentation" : 0, 416 | "default_fontsize" : 12.0, 417 | "default_fontface" : 0, 418 | "default_fontname" : "Arial", 419 | "gridonopen" : 1, 420 | "gridsize" : [ 15.0, 15.0 ], 421 | "gridsnaponopen" : 1, 422 | "objectsnaponopen" : 1, 423 | "statusbarvisible" : 2, 424 | "toolbarvisible" : 1, 425 | "lefttoolbarpinned" : 0, 426 | "toptoolbarpinned" : 0, 427 | "righttoolbarpinned" : 0, 428 | "bottomtoolbarpinned" : 0, 429 | "toolbars_unpinned_last_save" : 0, 430 | "tallnewobj" : 0, 431 | "boxanimatetime" : 200, 432 | "enablehscroll" : 1, 433 | "enablevscroll" : 1, 434 | "devicewidth" : 0.0, 435 | "description" : "", 436 | "digest" : "", 437 | "tags" : "", 438 | "style" : "", 439 | "subpatcher_template" : "", 440 | "boxes" : [ { 441 | "box" : { 442 | "hidden" : 1, 443 | "id" : "obj-10", 444 | "maxclass" : "message", 445 | "numinlets" : 2, 446 | "numoutlets" : 1, 447 | "outlettype" : [ "" ], 448 | "patching_rect" : [ 50.0, 100.0, 35.0, 22.0 ], 449 | "text" : "front" 450 | } 451 | 452 | } 453 | , { 454 | "box" : { 455 | "hidden" : 1, 456 | "id" : "obj-11", 457 | "maxclass" : "newobj", 458 | "numinlets" : 1, 459 | "numoutlets" : 0, 460 | "patcher" : { 461 | "fileversion" : 1, 462 | "appversion" : { 463 | "major" : 8, 464 | "minor" : 0, 465 | "revision" : 8, 466 | "architecture" : "x64", 467 | "modernui" : 1 468 | } 469 | , 470 | "classnamespace" : "box", 471 | "rect" : [ 327.0, 205.0, 708.0, 459.0 ], 472 | "bglocked" : 0, 473 | "openinpresentation" : 0, 474 | "default_fontsize" : 12.0, 475 | "default_fontface" : 0, 476 | "default_fontname" : "Arial", 477 | "gridonopen" : 1, 478 | "gridsize" : [ 15.0, 15.0 ], 479 | "gridsnaponopen" : 1, 480 | "objectsnaponopen" : 1, 481 | "statusbarvisible" : 2, 482 | "toolbarvisible" : 1, 483 | "lefttoolbarpinned" : 0, 484 | "toptoolbarpinned" : 0, 485 | "righttoolbarpinned" : 0, 486 | "bottomtoolbarpinned" : 0, 487 | "toolbars_unpinned_last_save" : 15, 488 | "tallnewobj" : 0, 489 | "boxanimatetime" : 200, 490 | "enablehscroll" : 1, 491 | "enablevscroll" : 1, 492 | "devicewidth" : 0.0, 493 | "description" : "", 494 | "digest" : "", 495 | "tags" : "", 496 | "style" : "", 497 | "subpatcher_template" : "", 498 | "boxes" : [ { 499 | "box" : { 500 | "fontname" : "Arial", 501 | "fontsize" : 13.0, 502 | "id" : "obj-11", 503 | "linecount" : 20, 504 | "maxclass" : "comment", 505 | "numinlets" : 1, 506 | "numoutlets" : 0, 507 | "patching_rect" : [ 14.0, 146.0, 680.0, 297.0 ], 508 | "text" : "DSP processing of the petra granulation objects consists of two parts. The first part listens for new triggers, generates new grains and stores them in memory. The second part checks if there are grains contained in memory and continues with grain playback.\n\nIn addition to the well-known bang, all objects use audio signals as triggers. By default, they take a signal ramp from 0 to 1 (such as the signal produced by the phasor~ object) and trigger a grain each time the signal falls back to 0. Grain triggering thus occurs with sample precision.\n\nWhen a trigger occurs, the object calculates the grain parameters based on the values provided through the object inlets, generates a single grain, allocates it a slot and writes it into an internal buffer (memory). The size of this buffer is based on the cloud size argument provided when you load the object. For example, when you specify a cloud size of 32 grains, the object allocates memory to store 32 grains. For each grain, the object stores the grain length and the respective playback position throughout the duration of the grain.\n\nAs soon as trigger detection and grain generation is completed, the object continues with grain playback. The playback section checks for existing grains and starts playback of new grains, or continues playback of existing grains. When a grain has finished playing, the slot in memory is freed for new grains and can be overwritten with a new grain.\n\nAfter the playback section, DSP processing restarts and lsitens for new triggers." 509 | } 510 | 511 | } 512 | , { 513 | "box" : { 514 | "fontface" : 3, 515 | "fontsize" : 36.0, 516 | "id" : "obj-3", 517 | "linecount" : 2, 518 | "maxclass" : "comment", 519 | "numinlets" : 1, 520 | "numoutlets" : 0, 521 | "patching_rect" : [ 231.0, 25.288360999999998, 378.0, 87.0 ], 522 | "text" : "general granulation principles" 523 | } 524 | 525 | } 526 | , { 527 | "box" : { 528 | "autofit" : 1, 529 | "forceaspect" : 1, 530 | "id" : "obj-4", 531 | "maxclass" : "fpic", 532 | "numinlets" : 1, 533 | "numoutlets" : 1, 534 | "outlettype" : [ "jit_matrix" ], 535 | "patching_rect" : [ 14.0, 5.0, 200.0, 119.576719999999995 ], 536 | "pic" : "maxOverviewIcon.png" 537 | } 538 | 539 | } 540 | , { 541 | "box" : { 542 | "hidden" : 1, 543 | "id" : "obj-2", 544 | "maxclass" : "newobj", 545 | "numinlets" : 1, 546 | "numoutlets" : 2, 547 | "outlettype" : [ "", "" ], 548 | "patching_rect" : [ 622.0, 61.288361000000002, 69.0, 22.0 ], 549 | "save" : [ "#N", "thispatcher", ";", "#Q", "end", ";" ], 550 | "text" : "thispatcher" 551 | } 552 | 553 | } 554 | , { 555 | "box" : { 556 | "comment" : "", 557 | "hidden" : 1, 558 | "id" : "obj-1", 559 | "index" : 1, 560 | "maxclass" : "inlet", 561 | "numinlets" : 0, 562 | "numoutlets" : 1, 563 | "outlettype" : [ "" ], 564 | "patching_rect" : [ 622.0, 25.288360999999998, 30.0, 30.0 ] 565 | } 566 | 567 | } 568 | ], 569 | "lines" : [ { 570 | "patchline" : { 571 | "destination" : [ "obj-2", 0 ], 572 | "hidden" : 1, 573 | "source" : [ "obj-1", 0 ] 574 | } 575 | 576 | } 577 | ] 578 | } 579 | , 580 | "patching_rect" : [ 50.0, 124.0, 179.0, 22.0 ], 581 | "saved_object_attributes" : { 582 | "description" : "", 583 | "digest" : "", 584 | "globalpatchername" : "", 585 | "tags" : "" 586 | } 587 | , 588 | "text" : "p general-granulation-principles" 589 | } 590 | 591 | } 592 | , { 593 | "box" : { 594 | "comment" : "", 595 | "id" : "obj-36", 596 | "index" : 1, 597 | "maxclass" : "inlet", 598 | "numinlets" : 0, 599 | "numoutlets" : 1, 600 | "outlettype" : [ "" ], 601 | "patching_rect" : [ 50.0, 40.0, 30.0, 30.0 ] 602 | } 603 | 604 | } 605 | ], 606 | "lines" : [ { 607 | "patchline" : { 608 | "destination" : [ "obj-11", 0 ], 609 | "hidden" : 1, 610 | "source" : [ "obj-10", 0 ] 611 | } 612 | 613 | } 614 | , { 615 | "patchline" : { 616 | "destination" : [ "obj-10", 0 ], 617 | "source" : [ "obj-36", 0 ] 618 | } 619 | 620 | } 621 | ] 622 | } 623 | , 624 | "patching_rect" : [ 657.0, 132.647690000000011, 103.0, 22.0 ], 625 | "saved_object_attributes" : { 626 | "description" : "", 627 | "digest" : "", 628 | "globalpatchername" : "", 629 | "tags" : "" 630 | } 631 | , 632 | "text" : "p sub-granulation" 633 | } 634 | 635 | } 636 | , { 637 | "box" : { 638 | "hidden" : 1, 639 | "id" : "obj-34", 640 | "maxclass" : "newobj", 641 | "numinlets" : 1, 642 | "numoutlets" : 0, 643 | "patcher" : { 644 | "fileversion" : 1, 645 | "appversion" : { 646 | "major" : 8, 647 | "minor" : 0, 648 | "revision" : 8, 649 | "architecture" : "x64", 650 | "modernui" : 1 651 | } 652 | , 653 | "classnamespace" : "box", 654 | "rect" : [ 0.0, 0.0, 640.0, 480.0 ], 655 | "bglocked" : 0, 656 | "openinpresentation" : 0, 657 | "default_fontsize" : 12.0, 658 | "default_fontface" : 0, 659 | "default_fontname" : "Arial", 660 | "gridonopen" : 1, 661 | "gridsize" : [ 15.0, 15.0 ], 662 | "gridsnaponopen" : 1, 663 | "objectsnaponopen" : 1, 664 | "statusbarvisible" : 2, 665 | "toolbarvisible" : 1, 666 | "lefttoolbarpinned" : 0, 667 | "toptoolbarpinned" : 0, 668 | "righttoolbarpinned" : 0, 669 | "bottomtoolbarpinned" : 0, 670 | "toolbars_unpinned_last_save" : 0, 671 | "tallnewobj" : 0, 672 | "boxanimatetime" : 200, 673 | "enablehscroll" : 1, 674 | "enablevscroll" : 1, 675 | "devicewidth" : 0.0, 676 | "description" : "", 677 | "digest" : "", 678 | "tags" : "", 679 | "style" : "", 680 | "subpatcher_template" : "", 681 | "boxes" : [ { 682 | "box" : { 683 | "hidden" : 1, 684 | "id" : "obj-12", 685 | "maxclass" : "message", 686 | "numinlets" : 2, 687 | "numoutlets" : 1, 688 | "outlettype" : [ "" ], 689 | "patching_rect" : [ 50.0, 100.0, 35.0, 22.0 ], 690 | "text" : "front" 691 | } 692 | 693 | } 694 | , { 695 | "box" : { 696 | "hidden" : 1, 697 | "id" : "obj-30", 698 | "maxclass" : "newobj", 699 | "numinlets" : 1, 700 | "numoutlets" : 0, 701 | "patcher" : { 702 | "fileversion" : 1, 703 | "appversion" : { 704 | "major" : 8, 705 | "minor" : 0, 706 | "revision" : 8, 707 | "architecture" : "x64", 708 | "modernui" : 1 709 | } 710 | , 711 | "classnamespace" : "box", 712 | "rect" : [ 489.0, 347.0, 702.0, 344.0 ], 713 | "bglocked" : 0, 714 | "openinpresentation" : 0, 715 | "default_fontsize" : 12.0, 716 | "default_fontface" : 0, 717 | "default_fontname" : "Arial", 718 | "gridonopen" : 1, 719 | "gridsize" : [ 15.0, 15.0 ], 720 | "gridsnaponopen" : 1, 721 | "objectsnaponopen" : 1, 722 | "statusbarvisible" : 2, 723 | "toolbarvisible" : 1, 724 | "lefttoolbarpinned" : 0, 725 | "toptoolbarpinned" : 0, 726 | "righttoolbarpinned" : 0, 727 | "bottomtoolbarpinned" : 0, 728 | "toolbars_unpinned_last_save" : 15, 729 | "tallnewobj" : 0, 730 | "boxanimatetime" : 200, 731 | "enablehscroll" : 1, 732 | "enablevscroll" : 1, 733 | "devicewidth" : 0.0, 734 | "description" : "", 735 | "digest" : "", 736 | "tags" : "", 737 | "style" : "", 738 | "subpatcher_template" : "", 739 | "boxes" : [ { 740 | "box" : { 741 | "fontname" : "Arial", 742 | "fontsize" : 13.0, 743 | "id" : "obj-11", 744 | "linecount" : 11, 745 | "maxclass" : "comment", 746 | "numinlets" : 1, 747 | "numoutlets" : 0, 748 | "patching_rect" : [ 14.0, 146.0, 677.0, 166.0 ], 749 | "text" : "Each object takes arguments to specify the grain cloud size, i.e. the maximum amount of grains the object is capable of storing in memory to generate a cloud of grains, and the maximum length of the grains. When the object loads, the required amount of memory is reserved. The cloud size and the grain length can be changed at any time with the \"cloudsize\" and \"grainlength\" messages, depending on your needs. \n\nIt is therefore helpful to remember that the cloud size and grain length you specify depends on the way you wish to use the object and that the larger your grain cloud and the longer your grains, the more memory the objects will occupy. For example, if you wish to generate clouds with a large amount of overlapping grains (asynchronous granulation), you go for a higher value (128 and upwards). If you are rather interested in succession of inidividual grains (synchronous granulation), you are better off with specifying a lower value (32 and below) to keep your memory free for other things." 750 | } 751 | 752 | } 753 | , { 754 | "box" : { 755 | "fontface" : 3, 756 | "fontsize" : 36.0, 757 | "id" : "obj-3", 758 | "linecount" : 2, 759 | "maxclass" : "comment", 760 | "numinlets" : 1, 761 | "numoutlets" : 0, 762 | "patching_rect" : [ 231.0, 25.288360999999998, 378.0, 87.0 ], 763 | "text" : "memory management" 764 | } 765 | 766 | } 767 | , { 768 | "box" : { 769 | "autofit" : 1, 770 | "forceaspect" : 1, 771 | "id" : "obj-4", 772 | "maxclass" : "fpic", 773 | "numinlets" : 1, 774 | "numoutlets" : 1, 775 | "outlettype" : [ "jit_matrix" ], 776 | "patching_rect" : [ 14.0, 5.0, 200.0, 119.576719999999995 ], 777 | "pic" : "maxOverviewIcon.png" 778 | } 779 | 780 | } 781 | , { 782 | "box" : { 783 | "hidden" : 1, 784 | "id" : "obj-2", 785 | "maxclass" : "newobj", 786 | "numinlets" : 1, 787 | "numoutlets" : 2, 788 | "outlettype" : [ "", "" ], 789 | "patching_rect" : [ 622.0, 61.288361000000002, 69.0, 22.0 ], 790 | "save" : [ "#N", "thispatcher", ";", "#Q", "end", ";" ], 791 | "text" : "thispatcher" 792 | } 793 | 794 | } 795 | , { 796 | "box" : { 797 | "comment" : "", 798 | "hidden" : 1, 799 | "id" : "obj-1", 800 | "index" : 1, 801 | "maxclass" : "inlet", 802 | "numinlets" : 0, 803 | "numoutlets" : 1, 804 | "outlettype" : [ "" ], 805 | "patching_rect" : [ 622.0, 25.288360999999998, 30.0, 30.0 ] 806 | } 807 | 808 | } 809 | ], 810 | "lines" : [ { 811 | "patchline" : { 812 | "destination" : [ "obj-2", 0 ], 813 | "hidden" : 1, 814 | "source" : [ "obj-1", 0 ] 815 | } 816 | 817 | } 818 | ] 819 | } 820 | , 821 | "patching_rect" : [ 50.0, 124.0, 138.0, 22.0 ], 822 | "saved_object_attributes" : { 823 | "description" : "", 824 | "digest" : "", 825 | "globalpatchername" : "", 826 | "tags" : "" 827 | } 828 | , 829 | "text" : "p memory-management" 830 | } 831 | 832 | } 833 | , { 834 | "box" : { 835 | "comment" : "", 836 | "id" : "obj-32", 837 | "index" : 1, 838 | "maxclass" : "inlet", 839 | "numinlets" : 0, 840 | "numoutlets" : 1, 841 | "outlettype" : [ "" ], 842 | "patching_rect" : [ 50.0, 40.0, 30.0, 30.0 ] 843 | } 844 | 845 | } 846 | ], 847 | "lines" : [ { 848 | "patchline" : { 849 | "destination" : [ "obj-30", 0 ], 850 | "hidden" : 1, 851 | "source" : [ "obj-12", 0 ] 852 | } 853 | 854 | } 855 | , { 856 | "patchline" : { 857 | "destination" : [ "obj-12", 0 ], 858 | "source" : [ "obj-32", 0 ] 859 | } 860 | 861 | } 862 | ] 863 | } 864 | , 865 | "patching_rect" : [ 662.0, 209.216308999999995, 98.0, 22.0 ], 866 | "saved_object_attributes" : { 867 | "description" : "", 868 | "digest" : "", 869 | "globalpatchername" : "", 870 | "tags" : "" 871 | } 872 | , 873 | "text" : "p sub-mem-man" 874 | } 875 | 876 | } 877 | , { 878 | "box" : { 879 | "fontface" : 1, 880 | "id" : "obj-33", 881 | "maxclass" : "comment", 882 | "numinlets" : 1, 883 | "numoutlets" : 0, 884 | "patching_rect" : [ 777.0, 690.826172000000042, 203.0, 20.0 ], 885 | "text" : "2012 - 2019 by circuit.music.labs", 886 | "textjustification" : 2 887 | } 888 | 889 | } 890 | , { 891 | "box" : { 892 | "bgcolor" : [ 0.145098, 0.352941, 0.670588, 1.0 ], 893 | "fontface" : 1, 894 | "fontsize" : 18.0, 895 | "id" : "obj-1", 896 | "maxclass" : "textbutton", 897 | "numinlets" : 1, 898 | "numoutlets" : 3, 899 | "outlettype" : [ "", "", "int" ], 900 | "parameter_enable" : 0, 901 | "patching_rect" : [ 762.0, 169.924499999999995, 193.0, 61.291817000000002 ], 902 | "rounded" : 8.0, 903 | "text" : "memory management", 904 | "texton" : "memory management", 905 | "textoncolor" : [ 1.0, 1.0, 1.0, 1.0 ], 906 | "truncate" : 0 907 | } 908 | 909 | } 910 | , { 911 | "box" : { 912 | "bgcolor" : [ 0.145098, 0.352941, 0.670588, 1.0 ], 913 | "fontface" : 1, 914 | "fontsize" : 18.0, 915 | "id" : "obj-9", 916 | "maxclass" : "textbutton", 917 | "numinlets" : 1, 918 | "numoutlets" : 3, 919 | "outlettype" : [ "", "", "int" ], 920 | "parameter_enable" : 0, 921 | "patching_rect" : [ 762.0, 93.355873000000003, 193.0, 61.291817000000002 ], 922 | "rounded" : 8.0, 923 | "text" : "general granulation principles", 924 | "texton" : "general granulation principles", 925 | "textoncolor" : [ 1.0, 1.0, 1.0, 1.0 ], 926 | "truncate" : 0 927 | } 928 | 929 | } 930 | , { 931 | "box" : { 932 | "fontsize" : 13.0, 933 | "id" : "obj-7", 934 | "linecount" : 2, 935 | "maxclass" : "comment", 936 | "numinlets" : 1, 937 | "numoutlets" : 0, 938 | "patching_rect" : [ 30.0, 312.826141000000007, 929.0, 36.0 ], 939 | "text" : "In addition, petra contains an audio object for live input granulation. It makes use of a circular buffer and an adjustable, and optionally randomised, delay control over the duration of the entire buffer." 940 | } 941 | 942 | } 943 | , { 944 | "box" : { 945 | "autofit" : 1, 946 | "forceaspect" : 1, 947 | "id" : "obj-3", 948 | "maxclass" : "fpic", 949 | "numinlets" : 1, 950 | "numoutlets" : 1, 951 | "outlettype" : [ "jit_matrix" ], 952 | "patching_rect" : [ 30.0, 14.0, 609.580994000000032, 217.216319693430677 ], 953 | "pic" : "petra-logo.png" 954 | } 955 | 956 | } 957 | , { 958 | "box" : { 959 | "bgcolor" : [ 0.145098, 0.352941, 0.670588, 1.0 ], 960 | "fontsize" : 14.0, 961 | "id" : "obj-14", 962 | "maxclass" : "textbutton", 963 | "numinlets" : 1, 964 | "numoutlets" : 3, 965 | "outlettype" : [ "", "", "int" ], 966 | "parameter_enable" : 0, 967 | "patching_rect" : [ 513.0, 633.826172000000042, 219.0, 31.0 ], 968 | "rounded" : 8.0, 969 | "text" : "open the cm.livecloud~ helpfile", 970 | "texton" : "open the cm.livecloud~ helpfile", 971 | "textoncolor" : [ 1.0, 1.0, 1.0, 1.0 ] 972 | } 973 | 974 | } 975 | , { 976 | "box" : { 977 | "hidden" : 1, 978 | "id" : "obj-18", 979 | "ignoreclick" : 1, 980 | "maxclass" : "newobj", 981 | "numinlets" : 2, 982 | "numoutlets" : 2, 983 | "outlettype" : [ "", "" ], 984 | "patching_rect" : [ 513.0, 666.826172000000042, 142.0, 22.0 ], 985 | "text" : "zl.reg help cm.livecloud~" 986 | } 987 | 988 | } 989 | , { 990 | "box" : { 991 | "hidden" : 1, 992 | "id" : "obj-19", 993 | "ignoreclick" : 1, 994 | "maxclass" : "newobj", 995 | "numinlets" : 1, 996 | "numoutlets" : 1, 997 | "outlettype" : [ "" ], 998 | "patching_rect" : [ 513.0, 690.826172000000042, 52.0, 22.0 ], 999 | "text" : "pcontrol" 1000 | } 1001 | 1002 | } 1003 | , { 1004 | "box" : { 1005 | "fontface" : 0, 1006 | "fontname" : "Arial", 1007 | "fontsize" : 12.0, 1008 | "id" : "obj-20", 1009 | "linecount" : 3, 1010 | "maxclass" : "comment", 1011 | "numinlets" : 1, 1012 | "numoutlets" : 0, 1013 | "patching_rect" : [ 513.0, 569.826172000000042, 430.0, 47.0 ], 1014 | "text" : "Polyphonic granulator object that records incoming audio into an internal circular buffer. Any signal can be granulated in real time with adjustable delay. The object uses a windowing function loaded into a buffer~ object." 1015 | } 1016 | 1017 | } 1018 | , { 1019 | "box" : { 1020 | "fontface" : 3, 1021 | "fontsize" : 20.0, 1022 | "id" : "obj-21", 1023 | "maxclass" : "comment", 1024 | "numinlets" : 1, 1025 | "numoutlets" : 0, 1026 | "patching_rect" : [ 513.0, 538.826172000000042, 430.0, 29.0 ], 1027 | "text" : "cm.livecloud~" 1028 | } 1029 | 1030 | } 1031 | , { 1032 | "box" : { 1033 | "bgcolor" : [ 0.145098, 0.352941, 0.670588, 1.0 ], 1034 | "fontface" : 1, 1035 | "fontsize" : 18.0, 1036 | "id" : "obj-68", 1037 | "maxclass" : "textbutton", 1038 | "numinlets" : 1, 1039 | "numoutlets" : 3, 1040 | "outlettype" : [ "", "", "int" ], 1041 | "parameter_enable" : 0, 1042 | "patching_rect" : [ 762.0, 14.0, 193.0, 62.355873000000003 ], 1043 | "rounded" : 8.0, 1044 | "text" : "common object properties", 1045 | "texton" : "common object properties", 1046 | "textoncolor" : [ 1.0, 1.0, 1.0, 1.0 ], 1047 | "truncate" : 0 1048 | } 1049 | 1050 | } 1051 | , { 1052 | "box" : { 1053 | "bgcolor" : [ 0.145098, 0.352941, 0.670588, 1.0 ], 1054 | "fontsize" : 14.0, 1055 | "id" : "obj-22", 1056 | "maxclass" : "textbutton", 1057 | "numinlets" : 1, 1058 | "numoutlets" : 3, 1059 | "outlettype" : [ "", "", "int" ], 1060 | "parameter_enable" : 0, 1061 | "patching_rect" : [ 513.0, 461.826141000000007, 219.0, 31.0 ], 1062 | "rounded" : 8.0, 1063 | "text" : "open the cm.gausscloud~ helpfile", 1064 | "texton" : "open the cm.gausscloud~ helpfile", 1065 | "textoncolor" : [ 1.0, 1.0, 1.0, 1.0 ] 1066 | } 1067 | 1068 | } 1069 | , { 1070 | "box" : { 1071 | "hidden" : 1, 1072 | "id" : "obj-23", 1073 | "ignoreclick" : 1, 1074 | "maxclass" : "newobj", 1075 | "numinlets" : 2, 1076 | "numoutlets" : 2, 1077 | "outlettype" : [ "", "" ], 1078 | "patching_rect" : [ 513.0, 494.826141000000007, 156.0, 22.0 ], 1079 | "text" : "zl.reg help cm.gausscloud~" 1080 | } 1081 | 1082 | } 1083 | , { 1084 | "box" : { 1085 | "hidden" : 1, 1086 | "id" : "obj-26", 1087 | "ignoreclick" : 1, 1088 | "maxclass" : "newobj", 1089 | "numinlets" : 1, 1090 | "numoutlets" : 1, 1091 | "outlettype" : [ "" ], 1092 | "patching_rect" : [ 513.0, 518.826172000000042, 52.0, 22.0 ], 1093 | "text" : "pcontrol" 1094 | } 1095 | 1096 | } 1097 | , { 1098 | "box" : { 1099 | "fontface" : 0, 1100 | "fontname" : "Arial", 1101 | "fontsize" : 12.0, 1102 | "id" : "obj-27", 1103 | "linecount" : 4, 1104 | "maxclass" : "comment", 1105 | "numinlets" : 1, 1106 | "numoutlets" : 0, 1107 | "patching_rect" : [ 513.0, 397.826141000000007, 461.0, 60.0 ], 1108 | "text" : "Polyphonic granulator object for granulation of mono and stereo audio files loaded into a buffer~ object. It uses a gaussian windowing function calculated inside the external itself. The shape of the gaussian window can be freely manipulated in real time and per grain with the min/max alpha value object inlets." 1109 | } 1110 | 1111 | } 1112 | , { 1113 | "box" : { 1114 | "fontface" : 3, 1115 | "fontsize" : 20.0, 1116 | "id" : "obj-28", 1117 | "maxclass" : "comment", 1118 | "numinlets" : 1, 1119 | "numoutlets" : 0, 1120 | "patching_rect" : [ 513.0, 366.826141000000007, 430.0, 29.0 ], 1121 | "text" : "cm.gausscloud~" 1122 | } 1123 | 1124 | } 1125 | , { 1126 | "box" : { 1127 | "bgcolor" : [ 0.145098, 0.352941, 0.670588, 1.0 ], 1128 | "fontsize" : 14.0, 1129 | "id" : "obj-2", 1130 | "maxclass" : "textbutton", 1131 | "numinlets" : 1, 1132 | "numoutlets" : 3, 1133 | "outlettype" : [ "", "", "int" ], 1134 | "parameter_enable" : 0, 1135 | "patching_rect" : [ 30.0, 633.826172000000042, 219.0, 31.0 ], 1136 | "rounded" : 8.0, 1137 | "text" : "open the cm.indexcloud~ helpfile", 1138 | "texton" : "open the cm.indexcloud~ helpfile", 1139 | "textoncolor" : [ 1.0, 1.0, 1.0, 1.0 ] 1140 | } 1141 | 1142 | } 1143 | , { 1144 | "box" : { 1145 | "hidden" : 1, 1146 | "id" : "obj-5", 1147 | "ignoreclick" : 1, 1148 | "maxclass" : "newobj", 1149 | "numinlets" : 2, 1150 | "numoutlets" : 2, 1151 | "outlettype" : [ "", "" ], 1152 | "patching_rect" : [ 30.0, 666.826172000000042, 153.0, 22.0 ], 1153 | "text" : "zl.reg help cm.indexcloud~" 1154 | } 1155 | 1156 | } 1157 | , { 1158 | "box" : { 1159 | "hidden" : 1, 1160 | "id" : "obj-6", 1161 | "ignoreclick" : 1, 1162 | "maxclass" : "newobj", 1163 | "numinlets" : 1, 1164 | "numoutlets" : 1, 1165 | "outlettype" : [ "" ], 1166 | "patching_rect" : [ 30.0, 690.826172000000042, 52.0, 22.0 ], 1167 | "text" : "pcontrol" 1168 | } 1169 | 1170 | } 1171 | , { 1172 | "box" : { 1173 | "fontface" : 0, 1174 | "fontname" : "Arial", 1175 | "fontsize" : 12.0, 1176 | "id" : "obj-16", 1177 | "linecount" : 4, 1178 | "maxclass" : "comment", 1179 | "numinlets" : 1, 1180 | "numoutlets" : 0, 1181 | "patching_rect" : [ 30.0, 569.826172000000042, 471.0, 60.0 ], 1182 | "text" : "Polyphonic granulator object for granulation of mono and stereo audio files loaded into a buffer~ object. It uses a windowing function calculated inside the external itself. The windowing functions can be accessed with and index number supplied as an argument or with a message." 1183 | } 1184 | 1185 | } 1186 | , { 1187 | "box" : { 1188 | "fontface" : 3, 1189 | "fontsize" : 20.0, 1190 | "id" : "obj-17", 1191 | "maxclass" : "comment", 1192 | "numinlets" : 1, 1193 | "numoutlets" : 0, 1194 | "patching_rect" : [ 30.0, 538.826172000000042, 423.0, 29.0 ], 1195 | "text" : "cm.indexcloud~" 1196 | } 1197 | 1198 | } 1199 | , { 1200 | "box" : { 1201 | "fontface" : 0, 1202 | "fontname" : "Arial", 1203 | "fontsize" : 12.0, 1204 | "id" : "obj-15", 1205 | "linecount" : 3, 1206 | "maxclass" : "comment", 1207 | "numinlets" : 1, 1208 | "numoutlets" : 0, 1209 | "patching_rect" : [ 30.0, 397.826141000000007, 433.0, 47.0 ], 1210 | "text" : "Polyphonic granulator object for granulation of mono and stereo audio files loaded into a buffer~ object. It uses a windowing function loaded into a buffer~ object." 1211 | } 1212 | 1213 | } 1214 | , { 1215 | "box" : { 1216 | "fontface" : 3, 1217 | "fontsize" : 20.0, 1218 | "id" : "obj-13", 1219 | "maxclass" : "comment", 1220 | "numinlets" : 1, 1221 | "numoutlets" : 0, 1222 | "patching_rect" : [ 30.0, 366.826141000000007, 421.0, 29.0 ], 1223 | "text" : "cm.buffercloud~" 1224 | } 1225 | 1226 | } 1227 | , { 1228 | "box" : { 1229 | "fontname" : "Arial", 1230 | "fontsize" : 13.0, 1231 | "id" : "obj-25", 1232 | "linecount" : 2, 1233 | "maxclass" : "comment", 1234 | "numinlets" : 1, 1235 | "numoutlets" : 0, 1236 | "patching_rect" : [ 30.0, 274.826141000000007, 925.0, 36.0 ], 1237 | "text" : "petra is a is a collection of external audio objects for polyphonic granulation of pre-recorded sounds. The package is loosely based on the principle of asynchronous granular synthesis. The objects are made for sample precision granulation of both single- and dual-channel audio files." 1238 | } 1239 | 1240 | } 1241 | , { 1242 | "box" : { 1243 | "bgcolor" : [ 0.145098, 0.352941, 0.670588, 1.0 ], 1244 | "fontsize" : 14.0, 1245 | "id" : "obj-8", 1246 | "maxclass" : "textbutton", 1247 | "numinlets" : 1, 1248 | "numoutlets" : 3, 1249 | "outlettype" : [ "", "", "int" ], 1250 | "parameter_enable" : 0, 1251 | "patching_rect" : [ 30.0, 461.826141000000007, 219.0, 31.0 ], 1252 | "rounded" : 8.0, 1253 | "text" : "open the cm.buffercloud~ helpfile", 1254 | "texton" : "open the cm.buffercloud~ helpfile", 1255 | "textoncolor" : [ 1.0, 1.0, 1.0, 1.0 ] 1256 | } 1257 | 1258 | } 1259 | , { 1260 | "box" : { 1261 | "hidden" : 1, 1262 | "id" : "obj-4", 1263 | "ignoreclick" : 1, 1264 | "maxclass" : "newobj", 1265 | "numinlets" : 2, 1266 | "numoutlets" : 2, 1267 | "outlettype" : [ "", "" ], 1268 | "patching_rect" : [ 30.0, 494.826141000000007, 155.0, 22.0 ], 1269 | "text" : "zl.reg help cm.buffercloud~" 1270 | } 1271 | 1272 | } 1273 | , { 1274 | "box" : { 1275 | "hidden" : 1, 1276 | "id" : "obj-24", 1277 | "ignoreclick" : 1, 1278 | "maxclass" : "newobj", 1279 | "numinlets" : 1, 1280 | "numoutlets" : 1, 1281 | "outlettype" : [ "" ], 1282 | "patching_rect" : [ 30.0, 518.826172000000042, 52.0, 22.0 ], 1283 | "text" : "pcontrol" 1284 | } 1285 | 1286 | } 1287 | ], 1288 | "lines" : [ { 1289 | "patchline" : { 1290 | "destination" : [ "obj-34", 0 ], 1291 | "hidden" : 1, 1292 | "midpoints" : [ 771.5, 241.216316000000006, 654.5, 241.216316000000006, 654.5, 198.216308999999995, 671.5, 198.216308999999995 ], 1293 | "source" : [ "obj-1", 0 ] 1294 | } 1295 | 1296 | } 1297 | , { 1298 | "patchline" : { 1299 | "destination" : [ "obj-18", 0 ], 1300 | "hidden" : 1, 1301 | "source" : [ "obj-14", 0 ] 1302 | } 1303 | 1304 | } 1305 | , { 1306 | "patchline" : { 1307 | "destination" : [ "obj-19", 0 ], 1308 | "hidden" : 1, 1309 | "source" : [ "obj-18", 0 ] 1310 | } 1311 | 1312 | } 1313 | , { 1314 | "patchline" : { 1315 | "destination" : [ "obj-5", 0 ], 1316 | "hidden" : 1, 1317 | "source" : [ "obj-2", 0 ] 1318 | } 1319 | 1320 | } 1321 | , { 1322 | "patchline" : { 1323 | "destination" : [ "obj-23", 0 ], 1324 | "hidden" : 1, 1325 | "source" : [ "obj-22", 0 ] 1326 | } 1327 | 1328 | } 1329 | , { 1330 | "patchline" : { 1331 | "destination" : [ "obj-26", 0 ], 1332 | "hidden" : 1, 1333 | "source" : [ "obj-23", 0 ] 1334 | } 1335 | 1336 | } 1337 | , { 1338 | "patchline" : { 1339 | "destination" : [ "obj-24", 0 ], 1340 | "hidden" : 1, 1341 | "source" : [ "obj-4", 0 ] 1342 | } 1343 | 1344 | } 1345 | , { 1346 | "patchline" : { 1347 | "destination" : [ "obj-6", 0 ], 1348 | "hidden" : 1, 1349 | "source" : [ "obj-5", 0 ] 1350 | } 1351 | 1352 | } 1353 | , { 1354 | "patchline" : { 1355 | "destination" : [ "obj-39", 0 ], 1356 | "hidden" : 1, 1357 | "midpoints" : [ 771.5, 86.355873000000003, 678.5, 86.355873000000003, 678.5, 43.355873000000003, 695.5, 43.355873000000003 ], 1358 | "source" : [ "obj-68", 0 ] 1359 | } 1360 | 1361 | } 1362 | , { 1363 | "patchline" : { 1364 | "destination" : [ "obj-4", 0 ], 1365 | "hidden" : 1, 1366 | "source" : [ "obj-8", 0 ] 1367 | } 1368 | 1369 | } 1370 | , { 1371 | "patchline" : { 1372 | "destination" : [ "obj-37", 0 ], 1373 | "hidden" : 1, 1374 | "midpoints" : [ 771.5, 164.647690000000011, 649.0, 164.647690000000011, 649.0, 121.647689999999997, 666.5, 121.647689999999997 ], 1375 | "source" : [ "obj-9", 0 ] 1376 | } 1377 | 1378 | } 1379 | ], 1380 | "dependency_cache" : [ { 1381 | "name" : "petra-logo.png", 1382 | "bootpath" : "~/Documents/MaxDeveloper/petra-dev/petra/media/images", 1383 | "patcherrelativepath" : "../media/images", 1384 | "type" : "PNG", 1385 | "implicit" : 1 1386 | } 1387 | , { 1388 | "name" : "maxOverviewIcon.png", 1389 | "bootpath" : "~/Documents/MaxDeveloper/petra-dev/petra/media/images", 1390 | "patcherrelativepath" : "../media/images", 1391 | "type" : "PNG", 1392 | "implicit" : 1 1393 | } 1394 | ], 1395 | "autosave" : 0 1396 | } 1397 | 1398 | } 1399 | -------------------------------------------------------------------------------- /icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CircuitMusicLabs/petra/c67d27fb7abce058ad3f75cf9874b546cb3e1572/icon.png -------------------------------------------------------------------------------- /media/images/maxOverviewIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CircuitMusicLabs/petra/c67d27fb7abce058ad3f75cf9874b546cb3e1572/media/images/maxOverviewIcon.png -------------------------------------------------------------------------------- /media/images/petra-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CircuitMusicLabs/petra/c67d27fb7abce058ad3f75cf9874b546cb3e1572/media/images/petra-logo.png -------------------------------------------------------------------------------- /media/images/triggers-ramp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CircuitMusicLabs/petra/c67d27fb7abce058ad3f75cf9874b546cb3e1572/media/images/triggers-ramp.png -------------------------------------------------------------------------------- /media/images/triggers-zero-crossing.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CircuitMusicLabs/petra/c67d27fb7abce058ad3f75cf9874b546cb3e1572/media/images/triggers-zero-crossing.png -------------------------------------------------------------------------------- /media/images/window_bartlett.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CircuitMusicLabs/petra/c67d27fb7abce058ad3f75cf9874b546cb3e1572/media/images/window_bartlett.png -------------------------------------------------------------------------------- /media/images/window_flattop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CircuitMusicLabs/petra/c67d27fb7abce058ad3f75cf9874b546cb3e1572/media/images/window_flattop.png -------------------------------------------------------------------------------- /media/images/window_gauss2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CircuitMusicLabs/petra/c67d27fb7abce058ad3f75cf9874b546cb3e1572/media/images/window_gauss2.png -------------------------------------------------------------------------------- /media/images/window_gauss4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CircuitMusicLabs/petra/c67d27fb7abce058ad3f75cf9874b546cb3e1572/media/images/window_gauss4.png -------------------------------------------------------------------------------- /media/images/window_gauss8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CircuitMusicLabs/petra/c67d27fb7abce058ad3f75cf9874b546cb3e1572/media/images/window_gauss8.png -------------------------------------------------------------------------------- /media/images/window_hamming.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CircuitMusicLabs/petra/c67d27fb7abce058ad3f75cf9874b546cb3e1572/media/images/window_hamming.png -------------------------------------------------------------------------------- /media/images/window_hanning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CircuitMusicLabs/petra/c67d27fb7abce058ad3f75cf9874b546cb3e1572/media/images/window_hanning.png -------------------------------------------------------------------------------- /media/images/window_rectangular.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CircuitMusicLabs/petra/c67d27fb7abce058ad3f75cf9874b546cb3e1572/media/images/window_rectangular.png -------------------------------------------------------------------------------- /media/windows/bartlett-hanning.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CircuitMusicLabs/petra/c67d27fb7abce058ad3f75cf9874b546cb3e1572/media/windows/bartlett-hanning.wav -------------------------------------------------------------------------------- /media/windows/bartlett.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CircuitMusicLabs/petra/c67d27fb7abce058ad3f75cf9874b546cb3e1572/media/windows/bartlett.wav -------------------------------------------------------------------------------- /media/windows/blackman-harris.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CircuitMusicLabs/petra/c67d27fb7abce058ad3f75cf9874b546cb3e1572/media/windows/blackman-harris.wav -------------------------------------------------------------------------------- /media/windows/blackman.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CircuitMusicLabs/petra/c67d27fb7abce058ad3f75cf9874b546cb3e1572/media/windows/blackman.wav -------------------------------------------------------------------------------- /media/windows/bohman.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CircuitMusicLabs/petra/c67d27fb7abce058ad3f75cf9874b546cb3e1572/media/windows/bohman.wav -------------------------------------------------------------------------------- /media/windows/chebyshef.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CircuitMusicLabs/petra/c67d27fb7abce058ad3f75cf9874b546cb3e1572/media/windows/chebyshef.wav -------------------------------------------------------------------------------- /media/windows/flat-top.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CircuitMusicLabs/petra/c67d27fb7abce058ad3f75cf9874b546cb3e1572/media/windows/flat-top.wav -------------------------------------------------------------------------------- /media/windows/gauss.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CircuitMusicLabs/petra/c67d27fb7abce058ad3f75cf9874b546cb3e1572/media/windows/gauss.wav -------------------------------------------------------------------------------- /media/windows/hamming.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CircuitMusicLabs/petra/c67d27fb7abce058ad3f75cf9874b546cb3e1572/media/windows/hamming.wav -------------------------------------------------------------------------------- /media/windows/hanning.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CircuitMusicLabs/petra/c67d27fb7abce058ad3f75cf9874b546cb3e1572/media/windows/hanning.wav -------------------------------------------------------------------------------- /media/windows/kaiser.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CircuitMusicLabs/petra/c67d27fb7abce058ad3f75cf9874b546cb3e1572/media/windows/kaiser.wav -------------------------------------------------------------------------------- /media/windows/nuttall.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CircuitMusicLabs/petra/c67d27fb7abce058ad3f75cf9874b546cb3e1572/media/windows/nuttall.wav -------------------------------------------------------------------------------- /media/windows/parzen.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CircuitMusicLabs/petra/c67d27fb7abce058ad3f75cf9874b546cb3e1572/media/windows/parzen.wav -------------------------------------------------------------------------------- /media/windows/rectangular.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CircuitMusicLabs/petra/c67d27fb7abce058ad3f75cf9874b546cb3e1572/media/windows/rectangular.wav -------------------------------------------------------------------------------- /media/windows/taylor.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CircuitMusicLabs/petra/c67d27fb7abce058ad3f75cf9874b546cb3e1572/media/windows/taylor.wav -------------------------------------------------------------------------------- /media/windows/triangular.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CircuitMusicLabs/petra/c67d27fb7abce058ad3f75cf9874b546cb3e1572/media/windows/triangular.wav -------------------------------------------------------------------------------- /media/windows/turkey.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CircuitMusicLabs/petra/c67d27fb7abce058ad3f75cf9874b546cb3e1572/media/windows/turkey.wav -------------------------------------------------------------------------------- /media/windows/white-noise.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CircuitMusicLabs/petra/c67d27fb7abce058ad3f75cf9874b546cb3e1572/media/windows/white-noise.wav -------------------------------------------------------------------------------- /package-info.json: -------------------------------------------------------------------------------- 1 | { 2 | "author" : "circuit.music.labs", 3 | "authors" : [ ], 4 | "description" : "A collection of audio objects made for sample-precision polyphonic granulation.", 5 | "displayname" : "", 6 | "extends" : "", 7 | "extensible" : 0, 8 | "homepatcher" : "petra_overview.maxpat", 9 | "max_version_max" : "none", 10 | "max_version_min" : "6.1", 11 | "name" : "petra", 12 | "os" : { 13 | "macintosh" : { 14 | "platform" : [ "x64", "ia32" ], 15 | "min_version" : "10.9.x" 16 | } 17 | , 18 | "windows" : { 19 | "platform" : [ "ia32", "x64" ], 20 | "min_version" : "7" 21 | } 22 | 23 | } 24 | , 25 | "package_extra" : { 26 | 27 | } 28 | , 29 | "tags" : [ "granular", "sampling", "audio", "synthesis" ], 30 | "version" : "1.0.0", 31 | "website" : "http://www.circuitmusiclabs.com", 32 | "filelist" : { 33 | "externals" : [ "cm.buffercloud~.mxe", "cm.buffercloud~.mxe64", "cm.buffercloud~.mxo", "cm.gausscloud~.mxe", "cm.gausscloud~.mxe64", "cm.gausscloud~.mxo", "cm.indexcloud~.mxe", "cm.indexcloud~.mxe64", "cm.indexcloud~.mxo", "cm.livecloud~.mxe", "cm.livecloud~.mxe64", "cm.livecloud~.mxo" ], 34 | "help" : [ "cm.buffercloud~.maxhelp", "cm.gausscloud~.maxhelp", "cm.indexcloud~.maxhelp", "cm.livecloud~.maxhelp" ], 35 | "media" : [ "images/maxOverviewIcon.png", "images/petra-logo.png", "images/triggers-ramp.png", "images/triggers-zero-crossing.png", "images/window_bartlett.png", "images/window_flattop.png", "images/window_gauss2.png", "images/window_gauss4.png", "images/window_gauss8.png", "images/window_hamming.png", "images/window_hanning.png", "images/window_rectangular.png", "windows/bartlett-hanning.wav", "windows/bartlett.wav", "windows/blackman-harris.wav", "windows/blackman.wav", "windows/bohman.wav", "windows/chebyshef.wav", "windows/flat-top.wav", "windows/gauss.wav", "windows/hamming.wav", "windows/hanning.wav", "windows/kaiser.wav", "windows/nuttall.wav", "windows/parzen.wav", "windows/rectangular.wav", "windows/taylor.wav", "windows/triangular.wav", "windows/turkey.wav", "windows/white-noise.wav" ], 36 | "docs" : [ "cm.buffercloud~.maxref.xml", "cm.gausscloud~.maxref.xml", "cm.indexcloud~.maxref.xml", "cm.livecloud~.maxref.xml" ], 37 | "extras" : [ "petra_overview.maxpat" ] 38 | } 39 | 40 | } 41 | -------------------------------------------------------------------------------- /source/cm.buffercloud~/cm.buffercloud~.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 22CF115E0EE9A6F40054F513 /* cm.buffercloud~.c in Sources */ = {isa = PBXBuildFile; fileRef = 22CF115D0EE9A6F40054F513 /* cm.buffercloud~.c */; }; 11 | 394EDF621D5A193D001A666E /* maxmspsdk.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = 394EDF611D5A193D001A666E /* maxmspsdk.xcconfig */; }; 12 | /* End PBXBuildFile section */ 13 | 14 | /* Begin PBXFileReference section */ 15 | 22CF115D0EE9A6F40054F513 /* cm.buffercloud~.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = "cm.buffercloud~.c"; sourceTree = ""; }; 16 | 2FBBEAE508F335360078DB84 /* cm.buffercloud~.mxo */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "cm.buffercloud~.mxo"; sourceTree = BUILT_PRODUCTS_DIR; }; 17 | 394EDF611D5A193D001A666E /* maxmspsdk.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = maxmspsdk.xcconfig; path = ../maxmspsdk.xcconfig; sourceTree = ""; }; 18 | /* End PBXFileReference section */ 19 | 20 | /* Begin PBXFrameworksBuildPhase section */ 21 | 2FBBEADC08F335360078DB84 /* Frameworks */ = { 22 | isa = PBXFrameworksBuildPhase; 23 | buildActionMask = 2147483647; 24 | files = ( 25 | ); 26 | runOnlyForDeploymentPostprocessing = 0; 27 | }; 28 | /* End PBXFrameworksBuildPhase section */ 29 | 30 | /* Begin PBXGroup section */ 31 | 089C166AFE841209C02AAC07 /* iterator */ = { 32 | isa = PBXGroup; 33 | children = ( 34 | 394EDF611D5A193D001A666E /* maxmspsdk.xcconfig */, 35 | 22CF115D0EE9A6F40054F513 /* cm.buffercloud~.c */, 36 | 19C28FB4FE9D528D11CA2CBB /* Products */, 37 | ); 38 | name = iterator; 39 | sourceTree = ""; 40 | }; 41 | 19C28FB4FE9D528D11CA2CBB /* Products */ = { 42 | isa = PBXGroup; 43 | children = ( 44 | 2FBBEAE508F335360078DB84 /* cm.buffercloud~.mxo */, 45 | ); 46 | name = Products; 47 | sourceTree = ""; 48 | }; 49 | /* End PBXGroup section */ 50 | 51 | /* Begin PBXHeadersBuildPhase section */ 52 | 2FBBEAD708F335360078DB84 /* Headers */ = { 53 | isa = PBXHeadersBuildPhase; 54 | buildActionMask = 2147483647; 55 | files = ( 56 | ); 57 | runOnlyForDeploymentPostprocessing = 0; 58 | }; 59 | /* End PBXHeadersBuildPhase section */ 60 | 61 | /* Begin PBXNativeTarget section */ 62 | 2FBBEAD608F335360078DB84 /* max-external */ = { 63 | isa = PBXNativeTarget; 64 | buildConfigurationList = 2FBBEAE008F335360078DB84 /* Build configuration list for PBXNativeTarget "max-external" */; 65 | buildPhases = ( 66 | 2FBBEAD708F335360078DB84 /* Headers */, 67 | 2FBBEAD808F335360078DB84 /* Resources */, 68 | 2FBBEADA08F335360078DB84 /* Sources */, 69 | 2FBBEADC08F335360078DB84 /* Frameworks */, 70 | 2FBBEADF08F335360078DB84 /* Rez */, 71 | ); 72 | buildRules = ( 73 | ); 74 | dependencies = ( 75 | ); 76 | name = "max-external"; 77 | productName = iterator; 78 | productReference = 2FBBEAE508F335360078DB84 /* cm.buffercloud~.mxo */; 79 | productType = "com.apple.product-type.bundle"; 80 | }; 81 | /* End PBXNativeTarget section */ 82 | 83 | /* Begin PBXProject section */ 84 | 089C1669FE841209C02AAC07 /* Project object */ = { 85 | isa = PBXProject; 86 | attributes = { 87 | LastUpgradeCheck = 0800; 88 | }; 89 | buildConfigurationList = 2FBBEACF08F335010078DB84 /* Build configuration list for PBXProject "cm.buffercloud~" */; 90 | compatibilityVersion = "Xcode 3.2"; 91 | developmentRegion = English; 92 | hasScannedForEncodings = 1; 93 | knownRegions = ( 94 | en, 95 | ); 96 | mainGroup = 089C166AFE841209C02AAC07 /* iterator */; 97 | projectDirPath = ""; 98 | projectRoot = ""; 99 | targets = ( 100 | 2FBBEAD608F335360078DB84 /* max-external */, 101 | ); 102 | }; 103 | /* End PBXProject section */ 104 | 105 | /* Begin PBXResourcesBuildPhase section */ 106 | 2FBBEAD808F335360078DB84 /* Resources */ = { 107 | isa = PBXResourcesBuildPhase; 108 | buildActionMask = 2147483647; 109 | files = ( 110 | 394EDF621D5A193D001A666E /* maxmspsdk.xcconfig in Resources */, 111 | ); 112 | runOnlyForDeploymentPostprocessing = 0; 113 | }; 114 | /* End PBXResourcesBuildPhase section */ 115 | 116 | /* Begin PBXRezBuildPhase section */ 117 | 2FBBEADF08F335360078DB84 /* Rez */ = { 118 | isa = PBXRezBuildPhase; 119 | buildActionMask = 2147483647; 120 | files = ( 121 | ); 122 | runOnlyForDeploymentPostprocessing = 0; 123 | }; 124 | /* End PBXRezBuildPhase section */ 125 | 126 | /* Begin PBXSourcesBuildPhase section */ 127 | 2FBBEADA08F335360078DB84 /* Sources */ = { 128 | isa = PBXSourcesBuildPhase; 129 | buildActionMask = 2147483647; 130 | files = ( 131 | 22CF115E0EE9A6F40054F513 /* cm.buffercloud~.c in Sources */, 132 | ); 133 | runOnlyForDeploymentPostprocessing = 0; 134 | }; 135 | /* End PBXSourcesBuildPhase section */ 136 | 137 | /* Begin XCBuildConfiguration section */ 138 | 2FBBEAD008F335010078DB84 /* Development */ = { 139 | isa = XCBuildConfiguration; 140 | buildSettings = { 141 | }; 142 | name = Development; 143 | }; 144 | 2FBBEAD108F335010078DB84 /* Deployment */ = { 145 | isa = XCBuildConfiguration; 146 | buildSettings = { 147 | }; 148 | name = Deployment; 149 | }; 150 | 2FBBEAE108F335360078DB84 /* Development */ = { 151 | isa = XCBuildConfiguration; 152 | baseConfigurationReference = 394EDF611D5A193D001A666E /* maxmspsdk.xcconfig */; 153 | buildSettings = { 154 | COPY_PHASE_STRIP = NO; 155 | GCC_OPTIMIZATION_LEVEL = 0; 156 | PRODUCT_NAME = "cm.buffercloud~"; 157 | }; 158 | name = Development; 159 | }; 160 | 2FBBEAE208F335360078DB84 /* Deployment */ = { 161 | isa = XCBuildConfiguration; 162 | baseConfigurationReference = 394EDF611D5A193D001A666E /* maxmspsdk.xcconfig */; 163 | buildSettings = { 164 | COPY_PHASE_STRIP = YES; 165 | PRODUCT_NAME = "cm.buffercloud~"; 166 | }; 167 | name = Deployment; 168 | }; 169 | /* End XCBuildConfiguration section */ 170 | 171 | /* Begin XCConfigurationList section */ 172 | 2FBBEACF08F335010078DB84 /* Build configuration list for PBXProject "cm.buffercloud~" */ = { 173 | isa = XCConfigurationList; 174 | buildConfigurations = ( 175 | 2FBBEAD008F335010078DB84 /* Development */, 176 | 2FBBEAD108F335010078DB84 /* Deployment */, 177 | ); 178 | defaultConfigurationIsVisible = 0; 179 | defaultConfigurationName = Development; 180 | }; 181 | 2FBBEAE008F335360078DB84 /* Build configuration list for PBXNativeTarget "max-external" */ = { 182 | isa = XCConfigurationList; 183 | buildConfigurations = ( 184 | 2FBBEAE108F335360078DB84 /* Development */, 185 | 2FBBEAE208F335360078DB84 /* Deployment */, 186 | ); 187 | defaultConfigurationIsVisible = 0; 188 | defaultConfigurationName = Development; 189 | }; 190 | /* End XCConfigurationList section */ 191 | }; 192 | rootObject = 089C1669FE841209C02AAC07 /* Project object */; 193 | } 194 | -------------------------------------------------------------------------------- /source/cm.buffercloud~/cm.buffercloud~.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /source/cm.gausscloud~/cm.gausscloud~.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 22CF115E0EE9A6F40054F513 /* cm.gausscloud~.c in Sources */ = {isa = PBXBuildFile; fileRef = 22CF115D0EE9A6F40054F513 /* cm.gausscloud~.c */; }; 11 | 394EDF621D5A193D001A666E /* maxmspsdk.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = 394EDF611D5A193D001A666E /* maxmspsdk.xcconfig */; }; 12 | /* End PBXBuildFile section */ 13 | 14 | /* Begin PBXFileReference section */ 15 | 22CF115D0EE9A6F40054F513 /* cm.gausscloud~.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = "cm.gausscloud~.c"; sourceTree = ""; }; 16 | 2FBBEAE508F335360078DB84 /* cm.gausscloud~.mxo */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "cm.gausscloud~.mxo"; sourceTree = BUILT_PRODUCTS_DIR; }; 17 | 394EDF611D5A193D001A666E /* maxmspsdk.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = maxmspsdk.xcconfig; path = ../maxmspsdk.xcconfig; sourceTree = ""; }; 18 | /* End PBXFileReference section */ 19 | 20 | /* Begin PBXFrameworksBuildPhase section */ 21 | 2FBBEADC08F335360078DB84 /* Frameworks */ = { 22 | isa = PBXFrameworksBuildPhase; 23 | buildActionMask = 2147483647; 24 | files = ( 25 | ); 26 | runOnlyForDeploymentPostprocessing = 0; 27 | }; 28 | /* End PBXFrameworksBuildPhase section */ 29 | 30 | /* Begin PBXGroup section */ 31 | 089C166AFE841209C02AAC07 /* iterator */ = { 32 | isa = PBXGroup; 33 | children = ( 34 | 394EDF611D5A193D001A666E /* maxmspsdk.xcconfig */, 35 | 22CF115D0EE9A6F40054F513 /* cm.gausscloud~.c */, 36 | 19C28FB4FE9D528D11CA2CBB /* Products */, 37 | ); 38 | name = iterator; 39 | sourceTree = ""; 40 | }; 41 | 19C28FB4FE9D528D11CA2CBB /* Products */ = { 42 | isa = PBXGroup; 43 | children = ( 44 | 2FBBEAE508F335360078DB84 /* cm.gausscloud~.mxo */, 45 | ); 46 | name = Products; 47 | sourceTree = ""; 48 | }; 49 | /* End PBXGroup section */ 50 | 51 | /* Begin PBXHeadersBuildPhase section */ 52 | 2FBBEAD708F335360078DB84 /* Headers */ = { 53 | isa = PBXHeadersBuildPhase; 54 | buildActionMask = 2147483647; 55 | files = ( 56 | ); 57 | runOnlyForDeploymentPostprocessing = 0; 58 | }; 59 | /* End PBXHeadersBuildPhase section */ 60 | 61 | /* Begin PBXNativeTarget section */ 62 | 2FBBEAD608F335360078DB84 /* max-external */ = { 63 | isa = PBXNativeTarget; 64 | buildConfigurationList = 2FBBEAE008F335360078DB84 /* Build configuration list for PBXNativeTarget "max-external" */; 65 | buildPhases = ( 66 | 2FBBEAD708F335360078DB84 /* Headers */, 67 | 2FBBEAD808F335360078DB84 /* Resources */, 68 | 2FBBEADA08F335360078DB84 /* Sources */, 69 | 2FBBEADC08F335360078DB84 /* Frameworks */, 70 | 2FBBEADF08F335360078DB84 /* Rez */, 71 | ); 72 | buildRules = ( 73 | ); 74 | dependencies = ( 75 | ); 76 | name = "max-external"; 77 | productName = iterator; 78 | productReference = 2FBBEAE508F335360078DB84 /* cm.gausscloud~.mxo */; 79 | productType = "com.apple.product-type.bundle"; 80 | }; 81 | /* End PBXNativeTarget section */ 82 | 83 | /* Begin PBXProject section */ 84 | 089C1669FE841209C02AAC07 /* Project object */ = { 85 | isa = PBXProject; 86 | attributes = { 87 | LastUpgradeCheck = 0800; 88 | }; 89 | buildConfigurationList = 2FBBEACF08F335010078DB84 /* Build configuration list for PBXProject "cm.gausscloud~" */; 90 | compatibilityVersion = "Xcode 3.2"; 91 | developmentRegion = English; 92 | hasScannedForEncodings = 1; 93 | knownRegions = ( 94 | en, 95 | ); 96 | mainGroup = 089C166AFE841209C02AAC07 /* iterator */; 97 | projectDirPath = ""; 98 | projectRoot = ""; 99 | targets = ( 100 | 2FBBEAD608F335360078DB84 /* max-external */, 101 | ); 102 | }; 103 | /* End PBXProject section */ 104 | 105 | /* Begin PBXResourcesBuildPhase section */ 106 | 2FBBEAD808F335360078DB84 /* Resources */ = { 107 | isa = PBXResourcesBuildPhase; 108 | buildActionMask = 2147483647; 109 | files = ( 110 | 394EDF621D5A193D001A666E /* maxmspsdk.xcconfig in Resources */, 111 | ); 112 | runOnlyForDeploymentPostprocessing = 0; 113 | }; 114 | /* End PBXResourcesBuildPhase section */ 115 | 116 | /* Begin PBXRezBuildPhase section */ 117 | 2FBBEADF08F335360078DB84 /* Rez */ = { 118 | isa = PBXRezBuildPhase; 119 | buildActionMask = 2147483647; 120 | files = ( 121 | ); 122 | runOnlyForDeploymentPostprocessing = 0; 123 | }; 124 | /* End PBXRezBuildPhase section */ 125 | 126 | /* Begin PBXSourcesBuildPhase section */ 127 | 2FBBEADA08F335360078DB84 /* Sources */ = { 128 | isa = PBXSourcesBuildPhase; 129 | buildActionMask = 2147483647; 130 | files = ( 131 | 22CF115E0EE9A6F40054F513 /* cm.gausscloud~.c in Sources */, 132 | ); 133 | runOnlyForDeploymentPostprocessing = 0; 134 | }; 135 | /* End PBXSourcesBuildPhase section */ 136 | 137 | /* Begin XCBuildConfiguration section */ 138 | 2FBBEAD008F335010078DB84 /* Development */ = { 139 | isa = XCBuildConfiguration; 140 | buildSettings = { 141 | }; 142 | name = Development; 143 | }; 144 | 2FBBEAD108F335010078DB84 /* Deployment */ = { 145 | isa = XCBuildConfiguration; 146 | buildSettings = { 147 | }; 148 | name = Deployment; 149 | }; 150 | 2FBBEAE108F335360078DB84 /* Development */ = { 151 | isa = XCBuildConfiguration; 152 | baseConfigurationReference = 394EDF611D5A193D001A666E /* maxmspsdk.xcconfig */; 153 | buildSettings = { 154 | COPY_PHASE_STRIP = NO; 155 | GCC_OPTIMIZATION_LEVEL = 0; 156 | PRODUCT_NAME = "cm.gausscloud~"; 157 | }; 158 | name = Development; 159 | }; 160 | 2FBBEAE208F335360078DB84 /* Deployment */ = { 161 | isa = XCBuildConfiguration; 162 | baseConfigurationReference = 394EDF611D5A193D001A666E /* maxmspsdk.xcconfig */; 163 | buildSettings = { 164 | COPY_PHASE_STRIP = YES; 165 | PRODUCT_NAME = "cm.gausscloud~"; 166 | }; 167 | name = Deployment; 168 | }; 169 | /* End XCBuildConfiguration section */ 170 | 171 | /* Begin XCConfigurationList section */ 172 | 2FBBEACF08F335010078DB84 /* Build configuration list for PBXProject "cm.gausscloud~" */ = { 173 | isa = XCConfigurationList; 174 | buildConfigurations = ( 175 | 2FBBEAD008F335010078DB84 /* Development */, 176 | 2FBBEAD108F335010078DB84 /* Deployment */, 177 | ); 178 | defaultConfigurationIsVisible = 0; 179 | defaultConfigurationName = Development; 180 | }; 181 | 2FBBEAE008F335360078DB84 /* Build configuration list for PBXNativeTarget "max-external" */ = { 182 | isa = XCConfigurationList; 183 | buildConfigurations = ( 184 | 2FBBEAE108F335360078DB84 /* Development */, 185 | 2FBBEAE208F335360078DB84 /* Deployment */, 186 | ); 187 | defaultConfigurationIsVisible = 0; 188 | defaultConfigurationName = Development; 189 | }; 190 | /* End XCConfigurationList section */ 191 | }; 192 | rootObject = 089C1669FE841209C02AAC07 /* Project object */; 193 | } 194 | -------------------------------------------------------------------------------- /source/cm.gausscloud~/cm.gausscloud~.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /source/cm.indexcloud~/cm.indexcloud~.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 22CF115E0EE9A6F40054F513 /* cm.indexcloud~.c in Sources */ = {isa = PBXBuildFile; fileRef = 22CF115D0EE9A6F40054F513 /* cm.indexcloud~.c */; }; 11 | 3988008B1D5AF951006CD2F8 /* maxmspsdk.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = 3988008A1D5AF951006CD2F8 /* maxmspsdk.xcconfig */; }; 12 | /* End PBXBuildFile section */ 13 | 14 | /* Begin PBXFileReference section */ 15 | 22CF115D0EE9A6F40054F513 /* cm.indexcloud~.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = "cm.indexcloud~.c"; sourceTree = ""; }; 16 | 2FBBEAE508F335360078DB84 /* cm.indexcloud~.mxo */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "cm.indexcloud~.mxo"; sourceTree = BUILT_PRODUCTS_DIR; }; 17 | 3988008A1D5AF951006CD2F8 /* maxmspsdk.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = maxmspsdk.xcconfig; path = ../maxmspsdk.xcconfig; sourceTree = ""; }; 18 | /* End PBXFileReference section */ 19 | 20 | /* Begin PBXFrameworksBuildPhase section */ 21 | 2FBBEADC08F335360078DB84 /* Frameworks */ = { 22 | isa = PBXFrameworksBuildPhase; 23 | buildActionMask = 2147483647; 24 | files = ( 25 | ); 26 | runOnlyForDeploymentPostprocessing = 0; 27 | }; 28 | /* End PBXFrameworksBuildPhase section */ 29 | 30 | /* Begin PBXGroup section */ 31 | 089C166AFE841209C02AAC07 /* iterator */ = { 32 | isa = PBXGroup; 33 | children = ( 34 | 3988008A1D5AF951006CD2F8 /* maxmspsdk.xcconfig */, 35 | 22CF115D0EE9A6F40054F513 /* cm.indexcloud~.c */, 36 | 19C28FB4FE9D528D11CA2CBB /* Products */, 37 | ); 38 | name = iterator; 39 | sourceTree = ""; 40 | }; 41 | 19C28FB4FE9D528D11CA2CBB /* Products */ = { 42 | isa = PBXGroup; 43 | children = ( 44 | 2FBBEAE508F335360078DB84 /* cm.indexcloud~.mxo */, 45 | ); 46 | name = Products; 47 | sourceTree = ""; 48 | }; 49 | /* End PBXGroup section */ 50 | 51 | /* Begin PBXHeadersBuildPhase section */ 52 | 2FBBEAD708F335360078DB84 /* Headers */ = { 53 | isa = PBXHeadersBuildPhase; 54 | buildActionMask = 2147483647; 55 | files = ( 56 | ); 57 | runOnlyForDeploymentPostprocessing = 0; 58 | }; 59 | /* End PBXHeadersBuildPhase section */ 60 | 61 | /* Begin PBXNativeTarget section */ 62 | 2FBBEAD608F335360078DB84 /* max-external */ = { 63 | isa = PBXNativeTarget; 64 | buildConfigurationList = 2FBBEAE008F335360078DB84 /* Build configuration list for PBXNativeTarget "max-external" */; 65 | buildPhases = ( 66 | 2FBBEAD708F335360078DB84 /* Headers */, 67 | 2FBBEAD808F335360078DB84 /* Resources */, 68 | 2FBBEADA08F335360078DB84 /* Sources */, 69 | 2FBBEADC08F335360078DB84 /* Frameworks */, 70 | 2FBBEADF08F335360078DB84 /* Rez */, 71 | ); 72 | buildRules = ( 73 | ); 74 | dependencies = ( 75 | ); 76 | name = "max-external"; 77 | productName = iterator; 78 | productReference = 2FBBEAE508F335360078DB84 /* cm.indexcloud~.mxo */; 79 | productType = "com.apple.product-type.bundle"; 80 | }; 81 | /* End PBXNativeTarget section */ 82 | 83 | /* Begin PBXProject section */ 84 | 089C1669FE841209C02AAC07 /* Project object */ = { 85 | isa = PBXProject; 86 | attributes = { 87 | LastUpgradeCheck = 0800; 88 | }; 89 | buildConfigurationList = 2FBBEACF08F335010078DB84 /* Build configuration list for PBXProject "cm.indexcloud~" */; 90 | compatibilityVersion = "Xcode 3.2"; 91 | developmentRegion = English; 92 | hasScannedForEncodings = 1; 93 | knownRegions = ( 94 | en, 95 | ); 96 | mainGroup = 089C166AFE841209C02AAC07 /* iterator */; 97 | projectDirPath = ""; 98 | projectRoot = ""; 99 | targets = ( 100 | 2FBBEAD608F335360078DB84 /* max-external */, 101 | ); 102 | }; 103 | /* End PBXProject section */ 104 | 105 | /* Begin PBXResourcesBuildPhase section */ 106 | 2FBBEAD808F335360078DB84 /* Resources */ = { 107 | isa = PBXResourcesBuildPhase; 108 | buildActionMask = 2147483647; 109 | files = ( 110 | 3988008B1D5AF951006CD2F8 /* maxmspsdk.xcconfig in Resources */, 111 | ); 112 | runOnlyForDeploymentPostprocessing = 0; 113 | }; 114 | /* End PBXResourcesBuildPhase section */ 115 | 116 | /* Begin PBXRezBuildPhase section */ 117 | 2FBBEADF08F335360078DB84 /* Rez */ = { 118 | isa = PBXRezBuildPhase; 119 | buildActionMask = 2147483647; 120 | files = ( 121 | ); 122 | runOnlyForDeploymentPostprocessing = 0; 123 | }; 124 | /* End PBXRezBuildPhase section */ 125 | 126 | /* Begin PBXSourcesBuildPhase section */ 127 | 2FBBEADA08F335360078DB84 /* Sources */ = { 128 | isa = PBXSourcesBuildPhase; 129 | buildActionMask = 2147483647; 130 | files = ( 131 | 22CF115E0EE9A6F40054F513 /* cm.indexcloud~.c in Sources */, 132 | ); 133 | runOnlyForDeploymentPostprocessing = 0; 134 | }; 135 | /* End PBXSourcesBuildPhase section */ 136 | 137 | /* Begin XCBuildConfiguration section */ 138 | 2FBBEAD008F335010078DB84 /* Development */ = { 139 | isa = XCBuildConfiguration; 140 | buildSettings = { 141 | }; 142 | name = Development; 143 | }; 144 | 2FBBEAD108F335010078DB84 /* Deployment */ = { 145 | isa = XCBuildConfiguration; 146 | buildSettings = { 147 | }; 148 | name = Deployment; 149 | }; 150 | 2FBBEAE108F335360078DB84 /* Development */ = { 151 | isa = XCBuildConfiguration; 152 | baseConfigurationReference = 3988008A1D5AF951006CD2F8 /* maxmspsdk.xcconfig */; 153 | buildSettings = { 154 | COPY_PHASE_STRIP = NO; 155 | GCC_OPTIMIZATION_LEVEL = 0; 156 | PRODUCT_NAME = "cm.indexcloud~"; 157 | }; 158 | name = Development; 159 | }; 160 | 2FBBEAE208F335360078DB84 /* Deployment */ = { 161 | isa = XCBuildConfiguration; 162 | baseConfigurationReference = 3988008A1D5AF951006CD2F8 /* maxmspsdk.xcconfig */; 163 | buildSettings = { 164 | COPY_PHASE_STRIP = YES; 165 | PRODUCT_NAME = "cm.indexcloud~"; 166 | }; 167 | name = Deployment; 168 | }; 169 | /* End XCBuildConfiguration section */ 170 | 171 | /* Begin XCConfigurationList section */ 172 | 2FBBEACF08F335010078DB84 /* Build configuration list for PBXProject "cm.indexcloud~" */ = { 173 | isa = XCConfigurationList; 174 | buildConfigurations = ( 175 | 2FBBEAD008F335010078DB84 /* Development */, 176 | 2FBBEAD108F335010078DB84 /* Deployment */, 177 | ); 178 | defaultConfigurationIsVisible = 0; 179 | defaultConfigurationName = Development; 180 | }; 181 | 2FBBEAE008F335360078DB84 /* Build configuration list for PBXNativeTarget "max-external" */ = { 182 | isa = XCConfigurationList; 183 | buildConfigurations = ( 184 | 2FBBEAE108F335360078DB84 /* Development */, 185 | 2FBBEAE208F335360078DB84 /* Deployment */, 186 | ); 187 | defaultConfigurationIsVisible = 0; 188 | defaultConfigurationName = Development; 189 | }; 190 | /* End XCConfigurationList section */ 191 | }; 192 | rootObject = 089C1669FE841209C02AAC07 /* Project object */; 193 | } 194 | -------------------------------------------------------------------------------- /source/cm.indexcloud~/cm.indexcloud~.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /source/cm.livecloud~/cm.livecloud~.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 22CF115E0EE9A6F40054F513 /* cm.livecloud~.c in Sources */ = {isa = PBXBuildFile; fileRef = 22CF115D0EE9A6F40054F513 /* cm.livecloud~.c */; }; 11 | 395B424A1D5AF9E2009A13F7 /* maxmspsdk.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = 395B42491D5AF9E2009A13F7 /* maxmspsdk.xcconfig */; }; 12 | /* End PBXBuildFile section */ 13 | 14 | /* Begin PBXFileReference section */ 15 | 22CF115D0EE9A6F40054F513 /* cm.livecloud~.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = "cm.livecloud~.c"; sourceTree = ""; }; 16 | 2FBBEAE508F335360078DB84 /* cm.livecloud~.mxo */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "cm.livecloud~.mxo"; sourceTree = BUILT_PRODUCTS_DIR; }; 17 | 395B42491D5AF9E2009A13F7 /* maxmspsdk.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = maxmspsdk.xcconfig; path = ../maxmspsdk.xcconfig; sourceTree = ""; }; 18 | /* End PBXFileReference section */ 19 | 20 | /* Begin PBXFrameworksBuildPhase section */ 21 | 2FBBEADC08F335360078DB84 /* Frameworks */ = { 22 | isa = PBXFrameworksBuildPhase; 23 | buildActionMask = 2147483647; 24 | files = ( 25 | ); 26 | runOnlyForDeploymentPostprocessing = 0; 27 | }; 28 | /* End PBXFrameworksBuildPhase section */ 29 | 30 | /* Begin PBXGroup section */ 31 | 089C166AFE841209C02AAC07 /* iterator */ = { 32 | isa = PBXGroup; 33 | children = ( 34 | 395B42491D5AF9E2009A13F7 /* maxmspsdk.xcconfig */, 35 | 22CF115D0EE9A6F40054F513 /* cm.livecloud~.c */, 36 | 19C28FB4FE9D528D11CA2CBB /* Products */, 37 | ); 38 | name = iterator; 39 | sourceTree = ""; 40 | }; 41 | 19C28FB4FE9D528D11CA2CBB /* Products */ = { 42 | isa = PBXGroup; 43 | children = ( 44 | 2FBBEAE508F335360078DB84 /* cm.livecloud~.mxo */, 45 | ); 46 | name = Products; 47 | sourceTree = ""; 48 | }; 49 | /* End PBXGroup section */ 50 | 51 | /* Begin PBXHeadersBuildPhase section */ 52 | 2FBBEAD708F335360078DB84 /* Headers */ = { 53 | isa = PBXHeadersBuildPhase; 54 | buildActionMask = 2147483647; 55 | files = ( 56 | ); 57 | runOnlyForDeploymentPostprocessing = 0; 58 | }; 59 | /* End PBXHeadersBuildPhase section */ 60 | 61 | /* Begin PBXNativeTarget section */ 62 | 2FBBEAD608F335360078DB84 /* max-external */ = { 63 | isa = PBXNativeTarget; 64 | buildConfigurationList = 2FBBEAE008F335360078DB84 /* Build configuration list for PBXNativeTarget "max-external" */; 65 | buildPhases = ( 66 | 2FBBEAD708F335360078DB84 /* Headers */, 67 | 2FBBEAD808F335360078DB84 /* Resources */, 68 | 2FBBEADA08F335360078DB84 /* Sources */, 69 | 2FBBEADC08F335360078DB84 /* Frameworks */, 70 | 2FBBEADF08F335360078DB84 /* Rez */, 71 | ); 72 | buildRules = ( 73 | ); 74 | dependencies = ( 75 | ); 76 | name = "max-external"; 77 | productName = iterator; 78 | productReference = 2FBBEAE508F335360078DB84 /* cm.livecloud~.mxo */; 79 | productType = "com.apple.product-type.bundle"; 80 | }; 81 | /* End PBXNativeTarget section */ 82 | 83 | /* Begin PBXProject section */ 84 | 089C1669FE841209C02AAC07 /* Project object */ = { 85 | isa = PBXProject; 86 | attributes = { 87 | LastUpgradeCheck = 0800; 88 | }; 89 | buildConfigurationList = 2FBBEACF08F335010078DB84 /* Build configuration list for PBXProject "cm.livecloud~" */; 90 | compatibilityVersion = "Xcode 3.2"; 91 | developmentRegion = English; 92 | hasScannedForEncodings = 1; 93 | knownRegions = ( 94 | en, 95 | ); 96 | mainGroup = 089C166AFE841209C02AAC07 /* iterator */; 97 | projectDirPath = ""; 98 | projectRoot = ""; 99 | targets = ( 100 | 2FBBEAD608F335360078DB84 /* max-external */, 101 | ); 102 | }; 103 | /* End PBXProject section */ 104 | 105 | /* Begin PBXResourcesBuildPhase section */ 106 | 2FBBEAD808F335360078DB84 /* Resources */ = { 107 | isa = PBXResourcesBuildPhase; 108 | buildActionMask = 2147483647; 109 | files = ( 110 | 395B424A1D5AF9E2009A13F7 /* maxmspsdk.xcconfig in Resources */, 111 | ); 112 | runOnlyForDeploymentPostprocessing = 0; 113 | }; 114 | /* End PBXResourcesBuildPhase section */ 115 | 116 | /* Begin PBXRezBuildPhase section */ 117 | 2FBBEADF08F335360078DB84 /* Rez */ = { 118 | isa = PBXRezBuildPhase; 119 | buildActionMask = 2147483647; 120 | files = ( 121 | ); 122 | runOnlyForDeploymentPostprocessing = 0; 123 | }; 124 | /* End PBXRezBuildPhase section */ 125 | 126 | /* Begin PBXSourcesBuildPhase section */ 127 | 2FBBEADA08F335360078DB84 /* Sources */ = { 128 | isa = PBXSourcesBuildPhase; 129 | buildActionMask = 2147483647; 130 | files = ( 131 | 22CF115E0EE9A6F40054F513 /* cm.livecloud~.c in Sources */, 132 | ); 133 | runOnlyForDeploymentPostprocessing = 0; 134 | }; 135 | /* End PBXSourcesBuildPhase section */ 136 | 137 | /* Begin XCBuildConfiguration section */ 138 | 2FBBEAD008F335010078DB84 /* Development */ = { 139 | isa = XCBuildConfiguration; 140 | buildSettings = { 141 | }; 142 | name = Development; 143 | }; 144 | 2FBBEAD108F335010078DB84 /* Deployment */ = { 145 | isa = XCBuildConfiguration; 146 | buildSettings = { 147 | }; 148 | name = Deployment; 149 | }; 150 | 2FBBEAE108F335360078DB84 /* Development */ = { 151 | isa = XCBuildConfiguration; 152 | baseConfigurationReference = 395B42491D5AF9E2009A13F7 /* maxmspsdk.xcconfig */; 153 | buildSettings = { 154 | COPY_PHASE_STRIP = NO; 155 | GCC_OPTIMIZATION_LEVEL = 0; 156 | PRODUCT_NAME = "cm.livecloud~"; 157 | }; 158 | name = Development; 159 | }; 160 | 2FBBEAE208F335360078DB84 /* Deployment */ = { 161 | isa = XCBuildConfiguration; 162 | baseConfigurationReference = 395B42491D5AF9E2009A13F7 /* maxmspsdk.xcconfig */; 163 | buildSettings = { 164 | COPY_PHASE_STRIP = YES; 165 | PRODUCT_NAME = "cm.livecloud~"; 166 | }; 167 | name = Deployment; 168 | }; 169 | /* End XCBuildConfiguration section */ 170 | 171 | /* Begin XCConfigurationList section */ 172 | 2FBBEACF08F335010078DB84 /* Build configuration list for PBXProject "cm.livecloud~" */ = { 173 | isa = XCConfigurationList; 174 | buildConfigurations = ( 175 | 2FBBEAD008F335010078DB84 /* Development */, 176 | 2FBBEAD108F335010078DB84 /* Deployment */, 177 | ); 178 | defaultConfigurationIsVisible = 0; 179 | defaultConfigurationName = Development; 180 | }; 181 | 2FBBEAE008F335360078DB84 /* Build configuration list for PBXNativeTarget "max-external" */ = { 182 | isa = XCConfigurationList; 183 | buildConfigurations = ( 184 | 2FBBEAE108F335360078DB84 /* Development */, 185 | 2FBBEAE208F335360078DB84 /* Deployment */, 186 | ); 187 | defaultConfigurationIsVisible = 0; 188 | defaultConfigurationName = Development; 189 | }; 190 | /* End XCConfigurationList section */ 191 | }; 192 | rootObject = 089C1669FE841209C02AAC07 /* Project object */; 193 | } 194 | -------------------------------------------------------------------------------- /source/cm.livecloud~/cm.livecloud~.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /source/maxmspsdk.xcconfig: -------------------------------------------------------------------------------- 1 | // Xcode target configuration settings for the Max 6 SDK 2 | // Used as the basis for Xcode projects to build Max externals. 3 | // 4 | // Changes to the settings in this file will be applied to all SDK examples 5 | // To change settings for only one of the examples, override the settings using 6 | // Xcode's target inspector. 7 | // 8 | // by Timothy Place 9 | // Copyright © 2012, Cycling '74 10 | 11 | 12 | // Name & Version 13 | PRODUCT_NAME = $(PROJECT_NAME) 14 | PRODUCT_VERSION = 7.0.1 15 | ARCHS = i386 x86_64 16 | 17 | 18 | // Paths 19 | C74SUPPORT = $(SRCROOT)/../../max-sdk/source/c74support 20 | HEADER_SEARCH_PATHS = "$(C74SUPPORT)/max-includes" "$(C74SUPPORT)/msp-includes" "$(C74SUPPORT)/jit-includes" 21 | FRAMEWORK_SEARCH_PATHS = "$(C74SUPPORT)/max-includes" "$(C74SUPPORT)/msp-includes" "$(C74SUPPORT)/jit-includes" 22 | DSTROOT = $(C74SUPPORT)/../../../externals 23 | // (This next path is relative to DSTROOT) 24 | INSTALL_PATH = / 25 | 26 | 27 | // Special Files 28 | GCC_PREFIX_HEADER = $(C74SUPPORT)/max-includes/macho-prefix.pch 29 | INFOPLIST_FILE = $(C74SUPPORT)/../Info.plist 30 | 31 | 32 | // Architecture and Deployment 33 | ARCHS = i386 x86_64 34 | 35 | // The following section sets the Mac SDK version to be used. 36 | // For most projects this has little to no impact because there are no direct dependencies on OS function calls. 37 | // In those projects with OS function calls, it should be okay to use the most recent SDK version because the 38 | // MACOSX_DEPLOYMENT_TARGET will disable functionality that is unavailable in the older target OS. 39 | // For this reason, the SDKROOT variable is commented out, telling Xcode to use the default (which is the most recent SDK). 40 | // 41 | // SDKROOT = macosx10.6 42 | 43 | MACOSX_DEPLOYMENT_TARGET = 10.7 44 | 45 | 46 | // Compiler Version -- leave them all commented out to get the default version provided by Xcode 47 | // GCC_VERSION = com.apple.compilers.llvmgcc42 48 | // GCC_VERSION = com.apple.compilers.llvm.clang.1_0 49 | 50 | 51 | // Preprocessor Defines 52 | GCC_PREPROCESSOR_DEFINITIONS = "DENORM_WANT_FIX = 1" "NO_TRANSLATION_SUPPORT = 1" 53 | 54 | 55 | // Static Configuration (don't change these) 56 | WRAPPER_EXTENSION = mxo; 57 | WARNING_CFLAGS = -Wmost -Wno-four-char-constants -Wno-unknown-pragmas 58 | DEPLOYMENT_LOCATION = YES 59 | GENERATE_PKGINFO_FILE = YES 60 | 61 | 62 | // Flags to enforce some build-time checks for the symbols used while not actually performing a hard link 63 | C74_SYM_LINKER_FLAGS = @$(C74SUPPORT)/max-includes/c74_linker_flags.txt 64 | 65 | 66 | // hide all symbols by default 67 | // mark a function to be exported with the C74_EXPORT macro 68 | // most likely this will only apply to the ext_main() function which we've already prototyped for you 69 | OTHER_CFLAGS = -fvisibility=hidden 70 | 71 | OTHER_LDFLAGS = -framework MaxAudioAPI -framework JitterAPI $(C74_SYM_LINKER_FLAGS) 72 | --------------------------------------------------------------------------------