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,107 @@
1
+
2
+ // Generated by Skini: Fri Dec 19 2025 09:19:32 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 = 501; // En ms
37
+ exports.tempoMin = 400; // 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
+ [ "",, "",,,,"",[], ],
106
+ ];
107
+ exports.groupesDesSons = groupesDesSons;
@@ -0,0 +1,106 @@
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="bY?-+xBRG1t]]):HEN59">bar</variable>
5
+ </variables>
6
+ <block type="hh_ORCHESTRATION" id="a-M{,,Z8QBPD6S|y-Hm7" x="101" y="65">
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
+ <next>
16
+ <block type="hh_declare_signal" id="RN^QAC5e|OsDs.15TLS[">
17
+ <field name="TYPE">inout</field>
18
+ <value name="signal">
19
+ <block type="variables_get" id="A1TB=Qsu_}`iZ5yWhm;e">
20
+ <field name="VAR" id="bY?-+xBRG1t]]):HEN59">bar</field>
21
+ </block>
22
+ </value>
23
+ </block>
24
+ </next>
25
+ </block>
26
+ </statement>
27
+ <statement name="BODY">
28
+ <block type="hh_fork" id="fZy9JnYZ?uSbK|;q`R^^">
29
+ <statement name="BODY">
30
+ <block type="hh_loop" id="@]:IR+rje:Zd3`J(LnS#">
31
+ <statement name="BODY">
32
+ <block type="hh_emit_value" id="S39Zv%x?T:AhOBCHtFff">
33
+ <field name="Signal_Value">0</field>
34
+ <value name="SIGNAL">
35
+ <block type="variables_get" id="lgu`K:nu91yP+3bAD]F}">
36
+ <field name="VAR" id="s${ep-?H7|lVi1|X{*#W">foo</field>
37
+ </block>
38
+ </value>
39
+ <next>
40
+ <block type="hh_wait_for_immediate" id="~)TS;MNy#$:uZ,79M:Mw">
41
+ <value name="SIGNAL">
42
+ <block type="variables_get" id="UsVx[??)JiCi.TM!Hz.q">
43
+ <field name="VAR" id="s${ep-?H7|lVi1|X{*#W">foo</field>
44
+ </block>
45
+ </value>
46
+ <next>
47
+ <block type="hh_print_serveur" id="JTODDS1wfa9:v^5`UnIw">
48
+ <value name="TEXT">
49
+ <block type="text" id="MCJX(l1=~vU14+IlcDYQ">
50
+ <field name="TEXT">foo</field>
51
+ </block>
52
+ </value>
53
+ <next>
54
+ <block type="hh_pause" id="/`LIF_/sf;.yzv-hwdqM"></block>
55
+ </next>
56
+ </block>
57
+ </next>
58
+ </block>
59
+ </next>
60
+ </block>
61
+ </statement>
62
+ </block>
63
+ </statement>
64
+ <next>
65
+ <block type="hh_par" id="z;btIS@*ukV@`?ksUFa3">
66
+ <statement name="BODY">
67
+ <block type="hh_loop" id="~[(W;w%i8(:,{~5(_!2h">
68
+ <statement name="BODY">
69
+ <block type="hh_wait_for_immediate" id="QqNud_Jw:Mkteq;Y;Fwy">
70
+ <value name="SIGNAL">
71
+ <block type="variables_get" id="j]B!$5)G1knA*Ac?[,]w">
72
+ <field name="VAR" id="s${ep-?H7|lVi1|X{*#W">foo</field>
73
+ </block>
74
+ </value>
75
+ <next>
76
+ <block type="hh_emit_value" id="H2d_v%BYuUP$cuf|!q8J">
77
+ <field name="Signal_Value">0</field>
78
+ <value name="SIGNAL">
79
+ <block type="variables_get" id="D[w43C-p^gc:ALps*4i$">
80
+ <field name="VAR" id="bY?-+xBRG1t]]):HEN59">bar</field>
81
+ </block>
82
+ </value>
83
+ <next>
84
+ <block type="hh_print_serveur" id="[,y|9`XZT5.sLVUdCE?}">
85
+ <value name="TEXT">
86
+ <block type="text" id="|(t~Z}|D8y8),mF(um?p">
87
+ <field name="TEXT">bar</field>
88
+ </block>
89
+ </value>
90
+ <next>
91
+ <block type="hh_pause" id="y)E$Yu79Aa*rcxQ,9`,P"></block>
92
+ </next>
93
+ </block>
94
+ </next>
95
+ </block>
96
+ </next>
97
+ </block>
98
+ </statement>
99
+ </block>
100
+ </statement>
101
+ </block>
102
+ </next>
103
+ </block>
104
+ </statement>
105
+ </block>
106
+ </xml>
@@ -0,0 +1,109 @@
1
+
2
+ // Generated by Skini: Mon Dec 15 2025 11:19:19 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 = 500; // 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,,,,];
102
+ exports.sensorsSensibilities = [0,0,0,0,0,0,0,0,,,,];
103
+
104
+ const groupesDesSons = [
105
+ [ "toto",1, "group",100,100,3,"",[],1 ],
106
+ [ "titi",2, "group",200,200,3,"",[],1 ],
107
+ [ "tutu",2, "group",300,300,3,"",[],1 ],
108
+ ];
109
+ exports.groupesDesSons = groupesDesSons;
@@ -0,0 +1,42 @@
1
+ <xml xmlns="https://developers.google.com/blockly/xml">
2
+ <variables>
3
+ <variable id="-I/an%{vf2DAArgL6bge">tick</variable>
4
+ </variables>
5
+ <block type="hh_ORCHESTRATION" id="a-M{,,Z8QBPD6S|y-Hm7" x="101" y="65">
6
+ <statement name="BODY">
7
+ <block type="hh_abort" id="{kd}uH1;Nczh(B8eM7tJ">
8
+ <field name="TIMES">4</field>
9
+ <value name="SIGNAL">
10
+ <block type="variables_get" id="|yR6-^wFC6O,FV5kM}QW">
11
+ <field name="VAR" id="-I/an%{vf2DAArgL6bge">tick</field>
12
+ </block>
13
+ </value>
14
+ <statement name="BODY">
15
+ <block type="hh_loop" id="@]:IR+rje:Zd3`J(LnS#">
16
+ <statement name="BODY">
17
+ <block type="hh_wait_for_immediate" id="~)TS;MNy#$:uZ,79M:Mw">
18
+ <value name="SIGNAL">
19
+ <block type="variables_get" id="UsVx[??)JiCi.TM!Hz.q">
20
+ <field name="VAR" id="-I/an%{vf2DAArgL6bge">tick</field>
21
+ </block>
22
+ </value>
23
+ <next>
24
+ <block type="hh_print_serveur" id="JTODDS1wfa9:v^5`UnIw">
25
+ <value name="TEXT">
26
+ <block type="text" id="MCJX(l1=~vU14+IlcDYQ">
27
+ <field name="TEXT">foo tuto5 8eme</field>
28
+ </block>
29
+ </value>
30
+ <next>
31
+ <block type="hh_pause" id="/`LIF_/sf;.yzv-hwdqM"></block>
32
+ </next>
33
+ </block>
34
+ </next>
35
+ </block>
36
+ </statement>
37
+ </block>
38
+ </statement>
39
+ </block>
40
+ </statement>
41
+ </block>
42
+ </xml>
@@ -0,0 +1,105 @@
1
+ "use strict"
2
+
3
+ // Default parameter file
4
+
5
+ // A utiliser si Processing en passerelle
6
+ exports.busMidiDAW = 1;
7
+
8
+ //exports.sessionPath = "./pieces/";
9
+ exports.piecePath = "./pieces/";
10
+
11
+ // Piece Bitwig en OSC si la paramètre est false
12
+ // Sinon Skini parle MIDI
13
+ exports.directMidiON = true;
14
+
15
+ // Pour charger les fonctions et modules de scenes de type GOLEM
16
+ exports.scenesON = false;
17
+
18
+ exports.english = true;
19
+
20
+ /***********************************
21
+ Paramètres du simulateur
22
+ Si ces valeurs ne sont pas données c'est celle qui
23
+ sont dans le simulateur qui sont utilisées
24
+ ************************************/
25
+ exports.tempoMax = 500; // En ms
26
+ exports.tempoMin = 500; // En ms
27
+ exports.limiteDureeAttente = 33; // En pulsations
28
+
29
+ /********************************************************
30
+
31
+ AUTOMATE
32
+
33
+ *********************************************************/
34
+ // Pour un automate conforme à un rechargement selon les déclarations de module HipHop
35
+ exports.reactOnPlay = false;
36
+
37
+ /*************************************
38
+ CHEMIN DES FICHIERS SONS MP3 pour les clients
39
+ Le choix se fait sur le client en fonction d'abletonON donc
40
+ de la pièce choisie dans la contrôleur.
41
+ Nom du sous répartoire ./sounds/xxxx
42
+ *************************************/
43
+ exports.soundFilesPath1 = "";
44
+
45
+ /***************************************
46
+ CHEMIN DES PARTITIONS DES PATTERNS ET CONFIG AVEC MUSICIENS
47
+ ****************************************/
48
+ exports.avecMusicien = false; // Pour mettre en place les spécificités au jeu avec des musiciens.
49
+ exports.decalageFIFOavecMusicien = 4; // Décalage de la FIFO vide avant le premier pattern dans une FIFO.
50
+ exports.patternScorePath1 = "";
51
+
52
+ /****************************************
53
+ ACTIVATION D'ALGORITHME D'ORGANISATION DES FIFOs
54
+ Si 0 ou undefined pas d'algorithme.
55
+ Si 1 algorithme de réorganisation Début, Milieu, Fin, Neutre (DFMN)
56
+ Dans le csv, D -> 1, M -> 2, F->3, N->4 (c'est fixé dans controleAbleton.js)
57
+ Si autre ... à créer...
58
+ ATTENTION: NE JAMAIS UTILISER EN SITUATION D'INTERACTION SI L'ALGORITHME
59
+ PEUT SUPPRIMER DES PATTERNS DES FIFOs
60
+ *****************************************/
61
+ exports.algoGestionFifo = 0;
62
+ exports.shufflePatterns = false;
63
+ /*****************************************************************************
64
+
65
+ Gestion de la Matrice des possibles
66
+ Automate de gestion de la matrice des possibles
67
+
68
+ ******************************************************************************/
69
+ exports.nbeDeGroupesClients = 3;
70
+ exports.simulatorInAseperateGroup = false; // Si true, le dernier groupe client est réservé au simulateur.
71
+
72
+ // Pour un contrôle des Raspberries
73
+ exports.useRaspberries = false;
74
+ exports.playBufferMessage = 'test';
75
+ exports.raspOSCPort = 4000;
76
+
77
+ function setnbeDeGroupesClients(num) {
78
+ this.nbeDeGroupesClients = num;
79
+ }
80
+ exports.setnbeDeGroupesClients = setnbeDeGroupesClients;
81
+
82
+ // La synchro Midi, Link. Synchro Bitwig OSC par défaut si Midi et Link false.
83
+ exports.synchoOnMidiClock = false;
84
+ exports.synchroLink = true;
85
+ exports.synchroSkini = false;
86
+ exports.timer = 500; // Pour une tempo de 110
87
+
88
+ const bleu = "#008CBA";
89
+ const rouge = '#CF1919';
90
+ const vert = "#4CAF50";
91
+ const marron = '#666633';
92
+ const violet = '#797bbf';
93
+ const orange = '#b3712d';
94
+ const rose = '#E0095F';
95
+ const gris = '#5F6262';
96
+ const ocre = '#BCA104';
97
+ const terre = '#A76611';
98
+ const grisvert = '#039879';
99
+ const grisbleu = '#315A93';
100
+
101
+ var groupesDesSons = [
102
+ // Pour group: nom du groupe (0), index du groupe (1), type (2), x(3), y(4), nbe d'éléments(5), color(6), prédécesseurs(7), n° de scène graphique
103
+ ];
104
+ exports.groupesDesSons = groupesDesSons;
105
+
@@ -0,0 +1,26 @@
1
+ <xml xmlns="https://developers.google.com/blockly/xml">
2
+ <variables>
3
+ <variable id="v/G885K)-!Ncv)7oc7@Z">tick</variable>
4
+ </variables>
5
+ <block type="hh_ORCHESTRATION" id="a-M{,,Z8QBPD6S|y-Hm7" x="101" y="65">
6
+ <statement name="BODY">
7
+ <block type="hh_loopeach" id="iH/dMPUh.hyATHF$a)[F">
8
+ <field name="TIMES">1</field>
9
+ <value name="SIGNAL">
10
+ <block type="variables_get" id="9(aL57xd}3nLP8s;Fq#o">
11
+ <field name="VAR" id="v/G885K)-!Ncv)7oc7@Z">tick</field>
12
+ </block>
13
+ </value>
14
+ <statement name="BODY">
15
+ <block type="hh_print_serveur" id="JTODDS1wfa9:v^5`UnIw">
16
+ <value name="TEXT">
17
+ <block type="text" id="MCJX(l1=~vU14+IlcDYQ">
18
+ <field name="TEXT">foo 2</field>
19
+ </block>
20
+ </value>
21
+ </block>
22
+ </statement>
23
+ </block>
24
+ </statement>
25
+ </block>
26
+ </xml>
@@ -0,0 +1,107 @@
1
+
2
+ // Generated by Skini: Mon Dec 15 2025 11:19:19 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 = 500; // 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",1, "groupe",100,100,1,"",[],1 ],
106
+ ];
107
+ exports.groupesDesSons = groupesDesSons;
@@ -0,0 +1,65 @@
1
+ <xml xmlns="https://developers.google.com/blockly/xml">
2
+ <variables>
3
+ <variable id="v/G885K)-!Ncv)7oc7@Z">tick</variable>
4
+ </variables>
5
+ <block type="hh_ORCHESTRATION" id="a-M{,,Z8QBPD6S|y-Hm7" x="101" y="65">
6
+ <statement name="BODY">
7
+ <block type="hh_abort" id="!;+Tx)[Cs?CEvWrU}N+6">
8
+ <field name="TIMES">4</field>
9
+ <value name="SIGNAL">
10
+ <block type="variables_get" id="ZD8$nT-lnSMeXk.fxvU4">
11
+ <field name="VAR" id="v/G885K)-!Ncv)7oc7@Z">tick</field>
12
+ </block>
13
+ </value>
14
+ <statement name="BODY">
15
+ <block type="hh_loopeach" id="0]?[:OH,Q2o_CluH(..6">
16
+ <field name="TIMES">1</field>
17
+ <value name="SIGNAL">
18
+ <block type="variables_get" id="{G@~!Osn=zzR4j#Y?ysv">
19
+ <field name="VAR" id="v/G885K)-!Ncv)7oc7@Z">tick</field>
20
+ </block>
21
+ </value>
22
+ <statement name="BODY">
23
+ <block type="hh_print_serveur" id="c4wEAM%q$rtcOQ,fCbUx">
24
+ <value name="TEXT">
25
+ <block type="text" id="/0m!E4HJM+2,Yg9}I?hx">
26
+ <field name="TEXT">bar bu</field>
27
+ </block>
28
+ </value>
29
+ </block>
30
+ </statement>
31
+ </block>
32
+ </statement>
33
+ <next>
34
+ <block type="hh_abort" id="hl7%MEUKc+1UNnJ^8yY[">
35
+ <field name="TIMES">4</field>
36
+ <value name="SIGNAL">
37
+ <block type="variables_get" id="ln}E-Z??FC1P+Zm?J|(Z">
38
+ <field name="VAR" id="v/G885K)-!Ncv)7oc7@Z">tick</field>
39
+ </block>
40
+ </value>
41
+ <statement name="BODY">
42
+ <block type="hh_every" id="YGBU^1;RapL3Px?5YF|n">
43
+ <field name="TIMES">1</field>
44
+ <value name="SIGNAL">
45
+ <block type="variables_get" id="9(aL57xd}3nLP8s;Fq#o">
46
+ <field name="VAR" id="v/G885K)-!Ncv)7oc7@Z">tick</field>
47
+ </block>
48
+ </value>
49
+ <statement name="BODY">
50
+ <block type="hh_print_serveur" id="JTODDS1wfa9:v^5`UnIw">
51
+ <value name="TEXT">
52
+ <block type="text" id="MCJX(l1=~vU14+IlcDYQ">
53
+ <field name="TEXT">foo</field>
54
+ </block>
55
+ </value>
56
+ </block>
57
+ </statement>
58
+ </block>
59
+ </statement>
60
+ </block>
61
+ </next>
62
+ </block>
63
+ </statement>
64
+ </block>
65
+ </xml>