Advertisement
Guest User

Untitled

a guest
Apr 16th, 2025
16
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.98 KB | None | 0 0
  1. {
  2. "boxes" : [ {
  3. "box" : {
  4. "maxclass" : "comment",
  5. "text" : "Objects in red are optional but can help you make things easier.",
  6. "textcolor" : [ 0.776470588235294, 0.094117647058824, 0.094117647058824, 1.0 ],
  7. "numoutlets" : 0,
  8. "numinlets" : 1,
  9. "fontface" : 1,
  10. "id" : "obj-57",
  11. "patching_rect" : [ 30.0, 14.0, 387.0, 20.0 ]
  12. }
  13.  
  14. }
  15. , {
  16. "box" : {
  17. "maxclass" : "comment",
  18. "text" : "Sends \"-70\" message when patch is loaded.",
  19. "linecount" : 3,
  20. "numoutlets" : 0,
  21. "numinlets" : 1,
  22. "id" : "obj-55",
  23. "patching_rect" : [ 30.0, 276.0, 121.0, 48.0 ]
  24. }
  25.  
  26. }
  27. , {
  28. "box" : {
  29. "maxclass" : "comment",
  30. "text" : "Live.gain can be place horizontally by selecting the option in the inspector. Note I have selected the \"ignore click\" option in the inspector so the live.gain cannot be changed accidentally with your mouse.",
  31. "linecount" : 5,
  32. "presentation_linecount" : 5,
  33. "numoutlets" : 0,
  34. "numinlets" : 1,
  35. "id" : "obj-54",
  36. "patching_rect" : [ 282.0, 403.0, 243.0, 75.0 ]
  37. }
  38.  
  39. }
  40. , {
  41. "box" : {
  42. "maxclass" : "comment",
  43. "text" : "\"target value\" + \"time in milliseconds\"",
  44. "numoutlets" : 0,
  45. "numinlets" : 1,
  46. "id" : "obj-53",
  47. "patching_rect" : [ 270.0, 282.0, 243.0, 20.0 ]
  48. }
  49.  
  50. }
  51. , {
  52. "box" : {
  53. "maxclass" : "comment",
  54. "text" : "\"sfplay\" is used to play sound files directly from your hard drive. The \"@loop 1\" argument make the sound play in loop so you don't have to start it again manually.",
  55. "linecount" : 2,
  56. "presentation_linecount" : 2,
  57. "numoutlets" : 0,
  58. "numinlets" : 1,
  59. "id" : "obj-52",
  60. "patching_rect" : [ 630.0, 329.0, 446.0, 34.0 ]
  61. }
  62.  
  63. }
  64. , {
  65. "box" : {
  66. "maxclass" : "comment",
  67. "text" : "You now have a umenu where you can select the file to play.",
  68. "numoutlets" : 0,
  69. "numinlets" : 1,
  70. "id" : "obj-51",
  71. "patching_rect" : [ 705.0, 261.0, 446.0, 20.0 ]
  72. }
  73.  
  74. }
  75. , {
  76. "box" : {
  77. "maxclass" : "comment",
  78. "text" : "Messages used to tell the umenu object how to process the incoming inputs (see reference for \"umenu\").",
  79. "linecount" : 2,
  80. "presentation_linecount" : 2,
  81. "numoutlets" : 0,
  82. "numinlets" : 1,
  83. "id" : "obj-50",
  84. "patching_rect" : [ 734.0, 216.0, 446.0, 34.0 ]
  85. }
  86.  
  87. }
  88. , {
  89. "box" : {
  90. "maxclass" : "comment",
  91. "text" : "Concatenates (glues together) the path and some other text. The point here is to put your audio files in an \"audio\" folder inside the folder where your patcher is.",
  92. "linecount" : 2,
  93. "presentation_linecount" : 4,
  94. "numoutlets" : 0,
  95. "numinlets" : 1,
  96. "id" : "obj-49",
  97. "patching_rect" : [ 644.0, 177.0, 446.0, 34.0 ]
  98. }
  99.  
  100. }
  101. , {
  102. "box" : {
  103. "maxclass" : "comment",
  104. "text" : "\"thispatcher\" outputs the patcher's folder location right when it gets input message \"path\"",
  105. "linecount" : 2,
  106. "presentation_linecount" : 3,
  107. "numoutlets" : 0,
  108. "numinlets" : 1,
  109. "id" : "obj-48",
  110. "patching_rect" : [ 591.0, 134.0, 263.0, 34.0 ]
  111. }
  112.  
  113. }
  114. , {
  115. "box" : {
  116. "maxclass" : "comment",
  117. "text" : "Use \"t\" (trigger) objects as much as you can, to replace messages (easier on CPU)",
  118. "linecount" : 2,
  119. "presentation_linecount" : 2,
  120. "numoutlets" : 0,
  121. "numinlets" : 1,
  122. "id" : "obj-47",
  123. "patching_rect" : [ 630.0, 97.0, 243.0, 34.0 ]
  124. }
  125.  
  126. }
  127. , {
  128. "box" : {
  129. "maxclass" : "comment",
  130. "text" : "Let's you go to a value smoothly. Note the \"1.\" argument makes it so the \"line\" objects outputs floats instead of ints.",
  131. "linecount" : 3,
  132. "presentation_linecount" : 3,
  133. "numoutlets" : 0,
  134. "numinlets" : 1,
  135. "id" : "obj-46",
  136. "patching_rect" : [ 200.0, 329.0, 243.0, 48.0 ]
  137. }
  138.  
  139. }
  140. , {
  141. "box" : {
  142. "maxclass" : "comment",
  143. "text" : "Only lets input through if value has changed",
  144. "numoutlets" : 0,
  145. "numinlets" : 1,
  146. "id" : "obj-45",
  147. "patching_rect" : [ 207.0, 210.0, 243.0, 20.0 ]
  148. }
  149.  
  150. }
  151. , {
  152. "box" : {
  153. "maxclass" : "comment",
  154. "text" : "Outputs numbers in range left, out of range right",
  155. "numoutlets" : 0,
  156. "numinlets" : 1,
  157. "id" : "obj-44",
  158. "patching_rect" : [ 229.0, 141.0, 266.0, 20.0 ]
  159. }
  160.  
  161. }
  162. , {
  163. "box" : {
  164. "maxclass" : "newobj",
  165. "text" : "combine PATH /audio",
  166. "numoutlets" : 2,
  167. "outlettype" : [ "", "" ],
  168. "bgcolor" : [ 0.72156862745098, 0.094117647058824, 0.094117647058824, 1.0 ],
  169. "numinlets" : 2,
  170. "id" : "obj-42",
  171. "patching_rect" : [ 519.0, 177.0, 123.0, 22.0 ]
  172. }
  173.  
  174. }
  175. , {
  176. "box" : {
  177. "maxclass" : "comment",
  178. "text" : "Audio file to play",
  179. "linecount" : 2,
  180. "presentation_rect" : [ 20.0, 78.0, 150.0, 20.0 ],
  181. "numoutlets" : 0,
  182. "presentation" : 1,
  183. "numinlets" : 1,
  184. "id" : "obj-39",
  185. "patching_rect" : [ 625.0, 261.0, 73.0, 34.0 ]
  186. }
  187.  
  188. }
  189. , {
  190. "box" : {
  191. "maxclass" : "comment",
  192. "text" : "Eye tracker value (raw)",
  193. "linecount" : 2,
  194. "presentation_rect" : [ 20.0, 13.0, 150.0, 20.0 ],
  195. "numoutlets" : 0,
  196. "presentation" : 1,
  197. "numinlets" : 1,
  198. "id" : "obj-38",
  199. "patching_rect" : [ 229.0, 98.0, 73.0, 34.0 ]
  200. }
  201.  
  202. }
  203. , {
  204. "box" : {
  205. "maxclass" : "message",
  206. "text" : "0 15000",
  207. "numoutlets" : 1,
  208. "outlettype" : [ "" ],
  209. "numinlets" : 2,
  210. "id" : "obj-30",
  211. "patching_rect" : [ 216.0, 281.0, 52.0, 22.0 ]
  212. }
  213.  
  214. }
  215. , {
  216. "box" : {
  217. "maxclass" : "message",
  218. "text" : "-70 5000",
  219. "numoutlets" : 1,
  220. "outlettype" : [ "" ],
  221. "numinlets" : 2,
  222. "id" : "obj-28",
  223. "patching_rect" : [ 157.0, 281.0, 56.0, 22.0 ]
  224. }
  225.  
  226. }
  227. , {
  228. "box" : {
  229. "maxclass" : "newobj",
  230. "text" : "line 1.",
  231. "numoutlets" : 2,
  232. "outlettype" : [ "", "bang" ],
  233. "numinlets" : 3,
  234. "id" : "obj-22",
  235. "patching_rect" : [ 157.0, 328.0, 41.0, 22.0 ]
  236. }
  237.  
  238. }
  239. , {
  240. "box" : {
  241. "maxclass" : "newobj",
  242. "text" : "sel 0 1",
  243. "numoutlets" : 3,
  244. "outlettype" : [ "bang", "bang", "" ],
  245. "numinlets" : 3,
  246. "id" : "obj-21",
  247. "patching_rect" : [ 157.0, 239.0, 137.0, 22.0 ]
  248. }
  249.  
  250. }
  251. , {
  252. "box" : {
  253. "maxclass" : "newobj",
  254. "text" : "change",
  255. "numoutlets" : 3,
  256. "outlettype" : [ "", "int", "int" ],
  257. "numinlets" : 1,
  258. "id" : "obj-20",
  259. "patching_rect" : [ 157.0, 208.0, 48.0, 22.0 ]
  260. }
  261.  
  262. }
  263. , {
  264. "box" : {
  265. "maxclass" : "newobj",
  266. "text" : "if $f1 > 0.4 then 0 else 1",
  267. "numoutlets" : 1,
  268. "outlettype" : [ "" ],
  269. "numinlets" : 1,
  270. "id" : "obj-19",
  271. "patching_rect" : [ 157.0, 177.0, 137.0, 22.0 ]
  272. }
  273.  
  274. }
  275. , {
  276. "box" : {
  277. "maxclass" : "newobj",
  278. "text" : "split 0.4 0.1",
  279. "numoutlets" : 2,
  280. "outlettype" : [ "float", "float" ],
  281. "numinlets" : 3,
  282. "id" : "obj-18",
  283. "patching_rect" : [ 157.0, 140.0, 70.0, 22.0 ]
  284. }
  285.  
  286. }
  287. , {
  288. "box" : {
  289. "maxclass" : "newobj",
  290. "text" : "loadmess -70",
  291. "numoutlets" : 1,
  292. "outlettype" : [ "" ],
  293. "numinlets" : 1,
  294. "id" : "obj-15",
  295. "patching_rect" : [ 40.0, 328.0, 111.0, 22.0 ]
  296. }
  297.  
  298. }
  299. , {
  300. "box" : {
  301. "maxclass" : "newobj",
  302. "text" : "prepend open",
  303. "numoutlets" : 1,
  304. "outlettype" : [ "" ],
  305. "bgcolor" : [ 0.741176470588235, 0.105882352941176, 0.105882352941176, 1.0 ],
  306. "numinlets" : 1,
  307. "id" : "obj-14",
  308. "patching_rect" : [ 519.0, 293.0, 83.0, 22.0 ]
  309. }
  310.  
  311. }
  312. , {
  313. "box" : {
  314. "maxclass" : "newobj",
  315. "text" : "prepend autopopulate",
  316. "numoutlets" : 1,
  317. "outlettype" : [ "" ],
  318. "bgcolor" : [ 0.776470588235294, 0.133333333333333, 0.133333333333333, 1.0 ],
  319. "numinlets" : 1,
  320. "id" : "obj-13",
  321. "patching_rect" : [ 607.0, 222.0, 125.0, 22.0 ]
  322. }
  323.  
  324. }
  325. , {
  326. "box" : {
  327. "maxclass" : "newobj",
  328. "text" : "t path 1",
  329. "numoutlets" : 2,
  330. "outlettype" : [ "path", "int" ],
  331. "bgcolor" : [ 0.776470588235294, 0.133333333333333, 0.133333333333333, 1.0 ],
  332. "numinlets" : 1,
  333. "id" : "obj-12",
  334. "patching_rect" : [ 519.0, 103.0, 107.0, 22.0 ]
  335. }
  336.  
  337. }
  338. , {
  339. "box" : {
  340. "maxclass" : "newobj",
  341. "text" : "prepend prefix",
  342. "numoutlets" : 1,
  343. "outlettype" : [ "" ],
  344. "bgcolor" : [ 0.776470588235294, 0.133333333333333, 0.133333333333333, 1.0 ],
  345. "numinlets" : 1,
  346. "id" : "obj-10",
  347. "patching_rect" : [ 519.0, 222.0, 85.0, 22.0 ]
  348. }
  349.  
  350. }
  351. , {
  352. "box" : {
  353. "maxclass" : "umenu",
  354. "presentation_rect" : [ 20.0, 100.0, 100.0, 22.0 ],
  355. "numoutlets" : 3,
  356. "outlettype" : [ "int", "", "" ],
  357. "parameter_enable" : 0,
  358. "autopopulate" : 1,
  359. "items" : [ "2023-09-23_RMDM_telephonePourVisitse.wav", ",", "Yotto - Just Over_SONNERIE.wav" ],
  360. "prefix" : "~/Desktop//audio/",
  361. "presentation" : 1,
  362. "numinlets" : 1,
  363. "id" : "obj-9",
  364. "patching_rect" : [ 519.0, 261.0, 100.0, 22.0 ],
  365. "bgfillcolor_type" : "gradient",
  366. "bgfillcolor_color1" : [ 0.72156862745098, 0.094117647058824, 0.094117647058824, 1.0 ],
  367. "bgfillcolor_color2" : [ 0.2, 0.2, 0.2, 1.0 ],
  368. "bgfillcolor_color" : [ 0.72156862745098, 0.094117647058824, 0.094117647058824, 1.0 ],
  369. "bgfillcolor_angle" : 270.0,
  370. "bgfillcolor_proportion" : 0.5,
  371. "bgfillcolor_autogradient" : 0.0
  372. }
  373.  
  374. }
  375. , {
  376. "box" : {
  377. "maxclass" : "newobj",
  378. "text" : "loadbang",
  379. "numoutlets" : 1,
  380. "outlettype" : [ "bang" ],
  381. "bgcolor" : [ 0.776470588235294, 0.133333333333333, 0.133333333333333, 1.0 ],
  382. "numinlets" : 1,
  383. "id" : "obj-8",
  384. "patching_rect" : [ 519.0, 66.0, 58.0, 22.0 ]
  385. }
  386.  
  387. }
  388. , {
  389. "box" : {
  390. "maxclass" : "newobj",
  391. "text" : "thispatcher",
  392. "numoutlets" : 2,
  393. "outlettype" : [ "", "" ],
  394. "bgcolor" : [ 0.776470588235294, 0.133333333333333, 0.133333333333333, 1.0 ],
  395. "numinlets" : 1,
  396. "id" : "obj-7",
  397. "patching_rect" : [ 519.0, 135.0, 67.0, 22.0 ],
  398. "save" : [ "#N", "thispatcher", ";", "#Q", "end", ";" ]
  399. }
  400.  
  401. }
  402. , {
  403. "box" : {
  404. "maxclass" : "newobj",
  405. "text" : "sfplay~ 2 @loop 1",
  406. "numoutlets" : 3,
  407. "outlettype" : [ "signal", "signal", "bang" ],
  408. "bgcolor" : [ 0.741176470588235, 0.105882352941176, 0.105882352941176, 1.0 ],
  409. "numinlets" : 2,
  410. "id" : "obj-6",
  411. "patching_rect" : [ 519.0, 328.0, 105.0, 22.0 ]
  412. }
  413.  
  414. }
  415. , {
  416. "box" : {
  417. "maxclass" : "live.gain~",
  418. "varname" : "live.gain~",
  419. "presentation_rect" : [ 20.0, 131.0, 123.0, 47.0 ],
  420. "numoutlets" : 5,
  421. "outlettype" : [ "signal", "signal", "", "float", "list" ],
  422. "lastchannelcount" : 0,
  423. "parameter_enable" : 1,
  424. "presentation" : 1,
  425. "ignoreclick" : 1,
  426. "numinlets" : 2,
  427. "id" : "obj-5",
  428. "orientation" : 1,
  429. "patching_rect" : [ 157.0, 403.0, 123.0, 47.0 ],
  430. "saved_attribute_attributes" : {
  431. "valueof" : {
  432. "parameter_longname" : "live.gain~",
  433. "parameter_mmax" : 6.0,
  434. "parameter_mmin" : -70.0,
  435. "parameter_modmode" : 3,
  436. "parameter_shortname" : "live.gain~",
  437. "parameter_type" : 0,
  438. "parameter_unitstyle" : 4
  439. }
  440.  
  441. }
  442.  
  443. }
  444.  
  445. }
  446. , {
  447. "box" : {
  448. "maxclass" : "ezdac~",
  449. "presentation_rect" : [ 20.0, 190.0, 45.0, 45.0 ],
  450. "numoutlets" : 0,
  451. "presentation" : 1,
  452. "numinlets" : 2,
  453. "id" : "obj-4",
  454. "patching_rect" : [ 157.0, 462.0, 45.0, 45.0 ]
  455. }
  456.  
  457. }
  458. , {
  459. "box" : {
  460. "maxclass" : "flonum",
  461. "presentation_rect" : [ 20.0, 35.0, 50.0, 22.0 ],
  462. "numoutlets" : 2,
  463. "outlettype" : [ "", "bang" ],
  464. "parameter_enable" : 0,
  465. "bgcolor" : [ 0.741176470588235, 0.082352941176471, 0.082352941176471, 1.0 ],
  466. "format" : 6,
  467. "presentation" : 1,
  468. "ignoreclick" : 1,
  469. "numinlets" : 1,
  470. "id" : "obj-3",
  471. "patching_rect" : [ 177.0, 104.0, 50.0, 22.0 ]
  472. }
  473.  
  474. }
  475. , {
  476. "box" : {
  477. "maxclass" : "newobj",
  478. "text" : "r closedeye_dx",
  479. "numoutlets" : 1,
  480. "outlettype" : [ "" ],
  481. "numinlets" : 0,
  482. "id" : "obj-1",
  483. "patching_rect" : [ 157.0, 66.0, 89.0, 22.0 ]
  484. }
  485.  
  486. }
  487. ],
  488. "lines" : [ {
  489. "patchline" : {
  490. "source" : [ "obj-6", 0 ],
  491. "destination" : [ "obj-5", 0 ]
  492. }
  493.  
  494. }
  495. , {
  496. "patchline" : {
  497. "source" : [ "obj-14", 0 ],
  498. "destination" : [ "obj-6", 0 ]
  499. }
  500.  
  501. }
  502. , {
  503. "patchline" : {
  504. "source" : [ "obj-6", 1 ],
  505. "destination" : [ "obj-5", 1 ]
  506. }
  507.  
  508. }
  509. , {
  510. "patchline" : {
  511. "source" : [ "obj-42", 0 ],
  512. "destination" : [ "obj-10", 0 ]
  513. }
  514.  
  515. }
  516. , {
  517. "patchline" : {
  518. "source" : [ "obj-7", 1 ],
  519. "destination" : [ "obj-42", 0 ]
  520. }
  521.  
  522. }
  523. , {
  524. "patchline" : {
  525. "source" : [ "obj-22", 0 ],
  526. "destination" : [ "obj-5", 0 ]
  527. }
  528.  
  529. }
  530. , {
  531. "patchline" : {
  532. "source" : [ "obj-30", 0 ],
  533. "destination" : [ "obj-22", 0 ]
  534. }
  535.  
  536. }
  537. , {
  538. "patchline" : {
  539. "source" : [ "obj-21", 1 ],
  540. "destination" : [ "obj-30", 0 ]
  541. }
  542.  
  543. }
  544. , {
  545. "patchline" : {
  546. "source" : [ "obj-21", 0 ],
  547. "destination" : [ "obj-28", 0 ]
  548. }
  549.  
  550. }
  551. , {
  552. "patchline" : {
  553. "source" : [ "obj-28", 0 ],
  554. "destination" : [ "obj-22", 0 ]
  555. }
  556.  
  557. }
  558. , {
  559. "patchline" : {
  560. "source" : [ "obj-20", 0 ],
  561. "destination" : [ "obj-21", 0 ]
  562. }
  563.  
  564. }
  565. , {
  566. "patchline" : {
  567. "source" : [ "obj-18", 1 ],
  568. "destination" : [ "obj-19", 0 ]
  569. }
  570.  
  571. }
  572. , {
  573. "patchline" : {
  574. "source" : [ "obj-19", 0 ],
  575. "destination" : [ "obj-20", 0 ]
  576. }
  577.  
  578. }
  579. , {
  580. "patchline" : {
  581. "source" : [ "obj-1", 0 ],
  582. "destination" : [ "obj-18", 0 ],
  583. "order" : 1
  584. }
  585.  
  586. }
  587. , {
  588. "patchline" : {
  589. "source" : [ "obj-15", 0 ],
  590. "destination" : [ "obj-5", 0 ]
  591. }
  592.  
  593. }
  594. , {
  595. "patchline" : {
  596. "source" : [ "obj-9", 1 ],
  597. "destination" : [ "obj-14", 0 ]
  598. }
  599.  
  600. }
  601. , {
  602. "patchline" : {
  603. "source" : [ "obj-13", 0 ],
  604. "destination" : [ "obj-9", 0 ]
  605. }
  606.  
  607. }
  608. , {
  609. "patchline" : {
  610. "source" : [ "obj-12", 1 ],
  611. "destination" : [ "obj-13", 0 ]
  612. }
  613.  
  614. }
  615. , {
  616. "patchline" : {
  617. "source" : [ "obj-12", 0 ],
  618. "destination" : [ "obj-7", 0 ]
  619. }
  620.  
  621. }
  622. , {
  623. "patchline" : {
  624. "source" : [ "obj-8", 0 ],
  625. "destination" : [ "obj-12", 0 ]
  626. }
  627.  
  628. }
  629. , {
  630. "patchline" : {
  631. "source" : [ "obj-10", 0 ],
  632. "destination" : [ "obj-9", 0 ]
  633. }
  634.  
  635. }
  636. , {
  637. "patchline" : {
  638. "source" : [ "obj-5", 1 ],
  639. "destination" : [ "obj-4", 1 ]
  640. }
  641.  
  642. }
  643. , {
  644. "patchline" : {
  645. "source" : [ "obj-5", 0 ],
  646. "destination" : [ "obj-4", 0 ]
  647. }
  648.  
  649. }
  650. , {
  651. "patchline" : {
  652. "source" : [ "obj-1", 0 ],
  653. "destination" : [ "obj-3", 0 ],
  654. "order" : 0
  655. }
  656.  
  657. }
  658. ],
  659. "appversion" : {
  660. "major" : 8,
  661. "minor" : 6,
  662. "revision" : 5,
  663. "architecture" : "x64",
  664. "modernui" : 1
  665. }
  666. ,
  667. "classnamespace" : "box"
  668. }
  669.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement