nodeskini 1.0.5 → 1.0.7

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 (179) hide show
  1. package/blocklySkini/blocklySkini.html +5 -1
  2. package/blocklySkini/scripts/hiphop_blocks.js +5 -6
  3. package/client/clientListe/clientListe.js +11 -0
  4. package/client/clientListe/clientListebundle.js +1755 -1909
  5. package/client/controleurHH/controleurHH.html +4 -0
  6. package/client/queueViewer/queue.html +34 -0
  7. package/client/queueViewer/queue.js +187 -0
  8. package/client/queueViewer/style.css +26 -0
  9. package/client/score/parto1.js +14 -11
  10. package/client/score/parto1bundle.js +55 -33
  11. package/client/score/score.html +8 -7
  12. package/doc/Doc Skini Node english.pdf +0 -0
  13. package/doc/Mode d'emploi Skini Node.pdf +0 -0
  14. package/doc/Tuto Skini.pdf +0 -0
  15. package/doc/quickstart.pdf +0 -0
  16. package/myReact/orchestrationHH.hh.js +147 -1843
  17. package/myReact/orchestrationHH.mjs +50 -231
  18. package/myReact/orchestrationHH.mjs.map +1 -1
  19. package/package.json +11 -8
  20. package/pieces/tutos/demoAbleton.csv +21 -0
  21. package/pieces/tutos/demoAbleton.js +100 -0
  22. package/pieces/tutos/demoAbleton.xml +180 -0
  23. package/pieces/tutos/demoHH.js +99 -0
  24. package/pieces/tutos/demoHH.xml +184 -0
  25. package/pieces/tutos/demoHHwait.js +100 -0
  26. package/pieces/tutos/demoHHwait.xml +175 -0
  27. package/pieces/tutos/tuto.csv +10 -0
  28. package/pieces/tutos/tuto.csv.good +1 -0
  29. package/pieces/tutos/tuto1.js +105 -0
  30. package/pieces/tutos/tuto1.xml +147 -0
  31. package/pieces/tutos/tuto10.back.js +106 -0
  32. package/pieces/tutos/tuto10.js +107 -0
  33. package/pieces/tutos/tuto10.xml +199 -0
  34. package/pieces/tutos/tuto11.js +111 -0
  35. package/pieces/tutos/tuto11.xml +124 -0
  36. package/pieces/tutos/tuto12.js +91 -0
  37. package/pieces/tutos/tuto12.xml +258 -0
  38. package/pieces/tutos/tuto2.back.js +106 -0
  39. package/pieces/tutos/tuto2.js +95 -0
  40. package/pieces/tutos/tuto2.xml +94 -0
  41. package/pieces/tutos/tuto3-2.js +105 -0
  42. package/pieces/tutos/tuto3-2.xml +96 -0
  43. package/pieces/tutos/tuto3.js +97 -0
  44. package/pieces/tutos/tuto3.xml +49 -0
  45. package/pieces/tutos/tuto4.js +107 -0
  46. package/pieces/tutos/tuto4.xml +106 -0
  47. package/pieces/tutos/tuto5.js +109 -0
  48. package/pieces/tutos/tuto5.xml +42 -0
  49. package/pieces/tutos/tuto6.js +105 -0
  50. package/pieces/tutos/tuto6.xml +26 -0
  51. package/pieces/tutos/tuto7.js +107 -0
  52. package/pieces/tutos/tuto7.xml +65 -0
  53. package/pieces/tutos/tuto8.js +105 -0
  54. package/pieces/tutos/tuto8.xml +76 -0
  55. package/pieces/tutos/tuto9.js +107 -0
  56. package/pieces/tutos/tuto9.xml +90 -0
  57. package/pieces/tutos/tutoAwait.js +111 -0
  58. package/pieces/tutos/tutoAwait.xml +171 -0
  59. package/pieces/tutos/tutoDoubleEmission.js +93 -0
  60. package/pieces/tutos/tutoDoubleEmission.xml +65 -0
  61. package/pieces/tutos/tutoESP32.js +104 -0
  62. package/pieces/tutos/tutoESP32.xml +246 -0
  63. package/pieces/tutos/tutoGame.js +126 -0
  64. package/pieces/tutos/tutoGame.xml +109 -0
  65. package/pieces/tutos/tutoGroups1.js +111 -0
  66. package/pieces/tutos/tutoGroups1.xml +137 -0
  67. package/pieces/tutos/tutoGroups2.js +97 -0
  68. package/pieces/tutos/tutoGroups2.xml +103 -0
  69. package/pieces/tutos/tutoGroups3.js +111 -0
  70. package/pieces/tutos/tutoGroups3.xml +128 -0
  71. package/pieces/tutos/tutoGroups4.js +111 -0
  72. package/pieces/tutos/tutoGroups4.xml +84 -0
  73. package/pieces/tutos/tutoIZ.js +95 -0
  74. package/pieces/tutos/tutoIZ.xml +135 -0
  75. package/pieces/tutos/tutoIf.js +111 -0
  76. package/pieces/tutos/tutoIf.xml +126 -0
  77. package/pieces/tutos/tutoMidi.js +126 -0
  78. package/pieces/tutos/tutoMidi.xml +62 -0
  79. package/pieces/tutos/tutoOS.js +121 -0
  80. package/pieces/tutos/tutoOSC.js +109 -0
  81. package/pieces/tutos/tutoOSC.xml +223 -0
  82. package/pieces/tutos/tutoOSCJonathan.js +94 -0
  83. package/pieces/tutos/tutoOSCJonathan.xml +312 -0
  84. package/pieces/tutos/tutoPatternInGroup.js +109 -0
  85. package/pieces/tutos/tutoPatternInGroup.xml +116 -0
  86. package/pieces/tutos/tutoRandomBlock.js +129 -0
  87. package/pieces/tutos/tutoRandomBlock.xml +194 -0
  88. package/pieces/tutos/tutoSuspend.js +107 -0
  89. package/pieces/tutos/tutoSuspend.xml +139 -0
  90. package/pieces/tutos/tutoSustain.js +107 -0
  91. package/pieces/tutos/tutoSustain.xml +109 -0
  92. package/pieces/tutos/tutoTank.csv +9 -0
  93. package/pieces/tutos/tutoTank.js +100 -0
  94. package/pieces/tutos/tutoTank.xml +326 -0
  95. package/pieces/tutos/tutoTestAll.csv +11 -0
  96. package/pieces/tutos/tutoTestAll.hh.js +401 -0
  97. package/pieces/tutos/tutoTestAll.js +101 -0
  98. package/pieces/tutos/tutoTestAll.xml +866 -0
  99. package/serveur/OSCandMidi.mjs +27 -3
  100. package/serveur/controleDAW.mjs +2 -1
  101. package/serveur/groupeClientsSons.mjs +27 -3
  102. package/serveur/ipConfig.json +2 -2
  103. package/serveur/skiniParametres.js +55 -10
  104. package/serveur/utilsSkini.mjs +1 -1
  105. package/serveur/websocketServer.mjs +14 -4
  106. package/skini.mjs +4 -0
  107. package/blocklySkini/archive/blocklyControleur.js +0 -87
  108. package/blocklySkini/archive/blocklySkini.js +0 -84
  109. package/blocklySkini/archive/blocklyhop.js +0 -75
  110. package/blocklySkini/archive/clientControleurBlocly.js +0 -170
  111. package/blocklySkini/archive/index.html +0 -76
  112. package/blocklySkini/archive/testHHsuspend.txt +0 -89
  113. package/blocklySkini/archive/testHHtrap.txt +0 -262
  114. package/blocklySkini/archive/testOrchestration.txt +0 -177
  115. package/blocklySkini/archive/testOrchestration.xml +0 -447
  116. package/blocklySkini/archive/testOrchestration2.xml +0 -456
  117. package/blocklySkini/scripts/hiphop_blocks.old.js +0 -3010
  118. package/blocklySkini/scripts/hiphop_blocks11-2025.js +0 -6104
  119. package/myReact/archive/Nodeemitvaluedlocal1.hh.js +0 -52
  120. package/myReact/archive/abort-parNode.js +0 -79
  121. package/myReact/archive/abroNode.js +0 -169
  122. package/myReact/archive/abroNode2.js +0 -80
  123. package/myReact/archive/atom.compile.hh.js +0 -52
  124. package/myReact/archive/await-countNode.js +0 -67
  125. package/myReact/archive/await-nowvalNode.js +0 -44
  126. package/myReact/archive/callHH.js +0 -96
  127. package/myReact/archive/emit-if2.hh.compiled.js +0 -113
  128. package/myReact/archive/every1Node.js +0 -35
  129. package/myReact/archive/if-runNode.js +0 -74
  130. package/myReact/archive/if1Node.js +0 -43
  131. package/myReact/archive/makeawait.js +0 -0
  132. package/myReact/archive/myReact.old.js +0 -684
  133. package/myReact/archive/orchestration.js +0 -281
  134. package/myReact/archive/orchestration1.js +0 -132
  135. package/myReact/archive/orchestration1.xml +0 -465
  136. package/myReact/archive/orchestration2.js +0 -161
  137. package/myReact/archive/orchestrationHH.mano.js +0 -280
  138. package/myReact/archive/orchestrationHHTest.js +0 -428
  139. package/myReact/archive/orchestrationHHTest.xml +0 -234
  140. package/myReact/archive/orchestrationHHTestRun.js +0 -104
  141. package/myReact/archive/orchestrationHHTestRun.xml +0 -34
  142. package/myReact/archive/orchestrationTest0.js +0 -178
  143. package/myReact/archive/orchestrationTest1.js +0 -181
  144. package/myReact/archive/orchestrationTest2.js +0 -281
  145. package/myReact/archive/run3pointsNode.js +0 -59
  146. package/myReact/archive/runNode.js +0 -123
  147. package/myReact/archive/runNode2.js +0 -91
  148. package/myReact/archive/testAwait1.js +0 -141
  149. package/myReact/archive/testAwait1.xml +0 -86
  150. package/myReact/archive/testEvery1.js +0 -122
  151. package/myReact/archive/testEvery1.xml +0 -79
  152. package/myReact/archive/testHH1.js +0 -135
  153. package/myReact/archive/testHH1.xml +0 -86
  154. package/myReact/archive/testHH1revu.js +0 -104
  155. package/myReact/archive/testHH2.js +0 -122
  156. package/myReact/archive/testHH2.xml +0 -79
  157. package/myReact/archive/testHH3.js +0 -130
  158. package/myReact/archive/testHH3.xml +0 -86
  159. package/myReact/archive/testHHabort.js +0 -121
  160. package/myReact/archive/testHHabort.xml +0 -83
  161. package/myReact/archive/testMakeawait.js +0 -202
  162. package/myReact/archive/testRun1.js +0 -168
  163. package/myReact/archive/testRun1.xml +0 -142
  164. package/myReact/archive/titi.js +0 -28
  165. package/myReact/archive/titi.xml +0 -110
  166. package/myReact/archive/toto.js +0 -73
  167. package/myReact/archive/toto.xml +0 -198
  168. package/myReact/archive/trap-await-parallelNode.js +0 -123
  169. package/myReact/inutiles/hiver2022.xml +0 -804
  170. package/myReact/inutiles/hopeNode.xml +0 -459
  171. package/myReact/inutiles/mars2022.xml +0 -871
  172. package/myReact/inutiles/mystique1.xml +0 -318
  173. package/myReact/inutiles/mystiqueOSC.xml +0 -277
  174. package/myReact/inutiles/opus5Node.xml +0 -1271
  175. package/myReact/inutiles/opus5NodeLinux.xml +0 -1241
  176. package/myReact/inutiles/orchestrationHH.xml +0 -541
  177. package/myReact/inutiles/orchestrationHH2.xml +0 -547
  178. package/myReact/inutiles/testHH.xml +0 -95
  179. package/myReact/inutiles/trouveLaPercuTenor.xml +0 -349
@@ -0,0 +1,147 @@
1
+ <xml xmlns="https://developers.google.com/blockly/xml">
2
+ <variables>
3
+ <variable id="s${ep-?H7|lVi1|X{*#W">foo</variable>
4
+ </variables>
5
+ <block type="hh_ORCHESTRATION" id="a-M{,,Z8QBPD6S|y-Hm7" x="129" y="85">
6
+ <statement name="SIGNALS">
7
+ <block type="hh_declare_signal" id="2{I~,=oR`tdBVYPno:+|">
8
+ <field name="TYPE">inout</field>
9
+ <value name="signal">
10
+ <block type="variables_get" id="K{$fPb8LZ.cd)C^APoz=">
11
+ <field name="VAR" id="s${ep-?H7|lVi1|X{*#W">foo</field>
12
+ </block>
13
+ </value>
14
+ </block>
15
+ </statement>
16
+ <statement name="BODY">
17
+ <block type="hh_fork" id="ju7-f(^=.PHMCNkn;xZ,">
18
+ <statement name="BODY">
19
+ <block type="hh_sequence" id="#g6c?HPz4}VtQT}6q@!W">
20
+ <statement name="BODY">
21
+ <block type="hh_emit_value" id="S39Zv%x?T:AhOBCHtFff">
22
+ <field name="Signal_Value">0</field>
23
+ <value name="SIGNAL">
24
+ <block type="variables_get" id="lgu`K:nu91yP+3bAD]F}">
25
+ <field name="VAR" id="s${ep-?H7|lVi1|X{*#W">foo</field>
26
+ </block>
27
+ </value>
28
+ <next>
29
+ <block type="hh_wait_for_immediate" id="QqNud_Jw:Mkteq;Y;Fwy">
30
+ <value name="SIGNAL">
31
+ <block type="variables_get" id="j]B!$5)G1knA*Ac?[,]w">
32
+ <field name="VAR" id="s${ep-?H7|lVi1|X{*#W">foo</field>
33
+ </block>
34
+ </value>
35
+ <next>
36
+ <block type="exe_javascript" id="N^lS.$)|O}%2H3m4D!13">
37
+ <field name="JScode">var bar = 1;&amp;#10;for(var i=0; i&lt;10; i++) {&amp;#10; bar++;&amp;#10; console.log(bar);&amp;#10;}</field>
38
+ <next>
39
+ <block type="hh_pause" id="}%JkToE]Hf6YvTSp##lV">
40
+ <next>
41
+ <block type="hh_emit_value_var" id="g+EHpTWkGT|:txwa*Q!L">
42
+ <value name="SIGNAL">
43
+ <block type="variables_get" id="hmN3s#D9_q(rK;*SREkb">
44
+ <field name="VAR" id="s${ep-?H7|lVi1|X{*#W">foo</field>
45
+ </block>
46
+ </value>
47
+ <value name="VARIABLE">
48
+ <block type="text" id="/Q:2cN(c@uLH1cAom)!W">
49
+ <field name="TEXT">bar</field>
50
+ </block>
51
+ </value>
52
+ <next>
53
+ <block type="hh_wait_for_var" id="+-UY/;7G?~wnAvVlbCt$">
54
+ <value name="VARIABLE">
55
+ <block type="text" id="-Em)77O6C;G*W[^|ETtE">
56
+ <field name="TEXT">bar</field>
57
+ </block>
58
+ </value>
59
+ <value name="SIGNAL">
60
+ <block type="variables_get" id="97^z|NhVeE|L36n%9NV%">
61
+ <field name="VAR" id="s${ep-?H7|lVi1|X{*#W">foo</field>
62
+ </block>
63
+ </value>
64
+ <next>
65
+ <block type="hh_pause" id="6g0#u8.lzvC;3GqV[r1e">
66
+ <next>
67
+ <block type="hh_emit_value" id="`fJ]lj4:b7K%T*);*(0w">
68
+ <field name="Signal_Value">0</field>
69
+ <value name="SIGNAL">
70
+ <block type="variables_get" id="k8cjJlC3D=xNd={VAREh">
71
+ <field name="VAR" id="s${ep-?H7|lVi1|X{*#W">foo</field>
72
+ </block>
73
+ </value>
74
+ <next>
75
+ <block type="hh_print_serveur" id="[,y|9`XZT5.sLVUdCE?}">
76
+ <value name="TEXT">
77
+ <block type="text" id="|(t~Z}|D8y8),mF(um?p">
78
+ <field name="TEXT">foo</field>
79
+ </block>
80
+ </value>
81
+ </block>
82
+ </next>
83
+ </block>
84
+ </next>
85
+ </block>
86
+ </next>
87
+ </block>
88
+ </next>
89
+ </block>
90
+ </next>
91
+ </block>
92
+ </next>
93
+ </block>
94
+ </next>
95
+ </block>
96
+ </next>
97
+ </block>
98
+ </statement>
99
+ <next>
100
+ <block type="hh_sequence" id="Y{f?jqV/7)ufL*ys5QxX">
101
+ <statement name="BODY">
102
+ <block type="hh_await_signal_value" id="*wiPQ6|9EsLO;$BK~:`:">
103
+ <field name="TIMES">1</field>
104
+ <field name="Signal_Value">0</field>
105
+ <value name="SIGNAL">
106
+ <block type="variables_get" id="zQH;UAT=NvM@VFki#hSb">
107
+ <field name="VAR" id="s${ep-?H7|lVi1|X{*#W">foo</field>
108
+ </block>
109
+ </value>
110
+ <next>
111
+ <block type="hh_print_serveur" id="B4]GmFZJU=!BQ9pKFoL,">
112
+ <value name="TEXT">
113
+ <block type="text" id="i5Ws~w:Sp;Bm9q8h,16K">
114
+ <field name="TEXT">foo 11</field>
115
+ </block>
116
+ </value>
117
+ <next>
118
+ <block type="hh_if_signal_value" id="eZVt)LZ2c{XMZxUD#=h-">
119
+ <field name="Signal_Value">0</field>
120
+ <value name="SIGNAL">
121
+ <block type="variables_get" id="N:UlI5WLvMhwVMDm!S!b">
122
+ <field name="VAR" id="s${ep-?H7|lVi1|X{*#W">foo</field>
123
+ </block>
124
+ </value>
125
+ <statement name="BODY">
126
+ <block type="hh_print_serveur" id="+iH)]#1n!5Ut#!4J^l_l">
127
+ <value name="TEXT">
128
+ <block type="text" id="v0ko/{oonz]^(ux4BbCc">
129
+ <field name="TEXT">foo 0</field>
130
+ </block>
131
+ </value>
132
+ </block>
133
+ </statement>
134
+ </block>
135
+ </next>
136
+ </block>
137
+ </next>
138
+ </block>
139
+ </statement>
140
+ </block>
141
+ </next>
142
+ </block>
143
+ </statement>
144
+ </block>
145
+ </statement>
146
+ </block>
147
+ </xml>
@@ -0,0 +1,106 @@
1
+
2
+ // Generated by Skini: Tue Mar 12 2024 12:32:32 GMT+0100 (heure normale d’Europe centrale)
3
+ "use strict"
4
+
5
+ var midiConfig = require("../serveur/midiConfig.json");
6
+
7
+ var countBusOUT = 0;
8
+ for (var i = 0; i < midiConfig.length; i++) {
9
+ if (midiConfig[i].type === "OUT") {
10
+ if (midiConfig[i].spec === "clipToDAW") {
11
+ exports.busMidiDAW = countBusOUT;
12
+ }
13
+ countBusOUT++;
14
+ }
15
+ }
16
+
17
+ // Piece Bitwig en OSC si la paramètre est false
18
+ // Sinon Skini parle MIDI
19
+ exports.directMidiON = true;
20
+
21
+ // Pour charger les fonctions et modules de scenes de type GOLEM
22
+ exports.scenesON = false;
23
+
24
+ exports.english = true;
25
+
26
+ /***********************************
27
+ Paramètres du simulateur
28
+ Si ces valeurs ne sont pas données c'est celle qui
29
+ sont dans le simulateur qui sont utilisées
30
+ ************************************/
31
+ exports.tempoMax = 500; // En ms
32
+ exports.tempoMin = 600; // En ms
33
+ exports.limiteDureeAttente = 33; // En pulsations
34
+
35
+ /********************************************************
36
+ AUTOMATE
37
+ *********************************************************/
38
+ // Pour un automate conforme à un rechargement selon les déclarations de module HipHop
39
+ exports.reactOnPlay = false;
40
+
41
+ // Pour une réaction à chaque pulsation
42
+ exports.pulsationON = false;
43
+
44
+ /*************************************
45
+ CHEMIN DES FICHIERS SONS MP3 pour les clients
46
+ Nom du sous répartoire ./sounds/xxxx
47
+ *************************************/
48
+ exports.soundFilesPath1 = "";
49
+
50
+ /***************************************
51
+ CHEMIN DES PARTITIONS DES PATTERNS ET CONFIG AVEC MUSICIENS
52
+ ****************************************/
53
+ exports.avecMusicien = false; // Pour mettre en place les spécificités au jeu avec des musiciens.
54
+ exports.decalageFIFOavecMusicien = 4; // Décalage de la FIFO vide avant le premier pattern dans une FIFO.
55
+ exports.patternScorePath1 ="";
56
+
57
+ /****************************************
58
+ ACTIVATION D'ALGORITHME D'ORGANISATION DES FIFOs
59
+ Si 0 ou undefined pas d'algorithme.
60
+ Si 1 algorithme de réorganisation Début, Milieu, Fin, Neutre (DFMN)
61
+ Dans le csv, D -> 1, M -> 2, F->3, N->4 (c'est fixé dans controleAbleton.js)
62
+ Si autre ... à créer...
63
+ ATTENTION: NE JAMAIS UTILISER EN SITUATION D'INTERACTION SI L'ALGORITHME
64
+ PEUT SUPPRIMER DES PATTERNS DES FIFOs
65
+ *****************************************/
66
+ exports.algoGestionFifo = 0;
67
+ exports.shufflePatterns = false;
68
+ /*****************************************************************************
69
+
70
+ Gestion de la Matrice des possibles
71
+ Automate de gestion de la matrice des possibles
72
+
73
+ ******************************************************************************/
74
+ exports.nbeDeGroupesClients = 3;
75
+
76
+ function setnbeDeGroupesClients(num) {
77
+ this.nbeDeGroupesClients = num;
78
+ }
79
+ exports.setnbeDeGroupesClients = setnbeDeGroupesClients;
80
+
81
+ exports.simulatorInAseperateGroup = false; // Si true, le dernier groupe client est réservé au simulateur.
82
+
83
+ // Pour un contrôle des Raspberries
84
+ exports.useRaspberries = false;
85
+ exports.playBufferMessage = "test";
86
+ exports.raspOSCPort = 4000;
87
+
88
+ // La synchro Midi, Link. Synchro Bitwig OSC par défaut si Midi et Link false.
89
+ exports.synchoOnMidiClock = false;
90
+ exports.synchroLink = true;
91
+ exports.synchroSkini = false;
92
+ exports.timer = 500;
93
+ exports.gameOSCSignals = false;
94
+
95
+ exports.sensorOSC = false;
96
+ exports.tempoSensorsInit = [0,0,0,0,0,0,0,0,0,0,0,0];
97
+ exports.sensorsSensibilities = [0,0,0,0,0,0,0,0,0,0,0,0];
98
+
99
+ const groupesDesSons = [
100
+ [ "Groupe1",1, "0",200,300,1,"",[], ],
101
+ [ "",, "",,,,"",[], ],
102
+ [ "",, "",,,,"",[], ],
103
+ [ "",, "",,,,"",[], ],
104
+ [ "",, "",,,,"",[], ],
105
+ ];
106
+ exports.groupesDesSons = groupesDesSons;
@@ -0,0 +1,107 @@
1
+
2
+ // Generated by Skini: Mon Dec 15 2025 12:09:28 GMT+0100 (heure normale d’Europe centrale)
3
+ "use strict"
4
+
5
+ // Indexation des bus Midi pour OSCmidi. A utiliser si Processing en passerelle
6
+ // Il s'agit de l'index correspondant à l'élément du tableau midiConfig.json
7
+ // qui crée le bus midi pour ces commandes.
8
+ // var midiConfig = require("../serveur/midiConfig.json");
9
+ // var countBusOUT = 0;
10
+ // for (var i = 0; i < midiConfig.length; i++) {
11
+ // if (midiConfig[i].type === "OUT") {
12
+ // if (midiConfig[i].spec === "clipToDAW") {
13
+ // exports.busMidiDAW = countBusOUT;
14
+ // }
15
+ // countBusOUT++;
16
+ // }
17
+ // }
18
+
19
+ // A utiliser si Processing en passerelle
20
+ exports.busMidiDAW = 1;
21
+
22
+ // Piece en OSC si la paramètre est false
23
+ // Sinon Skini parle MIDI
24
+ exports.directMidiON = true;
25
+
26
+ // Pour charger les fonctions et modules de scenes de type GOLEM
27
+ exports.scenesON = false;
28
+
29
+ exports.english = true;
30
+
31
+ /***********************************
32
+ Paramètres du simulateur
33
+ Si ces valeurs ne sont pas données c'est celle qui
34
+ sont dans le simulateur qui sont utilisées
35
+ ************************************/
36
+ exports.tempoMax = 500; // En ms
37
+ exports.tempoMin = 650; // En ms
38
+ exports.limiteDureeAttente = 33; // En pulsations
39
+
40
+ /********************************************************
41
+ AUTOMATE
42
+ *********************************************************/
43
+ // Pour un automate conforme à un rechargement selon les déclarations de module HipHop
44
+ exports.reactOnPlay = false;
45
+
46
+ // Pour une réaction à chaque pulsation
47
+ exports.pulsationON = false;
48
+
49
+ /*************************************
50
+ CHEMIN DES FICHIERS SONS MP3 pour les clients
51
+ Nom du sous répartoire ./sounds/xxxx
52
+ *************************************/
53
+ exports.soundFilesPath1 = "";
54
+
55
+ /***************************************
56
+ CHEMIN DES PARTITIONS DES PATTERNS ET CONFIG AVEC MUSICIENS
57
+ ****************************************/
58
+ exports.avecMusicien = false; // Pour mettre en place les spécificités au jeu avec des musiciens.
59
+ exports.decalageFIFOavecMusicien = 4; // Décalage de la FIFO vide avant le premier pattern dans une FIFO.
60
+ exports.patternScorePath1 ="";
61
+
62
+ /****************************************
63
+ ACTIVATION D'ALGORITHME D'ORGANISATION DES FIFOs
64
+ Si 0 ou undefined pas d'algorithme.
65
+ Si 1 algorithme de réorganisation Début, Milieu, Fin, Neutre (DFMN)
66
+ Dans le csv, D -> 1, M -> 2, F->3, N->4 (c'est fixé dans controleAbleton.js)
67
+ Si autre ... à créer...
68
+ ATTENTION: NE JAMAIS UTILISER EN SITUATION D'INTERACTION SI L'ALGORITHME
69
+ PEUT SUPPRIMER DES PATTERNS DES FIFOs
70
+ *****************************************/
71
+ exports.algoGestionFifo = 0;
72
+ exports.shufflePatterns = false;
73
+ /*****************************************************************************
74
+
75
+ Gestion de la Matrice des possibles
76
+ Automate de gestion de la matrice des possibles
77
+
78
+ ******************************************************************************/
79
+ exports.nbeDeGroupesClients = 3;
80
+
81
+ function setnbeDeGroupesClients(num) {
82
+ this.nbeDeGroupesClients = num;
83
+ }
84
+ exports.setnbeDeGroupesClients = setnbeDeGroupesClients;
85
+
86
+ exports.simulatorInAseperateGroup = false; // Si true, le dernier groupe client est réservé au simulateur.
87
+
88
+ // Pour un contrôle des Raspberries
89
+ exports.useRaspberries = false;
90
+ exports.playBufferMessage = "test";
91
+ exports.raspOSCPort = 4000;
92
+
93
+ // La synchro Midi, Link. Synchro Bitwig OSC par défaut si Midi et Link false.
94
+ exports.synchoOnMidiClock = false;
95
+ exports.synchroLink = true;
96
+ exports.synchroSkini = false;
97
+ exports.timer = 500;
98
+ exports.gameOSCSignals = false;
99
+
100
+ exports.sensorOSC = false;
101
+ exports.tempoSensorsInit = [0,0,0,0,0,0,0,0,0,0,0,0];
102
+ exports.sensorsSensibilities = [0,0,0,0,0,0,0,0,0,0,0,0];
103
+
104
+ const groupesDesSons = [
105
+ [ "Groupe1",1, "0",200,300,1,"",[], ],
106
+ ];
107
+ exports.groupesDesSons = groupesDesSons;
@@ -0,0 +1,199 @@
1
+ <xml xmlns="https://developers.google.com/blockly/xml">
2
+ <variables>
3
+ <variable id="]s;$eP#9]qT`dvKz*kf.">stopTrap12</variable>
4
+ <variable id="3c/~n6W:3wYb?Kp5_*bz">Groupe1</variable>
5
+ <variable id="e~?Hofi|/CqL68B=.2=m">tick</variable>
6
+ <variable id="L/uUotHI-n=5.RDdUqh:">trap1</variable>
7
+ </variables>
8
+ <block type="hh_ORCHESTRATION" id="+TVwrSF`WXyYjVSGfJ$c" x="105" y="31">
9
+ <statement name="SIGNALS">
10
+ <block type="hh_declare_signal" id="1L#G~YyJ^|f:f33_Dd0D">
11
+ <field name="TYPE">inout</field>
12
+ <value name="signal">
13
+ <block type="variables_get" id="D=6!_Z[WaSrf$zTE-$K5">
14
+ <field name="VAR" id="]s;$eP#9]qT`dvKz*kf.">stopTrap12</field>
15
+ </block>
16
+ </value>
17
+ <next>
18
+ <block type="hh_declare_signal" id="u:%;7z*`EGf%RKwgFnHM">
19
+ <field name="TYPE">inout</field>
20
+ <value name="signal">
21
+ <block type="variables_get" id="[S;(r,500#rrjpmH,Q|.">
22
+ <field name="VAR" id="3c/~n6W:3wYb?Kp5_*bz">Groupe1</field>
23
+ </block>
24
+ </value>
25
+ </block>
26
+ </next>
27
+ </block>
28
+ </statement>
29
+ <statement name="BODY">
30
+ <block type="addSceneScore" id="GH_3|{bK_U$I.rENsL.R">
31
+ <field name="number">1</field>
32
+ <next>
33
+ <block type="alertInfoScoreON" id="5H,RhqkJWqd+BZ~zTKSD">
34
+ <value name="message">
35
+ <block type="text" id="FBKiOcP$lB9)cDImHUp.">
36
+ <field name="TEXT">Start demo HH 2</field>
37
+ </block>
38
+ </value>
39
+ <next>
40
+ <block type="hh_print_serveur" id="$[Zbp?-WM)%iOH!ikDYL">
41
+ <value name="TEXT">
42
+ <block type="text" id="Ic~K)7g`4]:sRtWk2@;2">
43
+ <field name="TEXT">Start demo HH</field>
44
+ </block>
45
+ </value>
46
+ <next>
47
+ <block type="hh_wait_for" id="J=@0DfxqTV!.pxrBz/`[">
48
+ <field name="TIMES">1</field>
49
+ <value name="SIGNAL">
50
+ <block type="variables_get" id="3]%QflD0p,|4}LLSK5+t">
51
+ <field name="VAR" id="e~?Hofi|/CqL68B=.2=m">tick</field>
52
+ </block>
53
+ </value>
54
+ <next>
55
+ <block type="hh_trap" id="Zs~Gki3SrV5Km}qIMh)/">
56
+ <value name="TRAP">
57
+ <block type="variables_get" id="6{Uj!:uA_$k64uL5A,W:">
58
+ <field name="VAR" id="L/uUotHI-n=5.RDdUqh:">trap1</field>
59
+ </block>
60
+ </value>
61
+ <statement name="BODY">
62
+ <block type="hh_fork" id="OU,#IJzt4=mWYOx*|g%=">
63
+ <statement name="BODY">
64
+ <block type="hh_loop" id="s^[fUQ/:=AU3/Kzt3/xw">
65
+ <statement name="BODY">
66
+ <block type="hh_wait_for" id="cag|W2S0-%rqFGZK`#jz">
67
+ <field name="TIMES">2</field>
68
+ <value name="SIGNAL">
69
+ <block type="variables_get" id="CioZY{1yd:(6NLh?@(G%">
70
+ <field name="VAR" id="e~?Hofi|/CqL68B=.2=m">tick</field>
71
+ </block>
72
+ </value>
73
+ <next>
74
+ <block type="alertInfoScoreON" id="*op*EH#YEk#9`AV$[L#^">
75
+ <value name="message">
76
+ <block type="text" id="7-MB/qsejnA%#*QfV!X$">
77
+ <field name="TEXT">Message Trap1</field>
78
+ </block>
79
+ </value>
80
+ <next>
81
+ <block type="hh_wait_for" id="_/_Sq%3lJUu]r^eYrf_:">
82
+ <field name="TIMES">2</field>
83
+ <value name="SIGNAL">
84
+ <block type="variables_get" id="rhH7I]Vl^_J#Ko;#kQH(">
85
+ <field name="VAR" id="e~?Hofi|/CqL68B=.2=m">tick</field>
86
+ </block>
87
+ </value>
88
+ <next>
89
+ <block type="alertInfoScoreOFF" id="L/)7CbVUEm25DV+*v:Bk"></block>
90
+ </next>
91
+ </block>
92
+ </next>
93
+ </block>
94
+ </next>
95
+ </block>
96
+ </statement>
97
+ </block>
98
+ </statement>
99
+ <next>
100
+ <block type="hh_par" id="]#=B$*m)ahsQ-sv2hqoo">
101
+ <statement name="BODY">
102
+ <block type="hh_sequence" id="0W)2K@8sgK1]:=7,{i`P">
103
+ <statement name="BODY">
104
+ <block type="hh_wait_for" id=")fbO-Dj=IU0LBv=S{Vw(">
105
+ <field name="TIMES">1</field>
106
+ <value name="SIGNAL">
107
+ <block type="variables_get" id="fI!F_7F[|}%j)b$6~JS4">
108
+ <field name="VAR" id="]s;$eP#9]qT`dvKz*kf.">stopTrap12</field>
109
+ </block>
110
+ </value>
111
+ <next>
112
+ <block type="alertInfoScoreON" id="hlFg#Y1VFq_hAY@.7f=U">
113
+ <value name="message">
114
+ <block type="text" id="=d!K`q@AuV3efP{)[9ay">
115
+ <field name="TEXT">End trap 1</field>
116
+ </block>
117
+ </value>
118
+ <next>
119
+ <block type="hh_break" id="1WqQ[)YNbTl.QT66!I40">
120
+ <value name="TRAP">
121
+ <block type="variables_get" id="znO$ZA37ui~=s{`1YjjA">
122
+ <field name="VAR" id="L/uUotHI-n=5.RDdUqh:">trap1</field>
123
+ </block>
124
+ </value>
125
+ </block>
126
+ </next>
127
+ </block>
128
+ </next>
129
+ </block>
130
+ </statement>
131
+ </block>
132
+ </statement>
133
+ <next>
134
+ <block type="hh_par" id="53.y5Ddqr1TPhk%]9KV]">
135
+ <statement name="BODY">
136
+ <block type="hh_sequence" id="WS@X:RMuJu^]kt^%5`=p">
137
+ <statement name="BODY">
138
+ <block type="hh_pause" id="R8QxByDBWw[+v0P$?fWT">
139
+ <next>
140
+ <block type="hh_wait_for" id="H%)J_,!?B[i^O=9fmf7,">
141
+ <field name="TIMES">15</field>
142
+ <value name="SIGNAL">
143
+ <block type="variables_get" id=";iZ68Q1sB7kCG32y,v.K">
144
+ <field name="VAR" id="e~?Hofi|/CqL68B=.2=m">tick</field>
145
+ </block>
146
+ </value>
147
+ <next>
148
+ <block type="hh_emit_value" id="n}n!ohVj*}*9mJeE8qGc">
149
+ <field name="Signal_Value">0</field>
150
+ <value name="SIGNAL">
151
+ <block type="variables_get" id="BQR9#xK]:dt(8NXz]591">
152
+ <field name="VAR" id="]s;$eP#9]qT`dvKz*kf.">stopTrap12</field>
153
+ </block>
154
+ </value>
155
+ <next>
156
+ <block type="hh_wait_for" id="}Daqn9z#HEz/`efH4I%G">
157
+ <field name="TIMES">2</field>
158
+ <value name="SIGNAL">
159
+ <block type="variables_get" id="uHRKPC`fQV`+U!FvkPiT">
160
+ <field name="VAR" id="e~?Hofi|/CqL68B=.2=m">tick</field>
161
+ </block>
162
+ </value>
163
+ <next>
164
+ <block type="alertInfoScoreON" id="ILB4D(bA|Tr+(S|E4!-9">
165
+ <value name="message">
166
+ <block type="text" id="9!A8=^+:8V8:aEv6hy%$">
167
+ <field name="TEXT">End demo HH</field>
168
+ </block>
169
+ </value>
170
+ </block>
171
+ </next>
172
+ </block>
173
+ </next>
174
+ </block>
175
+ </next>
176
+ </block>
177
+ </next>
178
+ </block>
179
+ </statement>
180
+ </block>
181
+ </statement>
182
+ </block>
183
+ </next>
184
+ </block>
185
+ </next>
186
+ </block>
187
+ </statement>
188
+ </block>
189
+ </next>
190
+ </block>
191
+ </next>
192
+ </block>
193
+ </next>
194
+ </block>
195
+ </next>
196
+ </block>
197
+ </statement>
198
+ </block>
199
+ </xml>