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,93 @@
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 = 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 = 600; // 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,0,0,0,0];
88
+ exports.sensorsSensibilities = [0,0,0,0,0,0,0,0,0,0,0,0];
89
+
90
+ const groupesDesSons = [
91
+ [ "groupe0",0, "group",100,100,2,"",[],1 ],
92
+ ];
93
+ exports.groupesDesSons = groupesDesSons;
@@ -0,0 +1,65 @@
1
+ <xml xmlns="https://developers.google.com/blockly/xml">
2
+ <variables>
3
+ <variable id="#}3K=pkBW|;;f(^-*]WW">foo</variable>
4
+ <variable id="v/G885K)-!Ncv)7oc7@Z">tick</variable>
5
+ </variables>
6
+ <block type="hh_ORCHESTRATION" id="a-M{,,Z8QBPD6S|y-Hm7" x="162" y="26">
7
+ <statement name="SIGNALS">
8
+ <block type="hh_declare_signal" id=")ZJ/R2WEsW4@$b0dTo{b">
9
+ <field name="TYPE">inout</field>
10
+ <value name="signal">
11
+ <block type="variables_get" id=";E[L7^*7o5ff;$t8ykmM">
12
+ <field name="VAR" id="#}3K=pkBW|;;f(^-*]WW">foo</field>
13
+ </block>
14
+ </value>
15
+ </block>
16
+ </statement>
17
+ <statement name="BODY">
18
+ <block type="hh_emit_value" id="(dV6dPl@QcjsYW2hf@tw">
19
+ <field name="Signal_Value">0</field>
20
+ <value name="SIGNAL">
21
+ <block type="variables_get" id=":_9Xa]26xw:t+!.vLS~D">
22
+ <field name="VAR" id="#}3K=pkBW|;;f(^-*]WW">foo</field>
23
+ </block>
24
+ </value>
25
+ <next>
26
+ <block type="hh_pause" id="|j,_~`1ZROgn%N%AEyAA">
27
+ <next>
28
+ <block type="hh_sequence" id=";CqtD|.Fv57M9L/?T9{d">
29
+ <statement name="BODY">
30
+ <block type="hh_emit_value" id="@:%aGZ2VDm[tDkU?r=Tr">
31
+ <field name="Signal_Value">0</field>
32
+ <value name="SIGNAL">
33
+ <block type="variables_get" id="SU:m{-ddKW5d$1/l$wB3">
34
+ <field name="VAR" id="#}3K=pkBW|;;f(^-*]WW">foo</field>
35
+ </block>
36
+ </value>
37
+ <next>
38
+ <block type="hh_loopeach" id=".IO5h4t}_0Gj5O0hD6:y">
39
+ <field name="TIMES">1</field>
40
+ <value name="SIGNAL">
41
+ <block type="variables_get" id="kU$y3`U8_UK0=A(/X8N6">
42
+ <field name="VAR" id="v/G885K)-!Ncv)7oc7@Z">tick</field>
43
+ </block>
44
+ </value>
45
+ <statement name="BODY">
46
+ <block type="hh_print_serveur" id="[8@VxB.E])AH%na!Gq)=">
47
+ <value name="TEXT">
48
+ <block type="text" id="XeNKCRzW@zy|:1Xa_pU^">
49
+ <field name="TEXT">TOC</field>
50
+ </block>
51
+ </value>
52
+ </block>
53
+ </statement>
54
+ </block>
55
+ </next>
56
+ </block>
57
+ </statement>
58
+ </block>
59
+ </next>
60
+ </block>
61
+ </next>
62
+ </block>
63
+ </statement>
64
+ </block>
65
+ </xml>
@@ -0,0 +1,104 @@
1
+
2
+ // Generated by Skini: Tue Nov 12 2024 15:38:59 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 = 500; // 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 = true;
94
+
95
+ exports.sensorOSC = false;
96
+ exports.tempoSensorsInit = [0,0,0,0,0,0,0,0,0,0,0,0];
97
+ exports.sensorsSensibilities = [5,5,5,5,5,5,5,5,5,5,5,5];
98
+
99
+ const groupesDesSons = [
100
+ [ "groupe0",0, "group",170,100,20,"#CF1919",[],1 ],
101
+ [ "groupe1",1, "group",200,200,20,"#CF1919",[],1 ],
102
+ [ "groupe2",2, "group",300,300,20,"#CF1919",[],1 ],
103
+ ];
104
+ exports.groupesDesSons = groupesDesSons;
@@ -0,0 +1,246 @@
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">ESP32_sensor1</variable>
5
+ <variable id="CdFF].uaL7RV[IZa:s$,">ESP32_accel</variable>
6
+ <variable id="qj:/~CXP/8?NyS^)FhHv">ESP32_gyro</variable>
7
+ <variable id="#f.y*RW})dC`-g)08xg6">ESP32_motion</variable>
8
+ <variable id="{nSZaMa(yESzXpPBj$k$">ESP32_shock</variable>
9
+ <variable id="Uv-:/4si|#|$.F4qh$fS">ESP32_touch</variable>
10
+ </variables>
11
+ <block type="hh_ORCHESTRATION" id="a-M{,,Z8QBPD6S|y-Hm7" x="127" y="53">
12
+ <statement name="SIGNALS">
13
+ <block type="hh_declare_signal" id="2{I~,=oR`tdBVYPno:+|">
14
+ <field name="TYPE">INOUT</field>
15
+ <value name="signal">
16
+ <block type="variables_get" id="K{$fPb8LZ.cd)C^APoz=">
17
+ <field name="VAR" id="s${ep-?H7|lVi1|X{*#W">foo</field>
18
+ </block>
19
+ </value>
20
+ <next>
21
+ <block type="hh_declare_signal" id="/7Ko/9R_%%5dGYZn.J7Z">
22
+ <field name="TYPE">INOUT</field>
23
+ <value name="signal">
24
+ <block type="variables_get" id="K5Bi_]k,]d(),.1JxnQ7">
25
+ <field name="VAR" id="{|gNmoIsXkh[G44u]`WE">ESP32_sensor1</field>
26
+ </block>
27
+ </value>
28
+ <next>
29
+ <block type="hh_declare_signal" id="!iZ8pKK)yHjd_P$KtQ*@">
30
+ <field name="TYPE">INOUT</field>
31
+ <value name="signal">
32
+ <block type="variables_get" id="mM4BafRNdng-tGv{}[xa">
33
+ <field name="VAR" id="CdFF].uaL7RV[IZa:s$,">ESP32_accel</field>
34
+ </block>
35
+ </value>
36
+ <next>
37
+ <block type="hh_declare_signal" id="^|8(iILY4}^+;WkjFjy7">
38
+ <field name="TYPE">INOUT</field>
39
+ <value name="signal">
40
+ <block type="variables_get" id="1EKk#C.g10Ppy{v,B*Fy">
41
+ <field name="VAR" id="qj:/~CXP/8?NyS^)FhHv">ESP32_gyro</field>
42
+ </block>
43
+ </value>
44
+ <next>
45
+ <block type="hh_declare_signal" id="jAeQjf,3q*|7*FLFmg0X">
46
+ <field name="TYPE">INOUT</field>
47
+ <value name="signal">
48
+ <block type="variables_get" id="U=(1q5biaq$A0KmPv0~2">
49
+ <field name="VAR" id="#f.y*RW})dC`-g)08xg6">ESP32_motion</field>
50
+ </block>
51
+ </value>
52
+ <next>
53
+ <block type="hh_declare_signal" id="`Q]@W|E|d5%(^Qe()tvk">
54
+ <field name="TYPE">INOUT</field>
55
+ <value name="signal">
56
+ <block type="variables_get" id="%X@.K{1(8nf+0.$tV/h0">
57
+ <field name="VAR" id="{nSZaMa(yESzXpPBj$k$">ESP32_shock</field>
58
+ </block>
59
+ </value>
60
+ <next>
61
+ <block type="hh_declare_signal" id="FWdX1f+zo#{e=Jby@$VQ">
62
+ <field name="TYPE">INOUT</field>
63
+ <value name="signal">
64
+ <block type="variables_get" id="Lad)4w1L}:,wYxHxu/Pz">
65
+ <field name="VAR" id="Uv-:/4si|#|$.F4qh$fS">ESP32_touch</field>
66
+ </block>
67
+ </value>
68
+ </block>
69
+ </next>
70
+ </block>
71
+ </next>
72
+ </block>
73
+ </next>
74
+ </block>
75
+ </next>
76
+ </block>
77
+ </next>
78
+ </block>
79
+ </next>
80
+ </block>
81
+ </statement>
82
+ <statement name="BODY">
83
+ <block type="addSceneScore" id="z.1Y_:Fsov)*KXz8%J#N">
84
+ <field name="number">1</field>
85
+ <next>
86
+ <block type="hh_wait_for" id="KF1v_vWxlIYktwK95r*w">
87
+ <field name="TIMES">1</field>
88
+ <value name="SIGNAL">
89
+ <block type="variables_get" id="45ix}22Qox{Y+PA,^nfR">
90
+ <field name="VAR" id="{|gNmoIsXkh[G44u]`WE">ESP32_sensor1</field>
91
+ </block>
92
+ </value>
93
+ <next>
94
+ <block type="hh_await_signal_value" id="-Kq6H,Z;Tylw,#r9Z1Wd" disabled="true">
95
+ <field name="TIMES">1</field>
96
+ <field name="Signal_Value">12</field>
97
+ <next>
98
+ <block type="hh_print_serveur" id="we7!L2x{(EoF6|nEkX*s">
99
+ <value name="TEXT">
100
+ <block type="text" id="CKT*Q{sLZ{;U|Xo,,ZYB">
101
+ <field name="TEXT">Skini reçoit ESP32_1 à 12</field>
102
+ </block>
103
+ </value>
104
+ <next>
105
+ <block type="hh_fork" id="ju7-f(^=.PHMCNkn;xZ,">
106
+ <statement name="BODY">
107
+ <block type="hh_sequence" id="Y{f?jqV/7)ufL*ys5QxX" disabled="true">
108
+ <statement name="BODY">
109
+ <block type="hh_await_signal_value" id="*wiPQ6|9EsLO;$BK~:`:">
110
+ <field name="TIMES">1</field>
111
+ <field name="Signal_Value">11</field>
112
+ <value name="SIGNAL">
113
+ <block type="variables_get" id="zQH;UAT=NvM@VFki#hSb">
114
+ <field name="VAR" id="s${ep-?H7|lVi1|X{*#W">foo</field>
115
+ </block>
116
+ </value>
117
+ <next>
118
+ <block type="hh_print_serveur" id="B4]GmFZJU=!BQ9pKFoL,">
119
+ <value name="TEXT">
120
+ <block type="text" id="i5Ws~w:Sp;Bm9q8h,16K">
121
+ <field name="TEXT">foo 11</field>
122
+ </block>
123
+ </value>
124
+ </block>
125
+ </next>
126
+ </block>
127
+ </statement>
128
+ <next>
129
+ <block type="hh_loopeach" id="ki]fd;;fDKer;i+`uj-q">
130
+ <field name="TIMES">1</field>
131
+ <value name="SIGNAL">
132
+ <block type="variables_get" id="h%x#5}XnAeU}2Va8sjHt">
133
+ <field name="VAR" id="{|gNmoIsXkh[G44u]`WE">ESP32_sensor1</field>
134
+ </block>
135
+ </value>
136
+ <statement name="BODY">
137
+ <block type="hh_print_serveur" id=")#C2Hz^m)osW6ZVB:.4W">
138
+ <value name="TEXT">
139
+ <block type="text" id="y*P~c9~f}UGq2~QRUY-A">
140
+ <field name="TEXT">Skini reçoit ESP32_1</field>
141
+ </block>
142
+ </value>
143
+ <next>
144
+ <block type="send_OSC_game_command" id="fI`z8v$sRBb7[~`=^V,,">
145
+ <field name="OSCValue1">10</field>
146
+ <value name="OSCmessage">
147
+ <block type="text" id="Y]yBT|A9WK]+w]*XKfen">
148
+ <field name="TEXT">ESP32/1</field>
149
+ </block>
150
+ </value>
151
+ </block>
152
+ </next>
153
+ </block>
154
+ </statement>
155
+ <next>
156
+ <block type="hh_loopeach" id=")n9Z]p]9!uk;%Wz4k9cA">
157
+ <field name="TIMES">1</field>
158
+ <value name="SIGNAL">
159
+ <block type="variables_get" id="F53V4``1|O`hy4#$ey38">
160
+ <field name="VAR" id="{nSZaMa(yESzXpPBj$k$">ESP32_shock</field>
161
+ </block>
162
+ </value>
163
+ <statement name="BODY">
164
+ <block type="hh_print_serveur" id="IB.WZ%yZC5~+5pABEa^X">
165
+ <value name="TEXT">
166
+ <block type="text" id="9LY*7cR!Q;!nlH=.d(#Y">
167
+ <field name="TEXT">Skini reçoit un Choc</field>
168
+ </block>
169
+ </value>
170
+ </block>
171
+ </statement>
172
+ <next>
173
+ <block type="hh_loopeach" id="+`Gb$EyCD,{Nsb()^F6_">
174
+ <field name="TIMES">1</field>
175
+ <value name="SIGNAL">
176
+ <block type="variables_get" id="*YlgrqF2H3C,oiA4Pl%M">
177
+ <field name="VAR" id="#f.y*RW})dC`-g)08xg6">ESP32_motion</field>
178
+ </block>
179
+ </value>
180
+ <statement name="BODY">
181
+ <block type="hh_print_serveur" id="yV0|G/m7hxn5;OtJ$RtI">
182
+ <value name="TEXT">
183
+ <block type="text" id=":b2x=YY-h1`)klv)@G[8">
184
+ <field name="TEXT">Skini reçoit une motion</field>
185
+ </block>
186
+ </value>
187
+ </block>
188
+ </statement>
189
+ <next>
190
+ <block type="hh_loopeach" id="PmC3U!*e9)7prfmq4*=4">
191
+ <field name="TIMES">1</field>
192
+ <value name="SIGNAL">
193
+ <block type="variables_get" id="hO=QyTURtayYObzyVs*p">
194
+ <field name="VAR" id="qj:/~CXP/8?NyS^)FhHv">ESP32_gyro</field>
195
+ </block>
196
+ </value>
197
+ <statement name="BODY">
198
+ <block type="hh_print_serveur" id="I45P7Xhj)P-aLuqI2rBJ">
199
+ <value name="TEXT">
200
+ <block type="text" id="{H=E9eN?dF/a)KajiM;3">
201
+ <field name="TEXT">Skini reçoit une gyro</field>
202
+ </block>
203
+ </value>
204
+ </block>
205
+ </statement>
206
+ <next>
207
+ <block type="hh_loopeach" id="zm~XDlGUcc=b?iu5E@m@">
208
+ <field name="TIMES">1</field>
209
+ <value name="SIGNAL">
210
+ <block type="variables_get" id="IVS4Uv2I?DDe:}_lXybI">
211
+ <field name="VAR" id="Uv-:/4si|#|$.F4qh$fS">ESP32_touch</field>
212
+ </block>
213
+ </value>
214
+ <statement name="BODY">
215
+ <block type="hh_print_serveur" id="1{_Ep7{J?54S(p;t3Yfq">
216
+ <value name="TEXT">
217
+ <block type="text" id="RYbn.Jqa0b5KNL*fu5os">
218
+ <field name="TEXT">Skini reçoit une touche</field>
219
+ </block>
220
+ </value>
221
+ </block>
222
+ </statement>
223
+ </block>
224
+ </next>
225
+ </block>
226
+ </next>
227
+ </block>
228
+ </next>
229
+ </block>
230
+ </next>
231
+ </block>
232
+ </next>
233
+ </block>
234
+ </statement>
235
+ </block>
236
+ </next>
237
+ </block>
238
+ </next>
239
+ </block>
240
+ </next>
241
+ </block>
242
+ </next>
243
+ </block>
244
+ </statement>
245
+ </block>
246
+ </xml>
@@ -0,0 +1,126 @@
1
+ "use strict"
2
+
3
+ // Default parameter file
4
+
5
+ // Indexation des bus Midi pour OSCmidi
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 Bitwig 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 = 400; // En ms
38
+ exports.limiteDureeAttente = 33; // En pulsations
39
+
40
+ /********************************************************
41
+
42
+ AUTOMATE
43
+
44
+ *********************************************************/
45
+ // Pour un automate conforme à un rechargement selon les déclarations de module HipHop
46
+ exports.reactOnPlay = false;
47
+
48
+ // Pour une réaction à chaque pulsation
49
+ exports.pulsationON = false;
50
+
51
+ /*************************************
52
+ CHEMIN DES FICHIERS SONS MP3 pour les clients
53
+ Nom du sous répartoire ./sounds/xxxx
54
+ *************************************/
55
+ exports.soundFilesPath1 = "";
56
+
57
+ /***************************************
58
+ CHEMIN DES PARTITIONS DES PATTERNS ET CONFIG AVEC MUSICIENS
59
+ ****************************************/
60
+ exports.avecMusicien = false; // Pour mettre en place les spécificités au jeu avec des musiciens.
61
+ exports.decalageFIFOavecMusicien = 4; // Décalage de la FIFO vide avant le premier pattern dans une FIFO.
62
+ exports.patternScorePath1 = "";
63
+
64
+ /****************************************
65
+ ACTIVATION D'ALGORITHME D'ORGANISATION DES FIFOs
66
+ Si 0 ou undefined pas d'algorithme.
67
+ Si 1 algorithme de réorganisation Début, Milieu, Fin, Neutre (DFMN)
68
+ Dans le csv, D -> 1, M -> 2, F->3, N->4 (c'est fixé dans controleAbleton.js)
69
+ Si autre ... à créer...
70
+ ATTENTION: NE JAMAIS UTILISER EN SITUATION D'INTERACTION SI L'ALGORITHME
71
+ PEUT SUPPRIMER DES PATTERNS DES FIFOs
72
+ *****************************************/
73
+ exports.algoGestionFifo = 0;
74
+ exports.shufflePatterns = false;
75
+ /*****************************************************************************
76
+
77
+ Gestion de la Matrice des possibles
78
+ Automate de gestion de la matrice des possibles
79
+
80
+ ******************************************************************************/
81
+ exports.nbeDeGroupesClients = 3;
82
+ exports.simulatorInAseperateGroup = false; // Si true, le dernier groupe client est réservé au simulateur.
83
+
84
+ // Pour un contrôle des Raspberries
85
+ exports.useRaspberries = false;
86
+ exports.playBufferMessage = 'test';
87
+ exports.raspOSCPort = 4000;
88
+
89
+ function setnbeDeGroupesClients(num) {
90
+ this.nbeDeGroupesClients = num;
91
+ }
92
+ exports.setnbeDeGroupesClients = setnbeDeGroupesClients;
93
+
94
+ // La synchro Midi, Link. Synchro Bitwig OSC par défaut si Midi et Link false.
95
+ exports.synchoOnMidiClock = false;
96
+ exports.synchroLink = true;
97
+ exports.synchroSkini = false;
98
+ exports.timer = 500; // Pour une tempo de 110
99
+ exports.gamesOSCSignals = false;
100
+
101
+ exports.sensorOSC = false;
102
+ exports.tempoSensorsInit = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
103
+ exports.sensorsSensibilities = [5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5];
104
+
105
+ const bleu = "#008CBA";
106
+ const rouge = '#CF1919';
107
+ const vert = "#4CAF50";
108
+ const marron = '#666633';
109
+ const violet = '#797bbf';
110
+ const orange = '#b3712d';
111
+ const rose = '#E0095F';
112
+ const gris = '#5F6262';
113
+ const ocre = '#BCA104';
114
+ const terre = '#A76611';
115
+ const grisvert = '#039879';
116
+ const grisbleu = '#315A93';
117
+
118
+ // Pour group: nom du groupe (0), index du groupe (1), type (2), x(3), y(4),
119
+ // nbe d'éléments(5), color(6), prédécesseurs(7), n° de scène graphique
120
+ var groupesDesSons = [
121
+ [ "toto",1, "group",100,100,3,"",[],1 ],
122
+ [ "titi",2, "group",200,200,3,"",[],1 ],
123
+ [ "tutu",2, "group",300,300,3,"",[],1 ],
124
+ ];
125
+ exports.groupesDesSons = groupesDesSons;
126
+