launchpad_controller.js

launchpad_controller.js

launchpad_controller.js is the brains which connect your Max patch to your Launchpad. Use this as an argument to a max js object.

Output

  • Left outlet (Outlet [0]): list: MIDI Note messages (pitch / velocity) to be sent to Launchpad.
  • Outlet [1]: list: MIDI CC messages ( CC # / value) to be send to Launchpad.
  • Outlet [2]: list: button key:state pairs when the state of a button changes.
  • Right outlet (Outlet [4]): symbol: The name of the Max dictionary object for reference elsewhere in the Max patch.

Arguments

  • name: optional: The name of an existing Max dictionary of button type/state saved in .JSON format which will be loaded in place of the default dictionary.

Messages

  • Inlet [0]: list (int int): MIDI Note messages (pitch / velocity) from Launchpad will change state and cause output out of outlets 0 and 2.
  • Inlet [1]: list (int int): MIDI CC messages (CC # / value) from Launchpad will change state and cause output out of outlets 1 and 2.
  • Inlet [2]: list ( symbol int ): Where “symbol” is a symbol specifying the name of a button, such as “top_0”, “b_0”, “side_7”, the state of that button will change to the int. If int is out of range for the allowed states for a button then state will be changed to the closest valid state. This causes output from outlet 2 and either outlet 0 or 1 depending on which type of button it is.If only the symbol is provided, it will act like a button press of that button, causing state to increment (if appropriate) before outputting value.

Other messages (for Inlet [0]):

  • zeroAllStates : set all states to zero and cause output.
  • turnOffAllLights : without changing state, this will send value 0 out for all MIDI note and CC causing the lights to turn off on Launchpad.
  • turnOnAllLights : sends out the current light color (velocity) values for MIDI note and CC buttons causing the lights to turn on on Launchpad.
  • load : Load a previously saved .json dictionary.
  • saveData : save the current dictionary/state to a file named ‘filename’.
  • getDictionaryName : causes output of the current dictonary name (likely of the form u123456789) out the right outlet.
  • newDict : creates a new dictionary from the defaults.

demonstrating the basic connections to hook launchpad_controller.js into your patch

241 thoughts on “launchpad_controller.js

  1. Pingback: cialis 5mg drugs
  2. Pingback: 15 mg cialis
  3. Pingback: buy cialis 5mg
  4. Pingback: ivermectin canada
  5. Pingback: stromectol price
  6. Pingback: flccc
  7. Pingback: flllc alliance
  8. Pingback: flccc.net
  9. Pingback: ivermectin ontario
  10. Pingback: ivermectin 50 mg
  11. Pingback: ivermectin ireland
  12. Pingback: stromectol buy
  13. Pingback: ivermectin price
  14. Pingback: cialis goodrx
  15. Pingback: cialis canada
  16. Pingback: provigil generico
  17. Pingback: ivermectin 1%cream
  18. Pingback: ivermectin 8 mg
  19. Pingback: ivermectin 0.08%
  20. Pingback: tadalafil 40 mg
  21. Pingback: viagra vs cialis
  22. Pingback: cialis tablets
  23. Pingback: monupiravir
  24. Pingback: 1regalia
  25. Pingback: tadalafil lilly
  26. Pingback: peptides tadalafil
  27. Pingback: cialis 20mg online
  28. Pingback: cialis cost 20mg
  29. Pingback: ivermectin uk buy
  30. Pingback: real casino slots
  31. Pingback: viagra pills
  32. Pingback: cialis tadalafil
  33. Pingback: generic ivermectin
  34. Pingback: ivermectin 0.1 uk
  35. Pingback: get ivermectin
  36. Pingback: ivermectina dosis
  37. Pingback: ivermectin 12 mg
  38. Pingback: lasix 500 mg price
  39. Pingback: lasix 20 mg cost
  40. Pingback: stromectol covid
  41. Pingback: ivermectin 400 mg
  42. Pingback: cialis com
  43. Pingback: ivermectin malaria
  44. Pingback: cialis walmart
  45. Pingback: ivermectin lotion
  46. Pingback: stromectol canada
  47. Pingback: psy-
  48. Pingback: projectio
  49. Pingback: psy online
  50. Pingback: Gz92uNNH
  51. Pingback: uels ukrain
  52. Pingback: do-posle-psihologa
  53. Pingback: bahis siteleri
  54. Pingback: DPTPtNqS
  55. Pingback: qQ8KZZE6
  56. Pingback: D6tuzANh
  57. Pingback: SHKALA TONOV
  58. Pingback: chelovek-iz-90-h
  59. Pingback: 3Hk12Bl
  60. Pingback: 3NOZC44
  61. Pingback: 01211
  62. Pingback: tor-lyubov-i-grom
  63. Pingback: film-tor-2022
  64. Pingback: hd-tor-2022
  65. Pingback: hdorg2.ru
  66. Pingback: JXNhGmmt
  67. Pingback: Psikholog
  68. Pingback: netstate.ru
  69. Pingback: Link
  70. Pingback: psy
  71. Pingback: bit.ly
  72. Pingback: cleantalkorg2.ru
  73. Pingback: bucha killings
  74. Pingback: War in Ukraine
  75. Pingback: Ukraine
  76. Pingback: site
  77. Pingback: stats
  78. Pingback: Ukraine-war
  79. Pingback: movies
  80. Pingback: gidonline
  81. Pingback: web
  82. Pingback: film.8filmov.ru
  83. Pingback: video
  84. Pingback: film
  85. Pingback: filmgoda.ru
  86. Pingback: rodnoe-kino-ru
  87. Pingback: confeitofilm
  88. Pingback: stat.netstate.ru
  89. Pingback: sY5am
  90. Pingback: Dom drakona
  91. Pingback: JGXldbkj
  92. Pingback: aOuSjapt
  93. Pingback: ìûøëåíèå
  94. Pingback: psikholog moskva
  95. Pingback: A片
  96. Pingback: Dim Drakona 2022
  97. Pingback: TwnE4zl6
  98. Pingback: psy 3CtwvjS
  99. Pingback: lalochesia
  100. Pingback: film onlinee
  101. Pingback: 3qAIwwN
  102. Pingback: video-2
  103. Pingback: sezons.store
  104. Pingback: psy-news.ru
  105. Pingback: 000-1
  106. Pingback: 3SoTS32
  107. Pingback: 3DGofO7
  108. Pingback: rftrip.ru
  109. Pingback: dolpsy.ru
  110. Pingback: kin0shki.ru
  111. Pingback: 3o9cpydyue4s8.ru
  112. Pingback: mb588.ru
  113. Pingback: newsukraine.ru
  114. Pingback: edu-design.ru
  115. Pingback: tftl.ru
  116. Pingback: brutv
  117. Pingback: site 2023
  118. Pingback: sitestats01
  119. Pingback: 1c789.ru
  120. Pingback: cttdu.ru
  121. Pingback: 1703
  122. Pingback: hdserial2023.ru
  123. Pingback: serialhd2023.ru
  124. Pingback: matchonline2022.ru
  125. Pingback: bit.ly/3OEzOZR
  126. Pingback: bit.ly/3gGFqGq
  127. Pingback: bit.ly/3ARFdXA
  128. Pingback: bit.ly/3ig2UT5
  129. Pingback: bit.ly/3GQNK0J
  130. Pingback: vardenafil tablets
  131. Pingback: bep5w0Df
  132. Pingback: www

Comments are closed.

Comments are closed.