Advertisement
Guest User

GrainPulse example for Max User Group Seattle

a guest
Jan 16th, 2018
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 29.08 KB | None | 0 0
  1. {
  2. "boxes" : [ {
  3. "box" : {
  4. "maxclass" : "newobj",
  5. "text" : "loadmess 1",
  6. "style" : "",
  7. "numinlets" : 1,
  8. "numoutlets" : 1,
  9. "outlettype" : [ "" ],
  10. "patching_rect" : [ 266.0, 494.0, 72.0, 22.0 ],
  11. "id" : "obj-106"
  12. }
  13.  
  14. }
  15. , {
  16. "box" : {
  17. "maxclass" : "newobj",
  18. "text" : "p resetScreen",
  19. "style" : "",
  20. "numinlets" : 1,
  21. "numoutlets" : 1,
  22. "outlettype" : [ "" ],
  23. "patching_rect" : [ 420.0, 416.5, 85.0, 22.0 ],
  24. "id" : "obj-105",
  25. "patcher" : {
  26. "fileversion" : 1,
  27. "appversion" : {
  28. "major" : 7,
  29. "minor" : 3,
  30. "revision" : 4,
  31. "architecture" : "x86",
  32. "modernui" : 1
  33. }
  34. ,
  35. "rect" : [ 63.0, 103.0, 640.0, 480.0 ],
  36. "bglocked" : 0,
  37. "openinpresentation" : 0,
  38. "default_fontsize" : 12.0,
  39. "default_fontface" : 0,
  40. "default_fontname" : "Arial",
  41. "gridonopen" : 1,
  42. "gridsize" : [ 15.0, 15.0 ],
  43. "gridsnaponopen" : 1,
  44. "objectsnaponopen" : 1,
  45. "statusbarvisible" : 2,
  46. "toolbarvisible" : 1,
  47. "lefttoolbarpinned" : 0,
  48. "toptoolbarpinned" : 0,
  49. "righttoolbarpinned" : 0,
  50. "bottomtoolbarpinned" : 0,
  51. "toolbars_unpinned_last_save" : 0,
  52. "tallnewobj" : 0,
  53. "boxanimatetime" : 200,
  54. "enablehscroll" : 1,
  55. "enablevscroll" : 1,
  56. "devicewidth" : 0.0,
  57. "description" : "",
  58. "digest" : "",
  59. "tags" : "",
  60. "style" : "",
  61. "subpatcher_template" : "",
  62. "boxes" : [ {
  63. "box" : {
  64. "maxclass" : "comment",
  65. "text" : "send clear message to clear the screen",
  66. "linecount" : 2,
  67. "style" : "",
  68. "numinlets" : 1,
  69. "numoutlets" : 0,
  70. "presentation_rect" : [ 35.0, 143.0, 0.0, 0.0 ],
  71. "patching_rect" : [ 36.0, 133.0, 150.0, 33.0 ],
  72. "id" : "obj-24"
  73. }
  74.  
  75. }
  76. , {
  77. "box" : {
  78. "maxclass" : "comment",
  79. "text" : "generate random background color",
  80. "linecount" : 2,
  81. "style" : "",
  82. "numinlets" : 1,
  83. "numoutlets" : 0,
  84. "presentation_rect" : [ 252.0, 100.0, 0.0, 0.0 ],
  85. "patching_rect" : [ 261.0, 99.0, 150.0, 33.0 ],
  86. "id" : "obj-23"
  87. }
  88.  
  89. }
  90. , {
  91. "box" : {
  92. "maxclass" : "comment",
  93. "text" : "generate random foreground color",
  94. "linecount" : 2,
  95. "style" : "",
  96. "numinlets" : 1,
  97. "numoutlets" : 0,
  98. "patching_rect" : [ 330.0, 25.0, 150.0, 33.0 ],
  99. "id" : "obj-22"
  100. }
  101.  
  102. }
  103. , {
  104. "box" : {
  105. "maxclass" : "newobj",
  106. "text" : "prepend brgb",
  107. "style" : "",
  108. "numinlets" : 1,
  109. "numoutlets" : 1,
  110. "outlettype" : [ "" ],
  111. "patching_rect" : [ 251.0, 314.0, 82.0, 22.0 ],
  112. "id" : "obj-20"
  113. }
  114.  
  115. }
  116. , {
  117. "box" : {
  118. "maxclass" : "newobj",
  119. "text" : "prepend frgb",
  120. "style" : "",
  121. "numinlets" : 1,
  122. "numoutlets" : 1,
  123. "outlettype" : [ "" ],
  124. "patching_rect" : [ 486.0, 231.0, 79.0, 22.0 ],
  125. "id" : "obj-19"
  126. }
  127.  
  128. }
  129. , {
  130. "box" : {
  131. "maxclass" : "newobj",
  132. "text" : "pack i i i",
  133. "style" : "",
  134. "numinlets" : 3,
  135. "numoutlets" : 1,
  136. "presentation_rect" : [ 292.0, 274.0, 0.0, 0.0 ],
  137. "outlettype" : [ "" ],
  138. "patching_rect" : [ 251.0, 282.0, 54.0, 22.0 ],
  139. "id" : "obj-14"
  140. }
  141.  
  142. }
  143. , {
  144. "box" : {
  145. "maxclass" : "newobj",
  146. "text" : "t b b b",
  147. "style" : "",
  148. "numinlets" : 1,
  149. "numoutlets" : 3,
  150. "presentation_rect" : [ 251.0, 139.0, 0.0, 0.0 ],
  151. "outlettype" : [ "bang", "bang", "bang" ],
  152. "patching_rect" : [ 251.0, 139.0, 44.0, 22.0 ],
  153. "id" : "obj-15"
  154. }
  155.  
  156. }
  157. , {
  158. "box" : {
  159. "maxclass" : "newobj",
  160. "text" : "random 256",
  161. "style" : "",
  162. "numinlets" : 2,
  163. "numoutlets" : 1,
  164. "presentation_rect" : [ 355.0, 212.0, 0.0, 0.0 ],
  165. "outlettype" : [ "int" ],
  166. "patching_rect" : [ 355.0, 212.0, 75.0, 22.0 ],
  167. "id" : "obj-16"
  168. }
  169.  
  170. }
  171. , {
  172. "box" : {
  173. "maxclass" : "newobj",
  174. "text" : "random 256",
  175. "style" : "",
  176. "numinlets" : 2,
  177. "numoutlets" : 1,
  178. "presentation_rect" : [ 278.0, 212.0, 0.0, 0.0 ],
  179. "outlettype" : [ "int" ],
  180. "patching_rect" : [ 278.0, 212.0, 75.0, 22.0 ],
  181. "id" : "obj-17"
  182. }
  183.  
  184. }
  185. , {
  186. "box" : {
  187. "maxclass" : "newobj",
  188. "text" : "random 256",
  189. "style" : "",
  190. "numinlets" : 2,
  191. "numoutlets" : 1,
  192. "presentation_rect" : [ 201.0, 212.0, 0.0, 0.0 ],
  193. "outlettype" : [ "int" ],
  194. "patching_rect" : [ 201.0, 212.0, 75.0, 22.0 ],
  195. "id" : "obj-18"
  196. }
  197.  
  198. }
  199. , {
  200. "box" : {
  201. "maxclass" : "newobj",
  202. "text" : "pack i i i",
  203. "style" : "",
  204. "numinlets" : 3,
  205. "numoutlets" : 1,
  206. "outlettype" : [ "" ],
  207. "patching_rect" : [ 486.0, 195.0, 54.0, 22.0 ],
  208. "id" : "obj-9"
  209. }
  210.  
  211. }
  212. , {
  213. "box" : {
  214. "maxclass" : "newobj",
  215. "text" : "t b b b",
  216. "style" : "",
  217. "numinlets" : 1,
  218. "numoutlets" : 3,
  219. "outlettype" : [ "bang", "bang", "bang" ],
  220. "patching_rect" : [ 445.0, 60.0, 44.0, 22.0 ],
  221. "id" : "obj-8"
  222. }
  223.  
  224. }
  225. , {
  226. "box" : {
  227. "maxclass" : "newobj",
  228. "text" : "random 256",
  229. "style" : "",
  230. "numinlets" : 2,
  231. "numoutlets" : 1,
  232. "outlettype" : [ "int" ],
  233. "patching_rect" : [ 549.0, 133.0, 75.0, 22.0 ],
  234. "id" : "obj-6"
  235. }
  236.  
  237. }
  238. , {
  239. "box" : {
  240. "maxclass" : "newobj",
  241. "text" : "random 256",
  242. "style" : "",
  243. "numinlets" : 2,
  244. "numoutlets" : 1,
  245. "outlettype" : [ "int" ],
  246. "patching_rect" : [ 472.0, 133.0, 75.0, 22.0 ],
  247. "id" : "obj-5"
  248. }
  249.  
  250. }
  251. , {
  252. "box" : {
  253. "maxclass" : "newobj",
  254. "text" : "random 256",
  255. "style" : "",
  256. "numinlets" : 2,
  257. "numoutlets" : 1,
  258. "outlettype" : [ "int" ],
  259. "patching_rect" : [ 395.0, 133.0, 75.0, 22.0 ],
  260. "id" : "obj-4"
  261. }
  262.  
  263. }
  264. , {
  265. "box" : {
  266. "maxclass" : "newobj",
  267. "text" : "t b b b",
  268. "style" : "",
  269. "numinlets" : 1,
  270. "numoutlets" : 3,
  271. "outlettype" : [ "bang", "bang", "bang" ],
  272. "patching_rect" : [ 191.0, 60.0, 44.0, 22.0 ],
  273. "id" : "obj-1"
  274. }
  275.  
  276. }
  277. , {
  278. "box" : {
  279. "maxclass" : "message",
  280. "text" : "clear",
  281. "style" : "",
  282. "numinlets" : 2,
  283. "numoutlets" : 1,
  284. "outlettype" : [ "" ],
  285. "patching_rect" : [ 36.0, 256.0, 37.0, 22.0 ],
  286. "id" : "obj-93"
  287. }
  288.  
  289. }
  290. , {
  291. "box" : {
  292. "maxclass" : "inlet",
  293. "style" : "",
  294. "numinlets" : 0,
  295. "numoutlets" : 1,
  296. "outlettype" : [ "" ],
  297. "patching_rect" : [ 191.0, 11.0, 30.0, 30.0 ],
  298. "id" : "obj-103",
  299. "comment" : "",
  300. "index" : 1
  301. }
  302.  
  303. }
  304. , {
  305. "box" : {
  306. "maxclass" : "outlet",
  307. "style" : "",
  308. "numinlets" : 1,
  309. "numoutlets" : 0,
  310. "patching_rect" : [ 233.0, 434.0, 30.0, 30.0 ],
  311. "id" : "obj-104",
  312. "comment" : "",
  313. "index" : 1
  314. }
  315.  
  316. }
  317. ],
  318. "lines" : [ {
  319. "patchline" : {
  320. "source" : [ "obj-20", 0 ],
  321. "destination" : [ "obj-104", 0 ]
  322. }
  323.  
  324. }
  325. , {
  326. "patchline" : {
  327. "source" : [ "obj-14", 0 ],
  328. "destination" : [ "obj-20", 0 ]
  329. }
  330.  
  331. }
  332. , {
  333. "patchline" : {
  334. "source" : [ "obj-19", 0 ],
  335. "destination" : [ "obj-104", 0 ]
  336. }
  337.  
  338. }
  339. , {
  340. "patchline" : {
  341. "source" : [ "obj-9", 0 ],
  342. "destination" : [ "obj-19", 0 ]
  343. }
  344.  
  345. }
  346. , {
  347. "patchline" : {
  348. "source" : [ "obj-1", 1 ],
  349. "destination" : [ "obj-15", 0 ]
  350. }
  351.  
  352. }
  353. , {
  354. "patchline" : {
  355. "source" : [ "obj-15", 0 ],
  356. "destination" : [ "obj-18", 0 ]
  357. }
  358.  
  359. }
  360. , {
  361. "patchline" : {
  362. "source" : [ "obj-15", 1 ],
  363. "destination" : [ "obj-17", 0 ]
  364. }
  365.  
  366. }
  367. , {
  368. "patchline" : {
  369. "source" : [ "obj-15", 2 ],
  370. "destination" : [ "obj-16", 0 ]
  371. }
  372.  
  373. }
  374. , {
  375. "patchline" : {
  376. "source" : [ "obj-16", 0 ],
  377. "destination" : [ "obj-14", 2 ]
  378. }
  379.  
  380. }
  381. , {
  382. "patchline" : {
  383. "source" : [ "obj-17", 0 ],
  384. "destination" : [ "obj-14", 1 ]
  385. }
  386.  
  387. }
  388. , {
  389. "patchline" : {
  390. "source" : [ "obj-18", 0 ],
  391. "destination" : [ "obj-14", 0 ]
  392. }
  393.  
  394. }
  395. , {
  396. "patchline" : {
  397. "source" : [ "obj-4", 0 ],
  398. "destination" : [ "obj-9", 0 ]
  399. }
  400.  
  401. }
  402. , {
  403. "patchline" : {
  404. "source" : [ "obj-5", 0 ],
  405. "destination" : [ "obj-9", 1 ]
  406. }
  407.  
  408. }
  409. , {
  410. "patchline" : {
  411. "source" : [ "obj-6", 0 ],
  412. "destination" : [ "obj-9", 2 ]
  413. }
  414.  
  415. }
  416. , {
  417. "patchline" : {
  418. "source" : [ "obj-8", 2 ],
  419. "destination" : [ "obj-6", 0 ]
  420. }
  421.  
  422. }
  423. , {
  424. "patchline" : {
  425. "source" : [ "obj-8", 1 ],
  426. "destination" : [ "obj-5", 0 ]
  427. }
  428.  
  429. }
  430. , {
  431. "patchline" : {
  432. "source" : [ "obj-8", 0 ],
  433. "destination" : [ "obj-4", 0 ]
  434. }
  435.  
  436. }
  437. , {
  438. "patchline" : {
  439. "source" : [ "obj-1", 2 ],
  440. "destination" : [ "obj-8", 0 ]
  441. }
  442.  
  443. }
  444. , {
  445. "patchline" : {
  446. "source" : [ "obj-103", 0 ],
  447. "destination" : [ "obj-1", 0 ]
  448. }
  449.  
  450. }
  451. , {
  452. "patchline" : {
  453. "source" : [ "obj-1", 0 ],
  454. "destination" : [ "obj-93", 0 ]
  455. }
  456.  
  457. }
  458. , {
  459. "patchline" : {
  460. "source" : [ "obj-93", 0 ],
  461. "destination" : [ "obj-104", 0 ]
  462. }
  463.  
  464. }
  465. ]
  466. }
  467. ,
  468. "saved_object_attributes" : {
  469. "description" : "",
  470. "digest" : "",
  471. "globalpatchername" : "",
  472. "style" : "",
  473. "tags" : ""
  474. }
  475.  
  476. }
  477.  
  478. }
  479. , {
  480. "box" : {
  481. "maxclass" : "newobj",
  482. "text" : "p generateRandomLine",
  483. "style" : "",
  484. "numinlets" : 1,
  485. "numoutlets" : 1,
  486. "outlettype" : [ "" ],
  487. "patching_rect" : [ 552.666687, 416.5, 136.0, 22.0 ],
  488. "id" : "obj-101",
  489. "patcher" : {
  490. "fileversion" : 1,
  491. "appversion" : {
  492. "major" : 7,
  493. "minor" : 3,
  494. "revision" : 4,
  495. "architecture" : "x86",
  496. "modernui" : 1
  497. }
  498. ,
  499. "rect" : [ 63.0, 103.0, 640.0, 480.0 ],
  500. "bglocked" : 0,
  501. "openinpresentation" : 0,
  502. "default_fontsize" : 12.0,
  503. "default_fontface" : 0,
  504. "default_fontname" : "Arial",
  505. "gridonopen" : 1,
  506. "gridsize" : [ 15.0, 15.0 ],
  507. "gridsnaponopen" : 1,
  508. "objectsnaponopen" : 1,
  509. "statusbarvisible" : 2,
  510. "toolbarvisible" : 1,
  511. "lefttoolbarpinned" : 0,
  512. "toptoolbarpinned" : 0,
  513. "righttoolbarpinned" : 0,
  514. "bottomtoolbarpinned" : 0,
  515. "toolbars_unpinned_last_save" : 0,
  516. "tallnewobj" : 0,
  517. "boxanimatetime" : 200,
  518. "enablehscroll" : 1,
  519. "enablevscroll" : 1,
  520. "devicewidth" : 0.0,
  521. "description" : "",
  522. "digest" : "",
  523. "tags" : "",
  524. "style" : "",
  525. "subpatcher_template" : "",
  526. "boxes" : [ {
  527. "box" : {
  528. "maxclass" : "newobj",
  529. "text" : "random 300",
  530. "style" : "",
  531. "numinlets" : 2,
  532. "numoutlets" : 1,
  533. "outlettype" : [ "int" ],
  534. "patching_rect" : [ 95.0, 154.0, 75.0, 22.0 ],
  535. "id" : "obj-89"
  536. }
  537.  
  538. }
  539. , {
  540. "box" : {
  541. "maxclass" : "newobj",
  542. "text" : "random 200",
  543. "style" : "",
  544. "numinlets" : 2,
  545. "numoutlets" : 1,
  546. "outlettype" : [ "int" ],
  547. "patching_rect" : [ 193.712769, 147.0, 75.0, 22.0 ],
  548. "id" : "obj-88"
  549. }
  550.  
  551. }
  552. , {
  553. "box" : {
  554. "maxclass" : "newobj",
  555. "text" : "random 300",
  556. "style" : "",
  557. "numinlets" : 2,
  558. "numoutlets" : 1,
  559. "outlettype" : [ "int" ],
  560. "patching_rect" : [ 285.0, 147.0, 75.0, 22.0 ],
  561. "id" : "obj-87"
  562. }
  563.  
  564. }
  565. , {
  566. "box" : {
  567. "maxclass" : "newobj",
  568. "text" : "random 200",
  569. "style" : "",
  570. "numinlets" : 2,
  571. "numoutlets" : 1,
  572. "outlettype" : [ "int" ],
  573. "patching_rect" : [ 422.0, 154.0, 75.0, 22.0 ],
  574. "id" : "obj-86"
  575. }
  576.  
  577. }
  578. , {
  579. "box" : {
  580. "maxclass" : "newobj",
  581. "text" : "t b b b b",
  582. "style" : "",
  583. "numinlets" : 1,
  584. "numoutlets" : 4,
  585. "outlettype" : [ "bang", "bang", "bang", "bang" ],
  586. "patching_rect" : [ 164.666687, 78.0, 54.0, 22.0 ],
  587. "id" : "obj-85"
  588. }
  589.  
  590. }
  591. , {
  592. "box" : {
  593. "maxclass" : "newobj",
  594. "text" : "prepend linesegment",
  595. "style" : "",
  596. "numinlets" : 1,
  597. "numoutlets" : 1,
  598. "outlettype" : [ "" ],
  599. "patching_rect" : [ 197.0, 247.0, 123.0, 22.0 ],
  600. "id" : "obj-82"
  601. }
  602.  
  603. }
  604. , {
  605. "box" : {
  606. "maxclass" : "newobj",
  607. "text" : "pack i i i i",
  608. "style" : "",
  609. "numinlets" : 4,
  610. "numoutlets" : 1,
  611. "outlettype" : [ "" ],
  612. "patching_rect" : [ 197.0, 209.0, 60.0, 22.0 ],
  613. "id" : "obj-80"
  614. }
  615.  
  616. }
  617. , {
  618. "box" : {
  619. "maxclass" : "inlet",
  620. "style" : "",
  621. "numinlets" : 0,
  622. "numoutlets" : 1,
  623. "outlettype" : [ "" ],
  624. "patching_rect" : [ 164.666687, 40.0, 30.0, 30.0 ],
  625. "id" : "obj-99",
  626. "comment" : "",
  627. "index" : 1
  628. }
  629.  
  630. }
  631. , {
  632. "box" : {
  633. "maxclass" : "outlet",
  634. "style" : "",
  635. "numinlets" : 1,
  636. "numoutlets" : 0,
  637. "patching_rect" : [ 197.0, 329.0, 30.0, 30.0 ],
  638. "id" : "obj-100",
  639. "comment" : "",
  640. "index" : 1
  641. }
  642.  
  643. }
  644. ],
  645. "lines" : [ {
  646. "patchline" : {
  647. "source" : [ "obj-80", 0 ],
  648. "destination" : [ "obj-82", 0 ]
  649. }
  650.  
  651. }
  652. , {
  653. "patchline" : {
  654. "source" : [ "obj-87", 0 ],
  655. "destination" : [ "obj-80", 2 ]
  656. }
  657.  
  658. }
  659. , {
  660. "patchline" : {
  661. "source" : [ "obj-85", 2 ],
  662. "destination" : [ "obj-87", 0 ]
  663. }
  664.  
  665. }
  666. , {
  667. "patchline" : {
  668. "source" : [ "obj-89", 0 ],
  669. "destination" : [ "obj-80", 0 ]
  670. }
  671.  
  672. }
  673. , {
  674. "patchline" : {
  675. "source" : [ "obj-85", 0 ],
  676. "destination" : [ "obj-89", 0 ]
  677. }
  678.  
  679. }
  680. , {
  681. "patchline" : {
  682. "source" : [ "obj-86", 0 ],
  683. "destination" : [ "obj-80", 3 ]
  684. }
  685.  
  686. }
  687. , {
  688. "patchline" : {
  689. "source" : [ "obj-85", 3 ],
  690. "destination" : [ "obj-86", 0 ]
  691. }
  692.  
  693. }
  694. , {
  695. "patchline" : {
  696. "source" : [ "obj-85", 1 ],
  697. "destination" : [ "obj-88", 0 ]
  698. }
  699.  
  700. }
  701. , {
  702. "patchline" : {
  703. "source" : [ "obj-88", 0 ],
  704. "destination" : [ "obj-80", 1 ]
  705. }
  706.  
  707. }
  708. , {
  709. "patchline" : {
  710. "source" : [ "obj-99", 0 ],
  711. "destination" : [ "obj-85", 0 ]
  712. }
  713.  
  714. }
  715. , {
  716. "patchline" : {
  717. "source" : [ "obj-82", 0 ],
  718. "destination" : [ "obj-100", 0 ]
  719. }
  720.  
  721. }
  722. ]
  723. }
  724. ,
  725. "saved_object_attributes" : {
  726. "description" : "",
  727. "digest" : "",
  728. "globalpatchername" : "",
  729. "style" : "",
  730. "tags" : ""
  731. }
  732.  
  733. }
  734.  
  735. }
  736. , {
  737. "box" : {
  738. "maxclass" : "newobj",
  739. "text" : "receive changePatch",
  740. "style" : "",
  741. "numinlets" : 0,
  742. "numoutlets" : 1,
  743. "outlettype" : [ "" ],
  744. "patching_rect" : [ 420.0, 385.5, 123.0, 22.0 ],
  745. "id" : "obj-98"
  746. }
  747.  
  748. }
  749. , {
  750. "box" : {
  751. "maxclass" : "newobj",
  752. "text" : "send changePatch",
  753. "style" : "",
  754. "numinlets" : 1,
  755. "numoutlets" : 0,
  756. "patching_rect" : [ 584.666687, 282.0, 110.0, 22.0 ],
  757. "id" : "obj-97"
  758. }
  759.  
  760. }
  761. , {
  762. "box" : {
  763. "maxclass" : "newobj",
  764. "text" : "s grainBang",
  765. "style" : "",
  766. "numinlets" : 1,
  767. "numoutlets" : 0,
  768. "patching_rect" : [ 102.0, 363.0, 75.0, 22.0 ],
  769. "id" : "obj-96"
  770. }
  771.  
  772. }
  773. , {
  774. "box" : {
  775. "maxclass" : "button",
  776. "style" : "",
  777. "numinlets" : 1,
  778. "numoutlets" : 1,
  779. "outlettype" : [ "bang" ],
  780. "patching_rect" : [ 584.666687, 249.0, 24.0, 24.0 ],
  781. "id" : "obj-95"
  782. }
  783.  
  784. }
  785. , {
  786. "box" : {
  787. "maxclass" : "newobj",
  788. "text" : "r grainBang",
  789. "style" : "",
  790. "numinlets" : 0,
  791. "numoutlets" : 1,
  792. "outlettype" : [ "" ],
  793. "patching_rect" : [ 552.666687, 385.5, 73.0, 22.0 ],
  794. "id" : "obj-84"
  795. }
  796.  
  797. }
  798. , {
  799. "box" : {
  800. "maxclass" : "lcd",
  801. "numinlets" : 1,
  802. "numoutlets" : 4,
  803. "outlettype" : [ "list", "list", "int", "" ],
  804. "patching_rect" : [ 420.0, 464.5, 328.0, 227.0 ],
  805. "id" : "obj-78"
  806. }
  807.  
  808. }
  809. , {
  810. "box" : {
  811. "maxclass" : "button",
  812. "style" : "",
  813. "numinlets" : 1,
  814. "numoutlets" : 1,
  815. "outlettype" : [ "bang" ],
  816. "patching_rect" : [ 102.0, 320.0, 24.0, 24.0 ],
  817. "id" : "obj-72"
  818. }
  819.  
  820. }
  821. , {
  822. "box" : {
  823. "maxclass" : "gain~",
  824. "parameter_enable" : 0,
  825. "style" : "",
  826. "numinlets" : 1,
  827. "numoutlets" : 2,
  828. "outlettype" : [ "signal", "int" ],
  829. "patching_rect" : [ 47.0, 320.0, 22.0, 140.0 ],
  830. "id" : "obj-70"
  831. }
  832.  
  833. }
  834. , {
  835. "box" : {
  836. "maxclass" : "comment",
  837. "text" : "play your number keys 1-9 to perform the patch (load param presets)",
  838. "linecount" : 2,
  839. "style" : "",
  840. "numinlets" : 1,
  841. "numoutlets" : 0,
  842. "fontsize" : 24.0,
  843. "patching_rect" : [ 578.666687, 140.0, 432.0, 60.0 ],
  844. "id" : "obj-36"
  845. }
  846.  
  847. }
  848. , {
  849. "box" : {
  850. "maxclass" : "newobj",
  851. "text" : "- 48",
  852. "style" : "",
  853. "numinlets" : 2,
  854. "numoutlets" : 1,
  855. "outlettype" : [ "int" ],
  856. "patching_rect" : [ 598.0, 46.0, 31.0, 22.0 ],
  857. "id" : "obj-34"
  858. }
  859.  
  860. }
  861. , {
  862. "box" : {
  863. "maxclass" : "newobj",
  864. "text" : "key",
  865. "style" : "",
  866. "numinlets" : 0,
  867. "numoutlets" : 4,
  868. "outlettype" : [ "int", "int", "int", "int" ],
  869. "patching_rect" : [ 598.0, 15.0, 50.5, 22.0 ],
  870. "id" : "obj-2"
  871. }
  872.  
  873. }
  874. , {
  875. "box" : {
  876. "maxclass" : "newobj",
  877. "text" : "buffer~ gp-win gauss.aiff",
  878. "style" : "",
  879. "numinlets" : 1,
  880. "numoutlets" : 2,
  881. "outlettype" : [ "float", "bang" ],
  882. "patching_rect" : [ 19.0, 690.0, 141.0, 22.0 ],
  883. "id" : "obj-33"
  884. }
  885.  
  886. }
  887. , {
  888. "box" : {
  889. "maxclass" : "flonum",
  890. "parameter_enable" : 0,
  891. "format" : 6,
  892. "style" : "",
  893. "numinlets" : 1,
  894. "numoutlets" : 2,
  895. "outlettype" : [ "", "bang" ],
  896. "patching_rect" : [ 94.0, 191.0, 50.0, 22.0 ],
  897. "id" : "obj-30"
  898. }
  899.  
  900. }
  901. , {
  902. "box" : {
  903. "maxclass" : "newobj",
  904. "text" : "train~ 50. 1.",
  905. "style" : "",
  906. "numinlets" : 3,
  907. "numoutlets" : 2,
  908. "outlettype" : [ "signal", "bang" ],
  909. "patching_rect" : [ 94.0, 230.0, 74.0, 22.0 ],
  910. "id" : "obj-23"
  911. }
  912.  
  913. }
  914. , {
  915. "box" : {
  916. "maxclass" : "flonum",
  917. "parameter_enable" : 0,
  918. "format" : 6,
  919. "style" : "",
  920. "numinlets" : 1,
  921. "numoutlets" : 2,
  922. "outlettype" : [ "", "bang" ],
  923. "patching_rect" : [ 390.75, 275.0, 50.0, 22.0 ],
  924. "id" : "obj-22"
  925. }
  926.  
  927. }
  928. , {
  929. "box" : {
  930. "maxclass" : "flonum",
  931. "parameter_enable" : 0,
  932. "format" : 6,
  933. "style" : "",
  934. "numinlets" : 1,
  935. "numoutlets" : 2,
  936. "outlettype" : [ "", "bang" ],
  937. "patching_rect" : [ 420.0, 307.0, 50.0, 22.0 ],
  938. "id" : "obj-21"
  939. }
  940.  
  941. }
  942. , {
  943. "box" : {
  944. "maxclass" : "number",
  945. "parameter_enable" : 0,
  946. "style" : "",
  947. "numinlets" : 1,
  948. "numoutlets" : 2,
  949. "outlettype" : [ "", "bang" ],
  950. "patching_rect" : [ 354.72168, 307.0, 40.0, 22.0 ],
  951. "id" : "obj-5"
  952. }
  953.  
  954. }
  955. , {
  956. "box" : {
  957. "maxclass" : "newobj",
  958. "text" : "buffer~ gp-help cherokee.aif",
  959. "style" : "",
  960. "numinlets" : 1,
  961. "numoutlets" : 2,
  962. "outlettype" : [ "float", "bang" ],
  963. "patching_rect" : [ 19.0, 655.0, 160.0, 22.0 ],
  964. "id" : "obj-19"
  965. }
  966.  
  967. }
  968. , {
  969. "box" : {
  970. "maxclass" : "message",
  971. "text" : "replace",
  972. "style" : "",
  973. "numinlets" : 2,
  974. "numoutlets" : 1,
  975. "outlettype" : [ "" ],
  976. "patching_rect" : [ 19.0, 618.5, 50.0, 22.0 ],
  977. "id" : "obj-18"
  978. }
  979.  
  980. }
  981. , {
  982. "box" : {
  983. "maxclass" : "number",
  984. "parameter_enable" : 0,
  985. "style" : "",
  986. "numinlets" : 1,
  987. "numoutlets" : 2,
  988. "outlettype" : [ "", "bang" ],
  989. "patching_rect" : [ 318.72168, 275.0, 57.0, 22.0 ],
  990. "id" : "obj-16"
  991. }
  992.  
  993. }
  994. , {
  995. "box" : {
  996. "maxclass" : "newobj",
  997. "text" : "loadmess 5",
  998. "style" : "",
  999. "numinlets" : 1,
  1000. "numoutlets" : 1,
  1001. "outlettype" : [ "" ],
  1002. "patching_rect" : [ 517.0, 46.0, 72.0, 22.0 ],
  1003. "hidden" : 1,
  1004. "id" : "obj-13"
  1005. }
  1006.  
  1007. }
  1008. , {
  1009. "box" : {
  1010. "maxclass" : "preset",
  1011. "bgcolor" : [ 0.999394, 0.94823, 0.040078, 0.0 ],
  1012. "style" : "",
  1013. "numinlets" : 1,
  1014. "numoutlets" : 4,
  1015. "bubblesize" : 20,
  1016. "outlettype" : [ "preset", "int", "preset", "int" ],
  1017. "active1" : [ 0.159074, 0.929315, 0.376375, 1.0 ],
  1018. "patching_rect" : [ 517.0, 208.0, 222.0, 31.0 ],
  1019. "id" : "obj-11",
  1020. "preset_data" : [ {
  1021. "number" : 1,
  1022. "data" : [ 5, "obj-16", "number", "int", 500, 5, "obj-5", "number", "int", 40, 5, "obj-21", "flonum", "float", 1.0, 5, "obj-22", "flonum", "float", 1.0, 5, "obj-30", "flonum", "float", 50.0, 6, "obj-70", "gain~", "list", 0, 10.0 ]
  1023. }
  1024. , {
  1025. "number" : 2,
  1026. "data" : [ 5, "obj-16", "number", "int", 3170, 5, "obj-5", "number", "int", 60, 5, "obj-21", "flonum", "float", 1.0, 5, "obj-22", "flonum", "float", 1.5, 5, "obj-30", "flonum", "float", 139.0, 6, "obj-70", "gain~", "list", 89, 10.0 ]
  1027. }
  1028. , {
  1029. "number" : 3,
  1030. "data" : [ 5, "obj-16", "number", "int", 1126, 5, "obj-5", "number", "int", 218, 5, "obj-21", "flonum", "float", 1.0, 5, "obj-22", "flonum", "float", 1.8, 5, "obj-30", "flonum", "float", 342.0, 6, "obj-70", "gain~", "list", 88, 10.0 ]
  1031. }
  1032. , {
  1033. "number" : 4,
  1034. "data" : [ 5, "obj-16", "number", "int", 1290, 5, "obj-5", "number", "int", 209, 5, "obj-21", "flonum", "float", 1.0, 5, "obj-22", "flonum", "float", 0.62, 5, "obj-30", "flonum", "float", 210.0, 6, "obj-70", "gain~", "list", 78, 10.0 ]
  1035. }
  1036. , {
  1037. "number" : 5,
  1038. "data" : [ 5, "obj-16", "number", "int", 2366, 5, "obj-5", "number", "int", 15, 5, "obj-21", "flonum", "float", 1.0, 5, "obj-22", "flonum", "float", 1.052, 5, "obj-30", "flonum", "float", 32.799999, 6, "obj-70", "gain~", "list", 96, 10.0 ]
  1039. }
  1040. , {
  1041. "number" : 6,
  1042. "data" : [ 5, "obj-16", "number", "int", 2366, 5, "obj-5", "number", "int", 15, 5, "obj-21", "flonum", "float", 1.0, 5, "obj-22", "flonum", "float", 2.0, 5, "obj-30", "flonum", "float", 16.0, 6, "obj-70", "gain~", "list", 65, 10.0 ]
  1043. }
  1044. , {
  1045. "number" : 7,
  1046. "data" : [ 5, "obj-16", "number", "int", 3288, 5, "obj-5", "number", "int", 231, 5, "obj-21", "flonum", "float", 1.0, 5, "obj-22", "flonum", "float", 1.6, 5, "obj-30", "flonum", "float", 337.0, 6, "obj-70", "gain~", "list", 75, 10.0 ]
  1047. }
  1048. , {
  1049. "number" : 8,
  1050. "data" : [ 5, "obj-16", "number", "int", 4029, 5, "obj-5", "number", "int", 290, 5, "obj-21", "flonum", "float", 1.0, 5, "obj-22", "flonum", "float", 0.64, 5, "obj-30", "flonum", "float", 389.0, 6, "obj-70", "gain~", "list", 0, 10.0 ]
  1051. }
  1052. , {
  1053. "number" : 9,
  1054. "data" : [ 5, "obj-16", "number", "int", 4158, 5, "obj-5", "number", "int", 234, 5, "obj-21", "flonum", "float", 1.0, 5, "obj-22", "flonum", "float", 0.74, 5, "obj-30", "flonum", "float", 287.0, 6, "obj-70", "gain~", "list", 0, 10.0 ]
  1055. }
  1056. , {
  1057. "number" : 10,
  1058. "data" : [ 5, "obj-16", "number", "int", 4377, 5, "obj-5", "number", "int", 179, 5, "<invalid>", "number~", "list", 0.0, 5, "obj-21", "flonum", "float", 1.0, 5, "obj-22", "flonum", "float", 0.61, 5, "<invalid>", "number~", "list", 0.0, 5, "obj-30", "flonum", "float", 131.0 ]
  1059. }
  1060. ]
  1061. }
  1062.  
  1063. }
  1064. , {
  1065. "box" : {
  1066. "maxclass" : "ezdac~",
  1067. "prototypename" : "helpfile",
  1068. "local" : 1,
  1069. "style" : "",
  1070. "numinlets" : 2,
  1071. "numoutlets" : 0,
  1072. "patching_rect" : [ 185.333344, 528.0, 44.0, 44.0 ],
  1073. "id" : "obj-7"
  1074. }
  1075.  
  1076. }
  1077. , {
  1078. "box" : {
  1079. "maxclass" : "newobj",
  1080. "text" : "nw.grainpulse~ gp-help gp-win",
  1081. "style" : "",
  1082. "numinlets" : 5,
  1083. "numoutlets" : 4,
  1084. "outlettype" : [ "signal", "signal", "signal", "signal" ],
  1085. "patching_rect" : [ 183.0, 400.0, 173.0, 22.0 ],
  1086. "id" : "obj-1"
  1087. }
  1088.  
  1089. }
  1090. ],
  1091. "lines" : [ {
  1092. "patchline" : {
  1093. "source" : [ "obj-13", 0 ],
  1094. "destination" : [ "obj-11", 0 ],
  1095. "hidden" : 1
  1096. }
  1097.  
  1098. }
  1099. , {
  1100. "patchline" : {
  1101. "source" : [ "obj-106", 0 ],
  1102. "destination" : [ "obj-7", 0 ]
  1103. }
  1104.  
  1105. }
  1106. , {
  1107. "patchline" : {
  1108. "source" : [ "obj-98", 0 ],
  1109. "destination" : [ "obj-105", 0 ]
  1110. }
  1111.  
  1112. }
  1113. , {
  1114. "patchline" : {
  1115. "source" : [ "obj-105", 0 ],
  1116. "destination" : [ "obj-78", 0 ]
  1117. }
  1118.  
  1119. }
  1120. , {
  1121. "patchline" : {
  1122. "source" : [ "obj-84", 0 ],
  1123. "destination" : [ "obj-101", 0 ]
  1124. }
  1125.  
  1126. }
  1127. , {
  1128. "patchline" : {
  1129. "source" : [ "obj-101", 0 ],
  1130. "destination" : [ "obj-78", 0 ],
  1131. "midpoints" : [ 562.166687, 450.5, 429.5, 450.5 ]
  1132. }
  1133.  
  1134. }
  1135. , {
  1136. "patchline" : {
  1137. "source" : [ "obj-95", 0 ],
  1138. "destination" : [ "obj-97", 0 ]
  1139. }
  1140.  
  1141. }
  1142. , {
  1143. "patchline" : {
  1144. "source" : [ "obj-72", 0 ],
  1145. "destination" : [ "obj-96", 0 ]
  1146. }
  1147.  
  1148. }
  1149. , {
  1150. "patchline" : {
  1151. "source" : [ "obj-11", 1 ],
  1152. "destination" : [ "obj-95", 0 ]
  1153. }
  1154.  
  1155. }
  1156. , {
  1157. "patchline" : {
  1158. "source" : [ "obj-70", 0 ],
  1159. "destination" : [ "obj-7", 1 ],
  1160. "order" : 0
  1161. }
  1162.  
  1163. }
  1164. , {
  1165. "patchline" : {
  1166. "source" : [ "obj-70", 0 ],
  1167. "destination" : [ "obj-7", 0 ],
  1168. "order" : 1
  1169. }
  1170.  
  1171. }
  1172. , {
  1173. "patchline" : {
  1174. "source" : [ "obj-23", 1 ],
  1175. "destination" : [ "obj-72", 0 ]
  1176. }
  1177.  
  1178. }
  1179. , {
  1180. "patchline" : {
  1181. "source" : [ "obj-23", 0 ],
  1182. "destination" : [ "obj-70", 0 ],
  1183. "order" : 1
  1184. }
  1185.  
  1186. }
  1187. , {
  1188. "patchline" : {
  1189. "source" : [ "obj-30", 0 ],
  1190. "destination" : [ "obj-23", 0 ]
  1191. }
  1192.  
  1193. }
  1194. , {
  1195. "patchline" : {
  1196. "source" : [ "obj-1", 0 ],
  1197. "destination" : [ "obj-7", 1 ],
  1198. "order" : 0
  1199. }
  1200.  
  1201. }
  1202. , {
  1203. "patchline" : {
  1204. "source" : [ "obj-1", 0 ],
  1205. "destination" : [ "obj-7", 0 ],
  1206. "order" : 1
  1207. }
  1208.  
  1209. }
  1210. , {
  1211. "patchline" : {
  1212. "source" : [ "obj-16", 0 ],
  1213. "destination" : [ "obj-1", 1 ],
  1214. "midpoints" : [ 328.22168, 303.5, 231.0, 303.5 ]
  1215. }
  1216.  
  1217. }
  1218. , {
  1219. "patchline" : {
  1220. "source" : [ "obj-21", 0 ],
  1221. "destination" : [ "obj-1", 4 ],
  1222. "midpoints" : [ 429.5, 349.0, 346.5, 349.0 ]
  1223. }
  1224.  
  1225. }
  1226. , {
  1227. "patchline" : {
  1228. "source" : [ "obj-22", 0 ],
  1229. "destination" : [ "obj-1", 3 ],
  1230. "midpoints" : [ 400.25, 343.0, 308.0, 343.0 ]
  1231. }
  1232.  
  1233. }
  1234. , {
  1235. "patchline" : {
  1236. "source" : [ "obj-5", 0 ],
  1237. "destination" : [ "obj-1", 2 ],
  1238. "midpoints" : [ 364.22168, 337.5, 269.5, 337.5 ]
  1239. }
  1240.  
  1241. }
  1242. , {
  1243. "patchline" : {
  1244. "source" : [ "obj-23", 0 ],
  1245. "destination" : [ "obj-1", 0 ],
  1246. "order" : 0
  1247. }
  1248.  
  1249. }
  1250. , {
  1251. "patchline" : {
  1252. "source" : [ "obj-34", 0 ],
  1253. "destination" : [ "obj-11", 0 ]
  1254. }
  1255.  
  1256. }
  1257. , {
  1258. "patchline" : {
  1259. "source" : [ "obj-2", 0 ],
  1260. "destination" : [ "obj-34", 0 ]
  1261. }
  1262.  
  1263. }
  1264. , {
  1265. "patchline" : {
  1266. "source" : [ "obj-18", 0 ],
  1267. "destination" : [ "obj-19", 0 ]
  1268. }
  1269.  
  1270. }
  1271. ],
  1272. "appversion" : {
  1273. "major" : 7,
  1274. "minor" : 3,
  1275. "revision" : 4,
  1276. "architecture" : "x86",
  1277. "modernui" : 1
  1278. }
  1279.  
  1280. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement