nodeskini 1.0.5 → 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 (164) hide show
  1. package/client/clientListe/clientListe.js +11 -0
  2. package/client/clientListe/clientListebundle.js +1755 -1909
  3. package/client/score/parto1.js +4 -1
  4. package/client/score/parto1bundle.js +45 -23
  5. package/doc/Doc Skini Node english.pdf +0 -0
  6. package/doc/Mode d'emploi Skini Node.pdf +0 -0
  7. package/doc/Tuto Skini.pdf +0 -0
  8. package/doc/quickstart.pdf +0 -0
  9. package/myReact/orchestrationHH.hh.js +27 -12
  10. package/myReact/orchestrationHH.mjs +170 -170
  11. package/myReact/orchestrationHH.mjs.map +1 -1
  12. package/package.json +11 -8
  13. package/pieces/tutos/demoAbleton.csv +21 -0
  14. package/pieces/tutos/demoAbleton.js +100 -0
  15. package/pieces/tutos/demoAbleton.xml +180 -0
  16. package/pieces/tutos/demoHH.js +99 -0
  17. package/pieces/tutos/demoHH.xml +184 -0
  18. package/pieces/tutos/demoHHwait.js +100 -0
  19. package/pieces/tutos/demoHHwait.xml +175 -0
  20. package/pieces/tutos/tuto.csv +10 -0
  21. package/pieces/tutos/tuto.csv.good +1 -0
  22. package/pieces/tutos/tuto1.js +105 -0
  23. package/pieces/tutos/tuto1.xml +147 -0
  24. package/pieces/tutos/tuto10.back.js +106 -0
  25. package/pieces/tutos/tuto10.js +107 -0
  26. package/pieces/tutos/tuto10.xml +199 -0
  27. package/pieces/tutos/tuto11.js +111 -0
  28. package/pieces/tutos/tuto11.xml +124 -0
  29. package/pieces/tutos/tuto12.js +91 -0
  30. package/pieces/tutos/tuto12.xml +258 -0
  31. package/pieces/tutos/tuto2.back.js +106 -0
  32. package/pieces/tutos/tuto2.js +95 -0
  33. package/pieces/tutos/tuto2.xml +94 -0
  34. package/pieces/tutos/tuto3-2.js +105 -0
  35. package/pieces/tutos/tuto3-2.xml +96 -0
  36. package/pieces/tutos/tuto3.js +97 -0
  37. package/pieces/tutos/tuto3.xml +49 -0
  38. package/pieces/tutos/tuto4.js +107 -0
  39. package/pieces/tutos/tuto4.xml +106 -0
  40. package/pieces/tutos/tuto5.js +109 -0
  41. package/pieces/tutos/tuto5.xml +42 -0
  42. package/pieces/tutos/tuto6.js +105 -0
  43. package/pieces/tutos/tuto6.xml +26 -0
  44. package/pieces/tutos/tuto7.js +107 -0
  45. package/pieces/tutos/tuto7.xml +65 -0
  46. package/pieces/tutos/tuto8.js +105 -0
  47. package/pieces/tutos/tuto8.xml +76 -0
  48. package/pieces/tutos/tuto9.js +107 -0
  49. package/pieces/tutos/tuto9.xml +90 -0
  50. package/pieces/tutos/tutoAwait.js +111 -0
  51. package/pieces/tutos/tutoAwait.xml +171 -0
  52. package/pieces/tutos/tutoDoubleEmission.js +93 -0
  53. package/pieces/tutos/tutoDoubleEmission.xml +65 -0
  54. package/pieces/tutos/tutoESP32.js +104 -0
  55. package/pieces/tutos/tutoESP32.xml +246 -0
  56. package/pieces/tutos/tutoGame.js +126 -0
  57. package/pieces/tutos/tutoGame.xml +109 -0
  58. package/pieces/tutos/tutoGroups1.js +111 -0
  59. package/pieces/tutos/tutoGroups1.xml +137 -0
  60. package/pieces/tutos/tutoGroups2.js +97 -0
  61. package/pieces/tutos/tutoGroups2.xml +103 -0
  62. package/pieces/tutos/tutoGroups3.js +111 -0
  63. package/pieces/tutos/tutoGroups3.xml +128 -0
  64. package/pieces/tutos/tutoGroups4.js +111 -0
  65. package/pieces/tutos/tutoGroups4.xml +84 -0
  66. package/pieces/tutos/tutoIZ.js +95 -0
  67. package/pieces/tutos/tutoIZ.xml +135 -0
  68. package/pieces/tutos/tutoIf.js +111 -0
  69. package/pieces/tutos/tutoIf.xml +126 -0
  70. package/pieces/tutos/tutoMidi.js +126 -0
  71. package/pieces/tutos/tutoMidi.xml +62 -0
  72. package/pieces/tutos/tutoOS.js +121 -0
  73. package/pieces/tutos/tutoOSC.js +109 -0
  74. package/pieces/tutos/tutoOSC.xml +223 -0
  75. package/pieces/tutos/tutoOSCJonathan.js +94 -0
  76. package/pieces/tutos/tutoOSCJonathan.xml +312 -0
  77. package/pieces/tutos/tutoPatternInGroup.js +109 -0
  78. package/pieces/tutos/tutoPatternInGroup.xml +116 -0
  79. package/pieces/tutos/tutoRandomBlock.js +129 -0
  80. package/pieces/tutos/tutoRandomBlock.xml +194 -0
  81. package/pieces/tutos/tutoSuspend.js +107 -0
  82. package/pieces/tutos/tutoSuspend.xml +139 -0
  83. package/pieces/tutos/tutoSustain.js +107 -0
  84. package/pieces/tutos/tutoSustain.xml +109 -0
  85. package/pieces/tutos/tutoTank.csv +9 -0
  86. package/pieces/tutos/tutoTank.js +100 -0
  87. package/pieces/tutos/tutoTank.xml +326 -0
  88. package/pieces/tutos/tutoTestAll.csv +11 -0
  89. package/pieces/tutos/tutoTestAll.js +101 -0
  90. package/pieces/tutos/tutoTestAll.xml +859 -0
  91. package/serveur/skiniParametres.js +104 -11
  92. package/blocklySkini/archive/blocklyControleur.js +0 -87
  93. package/blocklySkini/archive/blocklySkini.js +0 -84
  94. package/blocklySkini/archive/blocklyhop.js +0 -75
  95. package/blocklySkini/archive/clientControleurBlocly.js +0 -170
  96. package/blocklySkini/archive/index.html +0 -76
  97. package/blocklySkini/archive/testHHsuspend.txt +0 -89
  98. package/blocklySkini/archive/testHHtrap.txt +0 -262
  99. package/blocklySkini/archive/testOrchestration.txt +0 -177
  100. package/blocklySkini/archive/testOrchestration.xml +0 -447
  101. package/blocklySkini/archive/testOrchestration2.xml +0 -456
  102. package/blocklySkini/scripts/hiphop_blocks.old.js +0 -3010
  103. package/blocklySkini/scripts/hiphop_blocks11-2025.js +0 -6104
  104. package/myReact/archive/Nodeemitvaluedlocal1.hh.js +0 -52
  105. package/myReact/archive/abort-parNode.js +0 -79
  106. package/myReact/archive/abroNode.js +0 -169
  107. package/myReact/archive/abroNode2.js +0 -80
  108. package/myReact/archive/atom.compile.hh.js +0 -52
  109. package/myReact/archive/await-countNode.js +0 -67
  110. package/myReact/archive/await-nowvalNode.js +0 -44
  111. package/myReact/archive/callHH.js +0 -96
  112. package/myReact/archive/emit-if2.hh.compiled.js +0 -113
  113. package/myReact/archive/every1Node.js +0 -35
  114. package/myReact/archive/if-runNode.js +0 -74
  115. package/myReact/archive/if1Node.js +0 -43
  116. package/myReact/archive/makeawait.js +0 -0
  117. package/myReact/archive/myReact.old.js +0 -684
  118. package/myReact/archive/orchestration.js +0 -281
  119. package/myReact/archive/orchestration1.js +0 -132
  120. package/myReact/archive/orchestration1.xml +0 -465
  121. package/myReact/archive/orchestration2.js +0 -161
  122. package/myReact/archive/orchestrationHH.mano.js +0 -280
  123. package/myReact/archive/orchestrationHHTest.js +0 -428
  124. package/myReact/archive/orchestrationHHTest.xml +0 -234
  125. package/myReact/archive/orchestrationHHTestRun.js +0 -104
  126. package/myReact/archive/orchestrationHHTestRun.xml +0 -34
  127. package/myReact/archive/orchestrationTest0.js +0 -178
  128. package/myReact/archive/orchestrationTest1.js +0 -181
  129. package/myReact/archive/orchestrationTest2.js +0 -281
  130. package/myReact/archive/run3pointsNode.js +0 -59
  131. package/myReact/archive/runNode.js +0 -123
  132. package/myReact/archive/runNode2.js +0 -91
  133. package/myReact/archive/testAwait1.js +0 -141
  134. package/myReact/archive/testAwait1.xml +0 -86
  135. package/myReact/archive/testEvery1.js +0 -122
  136. package/myReact/archive/testEvery1.xml +0 -79
  137. package/myReact/archive/testHH1.js +0 -135
  138. package/myReact/archive/testHH1.xml +0 -86
  139. package/myReact/archive/testHH1revu.js +0 -104
  140. package/myReact/archive/testHH2.js +0 -122
  141. package/myReact/archive/testHH2.xml +0 -79
  142. package/myReact/archive/testHH3.js +0 -130
  143. package/myReact/archive/testHH3.xml +0 -86
  144. package/myReact/archive/testHHabort.js +0 -121
  145. package/myReact/archive/testHHabort.xml +0 -83
  146. package/myReact/archive/testMakeawait.js +0 -202
  147. package/myReact/archive/testRun1.js +0 -168
  148. package/myReact/archive/testRun1.xml +0 -142
  149. package/myReact/archive/titi.js +0 -28
  150. package/myReact/archive/titi.xml +0 -110
  151. package/myReact/archive/toto.js +0 -73
  152. package/myReact/archive/toto.xml +0 -198
  153. package/myReact/archive/trap-await-parallelNode.js +0 -123
  154. package/myReact/inutiles/hiver2022.xml +0 -804
  155. package/myReact/inutiles/hopeNode.xml +0 -459
  156. package/myReact/inutiles/mars2022.xml +0 -871
  157. package/myReact/inutiles/mystique1.xml +0 -318
  158. package/myReact/inutiles/mystiqueOSC.xml +0 -277
  159. package/myReact/inutiles/opus5Node.xml +0 -1271
  160. package/myReact/inutiles/opus5NodeLinux.xml +0 -1241
  161. package/myReact/inutiles/orchestrationHH.xml +0 -541
  162. package/myReact/inutiles/orchestrationHH2.xml +0 -547
  163. package/myReact/inutiles/testHH.xml +0 -95
  164. package/myReact/inutiles/trouveLaPercuTenor.xml +0 -349
@@ -0,0 +1,111 @@
1
+
2
+ // Generated by Skini: Tue Dec 09 2025 11:43:58 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 = 450; // 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
+ [ "toto",0, "group",100,100,3,"",[],1 ],
106
+ [ "titi",1, "group",200,200,3,"",[],1 ],
107
+ [ "tutu",2, "group",300,300,3,"",[],1 ],
108
+ [ "tete",3, "group",300,300,3,"",[],1 ],
109
+ [ "tata",4, "group",300,300,3,"",[],1 ],
110
+ ];
111
+ exports.groupesDesSons = groupesDesSons;
@@ -0,0 +1,124 @@
1
+ <xml xmlns="https://developers.google.com/blockly/xml">
2
+ <variables>
3
+ <variable id="#}3K=pkBW|;;f(^-*]WW">foo</variable>
4
+ <variable id="?!ju!`Bu;OM5eg+9Y%f]">bar</variable>
5
+ </variables>
6
+ <block type="hh_ORCHESTRATION" id="a-M{,,Z8QBPD6S|y-Hm7" x="130" y="112">
7
+ <statement name="SIGNALS">
8
+ <block type="hh_declare_signal" id="CjErFt(^VI@K2HDe!=Is">
9
+ <field name="TYPE">inout</field>
10
+ <value name="signal">
11
+ <block type="variables_get" id="VwL}`8W([o+E`^9iZ9C1">
12
+ <field name="VAR" id="#}3K=pkBW|;;f(^-*]WW">foo</field>
13
+ </block>
14
+ </value>
15
+ <next>
16
+ <block type="hh_declare_signal" id=")ZJ/R2WEsW4@$b0dTo{b">
17
+ <field name="TYPE">inout</field>
18
+ <value name="signal">
19
+ <block type="variables_get" id=";E[L7^*7o5ff;$t8ykmM">
20
+ <field name="VAR" id="?!ju!`Bu;OM5eg+9Y%f]">bar</field>
21
+ </block>
22
+ </value>
23
+ </block>
24
+ </next>
25
+ </block>
26
+ </statement>
27
+ <statement name="BODY">
28
+ <block type="hh_emit_value" id="abE`!:+e(TYX}C.C`pq*">
29
+ <field name="Signal_Value">0</field>
30
+ <value name="SIGNAL">
31
+ <block type="variables_get" id="M5^pIja#Coj+`i.YWV2J">
32
+ <field name="VAR" id="?!ju!`Bu;OM5eg+9Y%f]">bar</field>
33
+ </block>
34
+ </value>
35
+ <next>
36
+ <block type="hh_fork" id=")n;X`;U7(^C(tOgI.M,o">
37
+ <statement name="BODY">
38
+ <block type="hh_sequence" id="87ml#e(}m~!p4N9oSJ**">
39
+ <statement name="BODY">
40
+ <block type="hh_emit_value" id="}E^40KUs]y:uL%Q8Endx">
41
+ <field name="Signal_Value">0</field>
42
+ <value name="SIGNAL">
43
+ <block type="variables_get" id="|VZS0C+ldgNUfFt1e)!~">
44
+ <field name="VAR" id="#}3K=pkBW|;;f(^-*]WW">foo</field>
45
+ </block>
46
+ </value>
47
+ <next>
48
+ <block type="hh_pause" id="1e)[67/_s,v$Z:Vy$JaB">
49
+ <next>
50
+ <block type="hh_emit_value" id="erv}fYgCM??))|UiEZF,">
51
+ <field name="Signal_Value">0</field>
52
+ <value name="SIGNAL">
53
+ <block type="variables_get" id="lZy7rKh5xsQyMU_1q%^W">
54
+ <field name="VAR" id="?!ju!`Bu;OM5eg+9Y%f]">bar</field>
55
+ </block>
56
+ </value>
57
+ </block>
58
+ </next>
59
+ </block>
60
+ </next>
61
+ </block>
62
+ </statement>
63
+ </block>
64
+ </statement>
65
+ <next>
66
+ <block type="hh_par" id="lKO|+R$wP/@tcU*^zp#,">
67
+ <statement name="BODY">
68
+ <block type="hh_sequence" id="O8VYiPN06ZB/Eb8G6W!r">
69
+ <statement name="BODY">
70
+ <block type="hh_loopeach" id="sJz-w;6llkRAb,Q7^c4n">
71
+ <field name="TIMES">1</field>
72
+ <value name="SIGNAL">
73
+ <block type="variables_get" id="+:VJ-?rb40t_)h3_EH9H">
74
+ <field name="VAR" id="#}3K=pkBW|;;f(^-*]WW">foo</field>
75
+ </block>
76
+ </value>
77
+ <statement name="BODY">
78
+ <block type="hh_print_serveur" id="6V#lG]DYOjm1fgJ3js~/">
79
+ <value name="TEXT">
80
+ <block type="text" id=",yvADJ9j~uV3Y5|,w,S:">
81
+ <field name="TEXT">Foo</field>
82
+ </block>
83
+ </value>
84
+ </block>
85
+ </statement>
86
+ </block>
87
+ </statement>
88
+ </block>
89
+ </statement>
90
+ <next>
91
+ <block type="hh_par" id="T]h=E.aja#x~IYb#y{.D">
92
+ <statement name="BODY">
93
+ <block type="hh_sequence" id=";VKypg59kZJ8ijFcl`w+">
94
+ <statement name="BODY">
95
+ <block type="hh_loopeach" id="TGHV:[pQGCjKLx.d[7Y_">
96
+ <field name="TIMES">1</field>
97
+ <value name="SIGNAL">
98
+ <block type="variables_get" id="REer@MmEVXwMt1U-I*lj">
99
+ <field name="VAR" id="?!ju!`Bu;OM5eg+9Y%f]">bar</field>
100
+ </block>
101
+ </value>
102
+ <statement name="BODY">
103
+ <block type="hh_print_serveur" id="KQT..$3hX27_iwF]eIv+">
104
+ <value name="TEXT">
105
+ <block type="text" id="|s-nzmZsaK*Cc,[aUz`,">
106
+ <field name="TEXT">Bar</field>
107
+ </block>
108
+ </value>
109
+ </block>
110
+ </statement>
111
+ </block>
112
+ </statement>
113
+ </block>
114
+ </statement>
115
+ </block>
116
+ </next>
117
+ </block>
118
+ </next>
119
+ </block>
120
+ </next>
121
+ </block>
122
+ </statement>
123
+ </block>
124
+ </xml>
@@ -0,0 +1,91 @@
1
+
2
+ // Generated by Skini: Mon Jul 18 2022 10:24:44 GMT+0200 (heure d’été d’Europe centrale)
3
+ "use strict"
4
+
5
+ // A utiliser si Processing en passerelle
6
+ exports.busMidiDAW = 1;
7
+
8
+ // Piece Bitwig 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 = true;
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 = 500; // 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
+ /*************************************
33
+ CHEMIN DES FICHIERS SONS MP3 pour les clients
34
+ Le choix se fait sur le client en fonction d'abletonON donc
35
+ de la pièce choisie dans la contrôleur.
36
+ Nom du sous répartoire ./sounds/xxxx
37
+ *************************************/
38
+ exports.soundFilesPath1 = "";
39
+
40
+ /***************************************
41
+ CHEMIN DES PARTITIONS DES PATTERNS ET CONFIG AVEC MUSICIENS
42
+ ****************************************/
43
+ exports.avecMusicien = false; // Pour mettre en place les spécificités au jeu avec des musiciens.
44
+ exports.decalageFIFOavecMusicien = 4; // Décalage de la FIFO vide avant le premier pattern dans une FIFO.
45
+ exports.patternScorePath1 ="";
46
+
47
+ /****************************************
48
+ ACTIVATION D'ALGORITHME D'ORGANISATION DES FIFOs
49
+ Si 0 ou undefined pas d'algorithme.
50
+ Si 1 algorithme de réorganisation Début, Milieu, Fin, Neutre (DFMN)
51
+ Dans le csv, D -> 1, M -> 2, F->3, N->4 (c'est fixé dans controleAbleton.js)
52
+ Si autre ... à créer...
53
+ ATTENTION: NE JAMAIS UTILISER EN SITUATION D'INTERACTION SI L'ALGORITHME
54
+ PEUT SUPPRIMER DES PATTERNS DES FIFOs
55
+ *****************************************/
56
+ exports.algoGestionFifo = 0;
57
+ exports.shufflePatterns = false;
58
+ /*****************************************************************************
59
+
60
+ Gestion de la Matrice des possibles
61
+ Automate de gestion de la matrice des possibles
62
+
63
+ ******************************************************************************/
64
+ exports.nbeDeGroupesClients = 3;
65
+
66
+ function setnbeDeGroupesClients(num) {
67
+ this.nbeDeGroupesClients = num;
68
+ }
69
+ exports.setnbeDeGroupesClients = setnbeDeGroupesClients;
70
+
71
+ exports.simulatorInAseperateGroup = false; // Si true, le dernier groupe client est réservé au simulateur.
72
+
73
+ // Pour un contrôle des Raspberries
74
+ exports.useRaspberries = false;
75
+ exports.playBufferMessage = "test";
76
+ exports.raspOSCPort = 4000;
77
+
78
+ // La synchro Midi, Link. Synchro Bitwig OSC par défaut si Midi et Link false.
79
+ exports.synchoOnMidiClock = false;
80
+ exports.synchroLink = true;
81
+ exports.synchroSkini = false;
82
+ exports.timer = 500;
83
+
84
+ const groupesDesSons = [
85
+ [ "groupe0",0, "group",170,100,20,"#CF1919",[],1 ],
86
+ [ "groupe1",1, "group",20,240,20,"#008CBA",[],1 ],
87
+ [ "groupe2",2, "group",170,580,20,"#4CAF50",[],1 ],
88
+ [ "groupe3",3, "group",350,100,20,"#5F6262",[],1 ],
89
+ [ "groupe4",4, "group",20,380,20,"#797bbf",[],1 ],
90
+ ];
91
+ exports.groupesDesSons = groupesDesSons;
@@ -0,0 +1,258 @@
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="2swrkF@siliBkn3d!3ky">tick</variable>
5
+ </variables>
6
+ <block type="hh_ORCHESTRATION" id="a-M{,,Z8QBPD6S|y-Hm7" x="214" y="-271">
7
+ <statement name="SIGNALS">
8
+ <block type="hh_declare_signal" id="2{I~,=oR`tdBVYPno:+|">
9
+ <field name="TYPE">INOUT</field>
10
+ <value name="signal">
11
+ <block type="variables_get" id="K{$fPb8LZ.cd)C^APoz=">
12
+ <field name="VAR" id="s${ep-?H7|lVi1|X{*#W">foo</field>
13
+ </block>
14
+ </value>
15
+ </block>
16
+ </statement>
17
+ <statement name="BODY">
18
+ <block type="set_timer_division" id="D[WK^1`LZ|Ynf875E4b;">
19
+ <field name="timer">1</field>
20
+ <next>
21
+ <block type="exe_javascript" id="fI{d$[Ej(WUK(^UkHxqn">
22
+ <field name="JScode">bar = 2;</field>
23
+ <next>
24
+ <block type="hh_fork" id="ju7-f(^=.PHMCNkn;xZ,">
25
+ <statement name="BODY">
26
+ <block type="hh_sequence" id="#g6c?HPz4}VtQT}6q@!W">
27
+ <statement name="BODY">
28
+ <block type="hh_emit_value" id="S39Zv%x?T:AhOBCHtFff">
29
+ <field name="Signal_Value">0</field>
30
+ <value name="SIGNAL">
31
+ <block type="variables_get" id="lgu`K:nu91yP+3bAD]F}">
32
+ <field name="VAR" id="s${ep-?H7|lVi1|X{*#W">foo</field>
33
+ </block>
34
+ </value>
35
+ <next>
36
+ <block type="hh_print_serveur" id="[B03ynY0d2131_f6MsXY">
37
+ <value name="TEXT">
38
+ <block type="text" id="|](D!LR@3)`fhom8qgt+">
39
+ <field name="TEXT">Foo 1</field>
40
+ </block>
41
+ </value>
42
+ <next>
43
+ <block type="hh_wait_for" id=".mub7+QE4]oaczLicttX">
44
+ <field name="TIMES">2</field>
45
+ <value name="SIGNAL">
46
+ <block type="variables_get" id="CzMyAQv;w0Ltr0:H*RXt">
47
+ <field name="VAR" id="2swrkF@siliBkn3d!3ky">tick</field>
48
+ </block>
49
+ </value>
50
+ <next>
51
+ <block type="hh_emit_value" id="pui?j/+*!VdbXgd|p(Y_">
52
+ <field name="Signal_Value">0</field>
53
+ <value name="SIGNAL">
54
+ <block type="variables_get" id="a#l[SOb?l$XRk|N}M!4H">
55
+ <field name="VAR" id="s${ep-?H7|lVi1|X{*#W">foo</field>
56
+ </block>
57
+ </value>
58
+ <next>
59
+ <block type="hh_print_serveur" id="OyF8FhjQ@abVBrIV;651">
60
+ <value name="TEXT">
61
+ <block type="text" id="Je8X7rXWaRWz(-yj|`K|">
62
+ <field name="TEXT">Foo 2</field>
63
+ </block>
64
+ </value>
65
+ <next>
66
+ <block type="hh_wait_for_immediate" id="QqNud_Jw:Mkteq;Y;Fwy">
67
+ <value name="SIGNAL">
68
+ <block type="variables_get" id="j]B!$5)G1knA*Ac?[,]w">
69
+ <field name="VAR" id="s${ep-?H7|lVi1|X{*#W">foo</field>
70
+ </block>
71
+ </value>
72
+ <next>
73
+ <block type="exe_javascript" id="N^lS.$)|O}%2H3m4D!13">
74
+ <field name="JScode">var bar;&amp;#10;for (var i=0; i&lt;9; i++){&amp;#10; bar++;&amp;#10; console.log(bar);&amp;#10;}</field>
75
+ <next>
76
+ <block type="hh_wait_for" id="^{G5tt8unO({Vs|y1*T1">
77
+ <field name="TIMES">2</field>
78
+ <value name="SIGNAL">
79
+ <block type="variables_get" id="_?G|PE+zm(2Mth3wTcR9">
80
+ <field name="VAR" id="2swrkF@siliBkn3d!3ky">tick</field>
81
+ </block>
82
+ </value>
83
+ <next>
84
+ <block type="hh_emit_value_var" id="g+EHpTWkGT|:txwa*Q!L">
85
+ <value name="SIGNAL">
86
+ <block type="variables_get" id="hmN3s#D9_q(rK;*SREkb">
87
+ <field name="VAR" id="s${ep-?H7|lVi1|X{*#W">foo</field>
88
+ </block>
89
+ </value>
90
+ <value name="VARIABLE">
91
+ <block type="text" id="/Q:2cN(c@uLH1cAom)!W">
92
+ <field name="TEXT">bar</field>
93
+ </block>
94
+ </value>
95
+ <next>
96
+ <block type="hh_print_serveur" id="gVs5WTBNE)KoryxXK6o}">
97
+ <value name="TEXT">
98
+ <block type="text" id="7$2?TGy@cZc)QC|]v|Q^">
99
+ <field name="TEXT">Foo 3</field>
100
+ </block>
101
+ </value>
102
+ <next>
103
+ <block type="hh_wait_for" id="e45W=4+6ICP$N!x/WiN`">
104
+ <field name="TIMES">2</field>
105
+ <value name="SIGNAL">
106
+ <block type="variables_get" id="Z#,HRuxY^!UjkQHlWp=C">
107
+ <field name="VAR" id="2swrkF@siliBkn3d!3ky">tick</field>
108
+ </block>
109
+ </value>
110
+ <next>
111
+ <block type="exe_javascript" id=";tO0st1M+K]j5?K;1zMI">
112
+ <field name="JScode">console.log("BAR 1:", bar);&amp;#10;bar = 3;</field>
113
+ <next>
114
+ <block type="hh_emit_value_var" id="d@p*)7NP(#i_|=$[P}nu">
115
+ <value name="SIGNAL">
116
+ <block type="variables_get" id="[FTWCoO;Jvi@[dyXQ6#b">
117
+ <field name="VAR" id="s${ep-?H7|lVi1|X{*#W">foo</field>
118
+ </block>
119
+ </value>
120
+ <value name="VARIABLE">
121
+ <block type="text" id="g$w6a^t+S:}kJFzhRBXx">
122
+ <field name="TEXT">bar</field>
123
+ </block>
124
+ </value>
125
+ <next>
126
+ <block type="hh_print_serveur" id="S6/6{9VRMjnyMV$bxZ,_">
127
+ <value name="TEXT">
128
+ <block type="text" id="J.28nXD^7s[)tIioPMpv">
129
+ <field name="TEXT">Foo 4</field>
130
+ </block>
131
+ </value>
132
+ </block>
133
+ </next>
134
+ </block>
135
+ </next>
136
+ </block>
137
+ </next>
138
+ </block>
139
+ </next>
140
+ </block>
141
+ </next>
142
+ </block>
143
+ </next>
144
+ </block>
145
+ </next>
146
+ </block>
147
+ </next>
148
+ </block>
149
+ </next>
150
+ </block>
151
+ </next>
152
+ </block>
153
+ </next>
154
+ </block>
155
+ </next>
156
+ </block>
157
+ </next>
158
+ </block>
159
+ </statement>
160
+ <next>
161
+ <block type="hh_sequence" id="Y{f?jqV/7)ufL*ys5QxX">
162
+ <statement name="BODY">
163
+ <block type="hh_await_signal_value" id="*wiPQ6|9EsLO;$BK~:`:">
164
+ <field name="TIMES">1</field>
165
+ <field name="Signal_Value">11</field>
166
+ <value name="SIGNAL">
167
+ <block type="variables_get" id="zQH;UAT=NvM@VFki#hSb">
168
+ <field name="VAR" id="s${ep-?H7|lVi1|X{*#W">foo</field>
169
+ </block>
170
+ </value>
171
+ <next>
172
+ <block type="hh_print_serveur" id="B4]GmFZJU=!BQ9pKFoL,">
173
+ <value name="TEXT">
174
+ <block type="text" id="i5Ws~w:Sp;Bm9q8h,16K">
175
+ <field name="TEXT">foo 11</field>
176
+ </block>
177
+ </value>
178
+ </block>
179
+ </next>
180
+ </block>
181
+ </statement>
182
+ <next>
183
+ <block type="hh_sequence" id="X3CB-(]M|0@y-4Of|kwd">
184
+ <statement name="BODY">
185
+ <block type="hh_wait_for" id="39l,f_M_lT(L`LS%jnig">
186
+ <field name="TIMES">2</field>
187
+ <value name="SIGNAL">
188
+ <block type="variables_get" id="z0PDFL?|}Qab4N8~lV)/">
189
+ <field name="VAR" id="s${ep-?H7|lVi1|X{*#W">foo</field>
190
+ </block>
191
+ </value>
192
+ <next>
193
+ <block type="exe_javascript" id="DoYErE_qm0]qHc^+$gq-">
194
+ <field name="JScode">console.log("BAR 2: ", bar);</field>
195
+ <next>
196
+ <block type="hh_print_serveur" id="Q.EUWfo%*(0o4l*~;kO_">
197
+ <value name="TEXT">
198
+ <block type="text" id="vUuM0c@K1j3+Bg!]]$FI">
199
+ <field name="TEXT">2 x foo</field>
200
+ </block>
201
+ </value>
202
+ </block>
203
+ </next>
204
+ </block>
205
+ </next>
206
+ </block>
207
+ </statement>
208
+ <next>
209
+ <block type="hh_sequence" id="Vf5S^C9/@2bI#VEV66vU">
210
+ <statement name="BODY">
211
+ <block type="exe_javascript" id="a,6NPBJvCw75F4(o|RV;">
212
+ <field name="JScode">console.log("BAR 3-1: ", bar);</field>
213
+ <next>
214
+ <block type="hh_wait_for_var" id="i2jj@0d:R6(kHXOGs62w">
215
+ <value name="VARIABLE">
216
+ <block type="text" id="]n[~q{`=1B39J4#J)AF*">
217
+ <field name="TEXT">bar</field>
218
+ </block>
219
+ </value>
220
+ <value name="SIGNAL">
221
+ <block type="variables_get" id="^([RLl#s11njr?f^5m3v">
222
+ <field name="VAR" id="s${ep-?H7|lVi1|X{*#W">foo</field>
223
+ </block>
224
+ </value>
225
+ <next>
226
+ <block type="exe_javascript" id="[}4yeQN6y35^xouQuIw@">
227
+ <field name="JScode">console.log("BAR 3-2: ", bar);</field>
228
+ <next>
229
+ <block type="hh_print_serveur" id="|CEPBr*QaPrP)Qls)7xR">
230
+ <value name="TEXT">
231
+ <block type="text" id="LnAh(Z7m)?@fjz*z1[wc">
232
+ <field name="TEXT">foo x bar</field>
233
+ </block>
234
+ </value>
235
+ </block>
236
+ </next>
237
+ </block>
238
+ </next>
239
+ </block>
240
+ </next>
241
+ </block>
242
+ </statement>
243
+ </block>
244
+ </next>
245
+ </block>
246
+ </next>
247
+ </block>
248
+ </next>
249
+ </block>
250
+ </statement>
251
+ </block>
252
+ </next>
253
+ </block>
254
+ </next>
255
+ </block>
256
+ </statement>
257
+ </block>
258
+ </xml>