PlatformIO package of the Teensy core framework compatible with GCC 10 & C++20
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

SerialReceive.maxpat 8.7KB

3 jaren geleden
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428
  1. {
  2. "patcher" : {
  3. "fileversion" : 1,
  4. "appversion" : {
  5. "major" : 7,
  6. "minor" : 0,
  7. "revision" : 4,
  8. "architecture" : "x86",
  9. "modernui" : 1
  10. }
  11. ,
  12. "rect" : [ 378.0, 174.0, 792.0, 490.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. "fontface" : 0,
  42. "fontname" : "Arial",
  43. "fontsize" : 12.0,
  44. "id" : "obj-5",
  45. "maxclass" : "o.display",
  46. "numinlets" : 1,
  47. "numoutlets" : 1,
  48. "outlettype" : [ "" ],
  49. "patching_rect" : [ 68.0, 374.0, 267.0, 34.0 ],
  50. "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ]
  51. }
  52. }
  53. , {
  54. "box" : {
  55. "fontname" : "Arial",
  56. "fontsize" : 12.0,
  57. "id" : "obj-12",
  58. "maxclass" : "newobj",
  59. "numinlets" : 1,
  60. "numoutlets" : 1,
  61. "outlettype" : [ "FullPacket" ],
  62. "patching_rect" : [ 164.0, 202.0, 69.0, 22.0 ],
  63. "style" : "",
  64. "text" : "o.pack /led"
  65. }
  66. }
  67. , {
  68. "box" : {
  69. "fontname" : "Andale Mono",
  70. "fontsize" : 14.0,
  71. "id" : "obj-1",
  72. "maxclass" : "newobj",
  73. "numinlets" : 2,
  74. "numoutlets" : 1,
  75. "outlettype" : [ "FullPacket" ],
  76. "patching_rect" : [ 164.0, 244.0, 95.0, 24.0 ],
  77. "style" : "",
  78. "text" : "o.downcast"
  79. }
  80. }
  81. , {
  82. "box" : {
  83. "fontface" : 0,
  84. "fontname" : "Arial",
  85. "fontsize" : 12.0,
  86. "id" : "obj-18",
  87. "maxclass" : "o.display",
  88. "numinlets" : 1,
  89. "numoutlets" : 1,
  90. "outlettype" : [ "" ],
  91. "patching_rect" : [ 164.0, 314.0, 92.0, 34.0 ],
  92. "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ]
  93. }
  94. }
  95. , {
  96. "box" : {
  97. "fontface" : 0,
  98. "fontname" : "Arial",
  99. "fontsize" : 12.0,
  100. "id" : "obj-3",
  101. "maxclass" : "o.display",
  102. "numinlets" : 1,
  103. "numoutlets" : 1,
  104. "outlettype" : [ "" ],
  105. "patching_rect" : [ 350.5, 374.0, 158.0, 34.0 ],
  106. "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ]
  107. }
  108. }
  109. , {
  110. "box" : {
  111. "fontname" : "Arial",
  112. "fontsize" : 12.0,
  113. "id" : "obj-2",
  114. "linecount" : 2,
  115. "maxclass" : "comment",
  116. "numinlets" : 1,
  117. "numoutlets" : 0,
  118. "patching_rect" : [ 370.5, 218.5, 170.0, 33.0 ],
  119. "style" : "",
  120. "text" : "Look for your device in the menu list of serial USB"
  121. }
  122. }
  123. , {
  124. "box" : {
  125. "bgmode" : 0,
  126. "border" : 0,
  127. "clickthrough" : 0,
  128. "enablehscroll" : 0,
  129. "enablevscroll" : 0,
  130. "id" : "obj-4",
  131. "lockeddragscroll" : 0,
  132. "maxclass" : "bpatcher",
  133. "name" : "o.io.serial.display.maxpat",
  134. "numinlets" : 1,
  135. "numoutlets" : 1,
  136. "offset" : [ 3.0, 0.0 ],
  137. "outlettype" : [ "FullPacket" ],
  138. "patching_rect" : [ 350.5, 289.0, 340.5, 25.0 ],
  139. "viewvisibility" : 1
  140. }
  141. }
  142. , {
  143. "box" : {
  144. "fontname" : "Arial",
  145. "fontsize" : 12.0,
  146. "id" : "obj-23",
  147. "maxclass" : "newobj",
  148. "numinlets" : 2,
  149. "numoutlets" : 2,
  150. "outlettype" : [ "FullPacket", "FullPacket" ],
  151. "patching_rect" : [ 289.5, 328.0, 80.0, 22.0 ],
  152. "style" : "",
  153. "text" : "o.io.slipserial"
  154. }
  155. }
  156. , {
  157. "box" : {
  158. "fontname" : "Andale Mono",
  159. "fontsize" : 14.0,
  160. "id" : "obj-11",
  161. "linecount" : 3,
  162. "maxclass" : "comment",
  163. "numinlets" : 1,
  164. "numoutlets" : 0,
  165. "patching_rect" : [ 541.0, 364.0, 150.0, 54.0 ],
  166. "style" : "",
  167. "text" : "stats on serial OSC communications"
  168. }
  169. }
  170. , {
  171. "box" : {
  172. "fontname" : "Arial",
  173. "fontsize" : 12.0,
  174. "id" : "obj-19",
  175. "linecount" : 2,
  176. "maxclass" : "comment",
  177. "numinlets" : 1,
  178. "numoutlets" : 0,
  179. "patching_rect" : [ 43.5, 42.0, 156.0, 33.0 ],
  180. "style" : "",
  181. "text" : "PWM control of brightness of LED"
  182. }
  183. }
  184. , {
  185. "box" : {
  186. "fontname" : "Arial",
  187. "fontsize" : 12.0,
  188. "id" : "obj-15",
  189. "maxclass" : "message",
  190. "numinlets" : 2,
  191. "numoutlets" : 1,
  192. "outlettype" : [ "" ],
  193. "patching_rect" : [ 114.0, 151.0, 32.5, 22.0 ],
  194. "style" : "",
  195. "text" : "on"
  196. }
  197. }
  198. , {
  199. "box" : {
  200. "fontname" : "Arial",
  201. "fontsize" : 12.0,
  202. "id" : "obj-13",
  203. "maxclass" : "message",
  204. "numinlets" : 2,
  205. "numoutlets" : 1,
  206. "outlettype" : [ "" ],
  207. "patching_rect" : [ 56.0, 151.0, 32.5, 22.0 ],
  208. "style" : "",
  209. "text" : "off"
  210. }
  211. }
  212. , {
  213. "box" : {
  214. "contdata" : 1,
  215. "id" : "obj-9",
  216. "maxclass" : "multislider",
  217. "numinlets" : 1,
  218. "numoutlets" : 2,
  219. "outlettype" : [ "", "" ],
  220. "parameter_enable" : 0,
  221. "patching_rect" : [ 220.5, 31.0, 20.0, 140.0 ],
  222. "setminmax" : [ 0.0, 1.0 ],
  223. "style" : ""
  224. }
  225. }
  226. , {
  227. "box" : {
  228. "id" : "obj-8",
  229. "maxclass" : "toggle",
  230. "numinlets" : 1,
  231. "numoutlets" : 1,
  232. "outlettype" : [ "int" ],
  233. "parameter_enable" : 0,
  234. "patching_rect" : [ 164.0, 151.0, 20.0, 20.0 ],
  235. "style" : ""
  236. }
  237. }
  238. ],
  239. "lines" : [ {
  240. "patchline" : {
  241. "color" : [ 1.0, 0.8, 0.4, 1.0 ],
  242. "destination" : [ "obj-18", 0 ],
  243. "disabled" : 0,
  244. "hidden" : 0,
  245. "source" : [ "obj-1", 0 ]
  246. }
  247. }
  248. , {
  249. "patchline" : {
  250. "color" : [ 1.0, 0.8, 0.4, 1.0 ],
  251. "destination" : [ "obj-23", 0 ],
  252. "disabled" : 0,
  253. "hidden" : 0,
  254. "source" : [ "obj-1", 0 ]
  255. }
  256. }
  257. , {
  258. "patchline" : {
  259. "color" : [ 1.0, 0.8, 0.4, 1.0 ],
  260. "destination" : [ "obj-1", 0 ],
  261. "disabled" : 0,
  262. "hidden" : 0,
  263. "source" : [ "obj-12", 0 ]
  264. }
  265. }
  266. , {
  267. "patchline" : {
  268. "color" : [ 1.0, 0.8, 0.4, 1.0 ],
  269. "destination" : [ "obj-12", 0 ],
  270. "disabled" : 0,
  271. "hidden" : 0,
  272. "source" : [ "obj-13", 0 ]
  273. }
  274. }
  275. , {
  276. "patchline" : {
  277. "color" : [ 1.0, 0.8, 0.4, 1.0 ],
  278. "destination" : [ "obj-12", 0 ],
  279. "disabled" : 0,
  280. "hidden" : 0,
  281. "source" : [ "obj-15", 0 ]
  282. }
  283. }
  284. , {
  285. "patchline" : {
  286. "color" : [ 1.0, 0.8, 0.4, 1.0 ],
  287. "destination" : [ "obj-3", 0 ],
  288. "disabled" : 0,
  289. "hidden" : 0,
  290. "midpoints" : [ 360.0, 369.0, 360.0, 369.0 ],
  291. "source" : [ "obj-23", 1 ]
  292. }
  293. }
  294. , {
  295. "patchline" : {
  296. "color" : [ 1.0, 0.8, 0.4, 1.0 ],
  297. "destination" : [ "obj-4", 0 ],
  298. "disabled" : 0,
  299. "hidden" : 0,
  300. "midpoints" : [ 360.0, 355.0, 702.0, 355.0, 702.0, 265.0, 360.0, 265.0 ],
  301. "source" : [ "obj-23", 1 ]
  302. }
  303. }
  304. , {
  305. "patchline" : {
  306. "color" : [ 1.0, 0.8, 0.4, 1.0 ],
  307. "destination" : [ "obj-5", 0 ],
  308. "disabled" : 0,
  309. "hidden" : 0,
  310. "source" : [ "obj-23", 0 ]
  311. }
  312. }
  313. , {
  314. "patchline" : {
  315. "color" : [ 1.0, 0.8, 0.4, 1.0 ],
  316. "destination" : [ "obj-23", 1 ],
  317. "disabled" : 0,
  318. "hidden" : 0,
  319. "source" : [ "obj-4", 0 ]
  320. }
  321. }
  322. , {
  323. "patchline" : {
  324. "color" : [ 1.0, 0.8, 0.4, 1.0 ],
  325. "destination" : [ "obj-12", 0 ],
  326. "disabled" : 0,
  327. "hidden" : 0,
  328. "source" : [ "obj-8", 0 ]
  329. }
  330. }
  331. , {
  332. "patchline" : {
  333. "color" : [ 1.0, 0.8, 0.4, 1.0 ],
  334. "destination" : [ "obj-12", 0 ],
  335. "disabled" : 0,
  336. "hidden" : 0,
  337. "source" : [ "obj-9", 0 ]
  338. }
  339. }
  340. ],
  341. "dependency_cache" : [ {
  342. "name" : "o.io.slipserial.maxpat",
  343. "bootpath" : "~/Documents/Max/Packages/o.io/experimental/Protocols/serial",
  344. "type" : "JSON",
  345. "implicit" : 1
  346. }
  347. , {
  348. "name" : "o.righttoleft.maxpat",
  349. "bootpath" : "~/Documents/Max/Packages/odot/patchers/ordering",
  350. "type" : "JSON",
  351. "implicit" : 1
  352. }
  353. , {
  354. "name" : "o.io.serial.display.maxpat",
  355. "bootpath" : "~/Documents/Max/Packages/o.io/experimental/Protocols/serial",
  356. "type" : "JSON",
  357. "implicit" : 1
  358. }
  359. , {
  360. "name" : "o.pack.mxo",
  361. "type" : "iLaX"
  362. }
  363. , {
  364. "name" : "o.route.mxo",
  365. "type" : "iLaX"
  366. }
  367. , {
  368. "name" : "o.union.mxo",
  369. "type" : "iLaX"
  370. }
  371. , {
  372. "name" : "o.validate.mxo",
  373. "type" : "iLaX"
  374. }
  375. , {
  376. "name" : "o.print.mxo",
  377. "type" : "iLaX"
  378. }
  379. , {
  380. "name" : "o.slip.encode.mxo",
  381. "type" : "iLaX"
  382. }
  383. , {
  384. "name" : "o.slip.decode.mxo",
  385. "type" : "iLaX"
  386. }
  387. , {
  388. "name" : "o.if.mxo",
  389. "type" : "iLaX"
  390. }
  391. , {
  392. "name" : "o.display.mxo",
  393. "type" : "iLaX"
  394. }
  395. , {
  396. "name" : "o.downcast.mxo",
  397. "type" : "iLaX"
  398. }
  399. ],
  400. "embedsnapshot" : 0
  401. }
  402. }