nodeskini 1.0.3 → 1.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (182) hide show
  1. package/blocklySkini/scripts/hiphop_blocks.js +3991 -6104
  2. package/blocklySkini/scripts/main2.js +4 -4
  3. package/client/clientListe/clientListe.js +11 -0
  4. package/client/clientListe/clientListebundle.js +1755 -1909
  5. package/client/configurateur/configReact.js +1 -1
  6. package/client/configurateur/configReactbundle.js +16 -10
  7. package/client/configurateur/src/configReact.js +1 -1
  8. package/client/parametrage/paramReact.js +1 -1
  9. package/client/parametrage/paramReactbundle.js +6 -5
  10. package/client/parametrage/src/paramReact.js +2 -2
  11. package/client/score/parto1.js +4 -1
  12. package/client/score/parto1bundle.js +45 -23
  13. package/client/simulateurListe/simulateurFork.mjs +1 -1
  14. package/client/simulateurListe/simulateurListe.js +3 -3
  15. package/doc/Doc Skini Node english.pdf +0 -0
  16. package/doc/Mode d'emploi Skini Node.pdf +0 -0
  17. package/doc/Tuto Skini.pdf +0 -0
  18. package/doc/quickstart.pdf +0 -0
  19. package/myReact/orchestrationHH.hh.js +2024 -0
  20. package/myReact/orchestrationHH.mjs +262 -420
  21. package/myReact/orchestrationHH.mjs.map +1 -1
  22. package/package.json +19 -11
  23. package/pieces/tutos/demoAbleton.csv +21 -0
  24. package/pieces/tutos/demoAbleton.js +100 -0
  25. package/pieces/tutos/demoAbleton.xml +180 -0
  26. package/pieces/tutos/demoHH.js +99 -0
  27. package/pieces/tutos/demoHH.xml +184 -0
  28. package/pieces/tutos/demoHHwait.js +100 -0
  29. package/pieces/tutos/demoHHwait.xml +175 -0
  30. package/pieces/tutos/tuto.csv +10 -0
  31. package/pieces/tutos/tuto.csv.good +1 -0
  32. package/pieces/tutos/tuto1.js +105 -0
  33. package/pieces/tutos/tuto1.xml +147 -0
  34. package/pieces/tutos/tuto10.back.js +106 -0
  35. package/pieces/tutos/tuto10.js +107 -0
  36. package/pieces/tutos/tuto10.xml +199 -0
  37. package/pieces/tutos/tuto11.js +111 -0
  38. package/pieces/tutos/tuto11.xml +124 -0
  39. package/pieces/tutos/tuto12.js +91 -0
  40. package/pieces/tutos/tuto12.xml +258 -0
  41. package/pieces/tutos/tuto2.back.js +106 -0
  42. package/pieces/tutos/tuto2.js +95 -0
  43. package/pieces/tutos/tuto2.xml +94 -0
  44. package/pieces/tutos/tuto3-2.js +105 -0
  45. package/pieces/tutos/tuto3-2.xml +96 -0
  46. package/pieces/tutos/tuto3.js +97 -0
  47. package/pieces/tutos/tuto3.xml +49 -0
  48. package/pieces/tutos/tuto4.js +107 -0
  49. package/pieces/tutos/tuto4.xml +106 -0
  50. package/pieces/tutos/tuto5.js +109 -0
  51. package/pieces/tutos/tuto5.xml +42 -0
  52. package/pieces/tutos/tuto6.js +105 -0
  53. package/pieces/tutos/tuto6.xml +26 -0
  54. package/pieces/tutos/tuto7.js +107 -0
  55. package/pieces/tutos/tuto7.xml +65 -0
  56. package/pieces/tutos/tuto8.js +105 -0
  57. package/pieces/tutos/tuto8.xml +76 -0
  58. package/pieces/tutos/tuto9.js +107 -0
  59. package/pieces/tutos/tuto9.xml +90 -0
  60. package/pieces/tutos/tutoAwait.js +111 -0
  61. package/pieces/tutos/tutoAwait.xml +171 -0
  62. package/pieces/tutos/tutoDoubleEmission.js +93 -0
  63. package/pieces/tutos/tutoDoubleEmission.xml +65 -0
  64. package/pieces/tutos/tutoESP32.js +104 -0
  65. package/pieces/tutos/tutoESP32.xml +246 -0
  66. package/pieces/tutos/tutoGame.js +126 -0
  67. package/pieces/tutos/tutoGame.xml +109 -0
  68. package/pieces/tutos/tutoGroups1.js +111 -0
  69. package/pieces/tutos/tutoGroups1.xml +137 -0
  70. package/pieces/tutos/tutoGroups2.js +97 -0
  71. package/pieces/tutos/tutoGroups2.xml +103 -0
  72. package/pieces/tutos/tutoGroups3.js +111 -0
  73. package/pieces/tutos/tutoGroups3.xml +128 -0
  74. package/pieces/tutos/tutoGroups4.js +111 -0
  75. package/pieces/tutos/tutoGroups4.xml +84 -0
  76. package/pieces/tutos/tutoIZ.js +95 -0
  77. package/pieces/tutos/tutoIZ.xml +135 -0
  78. package/pieces/tutos/tutoIf.js +111 -0
  79. package/pieces/tutos/tutoIf.xml +126 -0
  80. package/pieces/tutos/tutoMidi.js +126 -0
  81. package/pieces/tutos/tutoMidi.xml +62 -0
  82. package/pieces/tutos/tutoOS.js +121 -0
  83. package/pieces/tutos/tutoOSC.js +109 -0
  84. package/pieces/tutos/tutoOSC.xml +223 -0
  85. package/pieces/tutos/tutoOSCJonathan.js +94 -0
  86. package/pieces/tutos/tutoOSCJonathan.xml +312 -0
  87. package/pieces/tutos/tutoPatternInGroup.js +109 -0
  88. package/pieces/tutos/tutoPatternInGroup.xml +116 -0
  89. package/pieces/tutos/tutoRandomBlock.js +129 -0
  90. package/pieces/tutos/tutoRandomBlock.xml +194 -0
  91. package/pieces/tutos/tutoSuspend.js +107 -0
  92. package/pieces/tutos/tutoSuspend.xml +139 -0
  93. package/pieces/tutos/tutoSustain.js +107 -0
  94. package/pieces/tutos/tutoSustain.xml +109 -0
  95. package/pieces/tutos/tutoTank.csv +9 -0
  96. package/pieces/tutos/tutoTank.js +100 -0
  97. package/pieces/tutos/tutoTank.xml +326 -0
  98. package/pieces/tutos/tutoTestAll.csv +11 -0
  99. package/pieces/tutos/tutoTestAll.js +101 -0
  100. package/pieces/tutos/tutoTestAll.xml +859 -0
  101. package/serveur/OSCandMidi.mjs +7 -5
  102. package/serveur/controleDAW.mjs +3 -2
  103. package/serveur/defaultSkiniParametres.js +20 -13
  104. package/serveur/groupeClientsSons.mjs +10 -5
  105. package/serveur/ipConfig.json +2 -2
  106. package/serveur/midimix.mjs +13 -13
  107. package/serveur/saveParam.mjs +4 -15
  108. package/serveur/skiniParametres.js +108 -26
  109. package/serveur/utilsHHSkini.hh.js +64 -64
  110. package/serveur/websocketServer.mjs +2090 -2052
  111. package/serveur/workerInterfaceZ.mjs +4 -7
  112. package/blocklySkini/archive/blocklyControleur.js +0 -87
  113. package/blocklySkini/archive/blocklySkini.js +0 -84
  114. package/blocklySkini/archive/blocklyhop.js +0 -75
  115. package/blocklySkini/archive/clientControleurBlocly.js +0 -170
  116. package/blocklySkini/archive/index.html +0 -76
  117. package/blocklySkini/archive/testHHsuspend.txt +0 -89
  118. package/blocklySkini/archive/testHHtrap.txt +0 -262
  119. package/blocklySkini/archive/testOrchestration.txt +0 -177
  120. package/blocklySkini/archive/testOrchestration.xml +0 -447
  121. package/blocklySkini/archive/testOrchestration2.xml +0 -456
  122. package/myReact/archive/Nodeemitvaluedlocal1.hh.js +0 -52
  123. package/myReact/archive/abort-parNode.js +0 -79
  124. package/myReact/archive/abroNode.js +0 -169
  125. package/myReact/archive/abroNode2.js +0 -80
  126. package/myReact/archive/atom.compile.hh.js +0 -51
  127. package/myReact/archive/await-countNode.js +0 -67
  128. package/myReact/archive/await-nowvalNode.js +0 -44
  129. package/myReact/archive/callHH.js +0 -96
  130. package/myReact/archive/emit-if2.hh.compiled.js +0 -113
  131. package/myReact/archive/every1Node.js +0 -35
  132. package/myReact/archive/if-runNode.js +0 -74
  133. package/myReact/archive/if1Node.js +0 -43
  134. package/myReact/archive/makeawait.js +0 -0
  135. package/myReact/archive/myReact.old.js +0 -684
  136. package/myReact/archive/orchestration.js +0 -281
  137. package/myReact/archive/orchestration1.js +0 -132
  138. package/myReact/archive/orchestration1.xml +0 -465
  139. package/myReact/archive/orchestration2.js +0 -161
  140. package/myReact/archive/orchestrationHH.mano.js +0 -280
  141. package/myReact/archive/orchestrationHHTest.js +0 -428
  142. package/myReact/archive/orchestrationHHTest.xml +0 -234
  143. package/myReact/archive/orchestrationHHTestRun.js +0 -104
  144. package/myReact/archive/orchestrationHHTestRun.xml +0 -34
  145. package/myReact/archive/orchestrationTest0.js +0 -178
  146. package/myReact/archive/orchestrationTest1.js +0 -181
  147. package/myReact/archive/orchestrationTest2.js +0 -281
  148. package/myReact/archive/run3pointsNode.js +0 -59
  149. package/myReact/archive/runNode.js +0 -123
  150. package/myReact/archive/runNode2.js +0 -91
  151. package/myReact/archive/testAwait1.js +0 -141
  152. package/myReact/archive/testAwait1.xml +0 -86
  153. package/myReact/archive/testEvery1.js +0 -122
  154. package/myReact/archive/testEvery1.xml +0 -79
  155. package/myReact/archive/testHH1.js +0 -135
  156. package/myReact/archive/testHH1.xml +0 -86
  157. package/myReact/archive/testHH1revu.js +0 -104
  158. package/myReact/archive/testHH2.js +0 -122
  159. package/myReact/archive/testHH2.xml +0 -79
  160. package/myReact/archive/testHH3.js +0 -130
  161. package/myReact/archive/testHH3.xml +0 -86
  162. package/myReact/archive/testHHabort.js +0 -121
  163. package/myReact/archive/testHHabort.xml +0 -83
  164. package/myReact/archive/testMakeawait.js +0 -202
  165. package/myReact/archive/testRun1.js +0 -168
  166. package/myReact/archive/testRun1.xml +0 -142
  167. package/myReact/archive/titi.js +0 -28
  168. package/myReact/archive/titi.xml +0 -110
  169. package/myReact/archive/toto.js +0 -73
  170. package/myReact/archive/toto.xml +0 -198
  171. package/myReact/archive/trap-await-parallelNode.js +0 -123
  172. package/myReact/inutiles/hiver2022.xml +0 -804
  173. package/myReact/inutiles/hopeNode.xml +0 -459
  174. package/myReact/inutiles/mars2022.xml +0 -871
  175. package/myReact/inutiles/mystique1.xml +0 -318
  176. package/myReact/inutiles/mystiqueOSC.xml +0 -277
  177. package/myReact/inutiles/opus5Node.xml +0 -1271
  178. package/myReact/inutiles/opus5NodeLinux.xml +0 -1241
  179. package/myReact/inutiles/orchestrationHH.xml +0 -541
  180. package/myReact/inutiles/orchestrationHH2.xml +0 -547
  181. package/myReact/inutiles/testHH.xml +0 -95
  182. package/myReact/inutiles/trouveLaPercuTenor.xml +0 -349
@@ -0,0 +1,223 @@
1
+ <xml xmlns="https://developers.google.com/blockly/xml">
2
+ <variables>
3
+ <variable id="s${ep-?H7|lVi1|X{*#W">foo</variable>
4
+ <variable id="{|gNmoIsXkh[G44u]`WE">OSCNOTEON</variable>
5
+ <variable id="a{Z+d9Kr85Kv.SW1Itd{">groupe0</variable>
6
+ <variable id="GgT[r)}l-tjNLIr|Ai03">OSCNOTEOF</variable>
7
+ <variable id="A2!$5fxHs5F8D0kKD#HW">xy</variable>
8
+ </variables>
9
+ <block type="hh_ORCHESTRATION" id="a-M{,,Z8QBPD6S|y-Hm7" x="91" y="-89">
10
+ <statement name="SIGNALS">
11
+ <block type="hh_declare_signal" id="2{I~,=oR`tdBVYPno:+|">
12
+ <field name="TYPE">inout</field>
13
+ <value name="signal">
14
+ <block type="variables_get" id="K{$fPb8LZ.cd)C^APoz=">
15
+ <field name="VAR" id="s${ep-?H7|lVi1|X{*#W">foo</field>
16
+ </block>
17
+ </value>
18
+ <next>
19
+ <block type="hh_declare_signal" id="/7Ko/9R_%%5dGYZn.J7Z">
20
+ <field name="TYPE">inout</field>
21
+ <value name="signal">
22
+ <block type="variables_get" id="K5Bi_]k,]d(),.1JxnQ7">
23
+ <field name="VAR" id="{|gNmoIsXkh[G44u]`WE">OSCNOTEON</field>
24
+ </block>
25
+ </value>
26
+ <next>
27
+ <block type="hh_declare_signal" id="MKAwO}5-Dlsx3=Udlv)J">
28
+ <field name="TYPE">inout</field>
29
+ <value name="signal">
30
+ <block type="variables_get" id="N(UCm#N%Nus}A=UT+DNA">
31
+ <field name="VAR" id="GgT[r)}l-tjNLIr|Ai03">OSCNOTEOF</field>
32
+ </block>
33
+ </value>
34
+ <next>
35
+ <block type="hh_declare_signal" id="_,4tde0L*$Z}$@,:=z9x">
36
+ <field name="TYPE">inout</field>
37
+ <value name="signal">
38
+ <block type="variables_get" id="uQ/$+cgHUu(Ijo79`u!G">
39
+ <field name="VAR" id="A2!$5fxHs5F8D0kKD#HW">xy</field>
40
+ </block>
41
+ </value>
42
+ </block>
43
+ </next>
44
+ </block>
45
+ </next>
46
+ </block>
47
+ </next>
48
+ </block>
49
+ </statement>
50
+ <statement name="BODY">
51
+ <block type="addSceneScore" id="z.1Y_:Fsov)*KXz8%J#N">
52
+ <field name="number">1</field>
53
+ <next>
54
+ <block type="set_group" id="=$RX0}wlu1r/AXO[?h5?">
55
+ <field name="groupe">255</field>
56
+ <value name="GROUPS">
57
+ <block type="variables_get" id="V5:,xFyuUsI|hmd}*WsC">
58
+ <field name="VAR" id="a{Z+d9Kr85Kv.SW1Itd{">groupe0</field>
59
+ </block>
60
+ </value>
61
+ <next>
62
+ <block type="send_OSC_game_command" id="1vtU;RIE2c8AWP^z*D+F">
63
+ <field name="OSCValue1">10</field>
64
+ <value name="OSCmessage">
65
+ <block type="text" id="-kq$^%nIr(5:,Ra@cj0U">
66
+ <field name="TEXT">TOTO</field>
67
+ </block>
68
+ </value>
69
+ <next>
70
+ <block type="hh_await_signal_value" id="-Kq6H,Z;Tylw,#r9Z1Wd" disabled="true">
71
+ <field name="TIMES">1</field>
72
+ <field name="Signal_Value">0</field>
73
+ <value name="SIGNAL">
74
+ <block type="variables_get" id="45ix}22Qox{Y+PA,^nfR">
75
+ <field name="VAR" id="{|gNmoIsXkh[G44u]`WE">OSCNOTEON</field>
76
+ </block>
77
+ </value>
78
+ <next>
79
+ <block type="hh_fork" id="ju7-f(^=.PHMCNkn;xZ,">
80
+ <statement name="BODY">
81
+ <block type="hh_sequence" id="#g6c?HPz4}VtQT}6q@!W">
82
+ <statement name="BODY">
83
+ <block type="hh_emit_value" id="S39Zv%x?T:AhOBCHtFff">
84
+ <field name="Signal_Value">0</field>
85
+ <value name="SIGNAL">
86
+ <block type="variables_get" id="lgu`K:nu91yP+3bAD]F}">
87
+ <field name="VAR" id="s${ep-?H7|lVi1|X{*#W">foo</field>
88
+ </block>
89
+ </value>
90
+ <next>
91
+ <block type="hh_wait_for_immediate" id="QqNud_Jw:Mkteq;Y;Fwy">
92
+ <value name="SIGNAL">
93
+ <block type="variables_get" id="j]B!$5)G1knA*Ac?[,]w">
94
+ <field name="VAR" id="s${ep-?H7|lVi1|X{*#W">foo</field>
95
+ </block>
96
+ </value>
97
+ <next>
98
+ <block type="hh_pause" id="Y[xi`UZQ)r,[_y}k3fPu">
99
+ <next>
100
+ <block type="hh_emit_value" id="`fJ]lj4:b7K%T*);*(0w">
101
+ <field name="Signal_Value">11</field>
102
+ <value name="SIGNAL">
103
+ <block type="variables_get" id="k8cjJlC3D=xNd={VAREh">
104
+ <field name="VAR" id="s${ep-?H7|lVi1|X{*#W">foo</field>
105
+ </block>
106
+ </value>
107
+ <next>
108
+ <block type="hh_pause" id="*HE|O(+;CaL*1#*le7m*">
109
+ <next>
110
+ <block type="hh_print_serveur" id="[,y|9`XZT5.sLVUdCE?}">
111
+ <value name="TEXT">
112
+ <block type="text" id="|(t~Z}|D8y8),mF(um?p">
113
+ <field name="TEXT">foo</field>
114
+ </block>
115
+ </value>
116
+ </block>
117
+ </next>
118
+ </block>
119
+ </next>
120
+ </block>
121
+ </next>
122
+ </block>
123
+ </next>
124
+ </block>
125
+ </next>
126
+ </block>
127
+ </statement>
128
+ <next>
129
+ <block type="hh_sequence" id="Y{f?jqV/7)ufL*ys5QxX">
130
+ <statement name="BODY">
131
+ <block type="hh_await_signal_value" id="*wiPQ6|9EsLO;$BK~:`:">
132
+ <field name="TIMES">1</field>
133
+ <field name="Signal_Value">11</field>
134
+ <value name="SIGNAL">
135
+ <block type="variables_get" id="zQH;UAT=NvM@VFki#hSb">
136
+ <field name="VAR" id="s${ep-?H7|lVi1|X{*#W">foo</field>
137
+ </block>
138
+ </value>
139
+ <next>
140
+ <block type="hh_print_serveur" id="B4]GmFZJU=!BQ9pKFoL,">
141
+ <value name="TEXT">
142
+ <block type="text" id="i5Ws~w:Sp;Bm9q8h,16K">
143
+ <field name="TEXT">foo 11</field>
144
+ </block>
145
+ </value>
146
+ </block>
147
+ </next>
148
+ </block>
149
+ </statement>
150
+ <next>
151
+ <block type="hh_loopeach" id="ki]fd;;fDKer;i+`uj-q">
152
+ <field name="TIMES">1</field>
153
+ <value name="SIGNAL">
154
+ <block type="variables_get" id="h%x#5}XnAeU}2Va8sjHt">
155
+ <field name="VAR" id="{|gNmoIsXkh[G44u]`WE">OSCNOTEON</field>
156
+ </block>
157
+ </value>
158
+ <statement name="BODY">
159
+ <block type="hh_print_serveur" id=")#C2Hz^m)osW6ZVB:.4W">
160
+ <value name="TEXT">
161
+ <block type="text" id="y*P~c9~f}UGq2~QRUY-A">
162
+ <field name="TEXT">OSC NOTE ON</field>
163
+ </block>
164
+ </value>
165
+ <next>
166
+ <block type="send_OSC_game_command" id="fI`z8v$sRBb7[~`=^V,,">
167
+ <field name="OSCValue1">10</field>
168
+ <value name="OSCmessage">
169
+ <block type="text" id="Y]yBT|A9WK]+w]*XKfen">
170
+ <field name="TEXT">TOTO/TITI</field>
171
+ </block>
172
+ </value>
173
+ </block>
174
+ </next>
175
+ </block>
176
+ </statement>
177
+ <next>
178
+ <block type="hh_loopeach" id="J;J+50UKzAFwu3K5G={a">
179
+ <field name="TIMES">1</field>
180
+ <value name="SIGNAL">
181
+ <block type="variables_get" id="wxyV`3l;f3}Q/5BYH$hg">
182
+ <field name="VAR" id="A2!$5fxHs5F8D0kKD#HW">xy</field>
183
+ </block>
184
+ </value>
185
+ <statement name="BODY">
186
+ <block type="hh_print_serveur" id="lUoRpPVG$T80j]%.GuW}">
187
+ <value name="TEXT">
188
+ <block type="text" id="CozkD|TD5nTNYl|@c?*y">
189
+ <field name="TEXT">xy</field>
190
+ </block>
191
+ </value>
192
+ <next>
193
+ <block type="send_OSC_game_command" id="a7:m0Z{L]5mQA;NL_RSf">
194
+ <field name="OSCValue1">10</field>
195
+ <value name="OSCmessage">
196
+ <block type="text" id="G:C{~47F/i[U=~n,48~i">
197
+ <field name="TEXT">TOTO/TITI</field>
198
+ </block>
199
+ </value>
200
+ </block>
201
+ </next>
202
+ </block>
203
+ </statement>
204
+ </block>
205
+ </next>
206
+ </block>
207
+ </next>
208
+ </block>
209
+ </next>
210
+ </block>
211
+ </statement>
212
+ </block>
213
+ </next>
214
+ </block>
215
+ </next>
216
+ </block>
217
+ </next>
218
+ </block>
219
+ </next>
220
+ </block>
221
+ </statement>
222
+ </block>
223
+ </xml>
@@ -0,0 +1,94 @@
1
+
2
+ // Generated by Skini: Mon Dec 22 2025 17:16:48 GMT+0100 (heure normale d’Europe centrale)
3
+ "use strict"
4
+
5
+ // A utiliser si Processing en passerelle
6
+ exports.busMidiDAW = 1;
7
+
8
+ // Piece en OSC si la paramètre est false
9
+ // Sinon Skini parle MIDI
10
+ exports.directMidiON = true;
11
+
12
+ // Pour charger les fonctions et modules de scenes de type GOLEM
13
+ exports.scenesON = false;
14
+
15
+ exports.english = false;
16
+
17
+ /***********************************
18
+ Paramètres du simulateur
19
+ Si ces valeurs ne sont pas données c'est celle qui
20
+ sont dans le simulateur qui sont utilisées
21
+ ************************************/
22
+ exports.tempoMax = 500; // En ms
23
+ exports.tempoMin = 450; // En ms
24
+ exports.limiteDureeAttente = 33; // En pulsations
25
+
26
+ /********************************************************
27
+ AUTOMATE
28
+ *********************************************************/
29
+ // Pour un automate conforme à un rechargement selon les déclarations de module HipHop
30
+ exports.reactOnPlay = false;
31
+
32
+ // Pour une réaction à chaque pulsation
33
+ exports.pulsationON = false;
34
+
35
+ /*************************************
36
+ CHEMIN DES FICHIERS SONS MP3 pour les clients
37
+ Nom du sous répartoire ./sounds/xxxx
38
+ *************************************/
39
+ exports.soundFilesPath1 = "";
40
+
41
+ /***************************************
42
+ CHEMIN DES PARTITIONS DES PATTERNS ET CONFIG AVEC MUSICIENS
43
+ ****************************************/
44
+ exports.avecMusicien = false; // Pour mettre en place les spécificités au jeu avec des musiciens.
45
+ exports.decalageFIFOavecMusicien = 4; // Décalage de la FIFO vide avant le premier pattern dans une FIFO.
46
+ exports.patternScorePath1 ="";
47
+
48
+ /****************************************
49
+ ACTIVATION D'ALGORITHME D'ORGANISATION DES FIFOs
50
+ Si 0 ou undefined pas d'algorithme.
51
+ Si 1 algorithme de réorganisation Début, Milieu, Fin, Neutre (DFMN)
52
+ Dans le csv, D -> 1, M -> 2, F->3, N->4 (c'est fixé dans controleAbleton.js)
53
+ Si autre ... à créer...
54
+ ATTENTION: NE JAMAIS UTILISER EN SITUATION D'INTERACTION SI L'ALGORITHME
55
+ PEUT SUPPRIMER DES PATTERNS DES FIFOs
56
+ *****************************************/
57
+ exports.algoGestionFifo = 0;
58
+ exports.shufflePatterns = false;
59
+ /*****************************************************************************
60
+
61
+ Gestion de la Matrice des possibles
62
+ Automate de gestion de la matrice des possibles
63
+
64
+ ******************************************************************************/
65
+ exports.nbeDeGroupesClients = 3;
66
+
67
+ function setnbeDeGroupesClients(num) {
68
+ this.nbeDeGroupesClients = num;
69
+ }
70
+ exports.setnbeDeGroupesClients = setnbeDeGroupesClients;
71
+
72
+ exports.simulatorInAseperateGroup = false; // Si true, le dernier groupe client est réservé au simulateur.
73
+
74
+ // Pour un contrôle des Raspberries
75
+ exports.useRaspberries = false;
76
+ exports.playBufferMessage = "test";
77
+ exports.raspOSCPort = 4000;
78
+
79
+ // La synchro Midi, Link. Synchro Bitwig OSC par défaut si Midi et Link false.
80
+ exports.synchoOnMidiClock = false;
81
+ exports.synchroLink = true;
82
+ exports.synchroSkini = false;
83
+ exports.timer = 500;
84
+ exports.gameOSCSignals = false;
85
+
86
+ exports.sensorOSC = false;
87
+ exports.tempoSensorsInit = [0,0,0,0,0,0,0,0,,,,];
88
+ exports.sensorsSensibilities = [5,5,5,5,5,5,5,5,,,,];
89
+
90
+ const groupesDesSons = [
91
+ [ "groupe0",1, "group",120,120,20,"#CF1919",[],1 ],
92
+ [ "groupe1",2, "group",120,120,20,"#CF1919",[],1 ],
93
+ ];
94
+ exports.groupesDesSons = groupesDesSons;
@@ -0,0 +1,312 @@
1
+ <xml xmlns="https://developers.google.com/blockly/xml">
2
+ <variables>
3
+ <variable id="s${ep-?H7|lVi1|X{*#W">foo</variable>
4
+ <variable id="A2!$5fxHs5F8D0kKD#HW">xy</variable>
5
+ <variable id="3=PzoPde+KXZRL9dGf]O">groupe0</variable>
6
+ <variable id="E$vaJy]]%n`*#715+J/T">tick</variable>
7
+ </variables>
8
+ <block type="hh_ORCHESTRATION" id="a-M{,,Z8QBPD6S|y-Hm7" x="104" y="-320">
9
+ <statement name="SIGNALS">
10
+ <block type="hh_declare_signal" id="2{I~,=oR`tdBVYPno:+|">
11
+ <field name="TYPE">inout</field>
12
+ <value name="signal">
13
+ <block type="variables_get" id="K{$fPb8LZ.cd)C^APoz=">
14
+ <field name="VAR" id="s${ep-?H7|lVi1|X{*#W">foo</field>
15
+ </block>
16
+ </value>
17
+ <next>
18
+ <block type="hh_declare_signal" id="_,4tde0L*$Z}$@,:=z9x">
19
+ <field name="TYPE">inout</field>
20
+ <value name="signal">
21
+ <block type="variables_get" id="uQ/$+cgHUu(Ijo79`u!G">
22
+ <field name="VAR" id="A2!$5fxHs5F8D0kKD#HW">xy</field>
23
+ </block>
24
+ </value>
25
+ </block>
26
+ </next>
27
+ </block>
28
+ </statement>
29
+ <statement name="BODY">
30
+ <block type="putPatternInQueue" id="[ryRX)2^Ke2V}(4e:S;+" disabled="true">
31
+ <value name="message">
32
+ <block type="text" id="!):ZJ{zheigR,-ygG)n@">
33
+ <field name="TEXT">test2</field>
34
+ </block>
35
+ </value>
36
+ <next>
37
+ <block type="set_group" id="~#{GHjZg6Sr0SH7%sgHj">
38
+ <field name="groupe">255</field>
39
+ <value name="GROUPS">
40
+ <block type="variables_get" id="!2YRh|M7/}`]9s{4xjhI">
41
+ <field name="VAR" id="3=PzoPde+KXZRL9dGf]O">groupe0</field>
42
+ </block>
43
+ </value>
44
+ <next>
45
+ <block type="hh_fork" id="ju7-f(^=.PHMCNkn;xZ,">
46
+ <statement name="BODY">
47
+ <block type="hh_loop" id="x4W6UF|qJu~FJBUtHNML">
48
+ <statement name="BODY">
49
+ <block type="hh_await_signal_value" id="(rLo.W2(n=$v)UR3q|z?">
50
+ <field name="TIMES">1</field>
51
+ <field name="Signal_Value">0</field>
52
+ <value name="SIGNAL">
53
+ <block type="variables_get" id="{xghYAX;C%xhG/rf^ch7">
54
+ <field name="VAR" id="A2!$5fxHs5F8D0kKD#HW">xy</field>
55
+ </block>
56
+ </value>
57
+ <next>
58
+ <block type="hh_print_serveur" id="m5/WI/Os]V7cW1uS_lUI">
59
+ <value name="TEXT">
60
+ <block type="text" id="gfee;~8hyl0O0UoL8Jr0">
61
+ <field name="TEXT">xy 0</field>
62
+ </block>
63
+ </value>
64
+ </block>
65
+ </next>
66
+ </block>
67
+ </statement>
68
+ </block>
69
+ </statement>
70
+ <next>
71
+ <block type="hh_par" id="PAl]DKPBVFGqx7z;TZkR">
72
+ <statement name="BODY">
73
+ <block type="hh_loop" id="*|b#^c}#p%pr.SZ]xj48">
74
+ <statement name="BODY">
75
+ <block type="hh_await_signal_value" id="T{5ovQ8r^{mL^Dv|y6{=">
76
+ <field name="TIMES">1</field>
77
+ <field name="Signal_Value">1</field>
78
+ <value name="SIGNAL">
79
+ <block type="variables_get" id="k{HQcc_p{:+S2}o.~G#b">
80
+ <field name="VAR" id="A2!$5fxHs5F8D0kKD#HW">xy</field>
81
+ </block>
82
+ </value>
83
+ <next>
84
+ <block type="hh_print_serveur" id="=^2.7c,,;|oik*:@]qEv">
85
+ <value name="TEXT">
86
+ <block type="text" id="cXP;i.1yXo/6M]IWM[a6">
87
+ <field name="TEXT">xy 1</field>
88
+ </block>
89
+ </value>
90
+ <next>
91
+ <block type="putPatternInQueue" id="Rorn4N`;mP8-s3ubbK3A">
92
+ <value name="message">
93
+ <block type="text" id="NIcy!jf~0kZmVY1:R}mZ">
94
+ <field name="TEXT">test1</field>
95
+ </block>
96
+ </value>
97
+ <next>
98
+ <block type="hh_wait_for" id="hgU%s4W+p,oM16`^4mia">
99
+ <field name="TIMES">5</field>
100
+ <value name="SIGNAL">
101
+ <block type="variables_get" id="NE+3YnV5CPmt8Vo)Q|1/">
102
+ <field name="VAR" id="E$vaJy]]%n`*#715+J/T">tick</field>
103
+ </block>
104
+ </value>
105
+ </block>
106
+ </next>
107
+ </block>
108
+ </next>
109
+ </block>
110
+ </next>
111
+ </block>
112
+ </statement>
113
+ </block>
114
+ </statement>
115
+ <next>
116
+ <block type="hh_par" id="#GeYPRFICiR}%;lEj^lw">
117
+ <statement name="BODY">
118
+ <block type="hh_loop" id="9kiZ$d201U$xJR8NvE;l">
119
+ <statement name="BODY">
120
+ <block type="hh_await_signal_value" id="4kbhXB(CIPZ]srgtUTI]">
121
+ <field name="TIMES">1</field>
122
+ <field name="Signal_Value">2</field>
123
+ <value name="SIGNAL">
124
+ <block type="variables_get" id="obrD1r59gWPJG3P![k)w">
125
+ <field name="VAR" id="A2!$5fxHs5F8D0kKD#HW">xy</field>
126
+ </block>
127
+ </value>
128
+ <next>
129
+ <block type="hh_print_serveur" id="H_s8ICiM.,|,/4;/Po2X">
130
+ <value name="TEXT">
131
+ <block type="text" id="A2Ne{9;yQN+m/[/`*:O/">
132
+ <field name="TEXT">xy 1</field>
133
+ </block>
134
+ </value>
135
+ <next>
136
+ <block type="putPatternInQueue" id="Z`sC5E,A2@a^r`41PeBc">
137
+ <value name="message">
138
+ <block type="text" id="ZX2G8`n}45gdDIAIf88I">
139
+ <field name="TEXT">test2</field>
140
+ </block>
141
+ </value>
142
+ <next>
143
+ <block type="hh_wait_for" id="Co+qLVK`1U#=~-^iKhnV">
144
+ <field name="TIMES">5</field>
145
+ <value name="SIGNAL">
146
+ <block type="variables_get" id="e||N(KoIK#fI(M?q6H*H">
147
+ <field name="VAR" id="E$vaJy]]%n`*#715+J/T">tick</field>
148
+ </block>
149
+ </value>
150
+ <next>
151
+ <block type="putPatternInQueue" id="XJ22%k8`C**]Zr`iX0nK">
152
+ <value name="message">
153
+ <block type="text" id="6pwFFA`[m.6Ec/Us5_ap">
154
+ <field name="TEXT">test3</field>
155
+ </block>
156
+ </value>
157
+ </block>
158
+ </next>
159
+ </block>
160
+ </next>
161
+ </block>
162
+ </next>
163
+ </block>
164
+ </next>
165
+ </block>
166
+ </statement>
167
+ </block>
168
+ </statement>
169
+ <next>
170
+ <block type="hh_par" id="s%{*YE2=Doay6]r0jFyJ">
171
+ <statement name="BODY">
172
+ <block type="hh_loopeach" id="J;J+50UKzAFwu3K5G={a">
173
+ <field name="TIMES">1</field>
174
+ <value name="SIGNAL">
175
+ <block type="variables_get" id="wxyV`3l;f3}Q/5BYH$hg">
176
+ <field name="VAR" id="A2!$5fxHs5F8D0kKD#HW">xy</field>
177
+ </block>
178
+ </value>
179
+ <statement name="BODY">
180
+ <block type="hh_print_serveur" id="lUoRpPVG$T80j]%.GuW}">
181
+ <value name="TEXT">
182
+ <block type="text" id="CozkD|TD5nTNYl|@c?*y">
183
+ <field name="TEXT">loppeach xy</field>
184
+ </block>
185
+ </value>
186
+ <next>
187
+ <block type="putPatternInQueue" id="GK2sY{w@kd~Mf2fDWo^e">
188
+ <value name="message">
189
+ <block type="text" id="De2|9t/K/OIEIw.#me9M">
190
+ <field name="TEXT">test1</field>
191
+ </block>
192
+ </value>
193
+ </block>
194
+ </next>
195
+ </block>
196
+ </statement>
197
+ </block>
198
+ </statement>
199
+ <next>
200
+ <block type="hh_par" id="2K:T:GN#,$1Gp^l.C_dE">
201
+ <statement name="BODY">
202
+ <block type="hh_wait_for" id="hj~1T,*;6*k2DH#+^{d|">
203
+ <field name="TIMES">2</field>
204
+ <value name="SIGNAL">
205
+ <block type="variables_get" id="Z[N1bu+T2.9~M=|}zsg+">
206
+ <field name="VAR" id="E$vaJy]]%n`*#715+J/T">tick</field>
207
+ </block>
208
+ </value>
209
+ <next>
210
+ <block type="hh_print_serveur" id="8cEvbp4n7HJ*N~yhg2LL">
211
+ <value name="TEXT">
212
+ <block type="text" id="4L1bZE7m;!EOZutLvQ_,">
213
+ <field name="TEXT">Debut</field>
214
+ </block>
215
+ </value>
216
+ <next>
217
+ <block type="hh_emit_value" id="dhF1fAt|{G;(ry4!#.J~">
218
+ <field name="Signal_Value">0</field>
219
+ <value name="SIGNAL">
220
+ <block type="variables_get" id="-IE#]uwI)?pgNg_lPOHL">
221
+ <field name="VAR" id="A2!$5fxHs5F8D0kKD#HW">xy</field>
222
+ </block>
223
+ </value>
224
+ <next>
225
+ <block type="hh_print_serveur" id="^)~W)osNncZw6ToJ~H9`">
226
+ <value name="TEXT">
227
+ <block type="text" id="kCJ:Q?Pa%1n*OB07U[)6">
228
+ <field name="TEXT">0</field>
229
+ </block>
230
+ </value>
231
+ <next>
232
+ <block type="hh_wait_for" id="n}HK}c.G@Q?I#di,HQdV">
233
+ <field name="TIMES">5</field>
234
+ <value name="SIGNAL">
235
+ <block type="variables_get" id="z+]GGfE[v]2nFWBlx9Uv">
236
+ <field name="VAR" id="E$vaJy]]%n`*#715+J/T">tick</field>
237
+ </block>
238
+ </value>
239
+ <next>
240
+ <block type="hh_emit_value" id="s}ak2Cd?/yTPvdr-VSV_">
241
+ <field name="Signal_Value">1</field>
242
+ <value name="SIGNAL">
243
+ <block type="variables_get" id="4pdyKE0fHDH)p`(CF[*t">
244
+ <field name="VAR" id="A2!$5fxHs5F8D0kKD#HW">xy</field>
245
+ </block>
246
+ </value>
247
+ <next>
248
+ <block type="hh_print_serveur" id="5}Wg@ae#@:}W%#tL8W(*">
249
+ <value name="TEXT">
250
+ <block type="text" id="%r-in3zSwl4K-r:Cwr#V">
251
+ <field name="TEXT">1</field>
252
+ </block>
253
+ </value>
254
+ <next>
255
+ <block type="hh_wait_for" id="9:C^R_h;QT/eUON`gZsQ">
256
+ <field name="TIMES">5</field>
257
+ <value name="SIGNAL">
258
+ <block type="variables_get" id="P#X0Y/:2b`nL0y_#jPWB">
259
+ <field name="VAR" id="E$vaJy]]%n`*#715+J/T">tick</field>
260
+ </block>
261
+ </value>
262
+ <next>
263
+ <block type="hh_emit_value" id="0x=#RF^R6}e4(ZG[~tbL">
264
+ <field name="Signal_Value">2</field>
265
+ <value name="SIGNAL">
266
+ <block type="variables_get" id="KO{_%MCHPUVZUcM!a}z*">
267
+ <field name="VAR" id="A2!$5fxHs5F8D0kKD#HW">xy</field>
268
+ </block>
269
+ </value>
270
+ <next>
271
+ <block type="hh_print_serveur" id="5Xu9++1Qls/~2oT3,(s7">
272
+ <value name="TEXT">
273
+ <block type="text" id="4gXk5,[}49:wb6}TP1xY">
274
+ <field name="TEXT">2</field>
275
+ </block>
276
+ </value>
277
+ </block>
278
+ </next>
279
+ </block>
280
+ </next>
281
+ </block>
282
+ </next>
283
+ </block>
284
+ </next>
285
+ </block>
286
+ </next>
287
+ </block>
288
+ </next>
289
+ </block>
290
+ </next>
291
+ </block>
292
+ </next>
293
+ </block>
294
+ </next>
295
+ </block>
296
+ </statement>
297
+ </block>
298
+ </next>
299
+ </block>
300
+ </next>
301
+ </block>
302
+ </next>
303
+ </block>
304
+ </next>
305
+ </block>
306
+ </next>
307
+ </block>
308
+ </next>
309
+ </block>
310
+ </statement>
311
+ </block>
312
+ </xml>