├── .gitignore ├── LICENSE ├── Les-terrains-vagues.maxproj ├── README.md ├── bpm-adopter.js ├── bpm-calculator.js ├── delay-line-switcher.js ├── empty-matrix.js ├── les-terrains-vagues.maxpat ├── matrix-to-seq.js ├── new-loop-switcher.js ├── polygrain~stereo-a.maxpat ├── polygrain~stereo-b.maxpat ├── research-with-seq~.maxpat ├── rev3~.maxpat ├── sequencer-voice.maxpat ├── sortmatrix.js └── step-sequencer.js /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store -------------------------------------------------------------------------------- /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 | 635 | Copyright (C) 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 | Copyright (C) 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 | -------------------------------------------------------------------------------- /Les-terrains-vagues.maxproj: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "Les-terrains-vagues", 3 | "version" : 1, 4 | "creationdate" : -675108692, 5 | "modificationdate" : -675106466, 6 | "viewrect" : [ 25.0, 69.0, 300.0, 500.0 ], 7 | "autoorganize" : 0, 8 | "hideprojectwindow" : 0, 9 | "showdependencies" : 1, 10 | "autolocalize" : 0, 11 | "contents" : { 12 | "patchers" : { 13 | "les-terrains-vagues.maxpat" : { 14 | "kind" : "patcher", 15 | "local" : 1, 16 | "toplevel" : 1 17 | } 18 | , 19 | "rev3~.maxpat" : { 20 | "kind" : "patcher", 21 | "local" : 1 22 | } 23 | , 24 | "polygrain~stereo-a.maxpat" : { 25 | "kind" : "patcher", 26 | "local" : 1 27 | } 28 | , 29 | "polygrain~stereo-b.maxpat" : { 30 | "kind" : "patcher", 31 | "local" : 1 32 | } 33 | 34 | } 35 | , 36 | "code" : { 37 | "delay-line-switcher.js" : { 38 | "kind" : "javascript", 39 | "local" : 1 40 | } 41 | , 42 | "sortmatrix.js" : { 43 | "kind" : "javascript", 44 | "local" : 1 45 | } 46 | , 47 | "bpm-adopter.js" : { 48 | "kind" : "javascript", 49 | "local" : 1 50 | } 51 | , 52 | "bpm-calculator.js" : { 53 | "kind" : "javascript", 54 | "local" : 1 55 | } 56 | , 57 | "step-sequencer.js" : { 58 | "kind" : "javascript", 59 | "local" : 1 60 | } 61 | 62 | } 63 | 64 | } 65 | , 66 | "layout" : { 67 | 68 | } 69 | , 70 | "searchpath" : { 71 | 72 | } 73 | , 74 | "detailsvisible" : 0, 75 | "amxdtype" : 1633771873, 76 | "readonly" : 0, 77 | "devpathtype" : 0, 78 | "devpath" : ".", 79 | "sortmode" : 0 80 | } 81 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Les-terrains-vagues 2 | A Max/MSP patch for musical improvisation 3 | -------------------------------------------------------------------------------- /bpm-adopter.js: -------------------------------------------------------------------------------- 1 | inlets = 3; 2 | outlets = 1; 3 | 4 | var globalBPM = 0; 5 | var millisPerBeat = 0; 6 | var selectionStart = 0; 7 | 8 | function msg_int(val) { 9 | if (inlet === 0) { 10 | //Adopt the bpm 11 | //post(millisPerBeat, val, selectionStart); 12 | post("À l'aide!!!"); 13 | post("millisPerBeat: " + millisPerBeat); 14 | outlet(0, Math.floor((millisPerBeat * val) + selectionStart) + 1); 15 | } 16 | if (inlet === 1) { 17 | selectionStart = val; 18 | post(selectionStart); 19 | } 20 | if (inlet === 2) { 21 | //millisPerBeat = val; 22 | } 23 | } 24 | 25 | function msg_float(val) { 26 | if (inlet === 2) { 27 | millisPerBeat = val; 28 | post("Got the beat!!!! " + millisPerBeat); 29 | } 30 | } -------------------------------------------------------------------------------- /bpm-calculator.js: -------------------------------------------------------------------------------- 1 | inlets = 2; 2 | outlets = 2; 3 | 4 | var durationInMs = 0; 5 | 6 | function msg_int(val) { 7 | // post(val); 8 | if (inlet === 0) { 9 | outlet(0, 60 / (durationInMs / 1000) * val); 10 | outlet(1, durationInMs / val); 11 | } 12 | if (inlet === 1) { 13 | durationInMs = val; 14 | } 15 | } -------------------------------------------------------------------------------- /delay-line-switcher.js: -------------------------------------------------------------------------------- 1 | inlets = 2; 2 | outlets = 3; 3 | 4 | var mainMatrix = true; 5 | var delayMatrix = false; 6 | var instructionsModulo = 0; 7 | 8 | function list() { 9 | 10 | 11 | // post(arguments[0], arguments[1], arguments[2]); 12 | // outlet(0, arguments[1], arguments[0], arguments[2]); 13 | 14 | if (instructionsModulo == 0) { 15 | instructionsModulo = 1; 16 | if (inlet === 0) { 17 | // outlet(0, oldVal +", " + val + " 10000"); 18 | outlet(1, "clear"); 19 | outlet(2, 0, 0, arguments[2]); 20 | for (var i = 1; i < 5; i++) { 21 | outlet(2, 0, i, 0); 22 | //post(i); 23 | } 24 | } 25 | if (inlet === 1) { 26 | // outlet(0, oldVal +", " + val + " 10000"); 27 | outlet(0, "clear"); 28 | outlet(2, 0, arguments[0] + 1, arguments[2]); 29 | outlet(2, 0, 0, 0); 30 | for (var j = 1; j < 5; j++) { 31 | if (j !== arguments[0] + 1) { 32 | outlet(2, 0, j, 0); 33 | //post(j); 34 | } 35 | } 36 | } 37 | } 38 | instructionsModulo = 0; 39 | } -------------------------------------------------------------------------------- /empty-matrix.js: -------------------------------------------------------------------------------- 1 | inlets = 1; 2 | outlets = 1; 3 | 4 | function list() { 5 | //post(l[1]); 6 | //post(arguments[0] + " " + arguments[1] + " " + arguments[2]); 7 | var x = arguments[0]; 8 | var y = arguments[1]; 9 | var value = arguments[2]; 10 | if (value == 1) { 11 | outlet(0, "clear"); 12 | } 13 | } -------------------------------------------------------------------------------- /matrix-to-seq.js: -------------------------------------------------------------------------------- 1 | inlets = 1; 2 | outlets = 1; 3 | 4 | function list() { 5 | //post(l[1]); 6 | //post(arguments[0] + " " + arguments[1] + " " + arguments[2]); 7 | var x = arguments[0]; 8 | var y = arguments[1]; 9 | var value = arguments[2]; 10 | //post([2, 3, 4]); 11 | var timeValue = (1 / 16) * x; 12 | var row = getName(y); 13 | if (value == 1) { 14 | outlet(0, "add", 0, timeValue, row); 15 | } else if (value == 0) { 16 | outlet(0, "delete", 0, timeValue, timeValue + 0.01, row); 17 | } else { 18 | post("Value out of range"); 19 | } 20 | 21 | } 22 | 23 | function getName(n){ 24 | var r; 25 | switch(n) { 26 | case 0: 27 | r = "zero"; 28 | break; 29 | case 1: 30 | r = "one"; 31 | break; 32 | case 2: 33 | r = "two"; 34 | break; 35 | case 3: 36 | r = "three"; 37 | break; 38 | case 4: 39 | r = "four"; 40 | break; 41 | case 5: 42 | r = "five"; 43 | break; 44 | case 6: 45 | r = "six"; 46 | break; 47 | case 7: 48 | r = "seven"; 49 | break; 50 | default: 51 | r = "error"; 52 | } 53 | return r; 54 | } -------------------------------------------------------------------------------- /new-loop-switcher.js: -------------------------------------------------------------------------------- 1 | inlets = 1; 2 | outlets = 5; 3 | 4 | var loops = [0, 0, 0, 0]; 5 | 6 | function list() { 7 | var x = arguments[0]; 8 | var y = arguments[1]; 9 | var value = arguments[2]; 10 | var oppositeValue = (value) ? 0 : 1; 11 | var index; 12 | if (x == 0 && y == 0) { 13 | index = 0; 14 | } else if (x == 1 && y == 0) { 15 | index = 1; 16 | } else if (x == 0 && y == 1) { 17 | index = 2; 18 | } else if (x == 1 && y == 1) { 19 | index = 3; 20 | } 21 | outlet(0, 0, index, value); 22 | outlet(index + 1, x, y, oppositeValue); 23 | } -------------------------------------------------------------------------------- /polygrain~stereo-a.maxpat: -------------------------------------------------------------------------------- 1 | { 2 | "patcher" : { 3 | "fileversion" : 1, 4 | "appversion" : { 5 | "major" : 7, 6 | "minor" : 3, 7 | "revision" : 5, 8 | "architecture" : "x86", 9 | "modernui" : 1 10 | } 11 | , 12 | "rect" : [ 242.0, 96.0, 1004.0, 611.0 ], 13 | "bglocked" : 0, 14 | "openinpresentation" : 0, 15 | "default_fontsize" : 12.0, 16 | "default_fontface" : 0, 17 | "default_fontname" : "Arial", 18 | "gridonopen" : 1, 19 | "gridsize" : [ 15.0, 15.0 ], 20 | "gridsnaponopen" : 1, 21 | "objectsnaponopen" : 1, 22 | "statusbarvisible" : 2, 23 | "toolbarvisible" : 1, 24 | "lefttoolbarpinned" : 0, 25 | "toptoolbarpinned" : 0, 26 | "righttoolbarpinned" : 0, 27 | "bottomtoolbarpinned" : 0, 28 | "toolbars_unpinned_last_save" : 0, 29 | "tallnewobj" : 1, 30 | "boxanimatetime" : 200, 31 | "enablehscroll" : 1, 32 | "enablevscroll" : 1, 33 | "devicewidth" : 0.0, 34 | "description" : "", 35 | "digest" : "", 36 | "tags" : "", 37 | "style" : "", 38 | "subpatcher_template" : "", 39 | "boxes" : [ { 40 | "box" : { 41 | "id" : "obj-8", 42 | "maxclass" : "newobj", 43 | "numinlets" : 2, 44 | "numoutlets" : 1, 45 | "outlettype" : [ "signal" ], 46 | "patching_rect" : [ 382.5, 524.866699, 30.0, 26.0 ], 47 | "style" : "", 48 | "text" : "*~" 49 | } 50 | 51 | } 52 | , { 53 | "box" : { 54 | "id" : "obj-4", 55 | "maxclass" : "newobj", 56 | "numinlets" : 1, 57 | "numoutlets" : 1, 58 | "outlettype" : [ "" ], 59 | "patcher" : { 60 | "fileversion" : 1, 61 | "appversion" : { 62 | "major" : 7, 63 | "minor" : 3, 64 | "revision" : 5, 65 | "architecture" : "x86", 66 | "modernui" : 1 67 | } 68 | , 69 | "rect" : [ 59.0, 103.0, 350.0, 307.0 ], 70 | "bglocked" : 0, 71 | "openinpresentation" : 0, 72 | "default_fontsize" : 12.0, 73 | "default_fontface" : 0, 74 | "default_fontname" : "Arial", 75 | "gridonopen" : 1, 76 | "gridsize" : [ 15.0, 15.0 ], 77 | "gridsnaponopen" : 1, 78 | "objectsnaponopen" : 1, 79 | "statusbarvisible" : 2, 80 | "toolbarvisible" : 1, 81 | "lefttoolbarpinned" : 0, 82 | "toptoolbarpinned" : 0, 83 | "righttoolbarpinned" : 0, 84 | "bottomtoolbarpinned" : 0, 85 | "toolbars_unpinned_last_save" : 0, 86 | "tallnewobj" : 1, 87 | "boxanimatetime" : 200, 88 | "enablehscroll" : 1, 89 | "enablevscroll" : 1, 90 | "devicewidth" : 0.0, 91 | "description" : "", 92 | "digest" : "", 93 | "tags" : "", 94 | "style" : "", 95 | "subpatcher_template" : "", 96 | "boxes" : [ { 97 | "box" : { 98 | "fontname" : "Arial", 99 | "fontsize" : 12.0, 100 | "id" : "obj-9", 101 | "maxclass" : "newobj", 102 | "numinlets" : 0, 103 | "numoutlets" : 1, 104 | "outlettype" : [ "" ], 105 | "patching_rect" : [ 230.330811, 113.0, 75.0, 26.0 ], 106 | "style" : "", 107 | "text" : "r ampmax-a" 108 | } 109 | 110 | } 111 | , { 112 | "box" : { 113 | "fontname" : "Arial", 114 | "fontsize" : 12.0, 115 | "id" : "obj-11", 116 | "maxclass" : "newobj", 117 | "numinlets" : 0, 118 | "numoutlets" : 1, 119 | "outlettype" : [ "" ], 120 | "patching_rect" : [ 157.0, 113.0, 71.0, 26.0 ], 121 | "style" : "", 122 | "text" : "r ampmin-a" 123 | } 124 | 125 | } 126 | , { 127 | "box" : { 128 | "fontname" : "Arial", 129 | "fontsize" : 12.0, 130 | "id" : "obj-36", 131 | "maxclass" : "newobj", 132 | "numinlets" : 2, 133 | "numoutlets" : 1, 134 | "outlettype" : [ "int" ], 135 | "patching_rect" : [ 50.0, 113.0, 88.0, 26.0 ], 136 | "style" : "", 137 | "text" : "random 10000" 138 | } 139 | 140 | } 141 | , { 142 | "box" : { 143 | "fontname" : "Arial", 144 | "fontsize" : 12.0, 145 | "id" : "obj-37", 146 | "maxclass" : "newobj", 147 | "numinlets" : 6, 148 | "numoutlets" : 1, 149 | "outlettype" : [ "" ], 150 | "patching_rect" : [ 50.0, 172.277725, 168.0, 26.0 ], 151 | "style" : "", 152 | "text" : "scale 0 9999 0. 1." 153 | } 154 | 155 | } 156 | , { 157 | "box" : { 158 | "comment" : "", 159 | "id" : "obj-89", 160 | "index" : 1, 161 | "maxclass" : "inlet", 162 | "numinlets" : 0, 163 | "numoutlets" : 1, 164 | "outlettype" : [ "bang" ], 165 | "patching_rect" : [ 50.0, 68.0, 30.0, 30.0 ], 166 | "style" : "" 167 | } 168 | 169 | } 170 | , { 171 | "box" : { 172 | "comment" : "", 173 | "id" : "obj-90", 174 | "index" : 1, 175 | "maxclass" : "outlet", 176 | "numinlets" : 1, 177 | "numoutlets" : 0, 178 | "patching_rect" : [ 50.0, 213.0, 30.0, 30.0 ], 179 | "style" : "" 180 | } 181 | 182 | } 183 | ], 184 | "lines" : [ { 185 | "patchline" : { 186 | "destination" : [ "obj-37", 3 ], 187 | "source" : [ "obj-11", 0 ] 188 | } 189 | 190 | } 191 | , { 192 | "patchline" : { 193 | "destination" : [ "obj-37", 0 ], 194 | "source" : [ "obj-36", 0 ] 195 | } 196 | 197 | } 198 | , { 199 | "patchline" : { 200 | "destination" : [ "obj-90", 0 ], 201 | "source" : [ "obj-37", 0 ] 202 | } 203 | 204 | } 205 | , { 206 | "patchline" : { 207 | "destination" : [ "obj-36", 0 ], 208 | "source" : [ "obj-89", 0 ] 209 | } 210 | 211 | } 212 | , { 213 | "patchline" : { 214 | "destination" : [ "obj-37", 4 ], 215 | "source" : [ "obj-9", 0 ] 216 | } 217 | 218 | } 219 | ], 220 | "bgfillcolor_type" : "gradient", 221 | "bgfillcolor_color1" : [ 0.454902, 0.462745, 0.482353, 1.0 ], 222 | "bgfillcolor_color2" : [ 0.290196, 0.309804, 0.301961, 1.0 ], 223 | "bgfillcolor_color" : [ 0.290196, 0.309804, 0.301961, 1.0 ], 224 | "bgfillcolor_angle" : 270.0, 225 | "bgfillcolor_proportion" : 0.39 226 | } 227 | , 228 | "patching_rect" : [ 857.0, 170.022263, 75.0, 26.0 ], 229 | "saved_object_attributes" : { 230 | "description" : "", 231 | "digest" : "", 232 | "globalpatchername" : "", 233 | "style" : "", 234 | "tags" : "" 235 | } 236 | , 237 | "style" : "", 238 | "text" : "p rand_amp" 239 | } 240 | 241 | } 242 | , { 243 | "box" : { 244 | "id" : "obj-94", 245 | "maxclass" : "comment", 246 | "numinlets" : 1, 247 | "numoutlets" : 0, 248 | "patching_rect" : [ 529.0, 165.0, 86.0, 20.0 ], 249 | "style" : "", 250 | "text" : "pitch to period" 251 | } 252 | 253 | } 254 | , { 255 | "box" : { 256 | "id" : "obj-91", 257 | "maxclass" : "newobj", 258 | "numinlets" : 1, 259 | "numoutlets" : 1, 260 | "outlettype" : [ "" ], 261 | "patcher" : { 262 | "fileversion" : 1, 263 | "appversion" : { 264 | "major" : 7, 265 | "minor" : 3, 266 | "revision" : 5, 267 | "architecture" : "x86", 268 | "modernui" : 1 269 | } 270 | , 271 | "rect" : [ 59.0, 103.0, 350.0, 307.0 ], 272 | "bglocked" : 0, 273 | "openinpresentation" : 0, 274 | "default_fontsize" : 12.0, 275 | "default_fontface" : 0, 276 | "default_fontname" : "Arial", 277 | "gridonopen" : 1, 278 | "gridsize" : [ 15.0, 15.0 ], 279 | "gridsnaponopen" : 1, 280 | "objectsnaponopen" : 1, 281 | "statusbarvisible" : 2, 282 | "toolbarvisible" : 1, 283 | "lefttoolbarpinned" : 0, 284 | "toptoolbarpinned" : 0, 285 | "righttoolbarpinned" : 0, 286 | "bottomtoolbarpinned" : 0, 287 | "toolbars_unpinned_last_save" : 0, 288 | "tallnewobj" : 1, 289 | "boxanimatetime" : 200, 290 | "enablehscroll" : 1, 291 | "enablevscroll" : 1, 292 | "devicewidth" : 0.0, 293 | "description" : "", 294 | "digest" : "", 295 | "tags" : "", 296 | "style" : "", 297 | "subpatcher_template" : "", 298 | "boxes" : [ { 299 | "box" : { 300 | "fontname" : "Arial", 301 | "fontsize" : 12.0, 302 | "id" : "obj-9", 303 | "maxclass" : "newobj", 304 | "numinlets" : 0, 305 | "numoutlets" : 1, 306 | "outlettype" : [ "" ], 307 | "patching_rect" : [ 231.330811, 113.0, 75.0, 26.0 ], 308 | "style" : "", 309 | "text" : "r ampmax-a" 310 | } 311 | 312 | } 313 | , { 314 | "box" : { 315 | "fontname" : "Arial", 316 | "fontsize" : 12.0, 317 | "id" : "obj-11", 318 | "maxclass" : "newobj", 319 | "numinlets" : 0, 320 | "numoutlets" : 1, 321 | "outlettype" : [ "" ], 322 | "patching_rect" : [ 157.0, 113.0, 71.0, 26.0 ], 323 | "style" : "", 324 | "text" : "r ampmin-a" 325 | } 326 | 327 | } 328 | , { 329 | "box" : { 330 | "fontname" : "Arial", 331 | "fontsize" : 12.0, 332 | "id" : "obj-36", 333 | "maxclass" : "newobj", 334 | "numinlets" : 2, 335 | "numoutlets" : 1, 336 | "outlettype" : [ "int" ], 337 | "patching_rect" : [ 50.0, 113.0, 88.0, 26.0 ], 338 | "style" : "", 339 | "text" : "random 10000" 340 | } 341 | 342 | } 343 | , { 344 | "box" : { 345 | "fontname" : "Arial", 346 | "fontsize" : 12.0, 347 | "id" : "obj-37", 348 | "maxclass" : "newobj", 349 | "numinlets" : 6, 350 | "numoutlets" : 1, 351 | "outlettype" : [ "" ], 352 | "patching_rect" : [ 50.0, 172.277725, 168.0, 26.0 ], 353 | "style" : "", 354 | "text" : "scale 0 9999 0. 1." 355 | } 356 | 357 | } 358 | , { 359 | "box" : { 360 | "comment" : "", 361 | "id" : "obj-89", 362 | "index" : 1, 363 | "maxclass" : "inlet", 364 | "numinlets" : 0, 365 | "numoutlets" : 1, 366 | "outlettype" : [ "bang" ], 367 | "patching_rect" : [ 50.0, 68.0, 30.0, 30.0 ], 368 | "style" : "" 369 | } 370 | 371 | } 372 | , { 373 | "box" : { 374 | "comment" : "", 375 | "id" : "obj-90", 376 | "index" : 1, 377 | "maxclass" : "outlet", 378 | "numinlets" : 1, 379 | "numoutlets" : 0, 380 | "patching_rect" : [ 50.0, 213.0, 30.0, 30.0 ], 381 | "style" : "" 382 | } 383 | 384 | } 385 | ], 386 | "lines" : [ { 387 | "patchline" : { 388 | "destination" : [ "obj-37", 3 ], 389 | "source" : [ "obj-11", 0 ] 390 | } 391 | 392 | } 393 | , { 394 | "patchline" : { 395 | "destination" : [ "obj-37", 0 ], 396 | "source" : [ "obj-36", 0 ] 397 | } 398 | 399 | } 400 | , { 401 | "patchline" : { 402 | "destination" : [ "obj-90", 0 ], 403 | "source" : [ "obj-37", 0 ] 404 | } 405 | 406 | } 407 | , { 408 | "patchline" : { 409 | "destination" : [ "obj-36", 0 ], 410 | "source" : [ "obj-89", 0 ] 411 | } 412 | 413 | } 414 | , { 415 | "patchline" : { 416 | "destination" : [ "obj-37", 4 ], 417 | "source" : [ "obj-9", 0 ] 418 | } 419 | 420 | } 421 | ], 422 | "bgfillcolor_type" : "gradient", 423 | "bgfillcolor_color1" : [ 0.454902, 0.462745, 0.482353, 1.0 ], 424 | "bgfillcolor_color2" : [ 0.290196, 0.309804, 0.301961, 1.0 ], 425 | "bgfillcolor_color" : [ 0.290196, 0.309804, 0.301961, 1.0 ], 426 | "bgfillcolor_angle" : 270.0, 427 | "bgfillcolor_proportion" : 0.39 428 | } 429 | , 430 | "patching_rect" : [ 645.0, 118.022263, 75.0, 26.0 ], 431 | "saved_object_attributes" : { 432 | "description" : "", 433 | "digest" : "", 434 | "globalpatchername" : "", 435 | "style" : "", 436 | "tags" : "" 437 | } 438 | , 439 | "style" : "", 440 | "text" : "p rand_amp" 441 | } 442 | 443 | } 444 | , { 445 | "box" : { 446 | "id" : "obj-88", 447 | "maxclass" : "newobj", 448 | "numinlets" : 1, 449 | "numoutlets" : 1, 450 | "outlettype" : [ "" ], 451 | "patcher" : { 452 | "fileversion" : 1, 453 | "appversion" : { 454 | "major" : 7, 455 | "minor" : 3, 456 | "revision" : 5, 457 | "architecture" : "x86", 458 | "modernui" : 1 459 | } 460 | , 461 | "rect" : [ 59.0, 81.0, 322.0, 347.0 ], 462 | "bglocked" : 0, 463 | "openinpresentation" : 0, 464 | "default_fontsize" : 12.0, 465 | "default_fontface" : 0, 466 | "default_fontname" : "Arial", 467 | "gridonopen" : 1, 468 | "gridsize" : [ 15.0, 15.0 ], 469 | "gridsnaponopen" : 1, 470 | "objectsnaponopen" : 1, 471 | "statusbarvisible" : 2, 472 | "toolbarvisible" : 1, 473 | "lefttoolbarpinned" : 0, 474 | "toptoolbarpinned" : 0, 475 | "righttoolbarpinned" : 0, 476 | "bottomtoolbarpinned" : 0, 477 | "toolbars_unpinned_last_save" : 0, 478 | "tallnewobj" : 1, 479 | "boxanimatetime" : 200, 480 | "enablehscroll" : 1, 481 | "enablevscroll" : 1, 482 | "devicewidth" : 0.0, 483 | "description" : "", 484 | "digest" : "", 485 | "tags" : "", 486 | "style" : "", 487 | "subpatcher_template" : "", 488 | "boxes" : [ { 489 | "box" : { 490 | "fontname" : "Arial", 491 | "fontsize" : 12.0, 492 | "id" : "obj-18", 493 | "maxclass" : "newobj", 494 | "numinlets" : 0, 495 | "numoutlets" : 1, 496 | "outlettype" : [ "" ], 497 | "patching_rect" : [ 203.942383, 100.0, 77.0, 26.0 ], 498 | "style" : "", 499 | "text" : "r pitchmax-a" 500 | } 501 | 502 | } 503 | , { 504 | "box" : { 505 | "fontname" : "Arial", 506 | "fontsize" : 12.0, 507 | "id" : "obj-20", 508 | "maxclass" : "newobj", 509 | "numinlets" : 0, 510 | "numoutlets" : 1, 511 | "outlettype" : [ "" ], 512 | "patching_rect" : [ 131.829163, 100.0, 73.0, 26.0 ], 513 | "style" : "", 514 | "text" : "r pitchmin-a" 515 | } 516 | 517 | } 518 | , { 519 | "box" : { 520 | "fontname" : "Arial", 521 | "fontsize" : 12.0, 522 | "id" : "obj-32", 523 | "maxclass" : "newobj", 524 | "numinlets" : 2, 525 | "numoutlets" : 1, 526 | "outlettype" : [ "int" ], 527 | "patching_rect" : [ 50.0, 133.800049, 88.0, 26.0 ], 528 | "style" : "", 529 | "text" : "random 10000" 530 | } 531 | 532 | } 533 | , { 534 | "box" : { 535 | "fontname" : "Arial", 536 | "fontsize" : 12.0, 537 | "id" : "obj-33", 538 | "maxclass" : "newobj", 539 | "numinlets" : 6, 540 | "numoutlets" : 1, 541 | "outlettype" : [ "" ], 542 | "patching_rect" : [ 50.0, 188.877808, 175.0, 26.0 ], 543 | "style" : "", 544 | "text" : "scale 0 9999 0. 1." 545 | } 546 | 547 | } 548 | , { 549 | "box" : { 550 | "comment" : "", 551 | "id" : "obj-86", 552 | "index" : 1, 553 | "maxclass" : "inlet", 554 | "numinlets" : 0, 555 | "numoutlets" : 1, 556 | "outlettype" : [ "bang" ], 557 | "patching_rect" : [ 50.0, 82.0, 30.0, 30.0 ], 558 | "style" : "" 559 | } 560 | 561 | } 562 | , { 563 | "box" : { 564 | "comment" : "", 565 | "id" : "obj-87", 566 | "index" : 1, 567 | "maxclass" : "outlet", 568 | "numinlets" : 1, 569 | "numoutlets" : 0, 570 | "patching_rect" : [ 50.0, 234.0, 30.0, 30.0 ], 571 | "style" : "" 572 | } 573 | 574 | } 575 | ], 576 | "lines" : [ { 577 | "patchline" : { 578 | "destination" : [ "obj-33", 4 ], 579 | "source" : [ "obj-18", 0 ] 580 | } 581 | 582 | } 583 | , { 584 | "patchline" : { 585 | "destination" : [ "obj-33", 3 ], 586 | "source" : [ "obj-20", 0 ] 587 | } 588 | 589 | } 590 | , { 591 | "patchline" : { 592 | "destination" : [ "obj-33", 0 ], 593 | "source" : [ "obj-32", 0 ] 594 | } 595 | 596 | } 597 | , { 598 | "patchline" : { 599 | "destination" : [ "obj-87", 0 ], 600 | "source" : [ "obj-33", 0 ] 601 | } 602 | 603 | } 604 | , { 605 | "patchline" : { 606 | "destination" : [ "obj-32", 0 ], 607 | "source" : [ "obj-86", 0 ] 608 | } 609 | 610 | } 611 | ], 612 | "bgfillcolor_type" : "gradient", 613 | "bgfillcolor_color1" : [ 0.454902, 0.462745, 0.482353, 1.0 ], 614 | "bgfillcolor_color2" : [ 0.290196, 0.309804, 0.301961, 1.0 ], 615 | "bgfillcolor_color" : [ 0.290196, 0.309804, 0.301961, 1.0 ], 616 | "bgfillcolor_angle" : 270.0, 617 | "bgfillcolor_proportion" : 0.39 618 | } 619 | , 620 | "patching_rect" : [ 488.0, 118.022263, 77.0, 26.0 ], 621 | "saved_object_attributes" : { 622 | "description" : "", 623 | "digest" : "", 624 | "globalpatchername" : "", 625 | "style" : "", 626 | "tags" : "" 627 | } 628 | , 629 | "style" : "", 630 | "text" : "p rand_pitch" 631 | } 632 | 633 | } 634 | , { 635 | "box" : { 636 | "id" : "obj-85", 637 | "maxclass" : "newobj", 638 | "numinlets" : 1, 639 | "numoutlets" : 1, 640 | "outlettype" : [ "" ], 641 | "patcher" : { 642 | "fileversion" : 1, 643 | "appversion" : { 644 | "major" : 7, 645 | "minor" : 3, 646 | "revision" : 5, 647 | "architecture" : "x86", 648 | "modernui" : 1 649 | } 650 | , 651 | "rect" : [ 59.0, 81.0, 403.0, 308.0 ], 652 | "bglocked" : 0, 653 | "openinpresentation" : 0, 654 | "default_fontsize" : 12.0, 655 | "default_fontface" : 0, 656 | "default_fontname" : "Arial", 657 | "gridonopen" : 1, 658 | "gridsize" : [ 15.0, 15.0 ], 659 | "gridsnaponopen" : 1, 660 | "objectsnaponopen" : 1, 661 | "statusbarvisible" : 2, 662 | "toolbarvisible" : 1, 663 | "lefttoolbarpinned" : 0, 664 | "toptoolbarpinned" : 0, 665 | "righttoolbarpinned" : 0, 666 | "bottomtoolbarpinned" : 0, 667 | "toolbars_unpinned_last_save" : 0, 668 | "tallnewobj" : 1, 669 | "boxanimatetime" : 200, 670 | "enablehscroll" : 1, 671 | "enablevscroll" : 1, 672 | "devicewidth" : 0.0, 673 | "description" : "", 674 | "digest" : "", 675 | "tags" : "", 676 | "style" : "", 677 | "subpatcher_template" : "", 678 | "boxes" : [ { 679 | "box" : { 680 | "fontname" : "Arial", 681 | "fontsize" : 12.0, 682 | "id" : "obj-14", 683 | "maxclass" : "newobj", 684 | "numinlets" : 0, 685 | "numoutlets" : 1, 686 | "outlettype" : [ "" ], 687 | "patching_rect" : [ 290.465546, 102.0, 84.0, 26.0 ], 688 | "style" : "", 689 | "text" : "r lengthmax-a" 690 | } 691 | 692 | } 693 | , { 694 | "box" : { 695 | "fontname" : "Arial", 696 | "fontsize" : 12.0, 697 | "id" : "obj-16", 698 | "maxclass" : "newobj", 699 | "numinlets" : 0, 700 | "numoutlets" : 1, 701 | "outlettype" : [ "" ], 702 | "patching_rect" : [ 209.017548, 102.0, 81.0, 26.0 ], 703 | "style" : "", 704 | "text" : "r lengthmin-a" 705 | } 706 | 707 | } 708 | , { 709 | "box" : { 710 | "fontname" : "Arial", 711 | "fontsize" : 12.0, 712 | "id" : "obj-24", 713 | "maxclass" : "newobj", 714 | "numinlets" : 2, 715 | "numoutlets" : 1, 716 | "outlettype" : [ "int" ], 717 | "patching_rect" : [ 50.0, 128.0, 88.0, 26.0 ], 718 | "style" : "", 719 | "text" : "random 10000" 720 | } 721 | 722 | } 723 | , { 724 | "box" : { 725 | "fontname" : "Arial", 726 | "fontsize" : 12.0, 727 | "id" : "obj-25", 728 | "maxclass" : "newobj", 729 | "numinlets" : 6, 730 | "numoutlets" : 1, 731 | "outlettype" : [ "" ], 732 | "patching_rect" : [ 50.0, 184.077759, 169.0, 26.0 ], 733 | "style" : "", 734 | "text" : "scale 0 9999 0. 1." 735 | } 736 | 737 | } 738 | , { 739 | "box" : { 740 | "comment" : "", 741 | "id" : "obj-83", 742 | "index" : 1, 743 | "maxclass" : "inlet", 744 | "numinlets" : 0, 745 | "numoutlets" : 1, 746 | "outlettype" : [ "bang" ], 747 | "patching_rect" : [ 50.0, 40.0, 30.0, 30.0 ], 748 | "style" : "" 749 | } 750 | 751 | } 752 | , { 753 | "box" : { 754 | "comment" : "", 755 | "id" : "obj-84", 756 | "index" : 1, 757 | "maxclass" : "outlet", 758 | "numinlets" : 1, 759 | "numoutlets" : 0, 760 | "patching_rect" : [ 50.0, 234.0, 30.0, 30.0 ], 761 | "style" : "" 762 | } 763 | 764 | } 765 | ], 766 | "lines" : [ { 767 | "patchline" : { 768 | "destination" : [ "obj-25", 4 ], 769 | "source" : [ "obj-14", 0 ] 770 | } 771 | 772 | } 773 | , { 774 | "patchline" : { 775 | "destination" : [ "obj-25", 3 ], 776 | "source" : [ "obj-16", 0 ] 777 | } 778 | 779 | } 780 | , { 781 | "patchline" : { 782 | "destination" : [ "obj-25", 0 ], 783 | "source" : [ "obj-24", 0 ] 784 | } 785 | 786 | } 787 | , { 788 | "patchline" : { 789 | "destination" : [ "obj-84", 0 ], 790 | "source" : [ "obj-25", 0 ] 791 | } 792 | 793 | } 794 | , { 795 | "patchline" : { 796 | "destination" : [ "obj-24", 0 ], 797 | "source" : [ "obj-83", 0 ] 798 | } 799 | 800 | } 801 | ], 802 | "bgfillcolor_type" : "gradient", 803 | "bgfillcolor_color1" : [ 0.454902, 0.462745, 0.482353, 1.0 ], 804 | "bgfillcolor_color2" : [ 0.290196, 0.309804, 0.301961, 1.0 ], 805 | "bgfillcolor_color" : [ 0.290196, 0.309804, 0.301961, 1.0 ], 806 | "bgfillcolor_angle" : 270.0, 807 | "bgfillcolor_proportion" : 0.39 808 | } 809 | , 810 | "patching_rect" : [ 331.0, 118.022263, 69.0, 26.0 ], 811 | "saved_object_attributes" : { 812 | "description" : "", 813 | "digest" : "", 814 | "globalpatchername" : "", 815 | "style" : "", 816 | "tags" : "" 817 | } 818 | , 819 | "style" : "", 820 | "text" : "p rand_dur" 821 | } 822 | 823 | } 824 | , { 825 | "box" : { 826 | "id" : "obj-82", 827 | "maxclass" : "newobj", 828 | "numinlets" : 2, 829 | "numoutlets" : 1, 830 | "outlettype" : [ "" ], 831 | "patcher" : { 832 | "fileversion" : 1, 833 | "appversion" : { 834 | "major" : 7, 835 | "minor" : 3, 836 | "revision" : 5, 837 | "architecture" : "x86", 838 | "modernui" : 1 839 | } 840 | , 841 | "rect" : [ 59.0, 81.0, 369.0, 338.0 ], 842 | "bglocked" : 0, 843 | "openinpresentation" : 0, 844 | "default_fontsize" : 12.0, 845 | "default_fontface" : 0, 846 | "default_fontname" : "Arial", 847 | "gridonopen" : 1, 848 | "gridsize" : [ 15.0, 15.0 ], 849 | "gridsnaponopen" : 1, 850 | "objectsnaponopen" : 1, 851 | "statusbarvisible" : 2, 852 | "toolbarvisible" : 1, 853 | "lefttoolbarpinned" : 0, 854 | "toptoolbarpinned" : 0, 855 | "righttoolbarpinned" : 0, 856 | "bottomtoolbarpinned" : 0, 857 | "toolbars_unpinned_last_save" : 0, 858 | "tallnewobj" : 1, 859 | "boxanimatetime" : 200, 860 | "enablehscroll" : 1, 861 | "enablevscroll" : 1, 862 | "devicewidth" : 0.0, 863 | "description" : "", 864 | "digest" : "", 865 | "tags" : "", 866 | "style" : "", 867 | "subpatcher_template" : "", 868 | "boxes" : [ { 869 | "box" : { 870 | "id" : "obj-26", 871 | "maxclass" : "newobj", 872 | "numinlets" : 2, 873 | "numoutlets" : 1, 874 | "outlettype" : [ "float" ], 875 | "patching_rect" : [ 212.31424, 106.488884, 33.0, 26.0 ], 876 | "style" : "", 877 | "text" : "!- 1." 878 | } 879 | 880 | } 881 | , { 882 | "box" : { 883 | "id" : "obj-7", 884 | "maxclass" : "newobj", 885 | "numinlets" : 0, 886 | "numoutlets" : 1, 887 | "outlettype" : [ "" ], 888 | "patching_rect" : [ 257.128784, 53.0, 64.0, 26.0 ], 889 | "style" : "", 890 | "text" : "r selend-a" 891 | } 892 | 893 | } 894 | , { 895 | "box" : { 896 | "id" : "obj-4", 897 | "maxclass" : "newobj", 898 | "numinlets" : 0, 899 | "numoutlets" : 1, 900 | "outlettype" : [ "" ], 901 | "patching_rect" : [ 146.831787, 106.488884, 67.0, 26.0 ], 902 | "style" : "", 903 | "text" : "r selstart-a" 904 | } 905 | 906 | } 907 | , { 908 | "box" : { 909 | "id" : "obj-23", 910 | "maxclass" : "newobj", 911 | "numinlets" : 2, 912 | "numoutlets" : 1, 913 | "outlettype" : [ "int" ], 914 | "patching_rect" : [ 50.0, 106.488884, 88.0, 26.0 ], 915 | "style" : "", 916 | "text" : "random 10000" 917 | } 918 | 919 | } 920 | , { 921 | "box" : { 922 | "id" : "obj-22", 923 | "maxclass" : "newobj", 924 | "numinlets" : 6, 925 | "numoutlets" : 1, 926 | "outlettype" : [ "" ], 927 | "patching_rect" : [ 50.0, 172.388885, 105.0, 26.0 ], 928 | "style" : "", 929 | "text" : "scale 0 9999 0. 1." 930 | } 931 | 932 | } 933 | , { 934 | "box" : { 935 | "comment" : "", 936 | "id" : "obj-79", 937 | "index" : 1, 938 | "maxclass" : "inlet", 939 | "numinlets" : 0, 940 | "numoutlets" : 1, 941 | "outlettype" : [ "bang" ], 942 | "patching_rect" : [ 50.0, 40.0, 30.0, 30.0 ], 943 | "style" : "" 944 | } 945 | 946 | } 947 | , { 948 | "box" : { 949 | "comment" : "", 950 | "id" : "obj-80", 951 | "index" : 2, 952 | "maxclass" : "inlet", 953 | "numinlets" : 0, 954 | "numoutlets" : 1, 955 | "outlettype" : [ "float" ], 956 | "patching_rect" : [ 203.31424, 40.0, 30.0, 30.0 ], 957 | "style" : "" 958 | } 959 | 960 | } 961 | , { 962 | "box" : { 963 | "comment" : "", 964 | "id" : "obj-81", 965 | "index" : 1, 966 | "maxclass" : "outlet", 967 | "numinlets" : 1, 968 | "numoutlets" : 0, 969 | "patching_rect" : [ 50.0, 224.0, 30.0, 30.0 ], 970 | "style" : "" 971 | } 972 | 973 | } 974 | ], 975 | "lines" : [ { 976 | "patchline" : { 977 | "destination" : [ "obj-81", 0 ], 978 | "source" : [ "obj-22", 0 ] 979 | } 980 | 981 | } 982 | , { 983 | "patchline" : { 984 | "destination" : [ "obj-22", 0 ], 985 | "source" : [ "obj-23", 0 ] 986 | } 987 | 988 | } 989 | , { 990 | "patchline" : { 991 | "destination" : [ "obj-22", 4 ], 992 | "source" : [ "obj-26", 0 ] 993 | } 994 | 995 | } 996 | , { 997 | "patchline" : { 998 | "destination" : [ "obj-22", 3 ], 999 | "source" : [ "obj-4", 0 ] 1000 | } 1001 | 1002 | } 1003 | , { 1004 | "patchline" : { 1005 | "destination" : [ "obj-26", 1 ], 1006 | "source" : [ "obj-7", 0 ] 1007 | } 1008 | 1009 | } 1010 | , { 1011 | "patchline" : { 1012 | "destination" : [ "obj-23", 0 ], 1013 | "source" : [ "obj-79", 0 ] 1014 | } 1015 | 1016 | } 1017 | , { 1018 | "patchline" : { 1019 | "destination" : [ "obj-26", 0 ], 1020 | "source" : [ "obj-80", 0 ] 1021 | } 1022 | 1023 | } 1024 | ], 1025 | "bgfillcolor_type" : "gradient", 1026 | "bgfillcolor_color1" : [ 0.454902, 0.462745, 0.482353, 1.0 ], 1027 | "bgfillcolor_color2" : [ 0.290196, 0.309804, 0.301961, 1.0 ], 1028 | "bgfillcolor_color" : [ 0.290196, 0.309804, 0.301961, 1.0 ], 1029 | "bgfillcolor_angle" : 270.0, 1030 | "bgfillcolor_proportion" : 0.39 1031 | } 1032 | , 1033 | "patching_rect" : [ 174.0, 118.022263, 75.0, 26.0 ], 1034 | "saved_object_attributes" : { 1035 | "description" : "", 1036 | "digest" : "", 1037 | "globalpatchername" : "", 1038 | "style" : "", 1039 | "tags" : "" 1040 | } 1041 | , 1042 | "style" : "", 1043 | "text" : "p rand_start" 1044 | } 1045 | 1046 | } 1047 | , { 1048 | "box" : { 1049 | "fontname" : "Arial", 1050 | "fontsize" : 12.0, 1051 | "id" : "obj-29", 1052 | "maxclass" : "newobj", 1053 | "numinlets" : 1, 1054 | "numoutlets" : 0, 1055 | "patching_rect" : [ 256.703003, 571.944458, 44.0, 26.0 ], 1056 | "saved_object_attributes" : { 1057 | "attr_comment" : "" 1058 | } 1059 | , 1060 | "style" : "", 1061 | "text" : "out~ 2" 1062 | } 1063 | 1064 | } 1065 | , { 1066 | "box" : { 1067 | "fontname" : "Arial", 1068 | "fontsize" : 12.0, 1069 | "id" : "obj-30", 1070 | "maxclass" : "newobj", 1071 | "numinlets" : 2, 1072 | "numoutlets" : 1, 1073 | "outlettype" : [ "signal" ], 1074 | "patching_rect" : [ 256.703003, 532.222229, 32.5, 26.0 ], 1075 | "style" : "", 1076 | "text" : "*~" 1077 | } 1078 | 1079 | } 1080 | , { 1081 | "box" : { 1082 | "fontname" : "Arial", 1083 | "fontsize" : 12.0, 1084 | "id" : "obj-63", 1085 | "linecount" : 2, 1086 | "maxclass" : "comment", 1087 | "numinlets" : 1, 1088 | "numoutlets" : 0, 1089 | "patching_rect" : [ 77.468689, 397.977783, 92.0, 33.0 ], 1090 | "style" : "", 1091 | "text" : "generate playback ramp." 1092 | } 1093 | 1094 | } 1095 | , { 1096 | "box" : { 1097 | "fontname" : "Arial", 1098 | "fontsize" : 12.0, 1099 | "id" : "obj-62", 1100 | "linecount" : 2, 1101 | "maxclass" : "comment", 1102 | "numinlets" : 1, 1103 | "numoutlets" : 0, 1104 | "patching_rect" : [ 331.0, 397.977783, 117.0, 33.0 ], 1105 | "style" : "", 1106 | "text" : "generate amplitude\n curve (with slope)." 1107 | } 1108 | 1109 | } 1110 | , { 1111 | "box" : { 1112 | "fontname" : "Arial", 1113 | "fontsize" : 12.0, 1114 | "id" : "obj-61", 1115 | "linecount" : 2, 1116 | "maxclass" : "comment", 1117 | "numinlets" : 1, 1118 | "numoutlets" : 0, 1119 | "patching_rect" : [ 574.25, 118.022263, 74.0, 33.0 ], 1120 | "style" : "", 1121 | "text" : "how loud is this grain?" 1122 | } 1123 | 1124 | } 1125 | , { 1126 | "box" : { 1127 | "fontname" : "Arial", 1128 | "fontsize" : 12.0, 1129 | "id" : "obj-60", 1130 | "linecount" : 2, 1131 | "maxclass" : "comment", 1132 | "numinlets" : 1, 1133 | "numoutlets" : 0, 1134 | "patching_rect" : [ 514.269409, 205.300003, 135.0, 33.0 ], 1135 | "style" : "", 1136 | "text" : "how long is this grain including pitch shift?" 1137 | } 1138 | 1139 | } 1140 | , { 1141 | "box" : { 1142 | "fontname" : "Arial", 1143 | "fontsize" : 12.0, 1144 | "id" : "obj-59", 1145 | "linecount" : 2, 1146 | "maxclass" : "comment", 1147 | "numinlets" : 1, 1148 | "numoutlets" : 0, 1149 | "patching_rect" : [ 365.5, 205.300003, 91.0, 33.0 ], 1150 | "style" : "", 1151 | "text" : "where does this grain end?" 1152 | } 1153 | 1154 | } 1155 | , { 1156 | "box" : { 1157 | "fontname" : "Arial", 1158 | "fontsize" : 12.0, 1159 | "id" : "obj-58", 1160 | "linecount" : 2, 1161 | "maxclass" : "comment", 1162 | "numinlets" : 1, 1163 | "numoutlets" : 0, 1164 | "patching_rect" : [ 77.468689, 118.022263, 91.0, 33.0 ], 1165 | "style" : "", 1166 | "text" : "where does this grain start?" 1167 | } 1168 | 1169 | } 1170 | , { 1171 | "box" : { 1172 | "fontname" : "Arial", 1173 | "fontsize" : 12.0, 1174 | "id" : "obj-57", 1175 | "linecount" : 2, 1176 | "maxclass" : "comment", 1177 | "numinlets" : 1, 1178 | "numoutlets" : 0, 1179 | "patching_rect" : [ 412.903503, 118.022263, 96.0, 33.0 ], 1180 | "style" : "", 1181 | "text" : "what pitch is this grain?" 1182 | } 1183 | 1184 | } 1185 | , { 1186 | "box" : { 1187 | "fontname" : "Arial", 1188 | "fontsize" : 12.0, 1189 | "id" : "obj-56", 1190 | "linecount" : 2, 1191 | "maxclass" : "comment", 1192 | "numinlets" : 1, 1193 | "numoutlets" : 0, 1194 | "patching_rect" : [ 256.982452, 118.022263, 78.0, 33.0 ], 1195 | "style" : "", 1196 | "text" : "how long is this grain?" 1197 | } 1198 | 1199 | } 1200 | , { 1201 | "box" : { 1202 | "fontname" : "Arial", 1203 | "fontsize" : 12.0, 1204 | "id" : "obj-46", 1205 | "maxclass" : "newobj", 1206 | "numinlets" : 1, 1207 | "numoutlets" : 2, 1208 | "outlettype" : [ "float", "float" ], 1209 | "patching_rect" : [ 581.5, 327.966675, 32.5, 26.0 ], 1210 | "style" : "", 1211 | "text" : "t f f" 1212 | } 1213 | 1214 | } 1215 | , { 1216 | "box" : { 1217 | "fontname" : "Arial", 1218 | "fontsize" : 12.0, 1219 | "id" : "obj-43", 1220 | "maxclass" : "newobj", 1221 | "numinlets" : 1, 1222 | "numoutlets" : 3, 1223 | "outlettype" : [ "float", "float", "float" ], 1224 | "patching_rect" : [ 474.5, 245.200012, 126.0, 26.0 ], 1225 | "style" : "", 1226 | "text" : "t f f f" 1227 | } 1228 | 1229 | } 1230 | , { 1231 | "box" : { 1232 | "fontname" : "Arial", 1233 | "fontsize" : 12.0, 1234 | "id" : "obj-39", 1235 | "maxclass" : "newobj", 1236 | "numinlets" : 1, 1237 | "numoutlets" : 2, 1238 | "outlettype" : [ "float", "float" ], 1239 | "patching_rect" : [ 174.0, 161.400024, 32.5, 26.0 ], 1240 | "style" : "", 1241 | "text" : "t f f" 1242 | } 1243 | 1244 | } 1245 | , { 1246 | "box" : { 1247 | "fontname" : "Arial", 1248 | "fontsize" : 12.0, 1249 | "id" : "obj-35", 1250 | "maxclass" : "newobj", 1251 | "numinlets" : 1, 1252 | "numoutlets" : 3, 1253 | "outlettype" : [ "float", "float", "float" ], 1254 | "patching_rect" : [ 331.0, 161.400024, 46.0, 26.0 ], 1255 | "style" : "", 1256 | "text" : "t f f f" 1257 | } 1258 | 1259 | } 1260 | , { 1261 | "box" : { 1262 | "fontname" : "Arial", 1263 | "fontsize" : 12.0, 1264 | "id" : "obj-34", 1265 | "maxclass" : "comment", 1266 | "numinlets" : 1, 1267 | "numoutlets" : 0, 1268 | "patching_rect" : [ 815.842102, 119.066666, 105.0, 20.0 ], 1269 | "style" : "", 1270 | "text" : "unmute the voice." 1271 | } 1272 | 1273 | } 1274 | , { 1275 | "box" : { 1276 | "fontname" : "Arial", 1277 | "fontsize" : 12.0, 1278 | "id" : "obj-31", 1279 | "maxclass" : "comment", 1280 | "numinlets" : 1, 1281 | "numoutlets" : 0, 1282 | "patching_rect" : [ 767.14032, 459.411133, 92.0, 20.0 ], 1283 | "style" : "", 1284 | "text" : "mute the voice." 1285 | } 1286 | 1287 | } 1288 | , { 1289 | "box" : { 1290 | "fontname" : "Arial", 1291 | "fontsize" : 12.0, 1292 | "id" : "obj-13", 1293 | "linecount" : 2, 1294 | "maxclass" : "comment", 1295 | "numinlets" : 1, 1296 | "numoutlets" : 0, 1297 | "patching_rect" : [ 850.791992, 59.811111, 117.0, 33.0 ], 1298 | "style" : "", 1299 | "text" : "< unmute, then get random parameters." 1300 | } 1301 | 1302 | } 1303 | , { 1304 | "box" : { 1305 | "fontname" : "Arial", 1306 | "fontsize" : 12.0, 1307 | "id" : "obj-10", 1308 | "maxclass" : "comment", 1309 | "numinlets" : 1, 1310 | "numoutlets" : 0, 1311 | "patching_rect" : [ 212.796997, 23.0, 121.0, 20.0 ], 1312 | "style" : "", 1313 | "text" : "< bang triggers grain" 1314 | } 1315 | 1316 | } 1317 | , { 1318 | "box" : { 1319 | "id" : "obj-27", 1320 | "maxclass" : "newobj", 1321 | "numinlets" : 2, 1322 | "numoutlets" : 1, 1323 | "outlettype" : [ "signal" ], 1324 | "patching_rect" : [ 342.5, 483.411133, 30.0, 26.0 ], 1325 | "style" : "", 1326 | "text" : "*~" 1327 | } 1328 | 1329 | } 1330 | , { 1331 | "box" : { 1332 | "fontname" : "Arial", 1333 | "fontsize" : 12.0, 1334 | "id" : "obj-21", 1335 | "maxclass" : "newobj", 1336 | "numinlets" : 2, 1337 | "numoutlets" : 1, 1338 | "outlettype" : [ "float" ], 1339 | "patching_rect" : [ 595.0, 363.955566, 32.5, 26.0 ], 1340 | "style" : "", 1341 | "text" : "/ 2." 1342 | } 1343 | 1344 | } 1345 | , { 1346 | "box" : { 1347 | "fontname" : "Arial", 1348 | "fontsize" : 12.0, 1349 | "id" : "obj-19", 1350 | "maxclass" : "newobj", 1351 | "numinlets" : 2, 1352 | "numoutlets" : 1, 1353 | "outlettype" : [ "" ], 1354 | "patching_rect" : [ 528.0, 397.977783, 86.0, 26.0 ], 1355 | "style" : "", 1356 | "text" : "pack 0. 0." 1357 | } 1358 | 1359 | } 1360 | , { 1361 | "box" : { 1362 | "fontname" : "Arial", 1363 | "fontsize" : 12.0, 1364 | "id" : "obj-17", 1365 | "maxclass" : "newobj", 1366 | "numinlets" : 2, 1367 | "numoutlets" : 1, 1368 | "outlettype" : [ "float" ], 1369 | "patching_rect" : [ 528.0, 327.966675, 32.5, 26.0 ], 1370 | "style" : "", 1371 | "text" : "- 1." 1372 | } 1373 | 1374 | } 1375 | , { 1376 | "box" : { 1377 | "fontname" : "Arial", 1378 | "fontsize" : 12.0, 1379 | "id" : "obj-15", 1380 | "maxclass" : "newobj", 1381 | "numinlets" : 2, 1382 | "numoutlets" : 1, 1383 | "outlettype" : [ "float" ], 1384 | "patching_rect" : [ 581.5, 291.166656, 38.5, 26.0 ], 1385 | "style" : "", 1386 | "text" : "* 0." 1387 | } 1388 | 1389 | } 1390 | , { 1391 | "box" : { 1392 | "fontname" : "Arial", 1393 | "fontsize" : 12.0, 1394 | "id" : "obj-12", 1395 | "maxclass" : "newobj", 1396 | "numinlets" : 0, 1397 | "numoutlets" : 1, 1398 | "outlettype" : [ "" ], 1399 | "patching_rect" : [ 609.442383, 245.200012, 57.0, 26.0 ], 1400 | "style" : "", 1401 | "text" : "r slope-a" 1402 | } 1403 | 1404 | } 1405 | , { 1406 | "box" : { 1407 | "fontname" : "Arial", 1408 | "fontsize" : 12.0, 1409 | "id" : "obj-6", 1410 | "maxclass" : "newobj", 1411 | "numinlets" : 2, 1412 | "numoutlets" : 1, 1413 | "outlettype" : [ "float" ], 1414 | "patching_rect" : [ 488.0, 161.400024, 32.5, 26.0 ], 1415 | "style" : "", 1416 | "text" : "!/ 1." 1417 | } 1418 | 1419 | } 1420 | , { 1421 | "box" : { 1422 | "id" : "obj-5", 1423 | "maxclass" : "newobj", 1424 | "numinlets" : 2, 1425 | "numoutlets" : 2, 1426 | "outlettype" : [ "signal", "bang" ], 1427 | "patching_rect" : [ 173.720551, 419.533325, 36.0, 26.0 ], 1428 | "style" : "", 1429 | "text" : "line~" 1430 | } 1431 | 1432 | } 1433 | , { 1434 | "box" : { 1435 | "fontname" : "Arial", 1436 | "fontsize" : 12.0, 1437 | "id" : "obj-54", 1438 | "maxclass" : "newobj", 1439 | "numinlets" : 1, 1440 | "numoutlets" : 0, 1441 | "patching_rect" : [ 173.720551, 571.944458, 44.0, 26.0 ], 1442 | "style" : "", 1443 | "text" : "out~ 1" 1444 | } 1445 | 1446 | } 1447 | , { 1448 | "box" : { 1449 | "fontname" : "Arial", 1450 | "fontsize" : 12.0, 1451 | "id" : "obj-53", 1452 | "maxclass" : "message", 1453 | "numinlets" : 2, 1454 | "numoutlets" : 1, 1455 | "outlettype" : [ "" ], 1456 | "patching_rect" : [ 745.791992, 120.144485, 61.0, 22.0 ], 1457 | "style" : "", 1458 | "text" : "mute 0, 1" 1459 | } 1460 | 1461 | } 1462 | , { 1463 | "box" : { 1464 | "fontname" : "Arial", 1465 | "fontsize" : 12.0, 1466 | "id" : "obj-52", 1467 | "maxclass" : "newobj", 1468 | "numinlets" : 1, 1469 | "numoutlets" : 1, 1470 | "outlettype" : [ "bang" ], 1471 | "patching_rect" : [ 687.245605, 405.766724, 60.0, 26.0 ], 1472 | "style" : "", 1473 | "text" : "loadbang" 1474 | } 1475 | 1476 | } 1477 | , { 1478 | "box" : { 1479 | "fontname" : "Arial", 1480 | "fontsize" : 12.0, 1481 | "id" : "obj-51", 1482 | "maxclass" : "message", 1483 | "numinlets" : 2, 1484 | "numoutlets" : 1, 1485 | "outlettype" : [ "" ], 1486 | "patching_rect" : [ 687.245605, 459.411133, 61.0, 22.0 ], 1487 | "style" : "", 1488 | "text" : "mute 1, 0" 1489 | } 1490 | 1491 | } 1492 | , { 1493 | "box" : { 1494 | "id" : "obj-49", 1495 | "maxclass" : "newobj", 1496 | "numinlets" : 1, 1497 | "numoutlets" : 2, 1498 | "outlettype" : [ "int", "int" ], 1499 | "patching_rect" : [ 745.791992, 494.222229, 58.0, 26.0 ], 1500 | "style" : "newobjBlue-1", 1501 | "text" : "thispoly~" 1502 | } 1503 | 1504 | } 1505 | , { 1506 | "box" : { 1507 | "fontname" : "Arial", 1508 | "fontsize" : 12.0, 1509 | "id" : "obj-47", 1510 | "maxclass" : "message", 1511 | "numinlets" : 2, 1512 | "numoutlets" : 1, 1513 | "outlettype" : [ "" ], 1514 | "patching_rect" : [ 295.5, 363.955566, 117.0, 22.0 ], 1515 | "style" : "", 1516 | "text" : "0 0 1. $2 1. $1 0. $2" 1517 | } 1518 | 1519 | } 1520 | , { 1521 | "box" : { 1522 | "id" : "obj-45", 1523 | "maxclass" : "newobj", 1524 | "numinlets" : 2, 1525 | "numoutlets" : 2, 1526 | "outlettype" : [ "signal", "bang" ], 1527 | "patching_rect" : [ 295.5, 397.977783, 36.0, 26.0 ], 1528 | "style" : "newobjCyan-1", 1529 | "text" : "line~" 1530 | } 1531 | 1532 | } 1533 | , { 1534 | "box" : { 1535 | "fontname" : "Arial", 1536 | "fontsize" : 12.0, 1537 | "id" : "obj-44", 1538 | "maxclass" : "message", 1539 | "numinlets" : 2, 1540 | "numoutlets" : 1, 1541 | "outlettype" : [ "" ], 1542 | "patching_rect" : [ 174.0, 383.966675, 67.0, 22.0 ], 1543 | "style" : "", 1544 | "text" : "$1 0 $2 $3" 1545 | } 1546 | 1547 | } 1548 | , { 1549 | "box" : { 1550 | "fontname" : "Arial", 1551 | "fontsize" : 12.0, 1552 | "id" : "obj-42", 1553 | "maxclass" : "newobj", 1554 | "numinlets" : 3, 1555 | "numoutlets" : 1, 1556 | "outlettype" : [ "" ], 1557 | "patching_rect" : [ 174.0, 291.166656, 322.0, 26.0 ], 1558 | "style" : "", 1559 | "text" : "pack 0. 0. 0." 1560 | } 1561 | 1562 | } 1563 | , { 1564 | "box" : { 1565 | "fontname" : "Arial", 1566 | "fontsize" : 12.0, 1567 | "id" : "obj-41", 1568 | "maxclass" : "newobj", 1569 | "numinlets" : 2, 1570 | "numoutlets" : 1, 1571 | "outlettype" : [ "float" ], 1572 | "patching_rect" : [ 474.5, 205.300003, 32.5, 26.0 ], 1573 | "style" : "", 1574 | "text" : "* 0." 1575 | } 1576 | 1577 | } 1578 | , { 1579 | "box" : { 1580 | "fontname" : "Arial", 1581 | "fontsize" : 12.0, 1582 | "id" : "obj-40", 1583 | "maxclass" : "newobj", 1584 | "numinlets" : 2, 1585 | "numoutlets" : 1, 1586 | "outlettype" : [ "float" ], 1587 | "patching_rect" : [ 331.0, 205.300003, 32.5, 26.0 ], 1588 | "style" : "", 1589 | "text" : "+ 0." 1590 | } 1591 | 1592 | } 1593 | , { 1594 | "box" : { 1595 | "fontname" : "Arial", 1596 | "fontsize" : 12.0, 1597 | "id" : "obj-38", 1598 | "maxclass" : "newobj", 1599 | "numinlets" : 2, 1600 | "numoutlets" : 1, 1601 | "outlettype" : [ "signal" ], 1602 | "patching_rect" : [ 173.720551, 532.222229, 32.5, 26.0 ], 1603 | "style" : "", 1604 | "text" : "*~" 1605 | } 1606 | 1607 | } 1608 | , { 1609 | "box" : { 1610 | "id" : "obj-3", 1611 | "maxclass" : "newobj", 1612 | "numinlets" : 1, 1613 | "numoutlets" : 6, 1614 | "outlettype" : [ "bang", "bang", "bang", "bang", "bang", "bang" ], 1615 | "patching_rect" : [ 174.0, 72.577774, 672.0, 26.0 ], 1616 | "style" : "newobjYellow-1", 1617 | "text" : "t b b b b b b" 1618 | } 1619 | 1620 | } 1621 | , { 1622 | "box" : { 1623 | "id" : "obj-2", 1624 | "maxclass" : "newobj", 1625 | "numinlets" : 1, 1626 | "numoutlets" : 3, 1627 | "outlettype" : [ "signal", "signal", "bang" ], 1628 | "patching_rect" : [ 173.720551, 459.411133, 90.0, 26.0 ], 1629 | "style" : "newobjMagenta-1", 1630 | "text" : "play~ grain-a 2" 1631 | } 1632 | 1633 | } 1634 | , { 1635 | "box" : { 1636 | "fontname" : "Arial", 1637 | "fontsize" : 12.0, 1638 | "id" : "obj-1", 1639 | "maxclass" : "newobj", 1640 | "numinlets" : 1, 1641 | "numoutlets" : 1, 1642 | "outlettype" : [ "" ], 1643 | "patching_rect" : [ 174.0, 24.077778, 30.0, 26.0 ], 1644 | "style" : "", 1645 | "text" : "in 1" 1646 | } 1647 | 1648 | } 1649 | ], 1650 | "lines" : [ { 1651 | "patchline" : { 1652 | "destination" : [ "obj-3", 0 ], 1653 | "source" : [ "obj-1", 0 ] 1654 | } 1655 | 1656 | } 1657 | , { 1658 | "patchline" : { 1659 | "destination" : [ "obj-15", 1 ], 1660 | "source" : [ "obj-12", 0 ] 1661 | } 1662 | 1663 | } 1664 | , { 1665 | "patchline" : { 1666 | "destination" : [ "obj-46", 0 ], 1667 | "source" : [ "obj-15", 0 ] 1668 | } 1669 | 1670 | } 1671 | , { 1672 | "patchline" : { 1673 | "destination" : [ "obj-19", 0 ], 1674 | "source" : [ "obj-17", 0 ] 1675 | } 1676 | 1677 | } 1678 | , { 1679 | "patchline" : { 1680 | "destination" : [ "obj-47", 0 ], 1681 | "midpoints" : [ 537.5, 435.0, 462.0, 435.0, 462.0, 353.0, 305.0, 353.0 ], 1682 | "source" : [ "obj-19", 0 ] 1683 | } 1684 | 1685 | } 1686 | , { 1687 | "patchline" : { 1688 | "destination" : [ "obj-30", 0 ], 1689 | "midpoints" : [ 218.720551, 499.288879, 266.203003, 499.288879 ], 1690 | "source" : [ "obj-2", 1 ] 1691 | } 1692 | 1693 | } 1694 | , { 1695 | "patchline" : { 1696 | "destination" : [ "obj-38", 0 ], 1697 | "source" : [ "obj-2", 0 ] 1698 | } 1699 | 1700 | } 1701 | , { 1702 | "patchline" : { 1703 | "destination" : [ "obj-19", 1 ], 1704 | "source" : [ "obj-21", 0 ] 1705 | } 1706 | 1707 | } 1708 | , { 1709 | "patchline" : { 1710 | "destination" : [ "obj-38", 1 ], 1711 | "midpoints" : [ 352.0, 519.055542, 196.720551, 519.055542 ], 1712 | "source" : [ "obj-27", 0 ] 1713 | } 1714 | 1715 | } 1716 | , { 1717 | "patchline" : { 1718 | "destination" : [ "obj-4", 0 ], 1719 | "source" : [ "obj-3", 5 ] 1720 | } 1721 | 1722 | } 1723 | , { 1724 | "patchline" : { 1725 | "destination" : [ "obj-53", 0 ], 1726 | "source" : [ "obj-3", 4 ] 1727 | } 1728 | 1729 | } 1730 | , { 1731 | "patchline" : { 1732 | "destination" : [ "obj-82", 0 ], 1733 | "source" : [ "obj-3", 0 ] 1734 | } 1735 | 1736 | } 1737 | , { 1738 | "patchline" : { 1739 | "destination" : [ "obj-85", 0 ], 1740 | "source" : [ "obj-3", 1 ] 1741 | } 1742 | 1743 | } 1744 | , { 1745 | "patchline" : { 1746 | "destination" : [ "obj-88", 0 ], 1747 | "source" : [ "obj-3", 2 ] 1748 | } 1749 | 1750 | } 1751 | , { 1752 | "patchline" : { 1753 | "destination" : [ "obj-91", 0 ], 1754 | "source" : [ "obj-3", 3 ] 1755 | } 1756 | 1757 | } 1758 | , { 1759 | "patchline" : { 1760 | "destination" : [ "obj-29", 0 ], 1761 | "source" : [ "obj-30", 0 ] 1762 | } 1763 | 1764 | } 1765 | , { 1766 | "patchline" : { 1767 | "destination" : [ "obj-40", 1 ], 1768 | "source" : [ "obj-35", 1 ] 1769 | } 1770 | 1771 | } 1772 | , { 1773 | "patchline" : { 1774 | "destination" : [ "obj-41", 0 ], 1775 | "midpoints" : [ 367.5, 195.850006, 484.0, 195.850006 ], 1776 | "source" : [ "obj-35", 2 ] 1777 | } 1778 | 1779 | } 1780 | , { 1781 | "patchline" : { 1782 | "destination" : [ "obj-82", 1 ], 1783 | "midpoints" : [ 340.5, 189.0, 252.0, 189.0, 252.0, 114.0, 239.5, 114.0 ], 1784 | "source" : [ "obj-35", 0 ] 1785 | } 1786 | 1787 | } 1788 | , { 1789 | "patchline" : { 1790 | "destination" : [ "obj-54", 0 ], 1791 | "source" : [ "obj-38", 0 ] 1792 | } 1793 | 1794 | } 1795 | , { 1796 | "patchline" : { 1797 | "destination" : [ "obj-40", 0 ], 1798 | "midpoints" : [ 197.0, 199.100006, 340.5, 199.100006 ], 1799 | "source" : [ "obj-39", 1 ] 1800 | } 1801 | 1802 | } 1803 | , { 1804 | "patchline" : { 1805 | "destination" : [ "obj-42", 0 ], 1806 | "source" : [ "obj-39", 0 ] 1807 | } 1808 | 1809 | } 1810 | , { 1811 | "patchline" : { 1812 | "destination" : [ "obj-8", 1 ], 1813 | "midpoints" : [ 866.5, 555.0, 502.0, 555.0, 422.0, 497.0 ], 1814 | "source" : [ "obj-4", 0 ] 1815 | } 1816 | 1817 | } 1818 | , { 1819 | "patchline" : { 1820 | "destination" : [ "obj-42", 1 ], 1821 | "source" : [ "obj-40", 0 ] 1822 | } 1823 | 1824 | } 1825 | , { 1826 | "patchline" : { 1827 | "destination" : [ "obj-43", 0 ], 1828 | "source" : [ "obj-41", 0 ] 1829 | } 1830 | 1831 | } 1832 | , { 1833 | "patchline" : { 1834 | "destination" : [ "obj-44", 0 ], 1835 | "source" : [ "obj-42", 0 ] 1836 | } 1837 | 1838 | } 1839 | , { 1840 | "patchline" : { 1841 | "destination" : [ "obj-15", 0 ], 1842 | "source" : [ "obj-43", 2 ] 1843 | } 1844 | 1845 | } 1846 | , { 1847 | "patchline" : { 1848 | "destination" : [ "obj-17", 0 ], 1849 | "source" : [ "obj-43", 1 ] 1850 | } 1851 | 1852 | } 1853 | , { 1854 | "patchline" : { 1855 | "destination" : [ "obj-42", 2 ], 1856 | "midpoints" : [ 484.0, 295.849976, 486.5, 295.849976 ], 1857 | "source" : [ "obj-43", 0 ] 1858 | } 1859 | 1860 | } 1861 | , { 1862 | "patchline" : { 1863 | "destination" : [ "obj-5", 0 ], 1864 | "source" : [ "obj-44", 0 ] 1865 | } 1866 | 1867 | } 1868 | , { 1869 | "patchline" : { 1870 | "destination" : [ "obj-27", 0 ], 1871 | "order" : 1, 1872 | "source" : [ "obj-45", 0 ] 1873 | } 1874 | 1875 | } 1876 | , { 1877 | "patchline" : { 1878 | "destination" : [ "obj-51", 0 ], 1879 | "midpoints" : [ 322.0, 446.194458, 696.745605, 446.194458 ], 1880 | "source" : [ "obj-45", 1 ] 1881 | } 1882 | 1883 | } 1884 | , { 1885 | "patchline" : { 1886 | "destination" : [ "obj-8", 0 ], 1887 | "order" : 0, 1888 | "source" : [ "obj-45", 0 ] 1889 | } 1890 | 1891 | } 1892 | , { 1893 | "patchline" : { 1894 | "destination" : [ "obj-17", 1 ], 1895 | "midpoints" : [ 591.0, 354.0, 572.0, 354.0, 572.0, 324.0, 551.0, 324.0 ], 1896 | "source" : [ "obj-46", 0 ] 1897 | } 1898 | 1899 | } 1900 | , { 1901 | "patchline" : { 1902 | "destination" : [ "obj-21", 0 ], 1903 | "source" : [ "obj-46", 1 ] 1904 | } 1905 | 1906 | } 1907 | , { 1908 | "patchline" : { 1909 | "destination" : [ "obj-45", 0 ], 1910 | "source" : [ "obj-47", 0 ] 1911 | } 1912 | 1913 | } 1914 | , { 1915 | "patchline" : { 1916 | "destination" : [ "obj-2", 0 ], 1917 | "source" : [ "obj-5", 0 ] 1918 | } 1919 | 1920 | } 1921 | , { 1922 | "patchline" : { 1923 | "destination" : [ "obj-49", 0 ], 1924 | "source" : [ "obj-51", 0 ] 1925 | } 1926 | 1927 | } 1928 | , { 1929 | "patchline" : { 1930 | "destination" : [ "obj-51", 0 ], 1931 | "source" : [ "obj-52", 0 ] 1932 | } 1933 | 1934 | } 1935 | , { 1936 | "patchline" : { 1937 | "destination" : [ "obj-49", 0 ], 1938 | "source" : [ "obj-53", 0 ] 1939 | } 1940 | 1941 | } 1942 | , { 1943 | "patchline" : { 1944 | "destination" : [ "obj-41", 1 ], 1945 | "source" : [ "obj-6", 0 ] 1946 | } 1947 | 1948 | } 1949 | , { 1950 | "patchline" : { 1951 | "destination" : [ "obj-30", 1 ], 1952 | "source" : [ "obj-8", 0 ] 1953 | } 1954 | 1955 | } 1956 | , { 1957 | "patchline" : { 1958 | "destination" : [ "obj-39", 0 ], 1959 | "source" : [ "obj-82", 0 ] 1960 | } 1961 | 1962 | } 1963 | , { 1964 | "patchline" : { 1965 | "destination" : [ "obj-35", 0 ], 1966 | "source" : [ "obj-85", 0 ] 1967 | } 1968 | 1969 | } 1970 | , { 1971 | "patchline" : { 1972 | "destination" : [ "obj-6", 0 ], 1973 | "source" : [ "obj-88", 0 ] 1974 | } 1975 | 1976 | } 1977 | , { 1978 | "patchline" : { 1979 | "destination" : [ "obj-27", 1 ], 1980 | "midpoints" : [ 654.5, 453.216705, 363.0, 453.216705 ], 1981 | "source" : [ "obj-91", 0 ] 1982 | } 1983 | 1984 | } 1985 | ], 1986 | "styles" : [ { 1987 | "name" : "newobjBlue-1", 1988 | "default" : { 1989 | "accentcolor" : [ 0.317647, 0.654902, 0.976471, 1.0 ] 1990 | } 1991 | , 1992 | "parentstyle" : "", 1993 | "multi" : 0 1994 | } 1995 | , { 1996 | "name" : "newobjCyan-1", 1997 | "default" : { 1998 | "accentcolor" : [ 0.029546, 0.773327, 0.821113, 1.0 ] 1999 | } 2000 | , 2001 | "parentstyle" : "", 2002 | "multi" : 0 2003 | } 2004 | , { 2005 | "name" : "newobjGreen-1", 2006 | "default" : { 2007 | "accentcolor" : [ 0.0, 0.533333, 0.168627, 1.0 ] 2008 | } 2009 | , 2010 | "parentstyle" : "", 2011 | "multi" : 0 2012 | } 2013 | , { 2014 | "name" : "newobjMagenta-1", 2015 | "default" : { 2016 | "accentcolor" : [ 0.840663, 0.060168, 0.769195, 1.0 ] 2017 | } 2018 | , 2019 | "parentstyle" : "", 2020 | "multi" : 0 2021 | } 2022 | , { 2023 | "name" : "newobjYellow-1", 2024 | "default" : { 2025 | "fontsize" : [ 12.059008 ], 2026 | "accentcolor" : [ 0.82517, 0.78181, 0.059545, 1.0 ] 2027 | } 2028 | , 2029 | "parentstyle" : "", 2030 | "multi" : 0 2031 | } 2032 | ] 2033 | } 2034 | 2035 | } 2036 | -------------------------------------------------------------------------------- /polygrain~stereo-b.maxpat: -------------------------------------------------------------------------------- 1 | { 2 | "patcher" : { 3 | "fileversion" : 1, 4 | "appversion" : { 5 | "major" : 7, 6 | "minor" : 3, 7 | "revision" : 5, 8 | "architecture" : "x86", 9 | "modernui" : 1 10 | } 11 | , 12 | "rect" : [ 242.0, 96.0, 1004.0, 611.0 ], 13 | "bglocked" : 0, 14 | "openinpresentation" : 0, 15 | "default_fontsize" : 12.0, 16 | "default_fontface" : 0, 17 | "default_fontname" : "Arial", 18 | "gridonopen" : 1, 19 | "gridsize" : [ 15.0, 15.0 ], 20 | "gridsnaponopen" : 1, 21 | "objectsnaponopen" : 1, 22 | "statusbarvisible" : 2, 23 | "toolbarvisible" : 1, 24 | "lefttoolbarpinned" : 0, 25 | "toptoolbarpinned" : 0, 26 | "righttoolbarpinned" : 0, 27 | "bottomtoolbarpinned" : 0, 28 | "toolbars_unpinned_last_save" : 0, 29 | "tallnewobj" : 1, 30 | "boxanimatetime" : 200, 31 | "enablehscroll" : 1, 32 | "enablevscroll" : 1, 33 | "devicewidth" : 0.0, 34 | "description" : "", 35 | "digest" : "", 36 | "tags" : "", 37 | "style" : "", 38 | "subpatcher_template" : "", 39 | "boxes" : [ { 40 | "box" : { 41 | "id" : "obj-8", 42 | "maxclass" : "newobj", 43 | "numinlets" : 2, 44 | "numoutlets" : 1, 45 | "outlettype" : [ "signal" ], 46 | "patching_rect" : [ 382.5, 524.866699, 30.0, 26.0 ], 47 | "style" : "", 48 | "text" : "*~" 49 | } 50 | 51 | } 52 | , { 53 | "box" : { 54 | "id" : "obj-4", 55 | "maxclass" : "newobj", 56 | "numinlets" : 1, 57 | "numoutlets" : 1, 58 | "outlettype" : [ "" ], 59 | "patcher" : { 60 | "fileversion" : 1, 61 | "appversion" : { 62 | "major" : 7, 63 | "minor" : 3, 64 | "revision" : 5, 65 | "architecture" : "x86", 66 | "modernui" : 1 67 | } 68 | , 69 | "rect" : [ 59.0, 103.0, 350.0, 307.0 ], 70 | "bglocked" : 0, 71 | "openinpresentation" : 0, 72 | "default_fontsize" : 12.0, 73 | "default_fontface" : 0, 74 | "default_fontname" : "Arial", 75 | "gridonopen" : 1, 76 | "gridsize" : [ 15.0, 15.0 ], 77 | "gridsnaponopen" : 1, 78 | "objectsnaponopen" : 1, 79 | "statusbarvisible" : 2, 80 | "toolbarvisible" : 1, 81 | "lefttoolbarpinned" : 0, 82 | "toptoolbarpinned" : 0, 83 | "righttoolbarpinned" : 0, 84 | "bottomtoolbarpinned" : 0, 85 | "toolbars_unpinned_last_save" : 0, 86 | "tallnewobj" : 1, 87 | "boxanimatetime" : 200, 88 | "enablehscroll" : 1, 89 | "enablevscroll" : 1, 90 | "devicewidth" : 0.0, 91 | "description" : "", 92 | "digest" : "", 93 | "tags" : "", 94 | "style" : "", 95 | "subpatcher_template" : "", 96 | "boxes" : [ { 97 | "box" : { 98 | "fontname" : "Arial", 99 | "fontsize" : 12.0, 100 | "id" : "obj-9", 101 | "maxclass" : "newobj", 102 | "numinlets" : 0, 103 | "numoutlets" : 1, 104 | "outlettype" : [ "" ], 105 | "patching_rect" : [ 236.330811, 113.0, 75.0, 26.0 ], 106 | "style" : "", 107 | "text" : "r ampmax-b" 108 | } 109 | 110 | } 111 | , { 112 | "box" : { 113 | "fontname" : "Arial", 114 | "fontsize" : 12.0, 115 | "id" : "obj-11", 116 | "maxclass" : "newobj", 117 | "numinlets" : 0, 118 | "numoutlets" : 1, 119 | "outlettype" : [ "" ], 120 | "patching_rect" : [ 157.0, 113.0, 71.0, 26.0 ], 121 | "style" : "", 122 | "text" : "r ampmin-b" 123 | } 124 | 125 | } 126 | , { 127 | "box" : { 128 | "fontname" : "Arial", 129 | "fontsize" : 12.0, 130 | "id" : "obj-36", 131 | "maxclass" : "newobj", 132 | "numinlets" : 2, 133 | "numoutlets" : 1, 134 | "outlettype" : [ "int" ], 135 | "patching_rect" : [ 50.0, 113.0, 88.0, 26.0 ], 136 | "style" : "", 137 | "text" : "random 10000" 138 | } 139 | 140 | } 141 | , { 142 | "box" : { 143 | "fontname" : "Arial", 144 | "fontsize" : 12.0, 145 | "id" : "obj-37", 146 | "maxclass" : "newobj", 147 | "numinlets" : 6, 148 | "numoutlets" : 1, 149 | "outlettype" : [ "" ], 150 | "patching_rect" : [ 50.0, 172.277725, 168.0, 26.0 ], 151 | "style" : "", 152 | "text" : "scale 0 9999 0. 1." 153 | } 154 | 155 | } 156 | , { 157 | "box" : { 158 | "comment" : "", 159 | "id" : "obj-89", 160 | "index" : 1, 161 | "maxclass" : "inlet", 162 | "numinlets" : 0, 163 | "numoutlets" : 1, 164 | "outlettype" : [ "bang" ], 165 | "patching_rect" : [ 50.0, 68.0, 30.0, 30.0 ], 166 | "style" : "" 167 | } 168 | 169 | } 170 | , { 171 | "box" : { 172 | "comment" : "", 173 | "id" : "obj-90", 174 | "index" : 1, 175 | "maxclass" : "outlet", 176 | "numinlets" : 1, 177 | "numoutlets" : 0, 178 | "patching_rect" : [ 50.0, 213.0, 30.0, 30.0 ], 179 | "style" : "" 180 | } 181 | 182 | } 183 | ], 184 | "lines" : [ { 185 | "patchline" : { 186 | "destination" : [ "obj-37", 3 ], 187 | "source" : [ "obj-11", 0 ] 188 | } 189 | 190 | } 191 | , { 192 | "patchline" : { 193 | "destination" : [ "obj-37", 0 ], 194 | "source" : [ "obj-36", 0 ] 195 | } 196 | 197 | } 198 | , { 199 | "patchline" : { 200 | "destination" : [ "obj-90", 0 ], 201 | "source" : [ "obj-37", 0 ] 202 | } 203 | 204 | } 205 | , { 206 | "patchline" : { 207 | "destination" : [ "obj-36", 0 ], 208 | "source" : [ "obj-89", 0 ] 209 | } 210 | 211 | } 212 | , { 213 | "patchline" : { 214 | "destination" : [ "obj-37", 4 ], 215 | "source" : [ "obj-9", 0 ] 216 | } 217 | 218 | } 219 | ], 220 | "bgfillcolor_type" : "gradient", 221 | "bgfillcolor_color1" : [ 0.454902, 0.462745, 0.482353, 1.0 ], 222 | "bgfillcolor_color2" : [ 0.290196, 0.309804, 0.301961, 1.0 ], 223 | "bgfillcolor_color" : [ 0.290196, 0.309804, 0.301961, 1.0 ], 224 | "bgfillcolor_angle" : 270.0, 225 | "bgfillcolor_proportion" : 0.39 226 | } 227 | , 228 | "patching_rect" : [ 857.0, 170.022263, 75.0, 26.0 ], 229 | "saved_object_attributes" : { 230 | "description" : "", 231 | "digest" : "", 232 | "globalpatchername" : "", 233 | "style" : "", 234 | "tags" : "" 235 | } 236 | , 237 | "style" : "", 238 | "text" : "p rand_amp" 239 | } 240 | 241 | } 242 | , { 243 | "box" : { 244 | "id" : "obj-94", 245 | "maxclass" : "comment", 246 | "numinlets" : 1, 247 | "numoutlets" : 0, 248 | "patching_rect" : [ 529.0, 165.0, 86.0, 20.0 ], 249 | "style" : "", 250 | "text" : "pitch to period" 251 | } 252 | 253 | } 254 | , { 255 | "box" : { 256 | "id" : "obj-91", 257 | "maxclass" : "newobj", 258 | "numinlets" : 1, 259 | "numoutlets" : 1, 260 | "outlettype" : [ "" ], 261 | "patcher" : { 262 | "fileversion" : 1, 263 | "appversion" : { 264 | "major" : 7, 265 | "minor" : 3, 266 | "revision" : 5, 267 | "architecture" : "x86", 268 | "modernui" : 1 269 | } 270 | , 271 | "rect" : [ 59.0, 103.0, 350.0, 307.0 ], 272 | "bglocked" : 0, 273 | "openinpresentation" : 0, 274 | "default_fontsize" : 12.0, 275 | "default_fontface" : 0, 276 | "default_fontname" : "Arial", 277 | "gridonopen" : 1, 278 | "gridsize" : [ 15.0, 15.0 ], 279 | "gridsnaponopen" : 1, 280 | "objectsnaponopen" : 1, 281 | "statusbarvisible" : 2, 282 | "toolbarvisible" : 1, 283 | "lefttoolbarpinned" : 0, 284 | "toptoolbarpinned" : 0, 285 | "righttoolbarpinned" : 0, 286 | "bottomtoolbarpinned" : 0, 287 | "toolbars_unpinned_last_save" : 0, 288 | "tallnewobj" : 1, 289 | "boxanimatetime" : 200, 290 | "enablehscroll" : 1, 291 | "enablevscroll" : 1, 292 | "devicewidth" : 0.0, 293 | "description" : "", 294 | "digest" : "", 295 | "tags" : "", 296 | "style" : "", 297 | "subpatcher_template" : "", 298 | "boxes" : [ { 299 | "box" : { 300 | "fontname" : "Arial", 301 | "fontsize" : 12.0, 302 | "id" : "obj-9", 303 | "maxclass" : "newobj", 304 | "numinlets" : 0, 305 | "numoutlets" : 1, 306 | "outlettype" : [ "" ], 307 | "patching_rect" : [ 243.330811, 113.0, 75.0, 26.0 ], 308 | "style" : "", 309 | "text" : "r ampmax-b" 310 | } 311 | 312 | } 313 | , { 314 | "box" : { 315 | "fontname" : "Arial", 316 | "fontsize" : 12.0, 317 | "id" : "obj-11", 318 | "maxclass" : "newobj", 319 | "numinlets" : 0, 320 | "numoutlets" : 1, 321 | "outlettype" : [ "" ], 322 | "patching_rect" : [ 157.0, 113.0, 71.0, 26.0 ], 323 | "style" : "", 324 | "text" : "r ampmin-b" 325 | } 326 | 327 | } 328 | , { 329 | "box" : { 330 | "fontname" : "Arial", 331 | "fontsize" : 12.0, 332 | "id" : "obj-36", 333 | "maxclass" : "newobj", 334 | "numinlets" : 2, 335 | "numoutlets" : 1, 336 | "outlettype" : [ "int" ], 337 | "patching_rect" : [ 50.0, 113.0, 88.0, 26.0 ], 338 | "style" : "", 339 | "text" : "random 10000" 340 | } 341 | 342 | } 343 | , { 344 | "box" : { 345 | "fontname" : "Arial", 346 | "fontsize" : 12.0, 347 | "id" : "obj-37", 348 | "maxclass" : "newobj", 349 | "numinlets" : 6, 350 | "numoutlets" : 1, 351 | "outlettype" : [ "" ], 352 | "patching_rect" : [ 50.0, 172.277725, 168.0, 26.0 ], 353 | "style" : "", 354 | "text" : "scale 0 9999 0. 1." 355 | } 356 | 357 | } 358 | , { 359 | "box" : { 360 | "comment" : "", 361 | "id" : "obj-89", 362 | "index" : 1, 363 | "maxclass" : "inlet", 364 | "numinlets" : 0, 365 | "numoutlets" : 1, 366 | "outlettype" : [ "bang" ], 367 | "patching_rect" : [ 50.0, 68.0, 30.0, 30.0 ], 368 | "style" : "" 369 | } 370 | 371 | } 372 | , { 373 | "box" : { 374 | "comment" : "", 375 | "id" : "obj-90", 376 | "index" : 1, 377 | "maxclass" : "outlet", 378 | "numinlets" : 1, 379 | "numoutlets" : 0, 380 | "patching_rect" : [ 50.0, 213.0, 30.0, 30.0 ], 381 | "style" : "" 382 | } 383 | 384 | } 385 | ], 386 | "lines" : [ { 387 | "patchline" : { 388 | "destination" : [ "obj-37", 3 ], 389 | "source" : [ "obj-11", 0 ] 390 | } 391 | 392 | } 393 | , { 394 | "patchline" : { 395 | "destination" : [ "obj-37", 0 ], 396 | "source" : [ "obj-36", 0 ] 397 | } 398 | 399 | } 400 | , { 401 | "patchline" : { 402 | "destination" : [ "obj-90", 0 ], 403 | "source" : [ "obj-37", 0 ] 404 | } 405 | 406 | } 407 | , { 408 | "patchline" : { 409 | "destination" : [ "obj-36", 0 ], 410 | "source" : [ "obj-89", 0 ] 411 | } 412 | 413 | } 414 | , { 415 | "patchline" : { 416 | "destination" : [ "obj-37", 4 ], 417 | "source" : [ "obj-9", 0 ] 418 | } 419 | 420 | } 421 | ], 422 | "bgfillcolor_type" : "gradient", 423 | "bgfillcolor_color1" : [ 0.454902, 0.462745, 0.482353, 1.0 ], 424 | "bgfillcolor_color2" : [ 0.290196, 0.309804, 0.301961, 1.0 ], 425 | "bgfillcolor_color" : [ 0.290196, 0.309804, 0.301961, 1.0 ], 426 | "bgfillcolor_angle" : 270.0, 427 | "bgfillcolor_proportion" : 0.39 428 | } 429 | , 430 | "patching_rect" : [ 645.0, 118.022263, 75.0, 26.0 ], 431 | "saved_object_attributes" : { 432 | "description" : "", 433 | "digest" : "", 434 | "globalpatchername" : "", 435 | "style" : "", 436 | "tags" : "" 437 | } 438 | , 439 | "style" : "", 440 | "text" : "p rand_amp" 441 | } 442 | 443 | } 444 | , { 445 | "box" : { 446 | "id" : "obj-88", 447 | "maxclass" : "newobj", 448 | "numinlets" : 1, 449 | "numoutlets" : 1, 450 | "outlettype" : [ "" ], 451 | "patcher" : { 452 | "fileversion" : 1, 453 | "appversion" : { 454 | "major" : 7, 455 | "minor" : 3, 456 | "revision" : 5, 457 | "architecture" : "x86", 458 | "modernui" : 1 459 | } 460 | , 461 | "rect" : [ 59.0, 81.0, 322.0, 347.0 ], 462 | "bglocked" : 0, 463 | "openinpresentation" : 0, 464 | "default_fontsize" : 12.0, 465 | "default_fontface" : 0, 466 | "default_fontname" : "Arial", 467 | "gridonopen" : 1, 468 | "gridsize" : [ 15.0, 15.0 ], 469 | "gridsnaponopen" : 1, 470 | "objectsnaponopen" : 1, 471 | "statusbarvisible" : 2, 472 | "toolbarvisible" : 1, 473 | "lefttoolbarpinned" : 0, 474 | "toptoolbarpinned" : 0, 475 | "righttoolbarpinned" : 0, 476 | "bottomtoolbarpinned" : 0, 477 | "toolbars_unpinned_last_save" : 0, 478 | "tallnewobj" : 1, 479 | "boxanimatetime" : 200, 480 | "enablehscroll" : 1, 481 | "enablevscroll" : 1, 482 | "devicewidth" : 0.0, 483 | "description" : "", 484 | "digest" : "", 485 | "tags" : "", 486 | "style" : "", 487 | "subpatcher_template" : "", 488 | "boxes" : [ { 489 | "box" : { 490 | "fontname" : "Arial", 491 | "fontsize" : 12.0, 492 | "id" : "obj-18", 493 | "maxclass" : "newobj", 494 | "numinlets" : 0, 495 | "numoutlets" : 1, 496 | "outlettype" : [ "" ], 497 | "patching_rect" : [ 211.942383, 100.0, 77.0, 26.0 ], 498 | "style" : "", 499 | "text" : "r pitchmax-b" 500 | } 501 | 502 | } 503 | , { 504 | "box" : { 505 | "fontname" : "Arial", 506 | "fontsize" : 12.0, 507 | "id" : "obj-20", 508 | "maxclass" : "newobj", 509 | "numinlets" : 0, 510 | "numoutlets" : 1, 511 | "outlettype" : [ "" ], 512 | "patching_rect" : [ 131.829163, 100.0, 73.0, 26.0 ], 513 | "style" : "", 514 | "text" : "r pitchmin-b" 515 | } 516 | 517 | } 518 | , { 519 | "box" : { 520 | "fontname" : "Arial", 521 | "fontsize" : 12.0, 522 | "id" : "obj-32", 523 | "maxclass" : "newobj", 524 | "numinlets" : 2, 525 | "numoutlets" : 1, 526 | "outlettype" : [ "int" ], 527 | "patching_rect" : [ 50.0, 133.800049, 88.0, 26.0 ], 528 | "style" : "", 529 | "text" : "random 10000" 530 | } 531 | 532 | } 533 | , { 534 | "box" : { 535 | "fontname" : "Arial", 536 | "fontsize" : 12.0, 537 | "id" : "obj-33", 538 | "maxclass" : "newobj", 539 | "numinlets" : 6, 540 | "numoutlets" : 1, 541 | "outlettype" : [ "" ], 542 | "patching_rect" : [ 50.0, 188.877808, 175.0, 26.0 ], 543 | "style" : "", 544 | "text" : "scale 0 9999 0. 1." 545 | } 546 | 547 | } 548 | , { 549 | "box" : { 550 | "comment" : "", 551 | "id" : "obj-86", 552 | "index" : 1, 553 | "maxclass" : "inlet", 554 | "numinlets" : 0, 555 | "numoutlets" : 1, 556 | "outlettype" : [ "bang" ], 557 | "patching_rect" : [ 50.0, 82.0, 30.0, 30.0 ], 558 | "style" : "" 559 | } 560 | 561 | } 562 | , { 563 | "box" : { 564 | "comment" : "", 565 | "id" : "obj-87", 566 | "index" : 1, 567 | "maxclass" : "outlet", 568 | "numinlets" : 1, 569 | "numoutlets" : 0, 570 | "patching_rect" : [ 50.0, 234.0, 30.0, 30.0 ], 571 | "style" : "" 572 | } 573 | 574 | } 575 | ], 576 | "lines" : [ { 577 | "patchline" : { 578 | "destination" : [ "obj-33", 4 ], 579 | "source" : [ "obj-18", 0 ] 580 | } 581 | 582 | } 583 | , { 584 | "patchline" : { 585 | "destination" : [ "obj-33", 3 ], 586 | "source" : [ "obj-20", 0 ] 587 | } 588 | 589 | } 590 | , { 591 | "patchline" : { 592 | "destination" : [ "obj-33", 0 ], 593 | "source" : [ "obj-32", 0 ] 594 | } 595 | 596 | } 597 | , { 598 | "patchline" : { 599 | "destination" : [ "obj-87", 0 ], 600 | "source" : [ "obj-33", 0 ] 601 | } 602 | 603 | } 604 | , { 605 | "patchline" : { 606 | "destination" : [ "obj-32", 0 ], 607 | "source" : [ "obj-86", 0 ] 608 | } 609 | 610 | } 611 | ], 612 | "bgfillcolor_type" : "gradient", 613 | "bgfillcolor_color1" : [ 0.454902, 0.462745, 0.482353, 1.0 ], 614 | "bgfillcolor_color2" : [ 0.290196, 0.309804, 0.301961, 1.0 ], 615 | "bgfillcolor_color" : [ 0.290196, 0.309804, 0.301961, 1.0 ], 616 | "bgfillcolor_angle" : 270.0, 617 | "bgfillcolor_proportion" : 0.39 618 | } 619 | , 620 | "patching_rect" : [ 488.0, 118.022263, 77.0, 26.0 ], 621 | "saved_object_attributes" : { 622 | "description" : "", 623 | "digest" : "", 624 | "globalpatchername" : "", 625 | "style" : "", 626 | "tags" : "" 627 | } 628 | , 629 | "style" : "", 630 | "text" : "p rand_pitch" 631 | } 632 | 633 | } 634 | , { 635 | "box" : { 636 | "id" : "obj-85", 637 | "maxclass" : "newobj", 638 | "numinlets" : 1, 639 | "numoutlets" : 1, 640 | "outlettype" : [ "" ], 641 | "patcher" : { 642 | "fileversion" : 1, 643 | "appversion" : { 644 | "major" : 7, 645 | "minor" : 3, 646 | "revision" : 5, 647 | "architecture" : "x86", 648 | "modernui" : 1 649 | } 650 | , 651 | "rect" : [ 59.0, 81.0, 403.0, 308.0 ], 652 | "bglocked" : 0, 653 | "openinpresentation" : 0, 654 | "default_fontsize" : 12.0, 655 | "default_fontface" : 0, 656 | "default_fontname" : "Arial", 657 | "gridonopen" : 1, 658 | "gridsize" : [ 15.0, 15.0 ], 659 | "gridsnaponopen" : 1, 660 | "objectsnaponopen" : 1, 661 | "statusbarvisible" : 2, 662 | "toolbarvisible" : 1, 663 | "lefttoolbarpinned" : 0, 664 | "toptoolbarpinned" : 0, 665 | "righttoolbarpinned" : 0, 666 | "bottomtoolbarpinned" : 0, 667 | "toolbars_unpinned_last_save" : 0, 668 | "tallnewobj" : 1, 669 | "boxanimatetime" : 200, 670 | "enablehscroll" : 1, 671 | "enablevscroll" : 1, 672 | "devicewidth" : 0.0, 673 | "description" : "", 674 | "digest" : "", 675 | "tags" : "", 676 | "style" : "", 677 | "subpatcher_template" : "", 678 | "boxes" : [ { 679 | "box" : { 680 | "fontname" : "Arial", 681 | "fontsize" : 12.0, 682 | "id" : "obj-14", 683 | "maxclass" : "newobj", 684 | "numinlets" : 0, 685 | "numoutlets" : 1, 686 | "outlettype" : [ "" ], 687 | "patching_rect" : [ 293.465546, 102.0, 84.0, 26.0 ], 688 | "style" : "", 689 | "text" : "r lengthmax-b" 690 | } 691 | 692 | } 693 | , { 694 | "box" : { 695 | "fontname" : "Arial", 696 | "fontsize" : 12.0, 697 | "id" : "obj-16", 698 | "maxclass" : "newobj", 699 | "numinlets" : 0, 700 | "numoutlets" : 1, 701 | "outlettype" : [ "" ], 702 | "patching_rect" : [ 209.017548, 102.0, 81.0, 26.0 ], 703 | "style" : "", 704 | "text" : "r lengthmin-b" 705 | } 706 | 707 | } 708 | , { 709 | "box" : { 710 | "fontname" : "Arial", 711 | "fontsize" : 12.0, 712 | "id" : "obj-24", 713 | "maxclass" : "newobj", 714 | "numinlets" : 2, 715 | "numoutlets" : 1, 716 | "outlettype" : [ "int" ], 717 | "patching_rect" : [ 50.0, 128.0, 88.0, 26.0 ], 718 | "style" : "", 719 | "text" : "random 10000" 720 | } 721 | 722 | } 723 | , { 724 | "box" : { 725 | "fontname" : "Arial", 726 | "fontsize" : 12.0, 727 | "id" : "obj-25", 728 | "maxclass" : "newobj", 729 | "numinlets" : 6, 730 | "numoutlets" : 1, 731 | "outlettype" : [ "" ], 732 | "patching_rect" : [ 50.0, 184.077759, 169.0, 26.0 ], 733 | "style" : "", 734 | "text" : "scale 0 9999 0. 1." 735 | } 736 | 737 | } 738 | , { 739 | "box" : { 740 | "comment" : "", 741 | "id" : "obj-83", 742 | "index" : 1, 743 | "maxclass" : "inlet", 744 | "numinlets" : 0, 745 | "numoutlets" : 1, 746 | "outlettype" : [ "bang" ], 747 | "patching_rect" : [ 50.0, 40.0, 30.0, 30.0 ], 748 | "style" : "" 749 | } 750 | 751 | } 752 | , { 753 | "box" : { 754 | "comment" : "", 755 | "id" : "obj-84", 756 | "index" : 1, 757 | "maxclass" : "outlet", 758 | "numinlets" : 1, 759 | "numoutlets" : 0, 760 | "patching_rect" : [ 50.0, 234.0, 30.0, 30.0 ], 761 | "style" : "" 762 | } 763 | 764 | } 765 | ], 766 | "lines" : [ { 767 | "patchline" : { 768 | "destination" : [ "obj-25", 4 ], 769 | "source" : [ "obj-14", 0 ] 770 | } 771 | 772 | } 773 | , { 774 | "patchline" : { 775 | "destination" : [ "obj-25", 3 ], 776 | "source" : [ "obj-16", 0 ] 777 | } 778 | 779 | } 780 | , { 781 | "patchline" : { 782 | "destination" : [ "obj-25", 0 ], 783 | "source" : [ "obj-24", 0 ] 784 | } 785 | 786 | } 787 | , { 788 | "patchline" : { 789 | "destination" : [ "obj-84", 0 ], 790 | "source" : [ "obj-25", 0 ] 791 | } 792 | 793 | } 794 | , { 795 | "patchline" : { 796 | "destination" : [ "obj-24", 0 ], 797 | "source" : [ "obj-83", 0 ] 798 | } 799 | 800 | } 801 | ], 802 | "bgfillcolor_type" : "gradient", 803 | "bgfillcolor_color1" : [ 0.454902, 0.462745, 0.482353, 1.0 ], 804 | "bgfillcolor_color2" : [ 0.290196, 0.309804, 0.301961, 1.0 ], 805 | "bgfillcolor_color" : [ 0.290196, 0.309804, 0.301961, 1.0 ], 806 | "bgfillcolor_angle" : 270.0, 807 | "bgfillcolor_proportion" : 0.39 808 | } 809 | , 810 | "patching_rect" : [ 331.0, 118.022263, 69.0, 26.0 ], 811 | "saved_object_attributes" : { 812 | "description" : "", 813 | "digest" : "", 814 | "globalpatchername" : "", 815 | "style" : "", 816 | "tags" : "" 817 | } 818 | , 819 | "style" : "", 820 | "text" : "p rand_dur" 821 | } 822 | 823 | } 824 | , { 825 | "box" : { 826 | "id" : "obj-82", 827 | "maxclass" : "newobj", 828 | "numinlets" : 2, 829 | "numoutlets" : 1, 830 | "outlettype" : [ "" ], 831 | "patcher" : { 832 | "fileversion" : 1, 833 | "appversion" : { 834 | "major" : 7, 835 | "minor" : 3, 836 | "revision" : 5, 837 | "architecture" : "x86", 838 | "modernui" : 1 839 | } 840 | , 841 | "rect" : [ 59.0, 81.0, 369.0, 338.0 ], 842 | "bglocked" : 0, 843 | "openinpresentation" : 0, 844 | "default_fontsize" : 12.0, 845 | "default_fontface" : 0, 846 | "default_fontname" : "Arial", 847 | "gridonopen" : 1, 848 | "gridsize" : [ 15.0, 15.0 ], 849 | "gridsnaponopen" : 1, 850 | "objectsnaponopen" : 1, 851 | "statusbarvisible" : 2, 852 | "toolbarvisible" : 1, 853 | "lefttoolbarpinned" : 0, 854 | "toptoolbarpinned" : 0, 855 | "righttoolbarpinned" : 0, 856 | "bottomtoolbarpinned" : 0, 857 | "toolbars_unpinned_last_save" : 0, 858 | "tallnewobj" : 1, 859 | "boxanimatetime" : 200, 860 | "enablehscroll" : 1, 861 | "enablevscroll" : 1, 862 | "devicewidth" : 0.0, 863 | "description" : "", 864 | "digest" : "", 865 | "tags" : "", 866 | "style" : "", 867 | "subpatcher_template" : "", 868 | "boxes" : [ { 869 | "box" : { 870 | "id" : "obj-26", 871 | "maxclass" : "newobj", 872 | "numinlets" : 2, 873 | "numoutlets" : 1, 874 | "outlettype" : [ "float" ], 875 | "patching_rect" : [ 222.31424, 106.488884, 33.0, 26.0 ], 876 | "style" : "", 877 | "text" : "!- 1." 878 | } 879 | 880 | } 881 | , { 882 | "box" : { 883 | "id" : "obj-7", 884 | "maxclass" : "newobj", 885 | "numinlets" : 0, 886 | "numoutlets" : 1, 887 | "outlettype" : [ "" ], 888 | "patching_rect" : [ 257.128784, 53.0, 64.0, 26.0 ], 889 | "style" : "", 890 | "text" : "r selend-b" 891 | } 892 | 893 | } 894 | , { 895 | "box" : { 896 | "id" : "obj-4", 897 | "maxclass" : "newobj", 898 | "numinlets" : 0, 899 | "numoutlets" : 1, 900 | "outlettype" : [ "" ], 901 | "patching_rect" : [ 146.831787, 106.488884, 67.0, 26.0 ], 902 | "style" : "", 903 | "text" : "r selstart-b" 904 | } 905 | 906 | } 907 | , { 908 | "box" : { 909 | "id" : "obj-23", 910 | "maxclass" : "newobj", 911 | "numinlets" : 2, 912 | "numoutlets" : 1, 913 | "outlettype" : [ "int" ], 914 | "patching_rect" : [ 50.0, 106.488884, 88.0, 26.0 ], 915 | "style" : "", 916 | "text" : "random 10000" 917 | } 918 | 919 | } 920 | , { 921 | "box" : { 922 | "id" : "obj-22", 923 | "maxclass" : "newobj", 924 | "numinlets" : 6, 925 | "numoutlets" : 1, 926 | "outlettype" : [ "" ], 927 | "patching_rect" : [ 50.0, 172.388885, 105.0, 26.0 ], 928 | "style" : "", 929 | "text" : "scale 0 9999 0. 1." 930 | } 931 | 932 | } 933 | , { 934 | "box" : { 935 | "comment" : "", 936 | "id" : "obj-79", 937 | "index" : 1, 938 | "maxclass" : "inlet", 939 | "numinlets" : 0, 940 | "numoutlets" : 1, 941 | "outlettype" : [ "bang" ], 942 | "patching_rect" : [ 50.0, 40.0, 30.0, 30.0 ], 943 | "style" : "" 944 | } 945 | 946 | } 947 | , { 948 | "box" : { 949 | "comment" : "", 950 | "id" : "obj-80", 951 | "index" : 2, 952 | "maxclass" : "inlet", 953 | "numinlets" : 0, 954 | "numoutlets" : 1, 955 | "outlettype" : [ "float" ], 956 | "patching_rect" : [ 203.31424, 40.0, 30.0, 30.0 ], 957 | "style" : "" 958 | } 959 | 960 | } 961 | , { 962 | "box" : { 963 | "comment" : "", 964 | "id" : "obj-81", 965 | "index" : 1, 966 | "maxclass" : "outlet", 967 | "numinlets" : 1, 968 | "numoutlets" : 0, 969 | "patching_rect" : [ 50.0, 224.0, 30.0, 30.0 ], 970 | "style" : "" 971 | } 972 | 973 | } 974 | ], 975 | "lines" : [ { 976 | "patchline" : { 977 | "destination" : [ "obj-81", 0 ], 978 | "source" : [ "obj-22", 0 ] 979 | } 980 | 981 | } 982 | , { 983 | "patchline" : { 984 | "destination" : [ "obj-22", 0 ], 985 | "source" : [ "obj-23", 0 ] 986 | } 987 | 988 | } 989 | , { 990 | "patchline" : { 991 | "destination" : [ "obj-22", 4 ], 992 | "source" : [ "obj-26", 0 ] 993 | } 994 | 995 | } 996 | , { 997 | "patchline" : { 998 | "destination" : [ "obj-22", 3 ], 999 | "source" : [ "obj-4", 0 ] 1000 | } 1001 | 1002 | } 1003 | , { 1004 | "patchline" : { 1005 | "destination" : [ "obj-26", 1 ], 1006 | "source" : [ "obj-7", 0 ] 1007 | } 1008 | 1009 | } 1010 | , { 1011 | "patchline" : { 1012 | "destination" : [ "obj-23", 0 ], 1013 | "source" : [ "obj-79", 0 ] 1014 | } 1015 | 1016 | } 1017 | , { 1018 | "patchline" : { 1019 | "destination" : [ "obj-26", 0 ], 1020 | "source" : [ "obj-80", 0 ] 1021 | } 1022 | 1023 | } 1024 | ], 1025 | "bgfillcolor_type" : "gradient", 1026 | "bgfillcolor_color1" : [ 0.454902, 0.462745, 0.482353, 1.0 ], 1027 | "bgfillcolor_color2" : [ 0.290196, 0.309804, 0.301961, 1.0 ], 1028 | "bgfillcolor_color" : [ 0.290196, 0.309804, 0.301961, 1.0 ], 1029 | "bgfillcolor_angle" : 270.0, 1030 | "bgfillcolor_proportion" : 0.39 1031 | } 1032 | , 1033 | "patching_rect" : [ 174.0, 118.022263, 75.0, 26.0 ], 1034 | "saved_object_attributes" : { 1035 | "description" : "", 1036 | "digest" : "", 1037 | "globalpatchername" : "", 1038 | "style" : "", 1039 | "tags" : "" 1040 | } 1041 | , 1042 | "style" : "", 1043 | "text" : "p rand_start" 1044 | } 1045 | 1046 | } 1047 | , { 1048 | "box" : { 1049 | "fontname" : "Arial", 1050 | "fontsize" : 12.0, 1051 | "id" : "obj-29", 1052 | "maxclass" : "newobj", 1053 | "numinlets" : 1, 1054 | "numoutlets" : 0, 1055 | "patching_rect" : [ 256.703003, 571.944458, 44.0, 26.0 ], 1056 | "saved_object_attributes" : { 1057 | "attr_comment" : "" 1058 | } 1059 | , 1060 | "style" : "", 1061 | "text" : "out~ 2" 1062 | } 1063 | 1064 | } 1065 | , { 1066 | "box" : { 1067 | "fontname" : "Arial", 1068 | "fontsize" : 12.0, 1069 | "id" : "obj-30", 1070 | "maxclass" : "newobj", 1071 | "numinlets" : 2, 1072 | "numoutlets" : 1, 1073 | "outlettype" : [ "signal" ], 1074 | "patching_rect" : [ 256.703003, 532.222229, 32.5, 26.0 ], 1075 | "style" : "", 1076 | "text" : "*~" 1077 | } 1078 | 1079 | } 1080 | , { 1081 | "box" : { 1082 | "fontname" : "Arial", 1083 | "fontsize" : 12.0, 1084 | "id" : "obj-63", 1085 | "linecount" : 2, 1086 | "maxclass" : "comment", 1087 | "numinlets" : 1, 1088 | "numoutlets" : 0, 1089 | "patching_rect" : [ 77.468689, 397.977783, 92.0, 33.0 ], 1090 | "style" : "", 1091 | "text" : "generate playback ramp." 1092 | } 1093 | 1094 | } 1095 | , { 1096 | "box" : { 1097 | "fontname" : "Arial", 1098 | "fontsize" : 12.0, 1099 | "id" : "obj-62", 1100 | "linecount" : 2, 1101 | "maxclass" : "comment", 1102 | "numinlets" : 1, 1103 | "numoutlets" : 0, 1104 | "patching_rect" : [ 331.0, 397.977783, 117.0, 33.0 ], 1105 | "style" : "", 1106 | "text" : "generate amplitude\n curve (with slope)." 1107 | } 1108 | 1109 | } 1110 | , { 1111 | "box" : { 1112 | "fontname" : "Arial", 1113 | "fontsize" : 12.0, 1114 | "id" : "obj-61", 1115 | "linecount" : 2, 1116 | "maxclass" : "comment", 1117 | "numinlets" : 1, 1118 | "numoutlets" : 0, 1119 | "patching_rect" : [ 574.25, 118.022263, 74.0, 33.0 ], 1120 | "style" : "", 1121 | "text" : "how loud is this grain?" 1122 | } 1123 | 1124 | } 1125 | , { 1126 | "box" : { 1127 | "fontname" : "Arial", 1128 | "fontsize" : 12.0, 1129 | "id" : "obj-60", 1130 | "linecount" : 2, 1131 | "maxclass" : "comment", 1132 | "numinlets" : 1, 1133 | "numoutlets" : 0, 1134 | "patching_rect" : [ 514.269409, 205.300003, 135.0, 33.0 ], 1135 | "style" : "", 1136 | "text" : "how long is this grain including pitch shift?" 1137 | } 1138 | 1139 | } 1140 | , { 1141 | "box" : { 1142 | "fontname" : "Arial", 1143 | "fontsize" : 12.0, 1144 | "id" : "obj-59", 1145 | "linecount" : 2, 1146 | "maxclass" : "comment", 1147 | "numinlets" : 1, 1148 | "numoutlets" : 0, 1149 | "patching_rect" : [ 365.5, 205.300003, 91.0, 33.0 ], 1150 | "style" : "", 1151 | "text" : "where does this grain end?" 1152 | } 1153 | 1154 | } 1155 | , { 1156 | "box" : { 1157 | "fontname" : "Arial", 1158 | "fontsize" : 12.0, 1159 | "id" : "obj-58", 1160 | "linecount" : 2, 1161 | "maxclass" : "comment", 1162 | "numinlets" : 1, 1163 | "numoutlets" : 0, 1164 | "patching_rect" : [ 77.468689, 118.022263, 91.0, 33.0 ], 1165 | "style" : "", 1166 | "text" : "where does this grain start?" 1167 | } 1168 | 1169 | } 1170 | , { 1171 | "box" : { 1172 | "fontname" : "Arial", 1173 | "fontsize" : 12.0, 1174 | "id" : "obj-57", 1175 | "linecount" : 2, 1176 | "maxclass" : "comment", 1177 | "numinlets" : 1, 1178 | "numoutlets" : 0, 1179 | "patching_rect" : [ 412.903503, 118.022263, 96.0, 33.0 ], 1180 | "style" : "", 1181 | "text" : "what pitch is this grain?" 1182 | } 1183 | 1184 | } 1185 | , { 1186 | "box" : { 1187 | "fontname" : "Arial", 1188 | "fontsize" : 12.0, 1189 | "id" : "obj-56", 1190 | "linecount" : 2, 1191 | "maxclass" : "comment", 1192 | "numinlets" : 1, 1193 | "numoutlets" : 0, 1194 | "patching_rect" : [ 256.982452, 118.022263, 78.0, 33.0 ], 1195 | "style" : "", 1196 | "text" : "how long is this grain?" 1197 | } 1198 | 1199 | } 1200 | , { 1201 | "box" : { 1202 | "fontname" : "Arial", 1203 | "fontsize" : 12.0, 1204 | "id" : "obj-46", 1205 | "maxclass" : "newobj", 1206 | "numinlets" : 1, 1207 | "numoutlets" : 2, 1208 | "outlettype" : [ "float", "float" ], 1209 | "patching_rect" : [ 581.5, 327.966675, 32.5, 26.0 ], 1210 | "style" : "", 1211 | "text" : "t f f" 1212 | } 1213 | 1214 | } 1215 | , { 1216 | "box" : { 1217 | "fontname" : "Arial", 1218 | "fontsize" : 12.0, 1219 | "id" : "obj-43", 1220 | "maxclass" : "newobj", 1221 | "numinlets" : 1, 1222 | "numoutlets" : 3, 1223 | "outlettype" : [ "float", "float", "float" ], 1224 | "patching_rect" : [ 474.5, 245.200012, 126.0, 26.0 ], 1225 | "style" : "", 1226 | "text" : "t f f f" 1227 | } 1228 | 1229 | } 1230 | , { 1231 | "box" : { 1232 | "fontname" : "Arial", 1233 | "fontsize" : 12.0, 1234 | "id" : "obj-39", 1235 | "maxclass" : "newobj", 1236 | "numinlets" : 1, 1237 | "numoutlets" : 2, 1238 | "outlettype" : [ "float", "float" ], 1239 | "patching_rect" : [ 174.0, 161.400024, 32.5, 26.0 ], 1240 | "style" : "", 1241 | "text" : "t f f" 1242 | } 1243 | 1244 | } 1245 | , { 1246 | "box" : { 1247 | "fontname" : "Arial", 1248 | "fontsize" : 12.0, 1249 | "id" : "obj-35", 1250 | "maxclass" : "newobj", 1251 | "numinlets" : 1, 1252 | "numoutlets" : 3, 1253 | "outlettype" : [ "float", "float", "float" ], 1254 | "patching_rect" : [ 331.0, 161.400024, 46.0, 26.0 ], 1255 | "style" : "", 1256 | "text" : "t f f f" 1257 | } 1258 | 1259 | } 1260 | , { 1261 | "box" : { 1262 | "fontname" : "Arial", 1263 | "fontsize" : 12.0, 1264 | "id" : "obj-34", 1265 | "maxclass" : "comment", 1266 | "numinlets" : 1, 1267 | "numoutlets" : 0, 1268 | "patching_rect" : [ 815.842102, 119.066666, 105.0, 20.0 ], 1269 | "style" : "", 1270 | "text" : "unmute the voice." 1271 | } 1272 | 1273 | } 1274 | , { 1275 | "box" : { 1276 | "fontname" : "Arial", 1277 | "fontsize" : 12.0, 1278 | "id" : "obj-31", 1279 | "maxclass" : "comment", 1280 | "numinlets" : 1, 1281 | "numoutlets" : 0, 1282 | "patching_rect" : [ 767.14032, 459.411133, 92.0, 20.0 ], 1283 | "style" : "", 1284 | "text" : "mute the voice." 1285 | } 1286 | 1287 | } 1288 | , { 1289 | "box" : { 1290 | "fontname" : "Arial", 1291 | "fontsize" : 12.0, 1292 | "id" : "obj-13", 1293 | "linecount" : 2, 1294 | "maxclass" : "comment", 1295 | "numinlets" : 1, 1296 | "numoutlets" : 0, 1297 | "patching_rect" : [ 850.791992, 59.811111, 117.0, 33.0 ], 1298 | "style" : "", 1299 | "text" : "< unmute, then get random parameters." 1300 | } 1301 | 1302 | } 1303 | , { 1304 | "box" : { 1305 | "fontname" : "Arial", 1306 | "fontsize" : 12.0, 1307 | "id" : "obj-10", 1308 | "maxclass" : "comment", 1309 | "numinlets" : 1, 1310 | "numoutlets" : 0, 1311 | "patching_rect" : [ 212.796997, 23.0, 121.0, 20.0 ], 1312 | "style" : "", 1313 | "text" : "< bang triggers grain" 1314 | } 1315 | 1316 | } 1317 | , { 1318 | "box" : { 1319 | "id" : "obj-27", 1320 | "maxclass" : "newobj", 1321 | "numinlets" : 2, 1322 | "numoutlets" : 1, 1323 | "outlettype" : [ "signal" ], 1324 | "patching_rect" : [ 342.5, 483.411133, 30.0, 26.0 ], 1325 | "style" : "", 1326 | "text" : "*~" 1327 | } 1328 | 1329 | } 1330 | , { 1331 | "box" : { 1332 | "fontname" : "Arial", 1333 | "fontsize" : 12.0, 1334 | "id" : "obj-21", 1335 | "maxclass" : "newobj", 1336 | "numinlets" : 2, 1337 | "numoutlets" : 1, 1338 | "outlettype" : [ "float" ], 1339 | "patching_rect" : [ 595.0, 363.955566, 32.5, 26.0 ], 1340 | "style" : "", 1341 | "text" : "/ 2." 1342 | } 1343 | 1344 | } 1345 | , { 1346 | "box" : { 1347 | "fontname" : "Arial", 1348 | "fontsize" : 12.0, 1349 | "id" : "obj-19", 1350 | "maxclass" : "newobj", 1351 | "numinlets" : 2, 1352 | "numoutlets" : 1, 1353 | "outlettype" : [ "" ], 1354 | "patching_rect" : [ 528.0, 397.977783, 86.0, 26.0 ], 1355 | "style" : "", 1356 | "text" : "pack 0. 0." 1357 | } 1358 | 1359 | } 1360 | , { 1361 | "box" : { 1362 | "fontname" : "Arial", 1363 | "fontsize" : 12.0, 1364 | "id" : "obj-17", 1365 | "maxclass" : "newobj", 1366 | "numinlets" : 2, 1367 | "numoutlets" : 1, 1368 | "outlettype" : [ "float" ], 1369 | "patching_rect" : [ 528.0, 327.966675, 32.5, 26.0 ], 1370 | "style" : "", 1371 | "text" : "- 1." 1372 | } 1373 | 1374 | } 1375 | , { 1376 | "box" : { 1377 | "fontname" : "Arial", 1378 | "fontsize" : 12.0, 1379 | "id" : "obj-15", 1380 | "maxclass" : "newobj", 1381 | "numinlets" : 2, 1382 | "numoutlets" : 1, 1383 | "outlettype" : [ "float" ], 1384 | "patching_rect" : [ 581.5, 291.166656, 38.5, 26.0 ], 1385 | "style" : "", 1386 | "text" : "* 0." 1387 | } 1388 | 1389 | } 1390 | , { 1391 | "box" : { 1392 | "fontname" : "Arial", 1393 | "fontsize" : 12.0, 1394 | "id" : "obj-12", 1395 | "maxclass" : "newobj", 1396 | "numinlets" : 0, 1397 | "numoutlets" : 1, 1398 | "outlettype" : [ "" ], 1399 | "patching_rect" : [ 609.442383, 245.200012, 57.0, 26.0 ], 1400 | "style" : "", 1401 | "text" : "r slope-b" 1402 | } 1403 | 1404 | } 1405 | , { 1406 | "box" : { 1407 | "fontname" : "Arial", 1408 | "fontsize" : 12.0, 1409 | "id" : "obj-6", 1410 | "maxclass" : "newobj", 1411 | "numinlets" : 2, 1412 | "numoutlets" : 1, 1413 | "outlettype" : [ "float" ], 1414 | "patching_rect" : [ 488.0, 161.400024, 32.5, 26.0 ], 1415 | "style" : "", 1416 | "text" : "!/ 1." 1417 | } 1418 | 1419 | } 1420 | , { 1421 | "box" : { 1422 | "id" : "obj-5", 1423 | "maxclass" : "newobj", 1424 | "numinlets" : 2, 1425 | "numoutlets" : 2, 1426 | "outlettype" : [ "signal", "bang" ], 1427 | "patching_rect" : [ 173.720551, 419.533325, 36.0, 26.0 ], 1428 | "style" : "", 1429 | "text" : "line~" 1430 | } 1431 | 1432 | } 1433 | , { 1434 | "box" : { 1435 | "fontname" : "Arial", 1436 | "fontsize" : 12.0, 1437 | "id" : "obj-54", 1438 | "maxclass" : "newobj", 1439 | "numinlets" : 1, 1440 | "numoutlets" : 0, 1441 | "patching_rect" : [ 173.720551, 571.944458, 44.0, 26.0 ], 1442 | "style" : "", 1443 | "text" : "out~ 1" 1444 | } 1445 | 1446 | } 1447 | , { 1448 | "box" : { 1449 | "fontname" : "Arial", 1450 | "fontsize" : 12.0, 1451 | "id" : "obj-53", 1452 | "maxclass" : "message", 1453 | "numinlets" : 2, 1454 | "numoutlets" : 1, 1455 | "outlettype" : [ "" ], 1456 | "patching_rect" : [ 745.791992, 120.144485, 61.0, 22.0 ], 1457 | "style" : "", 1458 | "text" : "mute 0, 1" 1459 | } 1460 | 1461 | } 1462 | , { 1463 | "box" : { 1464 | "fontname" : "Arial", 1465 | "fontsize" : 12.0, 1466 | "id" : "obj-52", 1467 | "maxclass" : "newobj", 1468 | "numinlets" : 1, 1469 | "numoutlets" : 1, 1470 | "outlettype" : [ "bang" ], 1471 | "patching_rect" : [ 687.245605, 405.766724, 60.0, 26.0 ], 1472 | "style" : "", 1473 | "text" : "loadbang" 1474 | } 1475 | 1476 | } 1477 | , { 1478 | "box" : { 1479 | "fontname" : "Arial", 1480 | "fontsize" : 12.0, 1481 | "id" : "obj-51", 1482 | "maxclass" : "message", 1483 | "numinlets" : 2, 1484 | "numoutlets" : 1, 1485 | "outlettype" : [ "" ], 1486 | "patching_rect" : [ 687.245605, 459.411133, 61.0, 22.0 ], 1487 | "style" : "", 1488 | "text" : "mute 1, 0" 1489 | } 1490 | 1491 | } 1492 | , { 1493 | "box" : { 1494 | "id" : "obj-49", 1495 | "maxclass" : "newobj", 1496 | "numinlets" : 1, 1497 | "numoutlets" : 2, 1498 | "outlettype" : [ "int", "int" ], 1499 | "patching_rect" : [ 745.791992, 494.222229, 58.0, 26.0 ], 1500 | "style" : "newobjBlue-1", 1501 | "text" : "thispoly~" 1502 | } 1503 | 1504 | } 1505 | , { 1506 | "box" : { 1507 | "fontname" : "Arial", 1508 | "fontsize" : 12.0, 1509 | "id" : "obj-47", 1510 | "maxclass" : "message", 1511 | "numinlets" : 2, 1512 | "numoutlets" : 1, 1513 | "outlettype" : [ "" ], 1514 | "patching_rect" : [ 295.5, 363.955566, 117.0, 22.0 ], 1515 | "style" : "", 1516 | "text" : "0 0 1. $2 1. $1 0. $2" 1517 | } 1518 | 1519 | } 1520 | , { 1521 | "box" : { 1522 | "id" : "obj-45", 1523 | "maxclass" : "newobj", 1524 | "numinlets" : 2, 1525 | "numoutlets" : 2, 1526 | "outlettype" : [ "signal", "bang" ], 1527 | "patching_rect" : [ 295.5, 397.977783, 36.0, 26.0 ], 1528 | "style" : "newobjCyan-1", 1529 | "text" : "line~" 1530 | } 1531 | 1532 | } 1533 | , { 1534 | "box" : { 1535 | "fontname" : "Arial", 1536 | "fontsize" : 12.0, 1537 | "id" : "obj-44", 1538 | "maxclass" : "message", 1539 | "numinlets" : 2, 1540 | "numoutlets" : 1, 1541 | "outlettype" : [ "" ], 1542 | "patching_rect" : [ 174.0, 383.966675, 67.0, 22.0 ], 1543 | "style" : "", 1544 | "text" : "$1 0 $2 $3" 1545 | } 1546 | 1547 | } 1548 | , { 1549 | "box" : { 1550 | "fontname" : "Arial", 1551 | "fontsize" : 12.0, 1552 | "id" : "obj-42", 1553 | "maxclass" : "newobj", 1554 | "numinlets" : 3, 1555 | "numoutlets" : 1, 1556 | "outlettype" : [ "" ], 1557 | "patching_rect" : [ 174.0, 291.166656, 322.0, 26.0 ], 1558 | "style" : "", 1559 | "text" : "pack 0. 0. 0." 1560 | } 1561 | 1562 | } 1563 | , { 1564 | "box" : { 1565 | "fontname" : "Arial", 1566 | "fontsize" : 12.0, 1567 | "id" : "obj-41", 1568 | "maxclass" : "newobj", 1569 | "numinlets" : 2, 1570 | "numoutlets" : 1, 1571 | "outlettype" : [ "float" ], 1572 | "patching_rect" : [ 474.5, 205.300003, 32.5, 26.0 ], 1573 | "style" : "", 1574 | "text" : "* 0." 1575 | } 1576 | 1577 | } 1578 | , { 1579 | "box" : { 1580 | "fontname" : "Arial", 1581 | "fontsize" : 12.0, 1582 | "id" : "obj-40", 1583 | "maxclass" : "newobj", 1584 | "numinlets" : 2, 1585 | "numoutlets" : 1, 1586 | "outlettype" : [ "float" ], 1587 | "patching_rect" : [ 331.0, 205.300003, 32.5, 26.0 ], 1588 | "style" : "", 1589 | "text" : "+ 0." 1590 | } 1591 | 1592 | } 1593 | , { 1594 | "box" : { 1595 | "fontname" : "Arial", 1596 | "fontsize" : 12.0, 1597 | "id" : "obj-38", 1598 | "maxclass" : "newobj", 1599 | "numinlets" : 2, 1600 | "numoutlets" : 1, 1601 | "outlettype" : [ "signal" ], 1602 | "patching_rect" : [ 173.720551, 532.222229, 32.5, 26.0 ], 1603 | "style" : "", 1604 | "text" : "*~" 1605 | } 1606 | 1607 | } 1608 | , { 1609 | "box" : { 1610 | "id" : "obj-3", 1611 | "maxclass" : "newobj", 1612 | "numinlets" : 1, 1613 | "numoutlets" : 6, 1614 | "outlettype" : [ "bang", "bang", "bang", "bang", "bang", "bang" ], 1615 | "patching_rect" : [ 174.0, 72.577774, 672.0, 26.0 ], 1616 | "style" : "newobjYellow-1", 1617 | "text" : "t b b b b b b" 1618 | } 1619 | 1620 | } 1621 | , { 1622 | "box" : { 1623 | "id" : "obj-2", 1624 | "maxclass" : "newobj", 1625 | "numinlets" : 1, 1626 | "numoutlets" : 3, 1627 | "outlettype" : [ "signal", "signal", "bang" ], 1628 | "patching_rect" : [ 173.720551, 459.411133, 115.482452, 26.0 ], 1629 | "style" : "newobjMagenta-1", 1630 | "text" : "play~ grain-b 2" 1631 | } 1632 | 1633 | } 1634 | , { 1635 | "box" : { 1636 | "fontname" : "Arial", 1637 | "fontsize" : 12.0, 1638 | "id" : "obj-1", 1639 | "maxclass" : "newobj", 1640 | "numinlets" : 1, 1641 | "numoutlets" : 1, 1642 | "outlettype" : [ "" ], 1643 | "patching_rect" : [ 174.0, 24.077778, 30.0, 26.0 ], 1644 | "style" : "", 1645 | "text" : "in 1" 1646 | } 1647 | 1648 | } 1649 | ], 1650 | "lines" : [ { 1651 | "patchline" : { 1652 | "destination" : [ "obj-3", 0 ], 1653 | "source" : [ "obj-1", 0 ] 1654 | } 1655 | 1656 | } 1657 | , { 1658 | "patchline" : { 1659 | "destination" : [ "obj-15", 1 ], 1660 | "source" : [ "obj-12", 0 ] 1661 | } 1662 | 1663 | } 1664 | , { 1665 | "patchline" : { 1666 | "destination" : [ "obj-46", 0 ], 1667 | "source" : [ "obj-15", 0 ] 1668 | } 1669 | 1670 | } 1671 | , { 1672 | "patchline" : { 1673 | "destination" : [ "obj-19", 0 ], 1674 | "source" : [ "obj-17", 0 ] 1675 | } 1676 | 1677 | } 1678 | , { 1679 | "patchline" : { 1680 | "destination" : [ "obj-47", 0 ], 1681 | "midpoints" : [ 537.5, 435.0, 462.0, 435.0, 462.0, 353.0, 305.0, 353.0 ], 1682 | "source" : [ "obj-19", 0 ] 1683 | } 1684 | 1685 | } 1686 | , { 1687 | "patchline" : { 1688 | "destination" : [ "obj-30", 0 ], 1689 | "midpoints" : [ 231.461777, 499.288879, 266.203003, 499.288879 ], 1690 | "source" : [ "obj-2", 1 ] 1691 | } 1692 | 1693 | } 1694 | , { 1695 | "patchline" : { 1696 | "destination" : [ "obj-38", 0 ], 1697 | "source" : [ "obj-2", 0 ] 1698 | } 1699 | 1700 | } 1701 | , { 1702 | "patchline" : { 1703 | "destination" : [ "obj-19", 1 ], 1704 | "source" : [ "obj-21", 0 ] 1705 | } 1706 | 1707 | } 1708 | , { 1709 | "patchline" : { 1710 | "destination" : [ "obj-38", 1 ], 1711 | "midpoints" : [ 352.0, 519.055542, 196.720551, 519.055542 ], 1712 | "source" : [ "obj-27", 0 ] 1713 | } 1714 | 1715 | } 1716 | , { 1717 | "patchline" : { 1718 | "destination" : [ "obj-4", 0 ], 1719 | "source" : [ "obj-3", 5 ] 1720 | } 1721 | 1722 | } 1723 | , { 1724 | "patchline" : { 1725 | "destination" : [ "obj-53", 0 ], 1726 | "source" : [ "obj-3", 4 ] 1727 | } 1728 | 1729 | } 1730 | , { 1731 | "patchline" : { 1732 | "destination" : [ "obj-82", 0 ], 1733 | "source" : [ "obj-3", 0 ] 1734 | } 1735 | 1736 | } 1737 | , { 1738 | "patchline" : { 1739 | "destination" : [ "obj-85", 0 ], 1740 | "source" : [ "obj-3", 1 ] 1741 | } 1742 | 1743 | } 1744 | , { 1745 | "patchline" : { 1746 | "destination" : [ "obj-88", 0 ], 1747 | "source" : [ "obj-3", 2 ] 1748 | } 1749 | 1750 | } 1751 | , { 1752 | "patchline" : { 1753 | "destination" : [ "obj-91", 0 ], 1754 | "source" : [ "obj-3", 3 ] 1755 | } 1756 | 1757 | } 1758 | , { 1759 | "patchline" : { 1760 | "destination" : [ "obj-29", 0 ], 1761 | "source" : [ "obj-30", 0 ] 1762 | } 1763 | 1764 | } 1765 | , { 1766 | "patchline" : { 1767 | "destination" : [ "obj-40", 1 ], 1768 | "source" : [ "obj-35", 1 ] 1769 | } 1770 | 1771 | } 1772 | , { 1773 | "patchline" : { 1774 | "destination" : [ "obj-41", 0 ], 1775 | "midpoints" : [ 367.5, 195.850006, 484.0, 195.850006 ], 1776 | "source" : [ "obj-35", 2 ] 1777 | } 1778 | 1779 | } 1780 | , { 1781 | "patchline" : { 1782 | "destination" : [ "obj-82", 1 ], 1783 | "midpoints" : [ 340.5, 189.0, 252.0, 189.0, 252.0, 114.0, 239.5, 114.0 ], 1784 | "source" : [ "obj-35", 0 ] 1785 | } 1786 | 1787 | } 1788 | , { 1789 | "patchline" : { 1790 | "destination" : [ "obj-54", 0 ], 1791 | "source" : [ "obj-38", 0 ] 1792 | } 1793 | 1794 | } 1795 | , { 1796 | "patchline" : { 1797 | "destination" : [ "obj-40", 0 ], 1798 | "midpoints" : [ 197.0, 199.100006, 340.5, 199.100006 ], 1799 | "source" : [ "obj-39", 1 ] 1800 | } 1801 | 1802 | } 1803 | , { 1804 | "patchline" : { 1805 | "destination" : [ "obj-42", 0 ], 1806 | "source" : [ "obj-39", 0 ] 1807 | } 1808 | 1809 | } 1810 | , { 1811 | "patchline" : { 1812 | "destination" : [ "obj-8", 1 ], 1813 | "midpoints" : [ 866.5, 555.0, 502.0, 555.0, 422.0, 497.0 ], 1814 | "source" : [ "obj-4", 0 ] 1815 | } 1816 | 1817 | } 1818 | , { 1819 | "patchline" : { 1820 | "destination" : [ "obj-42", 1 ], 1821 | "source" : [ "obj-40", 0 ] 1822 | } 1823 | 1824 | } 1825 | , { 1826 | "patchline" : { 1827 | "destination" : [ "obj-43", 0 ], 1828 | "source" : [ "obj-41", 0 ] 1829 | } 1830 | 1831 | } 1832 | , { 1833 | "patchline" : { 1834 | "destination" : [ "obj-44", 0 ], 1835 | "source" : [ "obj-42", 0 ] 1836 | } 1837 | 1838 | } 1839 | , { 1840 | "patchline" : { 1841 | "destination" : [ "obj-15", 0 ], 1842 | "source" : [ "obj-43", 2 ] 1843 | } 1844 | 1845 | } 1846 | , { 1847 | "patchline" : { 1848 | "destination" : [ "obj-17", 0 ], 1849 | "source" : [ "obj-43", 1 ] 1850 | } 1851 | 1852 | } 1853 | , { 1854 | "patchline" : { 1855 | "destination" : [ "obj-42", 2 ], 1856 | "midpoints" : [ 484.0, 295.849976, 486.5, 295.849976 ], 1857 | "source" : [ "obj-43", 0 ] 1858 | } 1859 | 1860 | } 1861 | , { 1862 | "patchline" : { 1863 | "destination" : [ "obj-5", 0 ], 1864 | "source" : [ "obj-44", 0 ] 1865 | } 1866 | 1867 | } 1868 | , { 1869 | "patchline" : { 1870 | "destination" : [ "obj-27", 0 ], 1871 | "order" : 1, 1872 | "source" : [ "obj-45", 0 ] 1873 | } 1874 | 1875 | } 1876 | , { 1877 | "patchline" : { 1878 | "destination" : [ "obj-51", 0 ], 1879 | "midpoints" : [ 322.0, 446.194458, 696.745605, 446.194458 ], 1880 | "source" : [ "obj-45", 1 ] 1881 | } 1882 | 1883 | } 1884 | , { 1885 | "patchline" : { 1886 | "destination" : [ "obj-8", 0 ], 1887 | "order" : 0, 1888 | "source" : [ "obj-45", 0 ] 1889 | } 1890 | 1891 | } 1892 | , { 1893 | "patchline" : { 1894 | "destination" : [ "obj-17", 1 ], 1895 | "midpoints" : [ 591.0, 354.0, 572.0, 354.0, 572.0, 324.0, 551.0, 324.0 ], 1896 | "source" : [ "obj-46", 0 ] 1897 | } 1898 | 1899 | } 1900 | , { 1901 | "patchline" : { 1902 | "destination" : [ "obj-21", 0 ], 1903 | "source" : [ "obj-46", 1 ] 1904 | } 1905 | 1906 | } 1907 | , { 1908 | "patchline" : { 1909 | "destination" : [ "obj-45", 0 ], 1910 | "source" : [ "obj-47", 0 ] 1911 | } 1912 | 1913 | } 1914 | , { 1915 | "patchline" : { 1916 | "destination" : [ "obj-2", 0 ], 1917 | "source" : [ "obj-5", 0 ] 1918 | } 1919 | 1920 | } 1921 | , { 1922 | "patchline" : { 1923 | "destination" : [ "obj-49", 0 ], 1924 | "source" : [ "obj-51", 0 ] 1925 | } 1926 | 1927 | } 1928 | , { 1929 | "patchline" : { 1930 | "destination" : [ "obj-51", 0 ], 1931 | "source" : [ "obj-52", 0 ] 1932 | } 1933 | 1934 | } 1935 | , { 1936 | "patchline" : { 1937 | "destination" : [ "obj-49", 0 ], 1938 | "source" : [ "obj-53", 0 ] 1939 | } 1940 | 1941 | } 1942 | , { 1943 | "patchline" : { 1944 | "destination" : [ "obj-41", 1 ], 1945 | "source" : [ "obj-6", 0 ] 1946 | } 1947 | 1948 | } 1949 | , { 1950 | "patchline" : { 1951 | "destination" : [ "obj-30", 1 ], 1952 | "source" : [ "obj-8", 0 ] 1953 | } 1954 | 1955 | } 1956 | , { 1957 | "patchline" : { 1958 | "destination" : [ "obj-39", 0 ], 1959 | "source" : [ "obj-82", 0 ] 1960 | } 1961 | 1962 | } 1963 | , { 1964 | "patchline" : { 1965 | "destination" : [ "obj-35", 0 ], 1966 | "source" : [ "obj-85", 0 ] 1967 | } 1968 | 1969 | } 1970 | , { 1971 | "patchline" : { 1972 | "destination" : [ "obj-6", 0 ], 1973 | "source" : [ "obj-88", 0 ] 1974 | } 1975 | 1976 | } 1977 | , { 1978 | "patchline" : { 1979 | "destination" : [ "obj-27", 1 ], 1980 | "midpoints" : [ 654.5, 453.216705, 363.0, 453.216705 ], 1981 | "source" : [ "obj-91", 0 ] 1982 | } 1983 | 1984 | } 1985 | ], 1986 | "styles" : [ { 1987 | "name" : "newobjBlue-1", 1988 | "default" : { 1989 | "accentcolor" : [ 0.317647, 0.654902, 0.976471, 1.0 ] 1990 | } 1991 | , 1992 | "parentstyle" : "", 1993 | "multi" : 0 1994 | } 1995 | , { 1996 | "name" : "newobjCyan-1", 1997 | "default" : { 1998 | "accentcolor" : [ 0.029546, 0.773327, 0.821113, 1.0 ] 1999 | } 2000 | , 2001 | "parentstyle" : "", 2002 | "multi" : 0 2003 | } 2004 | , { 2005 | "name" : "newobjGreen-1", 2006 | "default" : { 2007 | "accentcolor" : [ 0.0, 0.533333, 0.168627, 1.0 ] 2008 | } 2009 | , 2010 | "parentstyle" : "", 2011 | "multi" : 0 2012 | } 2013 | , { 2014 | "name" : "newobjMagenta-1", 2015 | "default" : { 2016 | "accentcolor" : [ 0.840663, 0.060168, 0.769195, 1.0 ] 2017 | } 2018 | , 2019 | "parentstyle" : "", 2020 | "multi" : 0 2021 | } 2022 | , { 2023 | "name" : "newobjYellow-1", 2024 | "default" : { 2025 | "fontsize" : [ 12.059008 ], 2026 | "accentcolor" : [ 0.82517, 0.78181, 0.059545, 1.0 ] 2027 | } 2028 | , 2029 | "parentstyle" : "", 2030 | "multi" : 0 2031 | } 2032 | ] 2033 | } 2034 | 2035 | } 2036 | -------------------------------------------------------------------------------- /research-with-seq~.maxpat: -------------------------------------------------------------------------------- 1 | { 2 | "patcher" : { 3 | "fileversion" : 1, 4 | "appversion" : { 5 | "major" : 7, 6 | "minor" : 3, 7 | "revision" : 5, 8 | "architecture" : "x86", 9 | "modernui" : 1 10 | } 11 | , 12 | "rect" : [ 73.0, 80.0, 797.0, 574.0 ], 13 | "bglocked" : 0, 14 | "openinpresentation" : 0, 15 | "default_fontsize" : 12.0, 16 | "default_fontface" : 0, 17 | "default_fontname" : "Arial", 18 | "gridonopen" : 1, 19 | "gridsize" : [ 15.0, 15.0 ], 20 | "gridsnaponopen" : 1, 21 | "objectsnaponopen" : 1, 22 | "statusbarvisible" : 2, 23 | "toolbarvisible" : 1, 24 | "lefttoolbarpinned" : 0, 25 | "toptoolbarpinned" : 0, 26 | "righttoolbarpinned" : 0, 27 | "bottomtoolbarpinned" : 0, 28 | "toolbars_unpinned_last_save" : 0, 29 | "tallnewobj" : 0, 30 | "boxanimatetime" : 200, 31 | "enablehscroll" : 1, 32 | "enablevscroll" : 1, 33 | "devicewidth" : 0.0, 34 | "description" : "", 35 | "digest" : "", 36 | "tags" : "", 37 | "style" : "", 38 | "subpatcher_template" : "", 39 | "boxes" : [ { 40 | "box" : { 41 | "id" : "obj-48", 42 | "maxclass" : "newobj", 43 | "numinlets" : 1, 44 | "numoutlets" : 1, 45 | "outlettype" : [ "" ], 46 | "patching_rect" : [ 57.0, 396.0, 104.0, 22.0 ], 47 | "saved_object_attributes" : { 48 | "filename" : "empty-matrix.js", 49 | "parameter_enable" : 0 50 | } 51 | , 52 | "style" : "", 53 | "text" : "js empty-matrix.js" 54 | } 55 | 56 | } 57 | , { 58 | "box" : { 59 | "bgcolor" : [ 0.95, 0.95, 0.95, 1.0 ], 60 | "color" : [ 0.0, 0.0, 0.0, 1.0 ], 61 | "columns" : 1, 62 | "elementcolor" : [ 0.9, 0.9, 0.9, 1.0 ], 63 | "id" : "obj-47", 64 | "maxclass" : "matrixctrl", 65 | "numinlets" : 1, 66 | "numoutlets" : 2, 67 | "outlettype" : [ "list", "list" ], 68 | "parameter_enable" : 0, 69 | "patching_rect" : [ 70.125, 217.918579, 18.0, 122.162842 ], 70 | "presentation" : 1, 71 | "presentation_rect" : [ 412.125, 329.918579, 237.875, 123.162842 ], 72 | "rows" : 8, 73 | "style" : "" 74 | } 75 | 76 | } 77 | , { 78 | "box" : { 79 | "id" : "obj-45", 80 | "maxclass" : "button", 81 | "numinlets" : 1, 82 | "numoutlets" : 1, 83 | "outlettype" : [ "bang" ], 84 | "patching_rect" : [ 418.0, 277.0, 24.0, 24.0 ], 85 | "presentation_rect" : [ 346.0, 282.0, 0.0, 0.0 ], 86 | "style" : "" 87 | } 88 | 89 | } 90 | , { 91 | "box" : { 92 | "id" : "obj-46", 93 | "maxclass" : "newobj", 94 | "numinlets" : 2, 95 | "numoutlets" : 2, 96 | "outlettype" : [ "", "" ], 97 | "patching_rect" : [ 418.0, 247.081421, 61.0, 22.0 ], 98 | "style" : "", 99 | "text" : "route one" 100 | } 101 | 102 | } 103 | , { 104 | "box" : { 105 | "id" : "obj-43", 106 | "linecount" : 3, 107 | "maxclass" : "comment", 108 | "numinlets" : 1, 109 | "numoutlets" : 0, 110 | "patching_rect" : [ 252.0, 460.0, 150.0, 47.0 ], 111 | "style" : "", 112 | "text" : "note duration = attack + decay + sustain-time + release" 113 | } 114 | 115 | } 116 | , { 117 | "box" : { 118 | "id" : "obj-38", 119 | "maxclass" : "button", 120 | "numinlets" : 1, 121 | "numoutlets" : 1, 122 | "outlettype" : [ "bang" ], 123 | "patching_rect" : [ 347.0, 277.0, 24.0, 24.0 ], 124 | "style" : "" 125 | } 126 | 127 | } 128 | , { 129 | "box" : { 130 | "id" : "obj-36", 131 | "maxclass" : "newobj", 132 | "numinlets" : 2, 133 | "numoutlets" : 2, 134 | "outlettype" : [ "", "" ], 135 | "patching_rect" : [ 347.0, 247.081421, 65.0, 22.0 ], 136 | "style" : "", 137 | "text" : "route zero" 138 | } 139 | 140 | } 141 | , { 142 | "box" : { 143 | "id" : "obj-35", 144 | "maxclass" : "button", 145 | "numinlets" : 1, 146 | "numoutlets" : 1, 147 | "outlettype" : [ "bang" ], 148 | "patching_rect" : [ 486.0, 277.0, 24.0, 24.0 ], 149 | "style" : "" 150 | } 151 | 152 | } 153 | , { 154 | "box" : { 155 | "id" : "obj-33", 156 | "maxclass" : "newobj", 157 | "numinlets" : 2, 158 | "numoutlets" : 2, 159 | "outlettype" : [ "", "" ], 160 | "patching_rect" : [ 486.0, 247.081421, 60.0, 22.0 ], 161 | "style" : "", 162 | "text" : "route two" 163 | } 164 | 165 | } 166 | , { 167 | "box" : { 168 | "id" : "obj-32", 169 | "maxclass" : "message", 170 | "numinlets" : 2, 171 | "numoutlets" : 1, 172 | "outlettype" : [ "" ], 173 | "patching_rect" : [ 94.0, 130.0, 37.0, 22.0 ], 174 | "style" : "", 175 | "text" : "clear" 176 | } 177 | 178 | } 179 | , { 180 | "box" : { 181 | "id" : "obj-29", 182 | "maxclass" : "newobj", 183 | "numinlets" : 1, 184 | "numoutlets" : 1, 185 | "outlettype" : [ "" ], 186 | "patching_rect" : [ 90.125, 355.0, 146.0, 22.0 ], 187 | "saved_object_attributes" : { 188 | "filename" : "matrix-to-seq.js", 189 | "parameter_enable" : 0 190 | } 191 | , 192 | "style" : "", 193 | "text" : "js matrix-to-seq.js" 194 | } 195 | 196 | } 197 | , { 198 | "box" : { 199 | "bgcolor" : [ 0.95, 0.95, 0.95, 1.0 ], 200 | "color" : [ 0.0, 0.0, 0.0, 1.0 ], 201 | "columns" : 16, 202 | "elementcolor" : [ 0.9, 0.9, 0.9, 1.0 ], 203 | "id" : "obj-100", 204 | "maxclass" : "matrixctrl", 205 | "numinlets" : 1, 206 | "numoutlets" : 2, 207 | "outlettype" : [ "list", "list" ], 208 | "parameter_enable" : 0, 209 | "patching_rect" : [ 90.125, 217.918579, 237.875, 122.162842 ], 210 | "presentation" : 1, 211 | "presentation_rect" : [ 385.125, 39.837158, 237.875, 123.162842 ], 212 | "rows" : 8, 213 | "style" : "" 214 | } 215 | 216 | } 217 | , { 218 | "box" : { 219 | "id" : "obj-27", 220 | "maxclass" : "message", 221 | "numinlets" : 2, 222 | "numoutlets" : 1, 223 | "outlettype" : [ "" ], 224 | "patching_rect" : [ 228.0, 126.0, 37.0, 22.0 ], 225 | "style" : "", 226 | "text" : "clear" 227 | } 228 | 229 | } 230 | , { 231 | "box" : { 232 | "id" : "obj-23", 233 | "maxclass" : "message", 234 | "numinlets" : 2, 235 | "numoutlets" : 1, 236 | "outlettype" : [ "" ], 237 | "patching_rect" : [ 524.0, 205.0, 115.0, 22.0 ], 238 | "presentation_rect" : [ 451.0, 204.0, 0.0, 0.0 ], 239 | "style" : "", 240 | "text" : "delete 0 0.5 0.6 two" 241 | } 242 | 243 | } 244 | , { 245 | "box" : { 246 | "id" : "obj-22", 247 | "maxclass" : "toggle", 248 | "numinlets" : 1, 249 | "numoutlets" : 1, 250 | "outlettype" : [ "int" ], 251 | "parameter_enable" : 0, 252 | "patching_rect" : [ 285.0, 54.0, 24.0, 24.0 ], 253 | "style" : "" 254 | } 255 | 256 | } 257 | , { 258 | "box" : { 259 | "id" : "obj-20", 260 | "maxclass" : "message", 261 | "numinlets" : 2, 262 | "numoutlets" : 1, 263 | "outlettype" : [ "" ], 264 | "patching_rect" : [ 275.0, 96.0, 49.0, 22.0 ], 265 | "style" : "", 266 | "text" : "play $1" 267 | } 268 | 269 | } 270 | , { 271 | "box" : { 272 | "id" : "obj-18", 273 | "maxclass" : "ezdac~", 274 | "numinlets" : 2, 275 | "numoutlets" : 0, 276 | "patching_rect" : [ 512.0, 488.0, 45.0, 45.0 ], 277 | "style" : "" 278 | } 279 | 280 | } 281 | , { 282 | "box" : { 283 | "format" : 6, 284 | "id" : "obj-16", 285 | "maxclass" : "flonum", 286 | "numinlets" : 1, 287 | "numoutlets" : 2, 288 | "outlettype" : [ "", "bang" ], 289 | "parameter_enable" : 0, 290 | "patching_rect" : [ 178.0, 73.0, 50.0, 22.0 ], 291 | "style" : "" 292 | } 293 | 294 | } 295 | , { 296 | "box" : { 297 | "id" : "obj-13", 298 | "maxclass" : "newobj", 299 | "numinlets" : 2, 300 | "numoutlets" : 1, 301 | "outlettype" : [ "signal" ], 302 | "patching_rect" : [ 157.0, 130.0, 54.0, 22.0 ], 303 | "style" : "", 304 | "text" : "phasor~" 305 | } 306 | 307 | } 308 | , { 309 | "box" : { 310 | "id" : "obj-11", 311 | "maxclass" : "message", 312 | "numinlets" : 2, 313 | "numoutlets" : 1, 314 | "outlettype" : [ "" ], 315 | "patching_rect" : [ 495.0, 154.0, 98.0, 22.0 ], 316 | "presentation_rect" : [ 422.0, 153.0, 0.0, 0.0 ], 317 | "style" : "", 318 | "text" : "add 0 0.75 three" 319 | } 320 | 321 | } 322 | , { 323 | "box" : { 324 | "id" : "obj-10", 325 | "maxclass" : "message", 326 | "numinlets" : 2, 327 | "numoutlets" : 1, 328 | "outlettype" : [ "" ], 329 | "patching_rect" : [ 463.0, 116.0, 83.0, 22.0 ], 330 | "presentation_rect" : [ 444.0, 204.0, 0.0, 0.0 ], 331 | "style" : "", 332 | "text" : "add 0 0.5 two" 333 | } 334 | 335 | } 336 | , { 337 | "box" : { 338 | "id" : "obj-9", 339 | "maxclass" : "message", 340 | "numinlets" : 2, 341 | "numoutlets" : 1, 342 | "outlettype" : [ "" ], 343 | "patching_rect" : [ 435.0, 73.0, 91.0, 22.0 ], 344 | "presentation_rect" : [ 426.0, 151.0, 0.0, 0.0 ], 345 | "style" : "", 346 | "text" : "add 0 0.25 one" 347 | } 348 | 349 | } 350 | , { 351 | "box" : { 352 | "id" : "obj-6", 353 | "maxclass" : "message", 354 | "numinlets" : 2, 355 | "numoutlets" : 1, 356 | "outlettype" : [ "" ], 357 | "patching_rect" : [ 375.0, 31.0, 81.0, 22.0 ], 358 | "style" : "", 359 | "text" : "add 0 0. zero" 360 | } 361 | 362 | } 363 | , { 364 | "box" : { 365 | "id" : "obj-3", 366 | "maxclass" : "message", 367 | "numinlets" : 2, 368 | "numoutlets" : 1, 369 | "outlettype" : [ "" ], 370 | "patching_rect" : [ 315.0, 141.0, 41.0, 22.0 ], 371 | "style" : "", 372 | "text" : "dump" 373 | } 374 | 375 | } 376 | , { 377 | "box" : { 378 | "id" : "obj-1", 379 | "maxclass" : "newobj", 380 | "numinlets" : 1, 381 | "numoutlets" : 3, 382 | "outlettype" : [ "", "", "" ], 383 | "patching_rect" : [ 347.0, 197.0, 136.0, 22.0 ], 384 | "style" : "", 385 | "text" : "seq~" 386 | } 387 | 388 | } 389 | ], 390 | "lines" : [ { 391 | "patchline" : { 392 | "destination" : [ "obj-33", 0 ], 393 | "order" : 0, 394 | "source" : [ "obj-1", 0 ] 395 | } 396 | 397 | } 398 | , { 399 | "patchline" : { 400 | "destination" : [ "obj-36", 0 ], 401 | "order" : 2, 402 | "source" : [ "obj-1", 0 ] 403 | } 404 | 405 | } 406 | , { 407 | "patchline" : { 408 | "destination" : [ "obj-46", 0 ], 409 | "order" : 1, 410 | "source" : [ "obj-1", 0 ] 411 | } 412 | 413 | } 414 | , { 415 | "patchline" : { 416 | "destination" : [ "obj-1", 0 ], 417 | "source" : [ "obj-10", 0 ] 418 | } 419 | 420 | } 421 | , { 422 | "patchline" : { 423 | "destination" : [ "obj-29", 0 ], 424 | "source" : [ "obj-100", 0 ] 425 | } 426 | 427 | } 428 | , { 429 | "patchline" : { 430 | "destination" : [ "obj-1", 0 ], 431 | "source" : [ "obj-11", 0 ] 432 | } 433 | 434 | } 435 | , { 436 | "patchline" : { 437 | "destination" : [ "obj-1", 0 ], 438 | "source" : [ "obj-13", 0 ] 439 | } 440 | 441 | } 442 | , { 443 | "patchline" : { 444 | "destination" : [ "obj-13", 0 ], 445 | "source" : [ "obj-16", 0 ] 446 | } 447 | 448 | } 449 | , { 450 | "patchline" : { 451 | "destination" : [ "obj-1", 0 ], 452 | "source" : [ "obj-20", 0 ] 453 | } 454 | 455 | } 456 | , { 457 | "patchline" : { 458 | "destination" : [ "obj-20", 0 ], 459 | "source" : [ "obj-22", 0 ] 460 | } 461 | 462 | } 463 | , { 464 | "patchline" : { 465 | "destination" : [ "obj-1", 0 ], 466 | "source" : [ "obj-23", 0 ] 467 | } 468 | 469 | } 470 | , { 471 | "patchline" : { 472 | "destination" : [ "obj-1", 0 ], 473 | "source" : [ "obj-27", 0 ] 474 | } 475 | 476 | } 477 | , { 478 | "patchline" : { 479 | "destination" : [ "obj-1", 0 ], 480 | "midpoints" : [ 99.625, 387.0, 337.0625, 387.0, 337.0625, 186.0, 356.5, 186.0 ], 481 | "source" : [ "obj-29", 0 ] 482 | } 483 | 484 | } 485 | , { 486 | "patchline" : { 487 | "destination" : [ "obj-1", 0 ], 488 | "source" : [ "obj-3", 0 ] 489 | } 490 | 491 | } 492 | , { 493 | "patchline" : { 494 | "destination" : [ "obj-100", 0 ], 495 | "source" : [ "obj-32", 0 ] 496 | } 497 | 498 | } 499 | , { 500 | "patchline" : { 501 | "destination" : [ "obj-35", 0 ], 502 | "source" : [ "obj-33", 0 ] 503 | } 504 | 505 | } 506 | , { 507 | "patchline" : { 508 | "destination" : [ "obj-38", 0 ], 509 | "source" : [ "obj-36", 0 ] 510 | } 511 | 512 | } 513 | , { 514 | "patchline" : { 515 | "destination" : [ "obj-45", 0 ], 516 | "source" : [ "obj-46", 0 ] 517 | } 518 | 519 | } 520 | , { 521 | "patchline" : { 522 | "destination" : [ "obj-48", 0 ], 523 | "source" : [ "obj-47", 0 ] 524 | } 525 | 526 | } 527 | , { 528 | "patchline" : { 529 | "destination" : [ "obj-47", 0 ], 530 | "midpoints" : [ 66.5, 428.0, 28.0625, 428.0, 28.0625, 206.918579, 79.625, 206.918579 ], 531 | "source" : [ "obj-48", 0 ] 532 | } 533 | 534 | } 535 | , { 536 | "patchline" : { 537 | "destination" : [ "obj-1", 0 ], 538 | "source" : [ "obj-6", 0 ] 539 | } 540 | 541 | } 542 | , { 543 | "patchline" : { 544 | "destination" : [ "obj-1", 0 ], 545 | "source" : [ "obj-9", 0 ] 546 | } 547 | 548 | } 549 | ], 550 | "dependency_cache" : [ { 551 | "name" : "matrix-to-seq.js", 552 | "bootpath" : "~/Desktop/Dropbox/Création musicale/Max/Les-terrains-vagues/patchers", 553 | "patcherrelativepath" : ".", 554 | "type" : "TEXT", 555 | "implicit" : 1 556 | } 557 | , { 558 | "name" : "empty-matrix.js", 559 | "bootpath" : "~/Desktop/Dropbox/Création musicale/Max/Les-terrains-vagues/patchers", 560 | "patcherrelativepath" : ".", 561 | "type" : "TEXT", 562 | "implicit" : 1 563 | } 564 | ], 565 | "autosave" : 0, 566 | "styles" : [ { 567 | "name" : "default_style", 568 | "button" : { 569 | "bgcolor" : [ 0.682032, 0.698052, 0.748716, 1.0 ], 570 | "color" : [ 0.960784, 0.827451, 0.156863, 1.0 ] 571 | } 572 | , 573 | "toggle" : { 574 | "bgcolor" : [ 0.636487, 0.648652, 0.683149, 1.0 ], 575 | "color" : [ 0.0, 0.0, 0.0, 1.0 ], 576 | "elementcolor" : [ 0.786675, 0.801885, 0.845022, 1.0 ] 577 | } 578 | , 579 | "newobj" : { 580 | "bgcolor" : [ 1.0, 1.0, 1.0, 1.0 ], 581 | "accentcolor" : [ 0.65098, 0.666667, 0.662745, 1.0 ], 582 | "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ] 583 | } 584 | , 585 | "parentstyle" : "", 586 | "multi" : 1 587 | } 588 | , { 589 | "name" : "default_style-1", 590 | "button" : { 591 | "bgcolor" : [ 0.682032, 0.698052, 0.748716, 1.0 ], 592 | "color" : [ 0.960784, 0.827451, 0.156863, 1.0 ] 593 | } 594 | , 595 | "toggle" : { 596 | "bgcolor" : [ 0.636487, 0.648652, 0.683149, 1.0 ], 597 | "color" : [ 0.0, 0.0, 0.0, 1.0 ], 598 | "elementcolor" : [ 0.786675, 0.801885, 0.845022, 1.0 ] 599 | } 600 | , 601 | "newobj" : { 602 | "bgcolor" : [ 1.0, 1.0, 1.0, 1.0 ], 603 | "accentcolor" : [ 0.65098, 0.666667, 0.662745, 1.0 ], 604 | "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ] 605 | } 606 | , 607 | "parentstyle" : "", 608 | "multi" : 0 609 | } 610 | , { 611 | "name" : "master_style", 612 | "button" : { 613 | "bgcolor" : [ 0.682032, 0.698052, 0.748716, 1.0 ], 614 | "color" : [ 1.0, 0.95051, 0.0, 1.0 ], 615 | "elementcolor" : [ 0.786675, 0.801885, 0.845022, 1.0 ] 616 | } 617 | , 618 | "toggle" : { 619 | "bgcolor" : [ 0.682032, 0.698052, 0.748716, 1.0 ], 620 | "color" : [ 0.0, 0.0, 0.0, 1.0 ], 621 | "elementcolor" : [ 0.65098, 0.666667, 0.662745, 1.0 ] 622 | } 623 | , 624 | "attrui" : { 625 | "bgcolor" : [ 0.786675, 0.801885, 0.845022, 1.0 ], 626 | "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ] 627 | } 628 | , 629 | "function" : { 630 | "bgcolor" : [ 0.65098, 0.666667, 0.662745, 1.0 ], 631 | "color" : [ 0.0, 0.0, 0.0, 1.0 ] 632 | } 633 | , 634 | "slider" : { 635 | "bgcolor" : [ 1.0, 1.0, 1.0, 1.0 ], 636 | "color" : [ 0.461105, 0.492646, 0.591878, 1.0 ], 637 | "elementcolor" : [ 0.65098, 0.666667, 0.662745, 1.0 ] 638 | } 639 | , 640 | "multislider" : { 641 | "bgcolor" : [ 1.0, 1.0, 1.0, 1.0 ], 642 | "color" : [ 0.0, 0.0, 0.0, 1.0 ] 643 | } 644 | , 645 | "ezadc~" : { 646 | "bgcolor" : [ 0.65098, 0.666667, 0.662745, 1.0 ], 647 | "color" : [ 0.0, 0.0, 0.0, 1.0 ], 648 | "elementcolor" : [ 0.862745, 0.870588, 0.878431, 1.0 ] 649 | } 650 | , 651 | "newobj" : { 652 | "bgcolor" : [ 1.0, 1.0, 1.0, 1.0 ], 653 | "accentcolor" : [ 0.65098, 0.666667, 0.662745, 1.0 ], 654 | "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ] 655 | } 656 | , 657 | "ezdac~" : { 658 | "bgcolor" : [ 0.65098, 0.666667, 0.662745, 1.0 ], 659 | "color" : [ 0.0, 0.0, 0.0, 1.0 ], 660 | "elementcolor" : [ 0.862745, 0.870588, 0.878431, 1.0 ] 661 | } 662 | , 663 | "umenu" : { 664 | "bgfillcolor" : { 665 | "type" : "gradient", 666 | "color1" : [ 0.786675, 0.801885, 0.845022, 1.0 ], 667 | "color2" : [ 0.65098, 0.666667, 0.662745, 1.0 ], 668 | "color" : [ 0.290196, 0.309804, 0.301961, 1.0 ], 669 | "angle" : 270.0, 670 | "proportion" : 0.39, 671 | "autogradient" : 0 672 | } 673 | 674 | } 675 | , 676 | "message" : { 677 | "bgfillcolor" : { 678 | "type" : "gradient", 679 | "color1" : [ 0.786675, 0.801885, 0.845022, 1.0 ], 680 | "color2" : [ 0.65098, 0.666667, 0.662745, 1.0 ], 681 | "color" : [ 0.290196, 0.309804, 0.301961, 1.0 ], 682 | "angle" : 270.0, 683 | "proportion" : 0.39, 684 | "autogradient" : 0 685 | } 686 | , 687 | "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ] 688 | } 689 | , 690 | "kslider" : { 691 | "color" : [ 1.0, 1.0, 1.0, 1.0 ], 692 | "elementcolor" : [ 0.65098, 0.666667, 0.662745, 1.0 ] 693 | } 694 | , 695 | "gain~" : { 696 | "color" : [ 1.0, 0.861448, 0.16921, 1.0 ], 697 | "elementcolor" : [ 0.65098, 0.666667, 0.662745, 1.0 ] 698 | } 699 | , 700 | "parentstyle" : "", 701 | "multi" : 1 702 | } 703 | , { 704 | "name" : "messageGreen-1", 705 | "default" : { 706 | "bgfillcolor" : { 707 | "type" : "gradient", 708 | "color" : [ 0.290196, 0.309804, 0.301961, 1.0 ], 709 | "color1" : [ 0.165741, 0.364658, 0.14032, 0.74 ], 710 | "color2" : [ 0.290196, 0.309804, 0.301961, 1.0 ], 711 | "angle" : 270.0, 712 | "proportion" : 0.39, 713 | "autogradient" : 0 714 | } 715 | 716 | } 717 | , 718 | "parentstyle" : "", 719 | "multi" : 0 720 | } 721 | , { 722 | "name" : "messagegold", 723 | "default" : { 724 | "bgfillcolor" : { 725 | "type" : "gradient", 726 | "color" : [ 0.290196, 0.309804, 0.301961, 1.0 ], 727 | "color1" : [ 0.764706, 0.592157, 0.101961, 0.74 ], 728 | "color2" : [ 0.290196, 0.309804, 0.301961, 1.0 ], 729 | "angle" : 270.0, 730 | "proportion" : 0.39, 731 | "autogradient" : 0 732 | } 733 | 734 | } 735 | , 736 | "parentstyle" : "", 737 | "multi" : 0 738 | } 739 | , { 740 | "name" : "newobjBlue-1", 741 | "default" : { 742 | "accentcolor" : [ 0.317647, 0.654902, 0.976471, 1.0 ] 743 | } 744 | , 745 | "parentstyle" : "", 746 | "multi" : 0 747 | } 748 | , { 749 | "name" : "newobjBrown-1", 750 | "default" : { 751 | "accentcolor" : [ 0.654902, 0.572549, 0.376471, 1.0 ] 752 | } 753 | , 754 | "parentstyle" : "", 755 | "multi" : 0 756 | } 757 | , { 758 | "name" : "newobjCyan-1", 759 | "default" : { 760 | "accentcolor" : [ 0.022882, 0.848654, 0.85423, 1.0 ] 761 | } 762 | , 763 | "parentstyle" : "", 764 | "multi" : 0 765 | } 766 | , { 767 | "name" : "newobjCyan-1-1", 768 | "default" : { 769 | "accentcolor" : [ 0.029546, 0.773327, 0.821113, 1.0 ] 770 | } 771 | , 772 | "parentstyle" : "", 773 | "multi" : 0 774 | } 775 | , { 776 | "name" : "newobjCyan-1-2", 777 | "default" : { 778 | "accentcolor" : [ 0.029546, 0.773327, 0.821113, 1.0 ] 779 | } 780 | , 781 | "parentstyle" : "", 782 | "multi" : 0 783 | } 784 | , { 785 | "name" : "newobjCyan-1-3", 786 | "default" : { 787 | "accentcolor" : [ 0.029546, 0.773327, 0.821113, 1.0 ] 788 | } 789 | , 790 | "parentstyle" : "", 791 | "multi" : 0 792 | } 793 | , { 794 | "name" : "newobjCyan-1-4", 795 | "default" : { 796 | "accentcolor" : [ 0.029546, 0.773327, 0.821113, 1.0 ] 797 | } 798 | , 799 | "parentstyle" : "", 800 | "multi" : 0 801 | } 802 | , { 803 | "name" : "newobjCyan-1-5", 804 | "default" : { 805 | "accentcolor" : [ 0.029546, 0.773327, 0.821113, 1.0 ] 806 | } 807 | , 808 | "parentstyle" : "", 809 | "multi" : 0 810 | } 811 | , { 812 | "name" : "newobjCyan-1-6", 813 | "default" : { 814 | "accentcolor" : [ 0.029546, 0.773327, 0.821113, 1.0 ] 815 | } 816 | , 817 | "parentstyle" : "", 818 | "multi" : 0 819 | } 820 | , { 821 | "name" : "newobjGreen-1", 822 | "default" : { 823 | "accentcolor" : [ 0.0, 0.533333, 0.168627, 1.0 ] 824 | } 825 | , 826 | "parentstyle" : "", 827 | "multi" : 0 828 | } 829 | , { 830 | "name" : "newobjMagenta-1", 831 | "default" : { 832 | "accentcolor" : [ 0.840663, 0.060168, 0.769195, 1.0 ] 833 | } 834 | , 835 | "parentstyle" : "", 836 | "multi" : 0 837 | } 838 | , { 839 | "name" : "newobjRed-1", 840 | "default" : { 841 | "accentcolor" : [ 0.784314, 0.145098, 0.023529, 1.0 ] 842 | } 843 | , 844 | "parentstyle" : "", 845 | "multi" : 0 846 | } 847 | , { 848 | "name" : "newobjYellow-1", 849 | "default" : { 850 | "fontsize" : [ 12.059008 ], 851 | "accentcolor" : [ 0.82517, 0.78181, 0.059545, 1.0 ] 852 | } 853 | , 854 | "parentstyle" : "", 855 | "multi" : 0 856 | } 857 | , { 858 | "name" : "numberB-1", 859 | "default" : { 860 | "accentcolor" : [ 0.011765, 0.396078, 0.752941, 1.0 ] 861 | } 862 | , 863 | "parentstyle" : "", 864 | "multi" : 0 865 | } 866 | , { 867 | "name" : "numberG-1", 868 | "default" : { 869 | "accentcolor" : [ 0.0, 0.533333, 0.168627, 1.0 ] 870 | } 871 | , 872 | "parentstyle" : "", 873 | "multi" : 0 874 | } 875 | , { 876 | "name" : "numberGold-1", 877 | "default" : { 878 | "accentcolor" : [ 0.764706, 0.592157, 0.101961, 1.0 ] 879 | } 880 | , 881 | "parentstyle" : "", 882 | "multi" : 0 883 | } 884 | , { 885 | "name" : "numberR-1", 886 | "default" : { 887 | "accentcolor" : [ 0.784314, 0.145098, 0.023529, 1.0 ] 888 | } 889 | , 890 | "parentstyle" : "", 891 | "multi" : 0 892 | } 893 | , { 894 | "name" : "panelGold-1", 895 | "default" : { 896 | "bgfillcolor" : { 897 | "type" : "color", 898 | "color" : [ 0.764706, 0.592157, 0.101961, 0.25 ], 899 | "color1" : [ 0.764706, 0.592157, 0.101961, 1.0 ], 900 | "color2" : [ 0.290196, 0.309804, 0.301961, 1.0 ], 901 | "angle" : 270.0, 902 | "proportion" : 0.39, 903 | "autogradient" : 0 904 | } 905 | 906 | } 907 | , 908 | "parentstyle" : "", 909 | "multi" : 0 910 | } 911 | , { 912 | "name" : "texteditGold", 913 | "default" : { 914 | "bgcolor" : [ 0.764706, 0.592157, 0.101961, 0.68 ], 915 | "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ] 916 | } 917 | , 918 | "parentstyle" : "", 919 | "multi" : 0 920 | } 921 | ] 922 | } 923 | 924 | } 925 | -------------------------------------------------------------------------------- /sequencer-voice.maxpat: -------------------------------------------------------------------------------- 1 | { 2 | "patcher" : { 3 | "fileversion" : 1, 4 | "appversion" : { 5 | "major" : 7, 6 | "minor" : 3, 7 | "revision" : 5, 8 | "architecture" : "x86", 9 | "modernui" : 1 10 | } 11 | , 12 | "rect" : [ 186.0, 22.0, 931.0, 753.0 ], 13 | "bglocked" : 0, 14 | "openinpresentation" : 0, 15 | "default_fontsize" : 12.0, 16 | "default_fontface" : 0, 17 | "default_fontname" : "Arial", 18 | "gridonopen" : 1, 19 | "gridsize" : [ 15.0, 15.0 ], 20 | "gridsnaponopen" : 1, 21 | "objectsnaponopen" : 1, 22 | "statusbarvisible" : 2, 23 | "toolbarvisible" : 0, 24 | "lefttoolbarpinned" : 0, 25 | "toptoolbarpinned" : 0, 26 | "righttoolbarpinned" : 0, 27 | "bottomtoolbarpinned" : 0, 28 | "toolbars_unpinned_last_save" : 0, 29 | "tallnewobj" : 0, 30 | "boxanimatetime" : 200, 31 | "enablehscroll" : 1, 32 | "enablevscroll" : 1, 33 | "devicewidth" : 0.0, 34 | "description" : "", 35 | "digest" : "", 36 | "tags" : "", 37 | "style" : "", 38 | "subpatcher_template" : "", 39 | "boxes" : [ { 40 | "box" : { 41 | "id" : "obj-43", 42 | "maxclass" : "message", 43 | "numinlets" : 2, 44 | "numoutlets" : 1, 45 | "outlettype" : [ "" ], 46 | "patching_rect" : [ 532.0, 467.700073, 110.0, 22.0 ], 47 | "style" : "" 48 | } 49 | 50 | } 51 | , { 52 | "box" : { 53 | "id" : "obj-41", 54 | "maxclass" : "message", 55 | "numinlets" : 2, 56 | "numoutlets" : 1, 57 | "outlettype" : [ "" ], 58 | "patching_rect" : [ 469.944824, 628.0, 77.0, 22.0 ], 59 | "style" : "", 60 | "text" : "100 200 300" 61 | } 62 | 63 | } 64 | , { 65 | "box" : { 66 | "id" : "obj-39", 67 | "linecount" : 4, 68 | "maxclass" : "message", 69 | "numinlets" : 2, 70 | "numoutlets" : 1, 71 | "outlettype" : [ "" ], 72 | "patching_rect" : [ 477.0, 724.0, 50.0, 62.0 ], 73 | "style" : "", 74 | "text" : "start 100 200 300" 75 | } 76 | 77 | } 78 | , { 79 | "box" : { 80 | "id" : "obj-37", 81 | "maxclass" : "message", 82 | "numinlets" : 2, 83 | "numoutlets" : 1, 84 | "outlettype" : [ "" ], 85 | "patching_rect" : [ 477.0, 668.344482, 84.0, 22.0 ], 86 | "style" : "", 87 | "text" : "start $1 $2 $3" 88 | } 89 | 90 | } 91 | , { 92 | "box" : { 93 | "id" : "obj-35", 94 | "maxclass" : "newobj", 95 | "numinlets" : 2, 96 | "numoutlets" : 1, 97 | "outlettype" : [ "int" ], 98 | "patching_rect" : [ 572.444824, 182.0, 29.5, 22.0 ], 99 | "presentation_rect" : [ 570.0, 228.0, 0.0, 0.0 ], 100 | "style" : "", 101 | "text" : "+" 102 | } 103 | 104 | } 105 | , { 106 | "box" : { 107 | "id" : "obj-33", 108 | "maxclass" : "newobj", 109 | "numinlets" : 2, 110 | "numoutlets" : 1, 111 | "outlettype" : [ "int" ], 112 | "patching_rect" : [ 572.444824, 143.0, 29.5, 22.0 ], 113 | "presentation_rect" : [ 547.0, 177.0, 0.0, 0.0 ], 114 | "style" : "", 115 | "text" : "+" 116 | } 117 | 118 | } 119 | , { 120 | "box" : { 121 | "id" : "obj-32", 122 | "maxclass" : "newobj", 123 | "numinlets" : 3, 124 | "numoutlets" : 1, 125 | "outlettype" : [ "" ], 126 | "patching_rect" : [ 527.0, 420.0, 130.0, 22.0 ], 127 | "style" : "", 128 | "text" : "pack i i i" 129 | } 130 | 131 | } 132 | , { 133 | "box" : { 134 | "id" : "obj-30", 135 | "maxclass" : "comment", 136 | "numinlets" : 1, 137 | "numoutlets" : 0, 138 | "patching_rect" : [ 610.0, 373.0, 150.0, 20.0 ], 139 | "presentation_rect" : [ 610.0, 376.0, 0.0, 0.0 ], 140 | "style" : "", 141 | "text" : "End position" 142 | } 143 | 144 | } 145 | , { 146 | "box" : { 147 | "id" : "obj-29", 148 | "maxclass" : "newobj", 149 | "numinlets" : 2, 150 | "numoutlets" : 1, 151 | "outlettype" : [ "int" ], 152 | "patching_rect" : [ 572.444824, 373.0, 29.5, 22.0 ], 153 | "presentation_rect" : [ 570.444824, 373.0, 0.0, 0.0 ], 154 | "style" : "", 155 | "text" : "+" 156 | } 157 | 158 | } 159 | , { 160 | "box" : { 161 | "id" : "obj-28", 162 | "maxclass" : "newobj", 163 | "numinlets" : 2, 164 | "numoutlets" : 1, 165 | "outlettype" : [ "int" ], 166 | "patching_rect" : [ 572.444824, 332.0, 29.5, 22.0 ], 167 | "presentation_rect" : [ 462.444824, 334.0, 0.0, 0.0 ], 168 | "style" : "", 169 | "text" : "+" 170 | } 171 | 172 | } 173 | , { 174 | "box" : { 175 | "id" : "obj-22", 176 | "maxclass" : "newobj", 177 | "numinlets" : 2, 178 | "numoutlets" : 1, 179 | "outlettype" : [ "int" ], 180 | "patching_rect" : [ 437.444824, 265.0, 29.5, 22.0 ], 181 | "presentation_rect" : [ 455.0, 248.0, 0.0, 0.0 ], 182 | "style" : "", 183 | "text" : "+" 184 | } 185 | 186 | } 187 | , { 188 | "box" : { 189 | "id" : "obj-21", 190 | "maxclass" : "newobj", 191 | "numinlets" : 2, 192 | "numoutlets" : 1, 193 | "outlettype" : [ "int" ], 194 | "patching_rect" : [ 527.0, 257.0, 29.5, 22.0 ], 195 | "style" : "", 196 | "text" : "+" 197 | } 198 | 199 | } 200 | , { 201 | "box" : { 202 | "id" : "obj-20", 203 | "maxclass" : "comment", 204 | "numinlets" : 1, 205 | "numoutlets" : 0, 206 | "patching_rect" : [ 610.0, 332.0, 150.0, 20.0 ], 207 | "style" : "", 208 | "text" : "Total play time :" 209 | } 210 | 211 | } 212 | , { 213 | "box" : { 214 | "id" : "obj-17", 215 | "maxclass" : "newobj", 216 | "numinlets" : 1, 217 | "numoutlets" : 2, 218 | "outlettype" : [ "bang", "" ], 219 | "patching_rect" : [ 39.0, 103.0, 30.0, 22.0 ], 220 | "style" : "", 221 | "text" : "t b l" 222 | } 223 | 224 | } 225 | , { 226 | "box" : { 227 | "id" : "obj-122", 228 | "maxclass" : "comment", 229 | "numinlets" : 1, 230 | "numoutlets" : 0, 231 | "patching_rect" : [ 628.0, 158.0, 216.0, 20.0 ], 232 | "style" : "", 233 | "text" : "2 - Sustain Time" 234 | } 235 | 236 | } 237 | , { 238 | "box" : { 239 | "id" : "obj-121", 240 | "maxclass" : "comment", 241 | "numinlets" : 1, 242 | "numoutlets" : 0, 243 | "patching_rect" : [ 628.0, 249.0, 216.0, 20.0 ], 244 | "style" : "", 245 | "text" : "6 - Release Time" 246 | } 247 | 248 | } 249 | , { 250 | "box" : { 251 | "id" : "obj-120", 252 | "maxclass" : "comment", 253 | "numinlets" : 1, 254 | "numoutlets" : 0, 255 | "patching_rect" : [ 628.0, 227.0, 216.0, 20.0 ], 256 | "style" : "", 257 | "text" : "5 - Sustain Level" 258 | } 259 | 260 | } 261 | , { 262 | "box" : { 263 | "id" : "obj-119", 264 | "maxclass" : "comment", 265 | "numinlets" : 1, 266 | "numoutlets" : 0, 267 | "patching_rect" : [ 628.0, 205.0, 216.0, 20.0 ], 268 | "style" : "", 269 | "text" : "4 - Decay Time" 270 | } 271 | 272 | } 273 | , { 274 | "box" : { 275 | "id" : "obj-118", 276 | "maxclass" : "comment", 277 | "numinlets" : 1, 278 | "numoutlets" : 0, 279 | "patching_rect" : [ 628.0, 183.0, 216.0, 20.0 ], 280 | "style" : "", 281 | "text" : "3 - Attack Time" 282 | } 283 | 284 | } 285 | , { 286 | "box" : { 287 | "id" : "obj-116", 288 | "maxclass" : "comment", 289 | "numinlets" : 1, 290 | "numoutlets" : 0, 291 | "patching_rect" : [ 628.0, 132.0, 216.0, 20.0 ], 292 | "style" : "", 293 | "text" : "1 - the start position of the sample" 294 | } 295 | 296 | } 297 | , { 298 | "box" : { 299 | "id" : "obj-110", 300 | "maxclass" : "comment", 301 | "numinlets" : 1, 302 | "numoutlets" : 0, 303 | "patching_rect" : [ 628.0, 75.0, 114.0, 20.0 ], 304 | "style" : "", 305 | "text" : "This pak contains : " 306 | } 307 | 308 | } 309 | , { 310 | "box" : { 311 | "id" : "obj-16", 312 | "maxclass" : "newobj", 313 | "numinlets" : 1, 314 | "numoutlets" : 6, 315 | "outlettype" : [ "int", "int", "int", "int", "float", "int" ], 316 | "patching_rect" : [ 86.044823, 132.0, 377.0, 22.0 ], 317 | "style" : "", 318 | "text" : "unpack i i i i f i" 319 | } 320 | 321 | } 322 | , { 323 | "box" : { 324 | "id" : "obj-15", 325 | "maxclass" : "newobj", 326 | "numinlets" : 2, 327 | "numoutlets" : 1, 328 | "outlettype" : [ "signal" ], 329 | "patching_rect" : [ 705.0, 650.0, 49.0, 22.0 ], 330 | "style" : "", 331 | "text" : "*~ 0.75" 332 | } 333 | 334 | } 335 | , { 336 | "box" : { 337 | "fontface" : 0, 338 | "fontname" : "Arial", 339 | "fontsize" : 12.0, 340 | "id" : "obj-13", 341 | "interval" : 20.0, 342 | "maxclass" : "number~", 343 | "mode" : 2, 344 | "numinlets" : 2, 345 | "numoutlets" : 2, 346 | "outlettype" : [ "signal", "float" ], 347 | "patching_rect" : [ 213.0, 581.0, 120.0, 22.0 ], 348 | "sig" : 0.0, 349 | "style" : "" 350 | } 351 | 352 | } 353 | , { 354 | "box" : { 355 | "id" : "obj-11", 356 | "maxclass" : "message", 357 | "numinlets" : 2, 358 | "numoutlets" : 1, 359 | "outlettype" : [ "" ], 360 | "patching_rect" : [ 196.0, 364.0, 29.5, 22.0 ], 361 | "style" : "", 362 | "text" : "0." 363 | } 364 | 365 | } 366 | , { 367 | "box" : { 368 | "id" : "obj-7", 369 | "maxclass" : "newobj", 370 | "numinlets" : 2, 371 | "numoutlets" : 1, 372 | "outlettype" : [ "bang" ], 373 | "patching_rect" : [ 168.0, 315.0, 63.0, 22.0 ], 374 | "style" : "", 375 | "text" : "delay 150" 376 | } 377 | 378 | } 379 | , { 380 | "box" : { 381 | "id" : "obj-12", 382 | "maxclass" : "message", 383 | "numinlets" : 2, 384 | "numoutlets" : 1, 385 | "outlettype" : [ "" ], 386 | "patching_rect" : [ 745.5, 523.0, 31.0, 22.0 ], 387 | "style" : "", 388 | "text" : "440" 389 | } 390 | 391 | } 392 | , { 393 | "box" : { 394 | "id" : "obj-23", 395 | "maxclass" : "button", 396 | "numinlets" : 1, 397 | "numoutlets" : 1, 398 | "outlettype" : [ "bang" ], 399 | "patching_rect" : [ 328.0, 523.0, 24.0, 24.0 ], 400 | "style" : "" 401 | } 402 | 403 | } 404 | , { 405 | "box" : { 406 | "id" : "obj-14", 407 | "maxclass" : "number", 408 | "numinlets" : 1, 409 | "numoutlets" : 2, 410 | "outlettype" : [ "", "bang" ], 411 | "parameter_enable" : 0, 412 | "patching_rect" : [ 736.0, 581.0, 50.0, 22.0 ], 413 | "style" : "" 414 | } 415 | 416 | } 417 | , { 418 | "box" : { 419 | "id" : "obj-4", 420 | "maxclass" : "newobj", 421 | "numinlets" : 2, 422 | "numoutlets" : 1, 423 | "outlettype" : [ "signal" ], 424 | "patching_rect" : [ 736.0, 613.07782, 45.0, 22.0 ], 425 | "style" : "", 426 | "text" : "cycle~" 427 | } 428 | 429 | } 430 | , { 431 | "box" : { 432 | "bgcolor" : [ 0.95, 0.95, 0.95, 1.0 ], 433 | "id" : "obj-54", 434 | "maxclass" : "meter~", 435 | "monotone" : 1, 436 | "numinlets" : 1, 437 | "numoutlets" : 1, 438 | "offcolor" : [ 0.862745, 0.870588, 0.878431, 1.0 ], 439 | "oncolor" : [ 0.0, 0.0, 0.0, 1.0 ], 440 | "outlettype" : [ "float" ], 441 | "patching_rect" : [ 187.0, 618.344482, 15.0, 92.0 ], 442 | "presentation" : 1, 443 | "presentation_rect" : [ 101.0, 1.0, 14.0, 108.0 ], 444 | "style" : "" 445 | } 446 | 447 | } 448 | , { 449 | "box" : { 450 | "id" : "obj-10", 451 | "maxclass" : "newobj", 452 | "numinlets" : 1, 453 | "numoutlets" : 2, 454 | "outlettype" : [ "bang", "bang" ], 455 | "patching_rect" : [ 39.0, 257.0, 81.0, 22.0 ], 456 | "style" : "", 457 | "text" : "t b b" 458 | } 459 | 460 | } 461 | , { 462 | "box" : { 463 | "id" : "obj-8", 464 | "maxclass" : "message", 465 | "numinlets" : 2, 466 | "numoutlets" : 1, 467 | "outlettype" : [ "" ], 468 | "patching_rect" : [ 52.0, 414.0, 84.0, 22.0 ], 469 | "style" : "", 470 | "text" : "start $1 $2 $3" 471 | } 472 | 473 | } 474 | , { 475 | "box" : { 476 | "id" : "obj-9", 477 | "maxclass" : "message", 478 | "numinlets" : 2, 479 | "numoutlets" : 1, 480 | "outlettype" : [ "" ], 481 | "patching_rect" : [ 138.5, 364.0, 29.5, 22.0 ], 482 | "style" : "", 483 | "text" : "1." 484 | } 485 | 486 | } 487 | , { 488 | "box" : { 489 | "id" : "obj-6", 490 | "maxclass" : "newobj", 491 | "numinlets" : 2, 492 | "numoutlets" : 1, 493 | "outlettype" : [ "signal" ], 494 | "patching_rect" : [ 138.5, 575.0, 29.5, 22.0 ], 495 | "style" : "", 496 | "text" : "*~" 497 | } 498 | 499 | } 500 | , { 501 | "box" : { 502 | "id" : "obj-5", 503 | "maxclass" : "newobj", 504 | "numinlets" : 5, 505 | "numoutlets" : 4, 506 | "outlettype" : [ "signal", "signal", "", "" ], 507 | "patching_rect" : [ 196.0, 454.07782, 254.259766, 22.0 ], 508 | "style" : "", 509 | "text" : "adsr~" 510 | } 511 | 512 | } 513 | , { 514 | "box" : { 515 | "id" : "obj-3", 516 | "maxclass" : "newobj", 517 | "numinlets" : 1, 518 | "numoutlets" : 0, 519 | "patching_rect" : [ 62.0, 708.0, 44.0, 22.0 ], 520 | "style" : "", 521 | "text" : "out~ 1" 522 | } 523 | 524 | } 525 | , { 526 | "box" : { 527 | "id" : "obj-2", 528 | "maxclass" : "newobj", 529 | "numinlets" : 1, 530 | "numoutlets" : 1, 531 | "outlettype" : [ "" ], 532 | "patching_rect" : [ 39.0, 16.0, 30.0, 22.0 ], 533 | "style" : "", 534 | "text" : "in 1" 535 | } 536 | 537 | } 538 | , { 539 | "box" : { 540 | "id" : "obj-1", 541 | "maxclass" : "newobj", 542 | "numinlets" : 1, 543 | "numoutlets" : 2, 544 | "outlettype" : [ "signal", "bang" ], 545 | "patching_rect" : [ 52.0, 454.07782, 116.0, 22.0 ], 546 | "style" : "", 547 | "text" : "play~ seq" 548 | } 549 | 550 | } 551 | , { 552 | "box" : { 553 | "fontname" : "Arial", 554 | "fontsize" : 12.0, 555 | "id" : "obj-34", 556 | "maxclass" : "comment", 557 | "numinlets" : 1, 558 | "numoutlets" : 0, 559 | "patching_rect" : [ 394.944824, 530.700073, 105.0, 20.0 ], 560 | "style" : "", 561 | "text" : "unmute the voice." 562 | } 563 | 564 | } 565 | , { 566 | "box" : { 567 | "fontname" : "Arial", 568 | "fontsize" : 12.0, 569 | "id" : "obj-31", 570 | "maxclass" : "comment", 571 | "numinlets" : 1, 572 | "numoutlets" : 0, 573 | "patching_rect" : [ 556.894714, 561.344482, 92.0, 20.0 ], 574 | "style" : "", 575 | "text" : "mute the voice." 576 | } 577 | 578 | } 579 | , { 580 | "box" : { 581 | "fontname" : "Arial", 582 | "fontsize" : 12.0, 583 | "id" : "obj-53", 584 | "maxclass" : "message", 585 | "numinlets" : 2, 586 | "numoutlets" : 1, 587 | "outlettype" : [ "" ], 588 | "patching_rect" : [ 408.5, 555.07782, 47.0, 22.0 ], 589 | "style" : "", 590 | "text" : "mute 0" 591 | } 592 | 593 | } 594 | , { 595 | "box" : { 596 | "fontname" : "Arial", 597 | "fontsize" : 12.0, 598 | "id" : "obj-52", 599 | "maxclass" : "newobj", 600 | "numinlets" : 1, 601 | "numoutlets" : 1, 602 | "outlettype" : [ "bang" ], 603 | "patching_rect" : [ 699.5, 467.700073, 60.0, 22.0 ], 604 | "style" : "", 605 | "text" : "loadbang" 606 | } 607 | 608 | } 609 | , { 610 | "box" : { 611 | "fontname" : "Arial", 612 | "fontsize" : 12.0, 613 | "id" : "obj-51", 614 | "maxclass" : "message", 615 | "numinlets" : 2, 616 | "numoutlets" : 1, 617 | "outlettype" : [ "" ], 618 | "patching_rect" : [ 484.944824, 561.344482, 47.0, 22.0 ], 619 | "style" : "", 620 | "text" : "mute 1" 621 | } 622 | 623 | } 624 | , { 625 | "box" : { 626 | "id" : "obj-49", 627 | "maxclass" : "newobj", 628 | "numinlets" : 1, 629 | "numoutlets" : 2, 630 | "outlettype" : [ "int", "int" ], 631 | "patching_rect" : [ 372.444824, 613.344482, 58.0, 22.0 ], 632 | "style" : "newobjBlue-1", 633 | "text" : "thispoly~" 634 | } 635 | 636 | } 637 | ], 638 | "lines" : [ { 639 | "patchline" : { 640 | "destination" : [ "obj-6", 0 ], 641 | "source" : [ "obj-1", 0 ] 642 | } 643 | 644 | } 645 | , { 646 | "patchline" : { 647 | "destination" : [ "obj-43", 0 ], 648 | "source" : [ "obj-10", 0 ] 649 | } 650 | 651 | } 652 | , { 653 | "patchline" : { 654 | "destination" : [ "obj-7", 0 ], 655 | "order" : 0, 656 | "source" : [ "obj-10", 1 ] 657 | } 658 | 659 | } 660 | , { 661 | "patchline" : { 662 | "destination" : [ "obj-9", 0 ], 663 | "order" : 1, 664 | "source" : [ "obj-10", 1 ] 665 | } 666 | 667 | } 668 | , { 669 | "patchline" : { 670 | "destination" : [ "obj-5", 0 ], 671 | "source" : [ "obj-11", 0 ] 672 | } 673 | 674 | } 675 | , { 676 | "patchline" : { 677 | "destination" : [ "obj-14", 0 ], 678 | "source" : [ "obj-12", 0 ] 679 | } 680 | 681 | } 682 | , { 683 | "patchline" : { 684 | "destination" : [ "obj-4", 0 ], 685 | "source" : [ "obj-14", 0 ] 686 | } 687 | 688 | } 689 | , { 690 | "patchline" : { 691 | "destination" : [ "obj-21", 1 ], 692 | "order" : 0, 693 | "source" : [ "obj-16", 5 ] 694 | } 695 | 696 | } 697 | , { 698 | "patchline" : { 699 | "destination" : [ "obj-21", 0 ], 700 | "order" : 1, 701 | "source" : [ "obj-16", 3 ] 702 | } 703 | 704 | } 705 | , { 706 | "patchline" : { 707 | "destination" : [ "obj-22", 1 ], 708 | "order" : 1, 709 | "source" : [ "obj-16", 2 ] 710 | } 711 | 712 | } 713 | , { 714 | "patchline" : { 715 | "destination" : [ "obj-22", 0 ], 716 | "order" : 1, 717 | "source" : [ "obj-16", 1 ] 718 | } 719 | 720 | } 721 | , { 722 | "patchline" : { 723 | "destination" : [ "obj-29", 0 ], 724 | "order" : 0, 725 | "source" : [ "obj-16", 0 ] 726 | } 727 | 728 | } 729 | , { 730 | "patchline" : { 731 | "destination" : [ "obj-32", 0 ], 732 | "order" : 1, 733 | "source" : [ "obj-16", 0 ] 734 | } 735 | 736 | } 737 | , { 738 | "patchline" : { 739 | "destination" : [ "obj-33", 1 ], 740 | "order" : 0, 741 | "source" : [ "obj-16", 3 ] 742 | } 743 | 744 | } 745 | , { 746 | "patchline" : { 747 | "destination" : [ "obj-33", 0 ], 748 | "order" : 0, 749 | "source" : [ "obj-16", 2 ] 750 | } 751 | 752 | } 753 | , { 754 | "patchline" : { 755 | "destination" : [ "obj-35", 0 ], 756 | "order" : 0, 757 | "source" : [ "obj-16", 1 ] 758 | } 759 | 760 | } 761 | , { 762 | "patchline" : { 763 | "destination" : [ "obj-5", 4 ], 764 | "order" : 1, 765 | "source" : [ "obj-16", 5 ] 766 | } 767 | 768 | } 769 | , { 770 | "patchline" : { 771 | "destination" : [ "obj-5", 3 ], 772 | "source" : [ "obj-16", 4 ] 773 | } 774 | 775 | } 776 | , { 777 | "patchline" : { 778 | "destination" : [ "obj-5", 2 ], 779 | "order" : 2, 780 | "source" : [ "obj-16", 3 ] 781 | } 782 | 783 | } 784 | , { 785 | "patchline" : { 786 | "destination" : [ "obj-5", 1 ], 787 | "order" : 2, 788 | "source" : [ "obj-16", 2 ] 789 | } 790 | 791 | } 792 | , { 793 | "patchline" : { 794 | "destination" : [ "obj-10", 0 ], 795 | "source" : [ "obj-17", 0 ] 796 | } 797 | 798 | } 799 | , { 800 | "patchline" : { 801 | "destination" : [ "obj-16", 0 ], 802 | "source" : [ "obj-17", 1 ] 803 | } 804 | 805 | } 806 | , { 807 | "patchline" : { 808 | "destination" : [ "obj-17", 0 ], 809 | "source" : [ "obj-2", 0 ] 810 | } 811 | 812 | } 813 | , { 814 | "patchline" : { 815 | "destination" : [ "obj-28", 1 ], 816 | "source" : [ "obj-21", 0 ] 817 | } 818 | 819 | } 820 | , { 821 | "patchline" : { 822 | "destination" : [ "obj-28", 0 ], 823 | "source" : [ "obj-22", 0 ] 824 | } 825 | 826 | } 827 | , { 828 | "patchline" : { 829 | "destination" : [ "obj-29", 1 ], 830 | "order" : 1, 831 | "source" : [ "obj-28", 0 ] 832 | } 833 | 834 | } 835 | , { 836 | "patchline" : { 837 | "destination" : [ "obj-32", 2 ], 838 | "order" : 0, 839 | "source" : [ "obj-28", 0 ] 840 | } 841 | 842 | } 843 | , { 844 | "patchline" : { 845 | "destination" : [ "obj-32", 1 ], 846 | "source" : [ "obj-29", 0 ] 847 | } 848 | 849 | } 850 | , { 851 | "patchline" : { 852 | "destination" : [ "obj-43", 1 ], 853 | "source" : [ "obj-32", 0 ] 854 | } 855 | 856 | } 857 | , { 858 | "patchline" : { 859 | "destination" : [ "obj-35", 1 ], 860 | "source" : [ "obj-33", 0 ] 861 | } 862 | 863 | } 864 | , { 865 | "patchline" : { 866 | "destination" : [ "obj-7", 1 ], 867 | "source" : [ "obj-35", 0 ] 868 | } 869 | 870 | } 871 | , { 872 | "patchline" : { 873 | "destination" : [ "obj-39", 1 ], 874 | "source" : [ "obj-37", 0 ] 875 | } 876 | 877 | } 878 | , { 879 | "patchline" : { 880 | "destination" : [ "obj-15", 0 ], 881 | "source" : [ "obj-4", 0 ] 882 | } 883 | 884 | } 885 | , { 886 | "patchline" : { 887 | "destination" : [ "obj-37", 0 ], 888 | "source" : [ "obj-41", 0 ] 889 | } 890 | 891 | } 892 | , { 893 | "patchline" : { 894 | "destination" : [ "obj-8", 0 ], 895 | "source" : [ "obj-43", 0 ] 896 | } 897 | 898 | } 899 | , { 900 | "patchline" : { 901 | "destination" : [ "obj-13", 0 ], 902 | "order" : 1, 903 | "source" : [ "obj-5", 0 ] 904 | } 905 | 906 | } 907 | , { 908 | "patchline" : { 909 | "destination" : [ "obj-23", 0 ], 910 | "order" : 1, 911 | "source" : [ "obj-5", 2 ] 912 | } 913 | 914 | } 915 | , { 916 | "patchline" : { 917 | "destination" : [ "obj-49", 0 ], 918 | "order" : 0, 919 | "source" : [ "obj-5", 2 ] 920 | } 921 | 922 | } 923 | , { 924 | "patchline" : { 925 | "destination" : [ "obj-49", 0 ], 926 | "order" : 0, 927 | "source" : [ "obj-5", 0 ] 928 | } 929 | 930 | } 931 | , { 932 | "patchline" : { 933 | "destination" : [ "obj-6", 1 ], 934 | "order" : 2, 935 | "source" : [ "obj-5", 0 ] 936 | } 937 | 938 | } 939 | , { 940 | "patchline" : { 941 | "destination" : [ "obj-12", 0 ], 942 | "order" : 0, 943 | "source" : [ "obj-52", 0 ] 944 | } 945 | 946 | } 947 | , { 948 | "patchline" : { 949 | "destination" : [ "obj-51", 0 ], 950 | "order" : 1, 951 | "source" : [ "obj-52", 0 ] 952 | } 953 | 954 | } 955 | , { 956 | "patchline" : { 957 | "destination" : [ "obj-3", 0 ], 958 | "order" : 1, 959 | "source" : [ "obj-6", 0 ] 960 | } 961 | 962 | } 963 | , { 964 | "patchline" : { 965 | "destination" : [ "obj-54", 0 ], 966 | "order" : 0, 967 | "source" : [ "obj-6", 0 ] 968 | } 969 | 970 | } 971 | , { 972 | "patchline" : { 973 | "destination" : [ "obj-11", 0 ], 974 | "source" : [ "obj-7", 0 ] 975 | } 976 | 977 | } 978 | , { 979 | "patchline" : { 980 | "destination" : [ "obj-1", 0 ], 981 | "source" : [ "obj-8", 0 ] 982 | } 983 | 984 | } 985 | , { 986 | "patchline" : { 987 | "destination" : [ "obj-5", 0 ], 988 | "source" : [ "obj-9", 0 ] 989 | } 990 | 991 | } 992 | ], 993 | "styles" : [ { 994 | "name" : "default_style", 995 | "button" : { 996 | "bgcolor" : [ 0.682032, 0.698052, 0.748716, 1.0 ], 997 | "color" : [ 0.960784, 0.827451, 0.156863, 1.0 ] 998 | } 999 | , 1000 | "toggle" : { 1001 | "bgcolor" : [ 0.636487, 0.648652, 0.683149, 1.0 ], 1002 | "color" : [ 0.0, 0.0, 0.0, 1.0 ], 1003 | "elementcolor" : [ 0.786675, 0.801885, 0.845022, 1.0 ] 1004 | } 1005 | , 1006 | "newobj" : { 1007 | "bgcolor" : [ 1.0, 1.0, 1.0, 1.0 ], 1008 | "accentcolor" : [ 0.65098, 0.666667, 0.662745, 1.0 ], 1009 | "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ] 1010 | } 1011 | , 1012 | "parentstyle" : "", 1013 | "multi" : 1 1014 | } 1015 | , { 1016 | "name" : "default_style-1", 1017 | "button" : { 1018 | "bgcolor" : [ 0.682032, 0.698052, 0.748716, 1.0 ], 1019 | "color" : [ 0.960784, 0.827451, 0.156863, 1.0 ] 1020 | } 1021 | , 1022 | "toggle" : { 1023 | "bgcolor" : [ 0.636487, 0.648652, 0.683149, 1.0 ], 1024 | "color" : [ 0.0, 0.0, 0.0, 1.0 ], 1025 | "elementcolor" : [ 0.786675, 0.801885, 0.845022, 1.0 ] 1026 | } 1027 | , 1028 | "newobj" : { 1029 | "bgcolor" : [ 1.0, 1.0, 1.0, 1.0 ], 1030 | "accentcolor" : [ 0.65098, 0.666667, 0.662745, 1.0 ], 1031 | "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ] 1032 | } 1033 | , 1034 | "parentstyle" : "", 1035 | "multi" : 0 1036 | } 1037 | , { 1038 | "name" : "master_style", 1039 | "button" : { 1040 | "bgcolor" : [ 0.682032, 0.698052, 0.748716, 1.0 ], 1041 | "color" : [ 1.0, 0.95051, 0.0, 1.0 ], 1042 | "elementcolor" : [ 0.786675, 0.801885, 0.845022, 1.0 ] 1043 | } 1044 | , 1045 | "toggle" : { 1046 | "bgcolor" : [ 0.682032, 0.698052, 0.748716, 1.0 ], 1047 | "color" : [ 0.0, 0.0, 0.0, 1.0 ], 1048 | "elementcolor" : [ 0.65098, 0.666667, 0.662745, 1.0 ] 1049 | } 1050 | , 1051 | "attrui" : { 1052 | "bgcolor" : [ 0.786675, 0.801885, 0.845022, 1.0 ], 1053 | "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ] 1054 | } 1055 | , 1056 | "function" : { 1057 | "bgcolor" : [ 0.65098, 0.666667, 0.662745, 1.0 ], 1058 | "color" : [ 0.0, 0.0, 0.0, 1.0 ] 1059 | } 1060 | , 1061 | "slider" : { 1062 | "bgcolor" : [ 1.0, 1.0, 1.0, 1.0 ], 1063 | "color" : [ 0.461105, 0.492646, 0.591878, 1.0 ], 1064 | "elementcolor" : [ 0.65098, 0.666667, 0.662745, 1.0 ] 1065 | } 1066 | , 1067 | "multislider" : { 1068 | "bgcolor" : [ 1.0, 1.0, 1.0, 1.0 ], 1069 | "color" : [ 0.0, 0.0, 0.0, 1.0 ] 1070 | } 1071 | , 1072 | "ezadc~" : { 1073 | "bgcolor" : [ 0.65098, 0.666667, 0.662745, 1.0 ], 1074 | "color" : [ 0.0, 0.0, 0.0, 1.0 ], 1075 | "elementcolor" : [ 0.862745, 0.870588, 0.878431, 1.0 ] 1076 | } 1077 | , 1078 | "newobj" : { 1079 | "bgcolor" : [ 1.0, 1.0, 1.0, 1.0 ], 1080 | "accentcolor" : [ 0.65098, 0.666667, 0.662745, 1.0 ], 1081 | "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ] 1082 | } 1083 | , 1084 | "ezdac~" : { 1085 | "bgcolor" : [ 0.65098, 0.666667, 0.662745, 1.0 ], 1086 | "color" : [ 0.0, 0.0, 0.0, 1.0 ], 1087 | "elementcolor" : [ 0.862745, 0.870588, 0.878431, 1.0 ] 1088 | } 1089 | , 1090 | "umenu" : { 1091 | "bgfillcolor" : { 1092 | "type" : "gradient", 1093 | "color1" : [ 0.786675, 0.801885, 0.845022, 1.0 ], 1094 | "color2" : [ 0.65098, 0.666667, 0.662745, 1.0 ], 1095 | "color" : [ 0.290196, 0.309804, 0.301961, 1.0 ], 1096 | "angle" : 270.0, 1097 | "proportion" : 0.39, 1098 | "autogradient" : 0 1099 | } 1100 | 1101 | } 1102 | , 1103 | "message" : { 1104 | "bgfillcolor" : { 1105 | "type" : "gradient", 1106 | "color1" : [ 0.786675, 0.801885, 0.845022, 1.0 ], 1107 | "color2" : [ 0.65098, 0.666667, 0.662745, 1.0 ], 1108 | "color" : [ 0.290196, 0.309804, 0.301961, 1.0 ], 1109 | "angle" : 270.0, 1110 | "proportion" : 0.39, 1111 | "autogradient" : 0 1112 | } 1113 | , 1114 | "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ] 1115 | } 1116 | , 1117 | "kslider" : { 1118 | "color" : [ 1.0, 1.0, 1.0, 1.0 ], 1119 | "elementcolor" : [ 0.65098, 0.666667, 0.662745, 1.0 ] 1120 | } 1121 | , 1122 | "gain~" : { 1123 | "color" : [ 1.0, 0.861448, 0.16921, 1.0 ], 1124 | "elementcolor" : [ 0.65098, 0.666667, 0.662745, 1.0 ] 1125 | } 1126 | , 1127 | "parentstyle" : "", 1128 | "multi" : 1 1129 | } 1130 | , { 1131 | "name" : "messageGreen-1", 1132 | "default" : { 1133 | "bgfillcolor" : { 1134 | "type" : "gradient", 1135 | "color" : [ 0.290196, 0.309804, 0.301961, 1.0 ], 1136 | "color1" : [ 0.165741, 0.364658, 0.14032, 0.74 ], 1137 | "color2" : [ 0.290196, 0.309804, 0.301961, 1.0 ], 1138 | "angle" : 270.0, 1139 | "proportion" : 0.39, 1140 | "autogradient" : 0 1141 | } 1142 | 1143 | } 1144 | , 1145 | "parentstyle" : "", 1146 | "multi" : 0 1147 | } 1148 | , { 1149 | "name" : "messagegold", 1150 | "default" : { 1151 | "bgfillcolor" : { 1152 | "type" : "gradient", 1153 | "color" : [ 0.290196, 0.309804, 0.301961, 1.0 ], 1154 | "color1" : [ 0.764706, 0.592157, 0.101961, 0.74 ], 1155 | "color2" : [ 0.290196, 0.309804, 0.301961, 1.0 ], 1156 | "angle" : 270.0, 1157 | "proportion" : 0.39, 1158 | "autogradient" : 0 1159 | } 1160 | 1161 | } 1162 | , 1163 | "parentstyle" : "", 1164 | "multi" : 0 1165 | } 1166 | , { 1167 | "name" : "newobjBlue-1", 1168 | "default" : { 1169 | "accentcolor" : [ 0.317647, 0.654902, 0.976471, 1.0 ] 1170 | } 1171 | , 1172 | "parentstyle" : "", 1173 | "multi" : 0 1174 | } 1175 | , { 1176 | "name" : "newobjBrown-1", 1177 | "default" : { 1178 | "accentcolor" : [ 0.654902, 0.572549, 0.376471, 1.0 ] 1179 | } 1180 | , 1181 | "parentstyle" : "", 1182 | "multi" : 0 1183 | } 1184 | , { 1185 | "name" : "newobjCyan-1", 1186 | "default" : { 1187 | "accentcolor" : [ 0.029546, 0.773327, 0.821113, 1.0 ] 1188 | } 1189 | , 1190 | "parentstyle" : "", 1191 | "multi" : 0 1192 | } 1193 | , { 1194 | "name" : "newobjCyan-1-1", 1195 | "default" : { 1196 | "accentcolor" : [ 0.022882, 0.848654, 0.85423, 1.0 ] 1197 | } 1198 | , 1199 | "parentstyle" : "", 1200 | "multi" : 0 1201 | } 1202 | , { 1203 | "name" : "newobjCyan-1-1-1", 1204 | "default" : { 1205 | "accentcolor" : [ 0.029546, 0.773327, 0.821113, 1.0 ] 1206 | } 1207 | , 1208 | "parentstyle" : "", 1209 | "multi" : 0 1210 | } 1211 | , { 1212 | "name" : "newobjCyan-1-1-2", 1213 | "default" : { 1214 | "accentcolor" : [ 0.029546, 0.773327, 0.821113, 1.0 ] 1215 | } 1216 | , 1217 | "parentstyle" : "", 1218 | "multi" : 0 1219 | } 1220 | , { 1221 | "name" : "newobjCyan-1-2", 1222 | "default" : { 1223 | "accentcolor" : [ 0.029546, 0.773327, 0.821113, 1.0 ] 1224 | } 1225 | , 1226 | "parentstyle" : "", 1227 | "multi" : 0 1228 | } 1229 | , { 1230 | "name" : "newobjCyan-1-3", 1231 | "default" : { 1232 | "accentcolor" : [ 0.029546, 0.773327, 0.821113, 1.0 ] 1233 | } 1234 | , 1235 | "parentstyle" : "", 1236 | "multi" : 0 1237 | } 1238 | , { 1239 | "name" : "newobjCyan-1-4", 1240 | "default" : { 1241 | "accentcolor" : [ 0.029546, 0.773327, 0.821113, 1.0 ] 1242 | } 1243 | , 1244 | "parentstyle" : "", 1245 | "multi" : 0 1246 | } 1247 | , { 1248 | "name" : "newobjCyan-1-5", 1249 | "default" : { 1250 | "accentcolor" : [ 0.029546, 0.773327, 0.821113, 1.0 ] 1251 | } 1252 | , 1253 | "parentstyle" : "", 1254 | "multi" : 0 1255 | } 1256 | , { 1257 | "name" : "newobjCyan-1-6", 1258 | "default" : { 1259 | "accentcolor" : [ 0.029546, 0.773327, 0.821113, 1.0 ] 1260 | } 1261 | , 1262 | "parentstyle" : "", 1263 | "multi" : 0 1264 | } 1265 | , { 1266 | "name" : "newobjCyan-1-7", 1267 | "default" : { 1268 | "accentcolor" : [ 0.022882, 0.848654, 0.85423, 1.0 ] 1269 | } 1270 | , 1271 | "parentstyle" : "", 1272 | "multi" : 0 1273 | } 1274 | , { 1275 | "name" : "newobjGreen-1", 1276 | "default" : { 1277 | "accentcolor" : [ 0.0, 0.533333, 0.168627, 1.0 ] 1278 | } 1279 | , 1280 | "parentstyle" : "", 1281 | "multi" : 0 1282 | } 1283 | , { 1284 | "name" : "newobjMagenta-1", 1285 | "default" : { 1286 | "accentcolor" : [ 0.840663, 0.060168, 0.769195, 1.0 ] 1287 | } 1288 | , 1289 | "parentstyle" : "", 1290 | "multi" : 0 1291 | } 1292 | , { 1293 | "name" : "newobjRed-1", 1294 | "default" : { 1295 | "accentcolor" : [ 0.784314, 0.145098, 0.023529, 1.0 ] 1296 | } 1297 | , 1298 | "parentstyle" : "", 1299 | "multi" : 0 1300 | } 1301 | , { 1302 | "name" : "newobjYellow-1", 1303 | "default" : { 1304 | "fontsize" : [ 12.059008 ], 1305 | "accentcolor" : [ 0.82517, 0.78181, 0.059545, 1.0 ] 1306 | } 1307 | , 1308 | "parentstyle" : "", 1309 | "multi" : 0 1310 | } 1311 | , { 1312 | "name" : "numberB-1", 1313 | "default" : { 1314 | "accentcolor" : [ 0.011765, 0.396078, 0.752941, 1.0 ] 1315 | } 1316 | , 1317 | "parentstyle" : "", 1318 | "multi" : 0 1319 | } 1320 | , { 1321 | "name" : "numberG-1", 1322 | "default" : { 1323 | "accentcolor" : [ 0.0, 0.533333, 0.168627, 1.0 ] 1324 | } 1325 | , 1326 | "parentstyle" : "", 1327 | "multi" : 0 1328 | } 1329 | , { 1330 | "name" : "numberGold-1", 1331 | "default" : { 1332 | "accentcolor" : [ 0.764706, 0.592157, 0.101961, 1.0 ] 1333 | } 1334 | , 1335 | "parentstyle" : "", 1336 | "multi" : 0 1337 | } 1338 | , { 1339 | "name" : "numberR-1", 1340 | "default" : { 1341 | "accentcolor" : [ 0.784314, 0.145098, 0.023529, 1.0 ] 1342 | } 1343 | , 1344 | "parentstyle" : "", 1345 | "multi" : 0 1346 | } 1347 | , { 1348 | "name" : "panelGold-1", 1349 | "default" : { 1350 | "bgfillcolor" : { 1351 | "type" : "color", 1352 | "color" : [ 0.764706, 0.592157, 0.101961, 0.25 ], 1353 | "color1" : [ 0.764706, 0.592157, 0.101961, 1.0 ], 1354 | "color2" : [ 0.290196, 0.309804, 0.301961, 1.0 ], 1355 | "angle" : 270.0, 1356 | "proportion" : 0.39, 1357 | "autogradient" : 0 1358 | } 1359 | 1360 | } 1361 | , 1362 | "parentstyle" : "", 1363 | "multi" : 0 1364 | } 1365 | , { 1366 | "name" : "texteditGold", 1367 | "default" : { 1368 | "bgcolor" : [ 0.764706, 0.592157, 0.101961, 0.68 ], 1369 | "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ] 1370 | } 1371 | , 1372 | "parentstyle" : "", 1373 | "multi" : 0 1374 | } 1375 | ] 1376 | } 1377 | 1378 | } 1379 | -------------------------------------------------------------------------------- /sortmatrix.js: -------------------------------------------------------------------------------- 1 | inlets = 1; 2 | outlets = 1; 3 | 4 | function list() { 5 | // post(arguments[0], arguments[1], arguments[2]); 6 | outlet(0, arguments[1], arguments[0], arguments[2]); 7 | } -------------------------------------------------------------------------------- /step-sequencer.js: -------------------------------------------------------------------------------- 1 | inlets = 1; 2 | outlets = 9; 3 | 4 | var buffer = new Buffer("seq"); 5 | 6 | var duration = buffer.length(); 7 | var noteDuration = 250; 8 | 9 | 10 | function getDuration() { 11 | post(duration); 12 | } 13 | 14 | function randomize() { 15 | for (var i = 0; i < 8; i++) { 16 | var number = Math.floor(Math.random() * duration); 17 | outlet(i, number); 18 | post(number); 19 | } 20 | } 21 | 22 | function msg_int(v) { 23 | noteDuration = v; 24 | outlet(8, noteDuration); 25 | } 26 | 27 | function list() { 28 | //post(l[1]); 29 | //post(arguments[0] + " " + arguments[1] + " " + arguments[2]); 30 | var x = arguments[0]; 31 | var y = arguments[1]; 32 | var value = arguments[2]; 33 | if (value == 1) { 34 | outlet(8, "clear"); 35 | var number = Math.floor(Math.random() * duration); 36 | outlet(y, number); 37 | } 38 | } --------------------------------------------------------------------------------