PlatformIO package of the Teensy core framework compatible with GCC 10 & C++20
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

UDPReceive.maxpat 6.4KB

vor 3 Jahren
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319
  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" : [ 334.0, 78.0, 1072.0, 480.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. "fontsize" : 12.0,
  43. "id" : "obj-5",
  44. "maxclass" : "o.display",
  45. "numinlets" : 1,
  46. "numoutlets" : 1,
  47. "outlettype" : [ "" ],
  48. "patching_rect" : [ 183.5, 341.0, 150.0, 34.0 ],
  49. "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ]
  50. }
  51. }
  52. , {
  53. "box" : {
  54. "fontname" : "Arial",
  55. "fontsize" : 12.0,
  56. "id" : "obj-18",
  57. "linecount" : 2,
  58. "maxclass" : "comment",
  59. "numinlets" : 1,
  60. "numoutlets" : 0,
  61. "patching_rect" : [ 498.0, 91.0, 150.0, 33.0 ],
  62. "style" : "",
  63. "text" : "control Arduino square wave tone on pin 3"
  64. }
  65. }
  66. , {
  67. "box" : {
  68. "fontface" : 0,
  69. "fontname" : "Andale Mono",
  70. "fontsize" : 14.0,
  71. "id" : "obj-15",
  72. "maxclass" : "o.message",
  73. "numinlets" : 2,
  74. "numoutlets" : 1,
  75. "outlettype" : [ "" ],
  76. "patching_rect" : [ 406.0, 168.0, 150.0, 22.0 ],
  77. "text" : "/tone/3",
  78. "textcolor" : [ 0.0, 0.0, 0.0, 1.0 ]
  79. }
  80. }
  81. , {
  82. "box" : {
  83. "fontname" : "Arial",
  84. "fontsize" : 12.0,
  85. "id" : "obj-12",
  86. "maxclass" : "newobj",
  87. "numinlets" : 1,
  88. "numoutlets" : 1,
  89. "outlettype" : [ "" ],
  90. "patching_rect" : [ 134.0, 127.0, 34.0, 22.0 ],
  91. "style" : "",
  92. "text" : "mtof"
  93. }
  94. }
  95. , {
  96. "box" : {
  97. "id" : "obj-11",
  98. "maxclass" : "kslider",
  99. "numinlets" : 2,
  100. "numoutlets" : 2,
  101. "outlettype" : [ "int", "int" ],
  102. "parameter_enable" : 0,
  103. "patching_rect" : [ 132.0, 65.0, 336.0, 53.0 ],
  104. "presentation_rect" : [ 0.0, 0.0, 336.0, 53.0 ],
  105. "style" : "",
  106. "varname" : "kslider"
  107. }
  108. }
  109. , {
  110. "box" : {
  111. "fontname" : "Arial",
  112. "fontsize" : 12.0,
  113. "id" : "obj-9",
  114. "maxclass" : "message",
  115. "numinlets" : 2,
  116. "numoutlets" : 1,
  117. "outlettype" : [ "" ],
  118. "patching_rect" : [ 242.0, 140.0, 32.5, 22.0 ],
  119. "style" : "",
  120. "text" : "220"
  121. }
  122. }
  123. , {
  124. "box" : {
  125. "fontname" : "Arial",
  126. "fontsize" : 12.0,
  127. "id" : "obj-8",
  128. "maxclass" : "message",
  129. "numinlets" : 2,
  130. "numoutlets" : 1,
  131. "outlettype" : [ "" ],
  132. "patching_rect" : [ 184.0, 137.0, 34.0, 22.0 ],
  133. "style" : "",
  134. "text" : "440."
  135. }
  136. }
  137. , {
  138. "box" : {
  139. "id" : "obj-4",
  140. "maxclass" : "button",
  141. "numinlets" : 1,
  142. "numoutlets" : 1,
  143. "outlettype" : [ "bang" ],
  144. "patching_rect" : [ 402.0, 137.0, 20.0, 20.0 ],
  145. "style" : ""
  146. }
  147. }
  148. , {
  149. "box" : {
  150. "fontname" : "Arial",
  151. "fontsize" : 12.0,
  152. "id" : "obj-3",
  153. "linecount" : 3,
  154. "maxclass" : "comment",
  155. "numinlets" : 1,
  156. "numoutlets" : 0,
  157. "patching_rect" : [ 489.0, 279.0, 154.0, 47.0 ],
  158. "style" : "",
  159. "text" : "8888 is the port sent to on the Arduino node 128.32.122.252"
  160. }
  161. }
  162. , {
  163. "box" : {
  164. "fontface" : 0,
  165. "fontname" : "Andale Mono",
  166. "fontsize" : 14.0,
  167. "id" : "obj-20",
  168. "maxclass" : "o.message",
  169. "numinlets" : 2,
  170. "numoutlets" : 1,
  171. "outlettype" : [ "" ],
  172. "patching_rect" : [ 235.0, 234.0, 150.0, 22.0 ],
  173. "text" : "/tone/3 130.813 \n",
  174. "textcolor" : [ 0.0, 0.0, 0.0, 1.0 ]
  175. }
  176. }
  177. , {
  178. "box" : {
  179. "fontface" : 0,
  180. "fontname" : "Andale Mono",
  181. "fontsize" : 14.0,
  182. "id" : "obj-6",
  183. "maxclass" : "o.message",
  184. "numinlets" : 2,
  185. "numoutlets" : 1,
  186. "outlettype" : [ "" ],
  187. "patching_rect" : [ 185.0, 191.0, 150.0, 22.0 ],
  188. "text" : "/tone/3 \"$1\" ",
  189. "textcolor" : [ 0.0, 0.0, 0.0, 1.0 ]
  190. }
  191. }
  192. , {
  193. "box" : {
  194. "fontname" : "Andale Mono",
  195. "fontsize" : 14.0,
  196. "id" : "obj-26",
  197. "maxclass" : "newobj",
  198. "numinlets" : 1,
  199. "numoutlets" : 1,
  200. "outlettype" : [ "" ],
  201. "patching_rect" : [ 183.5, 290.0, 288.0, 24.0 ],
  202. "style" : "",
  203. "text" : "o.io.udp 128.32.122.252 8888 9999"
  204. }
  205. }
  206. ],
  207. "lines" : [ {
  208. "patchline" : {
  209. "destination" : [ "obj-12", 0 ],
  210. "disabled" : 0,
  211. "hidden" : 0,
  212. "source" : [ "obj-11", 0 ]
  213. }
  214. }
  215. , {
  216. "patchline" : {
  217. "destination" : [ "obj-6", 0 ],
  218. "disabled" : 0,
  219. "hidden" : 0,
  220. "source" : [ "obj-12", 0 ]
  221. }
  222. }
  223. , {
  224. "patchline" : {
  225. "destination" : [ "obj-26", 0 ],
  226. "disabled" : 0,
  227. "hidden" : 0,
  228. "source" : [ "obj-15", 0 ]
  229. }
  230. }
  231. , {
  232. "patchline" : {
  233. "destination" : [ "obj-5", 0 ],
  234. "disabled" : 0,
  235. "hidden" : 0,
  236. "source" : [ "obj-26", 0 ]
  237. }
  238. }
  239. , {
  240. "patchline" : {
  241. "destination" : [ "obj-15", 0 ],
  242. "disabled" : 0,
  243. "hidden" : 0,
  244. "source" : [ "obj-4", 0 ]
  245. }
  246. }
  247. , {
  248. "patchline" : {
  249. "destination" : [ "obj-20", 1 ],
  250. "disabled" : 0,
  251. "hidden" : 0,
  252. "source" : [ "obj-6", 0 ]
  253. }
  254. }
  255. , {
  256. "patchline" : {
  257. "destination" : [ "obj-26", 0 ],
  258. "disabled" : 0,
  259. "hidden" : 0,
  260. "source" : [ "obj-6", 0 ]
  261. }
  262. }
  263. , {
  264. "patchline" : {
  265. "destination" : [ "obj-6", 0 ],
  266. "disabled" : 0,
  267. "hidden" : 0,
  268. "source" : [ "obj-8", 0 ]
  269. }
  270. }
  271. , {
  272. "patchline" : {
  273. "destination" : [ "obj-6", 0 ],
  274. "disabled" : 0,
  275. "hidden" : 0,
  276. "source" : [ "obj-9", 0 ]
  277. }
  278. }
  279. ],
  280. "dependency_cache" : [ {
  281. "name" : "o.io.udp.maxpat",
  282. "bootpath" : "~/Documents/Max/Packages/o.io/experimental/Protocols/udp",
  283. "type" : "JSON",
  284. "implicit" : 1
  285. }
  286. , {
  287. "name" : "o.message.mxo",
  288. "type" : "iLaX"
  289. }
  290. , {
  291. "name" : "o.display.mxo",
  292. "type" : "iLaX"
  293. }
  294. ],
  295. "embedsnapshot" : 0
  296. }
  297. }