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,99 @@
1
+
2
+ // Generated by Skini: Mon Jun 27 2022 10:57:18 GMT+0200 (heure d’été 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 = false;
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
+ /*************************************
42
+ CHEMIN DES FICHIERS SONS MP3 pour les clients
43
+ Le choix se fait sur le client en fonction d'abletonON donc
44
+ de la pièce choisie dans la contrôleur.
45
+ Nom du sous répartoire ./sounds/xxxx
46
+ *************************************/
47
+ exports.soundFilesPath1 = "";
48
+
49
+ /***************************************
50
+ CHEMIN DES PARTITIONS DES PATTERNS ET CONFIG AVEC MUSICIENS
51
+ ****************************************/
52
+ exports.avecMusicien = false; // Pour mettre en place les spécificités au jeu avec des musiciens.
53
+ exports.decalageFIFOavecMusicien = 4; // Décalage de la FIFO vide avant le premier pattern dans une FIFO.
54
+ exports.patternScorePath1 ="";
55
+
56
+ /****************************************
57
+ ACTIVATION D'ALGORITHME D'ORGANISATION DES FIFOs
58
+ Si 0 ou undefined pas d'algorithme.
59
+ Si 1 algorithme de réorganisation Début, Milieu, Fin, Neutre (DFMN)
60
+ Dans le csv, D -> 1, M -> 2, F->3, N->4 (c'est fixé dans controleAbleton.js)
61
+ Si autre ... à créer...
62
+ ATTENTION: NE JAMAIS UTILISER EN SITUATION D'INTERACTION SI L'ALGORITHME
63
+ PEUT SUPPRIMER DES PATTERNS DES FIFOs
64
+ *****************************************/
65
+ exports.algoGestionFifo = 0;
66
+ exports.shufflePatterns = false;
67
+ /*****************************************************************************
68
+
69
+ Gestion de la Matrice des possibles
70
+ Automate de gestion de la matrice des possibles
71
+
72
+ ******************************************************************************/
73
+ exports.nbeDeGroupesClients = 3;
74
+
75
+ function setnbeDeGroupesClients(num) {
76
+ this.nbeDeGroupesClients = num;
77
+ }
78
+ exports.setnbeDeGroupesClients = setnbeDeGroupesClients;
79
+
80
+ exports.simulatorInAseperateGroup = true; // Si true, le dernier groupe client est réservé au simulateur.
81
+
82
+ // Pour un contrôle des Raspberries
83
+ exports.useRaspberries = true;
84
+ exports.playBufferMessage = "test";
85
+ exports.raspOSCPort = 4000;
86
+
87
+ // La synchro Midi, Link. Synchro Bitwig OSC par défaut si Midi et Link false.
88
+ exports.synchoOnMidiClock = false;
89
+ exports.synchroLink = true;
90
+ exports.synchroSkini = false;
91
+ exports.timer = 500;
92
+
93
+ const groupesDesSons = [
94
+ [ "groupe0",0, "group",170,100,20,"#CF1919",[],1 ],
95
+ [ "groupe1",1, "group",20,240,20,"#008CBA",[],1 ],
96
+ [ "groupe2",2, "group",170,580,20,"#4CAF50",[],1 ],
97
+ [ "groupe3",3, "group",350,100,20,"#5F6262",[],1 ],
98
+ ];
99
+ exports.groupesDesSons = groupesDesSons;
@@ -0,0 +1,184 @@
1
+ <xml xmlns="https://developers.google.com/blockly/xml">
2
+ <variables>
3
+ <variable id="]s;$eP#9]qT`dvKz*kf.">StopTrap1</variable>
4
+ <variable id="e~?Hofi|/CqL68B=.2=m">tick</variable>
5
+ <variable id="L/uUotHI-n=5.RDdUqh:">trap1</variable>
6
+ </variables>
7
+ <block type="hh_ORCHESTRATION" id="+TVwrSF`WXyYjVSGfJ$c" x="95" y="-107">
8
+ <statement name="SIGNALS">
9
+ <block type="hh_declare_signal" id="1L#G~YyJ^|f:f33_Dd0D">
10
+ <field name="TYPE">INOUT</field>
11
+ <value name="signal">
12
+ <block type="variables_get" id="D=6!_Z[WaSrf$zTE-$K5">
13
+ <field name="VAR" id="]s;$eP#9]qT`dvKz*kf.">StopTrap1</field>
14
+ </block>
15
+ </value>
16
+ </block>
17
+ </statement>
18
+ <statement name="BODY">
19
+ <block type="addSceneScore" id="GH_3|{bK_U$I.rENsL.R">
20
+ <field name="number">1</field>
21
+ <next>
22
+ <block type="alertInfoScoreON" id="5H,RhqkJWqd+BZ~zTKSD">
23
+ <value name="message">
24
+ <block type="text" id="FBKiOcP$lB9)cDImHUp.">
25
+ <field name="TEXT">Start demo HH</field>
26
+ </block>
27
+ </value>
28
+ <next>
29
+ <block type="hh_print_serveur" id="$[Zbp?-WM)%iOH!ikDYL">
30
+ <value name="TEXT">
31
+ <block type="text" id="Ic~K)7g`4]:sRtWk2@;2">
32
+ <field name="TEXT">Start demo HH</field>
33
+ </block>
34
+ </value>
35
+ <next>
36
+ <block type="hh_wait_for" id="J=@0DfxqTV!.pxrBz/`[">
37
+ <field name="TIMES">1</field>
38
+ <value name="SIGNAL">
39
+ <block type="variables_get" id="3]%QflD0p,|4}LLSK5+t">
40
+ <field name="VAR" id="e~?Hofi|/CqL68B=.2=m">tick</field>
41
+ </block>
42
+ </value>
43
+ <next>
44
+ <block type="hh_fork" id="_c*ou~pd9o3uzEPQbrYh">
45
+ <statement name="BODY">
46
+ <block type="hh_trap" id="Zs~Gki3SrV5Km}qIMh)/">
47
+ <value name="TRAP">
48
+ <block type="variables_get" id="6{Uj!:uA_$k64uL5A,W:">
49
+ <field name="VAR" id="L/uUotHI-n=5.RDdUqh:">trap1</field>
50
+ </block>
51
+ </value>
52
+ <statement name="BODY">
53
+ <block type="hh_fork" id="OU,#IJzt4=mWYOx*|g%=">
54
+ <statement name="BODY">
55
+ <block type="hh_loop" id="s^[fUQ/:=AU3/Kzt3/xw">
56
+ <statement name="BODY">
57
+ <block type="hh_wait_for" id="cag|W2S0-%rqFGZK`#jz">
58
+ <field name="TIMES">2</field>
59
+ <value name="SIGNAL">
60
+ <block type="variables_get" id="CioZY{1yd:(6NLh?@(G%">
61
+ <field name="VAR" id="e~?Hofi|/CqL68B=.2=m">tick</field>
62
+ </block>
63
+ </value>
64
+ <next>
65
+ <block type="alertInfoScoreON" id="*op*EH#YEk#9`AV$[L#^">
66
+ <value name="message">
67
+ <block type="text" id="7-MB/qsejnA%#*QfV!X$">
68
+ <field name="TEXT">Message Trap1</field>
69
+ </block>
70
+ </value>
71
+ <next>
72
+ <block type="hh_wait_for" id="_/_Sq%3lJUu]r^eYrf_:">
73
+ <field name="TIMES">2</field>
74
+ <value name="SIGNAL">
75
+ <block type="variables_get" id="rhH7I]Vl^_J#Ko;#kQH(">
76
+ <field name="VAR" id="e~?Hofi|/CqL68B=.2=m">tick</field>
77
+ </block>
78
+ </value>
79
+ <next>
80
+ <block type="alertInfoScoreOFF" id="L/)7CbVUEm25DV+*v:Bk"></block>
81
+ </next>
82
+ </block>
83
+ </next>
84
+ </block>
85
+ </next>
86
+ </block>
87
+ </statement>
88
+ <next>
89
+ <block type="hh_sequence" id="0W)2K@8sgK1]:=7,{i`P">
90
+ <statement name="BODY">
91
+ <block type="hh_wait_for" id=")fbO-Dj=IU0LBv=S{Vw(">
92
+ <field name="TIMES">1</field>
93
+ <value name="SIGNAL">
94
+ <block type="variables_get" id="fI!F_7F[|}%j)b$6~JS4">
95
+ <field name="VAR" id="]s;$eP#9]qT`dvKz*kf.">StopTrap1</field>
96
+ </block>
97
+ </value>
98
+ <next>
99
+ <block type="alertInfoScoreON" id="hlFg#Y1VFq_hAY@.7f=U">
100
+ <value name="message">
101
+ <block type="text" id="=d!K`q@AuV3efP{)[9ay">
102
+ <field name="TEXT">End trap 1</field>
103
+ </block>
104
+ </value>
105
+ <next>
106
+ <block type="hh_break" id="1WqQ[)YNbTl.QT66!I40">
107
+ <value name="TRAP">
108
+ <block type="variables_get" id="znO$ZA37ui~=s{`1YjjA">
109
+ <field name="VAR" id="L/uUotHI-n=5.RDdUqh:">trap1</field>
110
+ </block>
111
+ </value>
112
+ </block>
113
+ </next>
114
+ </block>
115
+ </next>
116
+ </block>
117
+ </statement>
118
+ </block>
119
+ </next>
120
+ </block>
121
+ </statement>
122
+ </block>
123
+ </statement>
124
+ <next>
125
+ <block type="hh_sequence" id="WS@X:RMuJu^]kt^%5`=p">
126
+ <statement name="BODY">
127
+ <block type="hh_pause" id="R8QxByDBWw[+v0P$?fWT">
128
+ <next>
129
+ <block type="hh_wait_for" id="H%)J_,!?B[i^O=9fmf7,">
130
+ <field name="TIMES">15</field>
131
+ <value name="SIGNAL">
132
+ <block type="variables_get" id=";iZ68Q1sB7kCG32y,v.K">
133
+ <field name="VAR" id="e~?Hofi|/CqL68B=.2=m">tick</field>
134
+ </block>
135
+ </value>
136
+ <next>
137
+ <block type="hh_emit_value" id="n}n!ohVj*}*9mJeE8qGc">
138
+ <field name="Signal_Value">0</field>
139
+ <value name="SIGNAL">
140
+ <block type="variables_get" id="BQR9#xK]:dt(8NXz]591">
141
+ <field name="VAR" id="]s;$eP#9]qT`dvKz*kf.">StopTrap1</field>
142
+ </block>
143
+ </value>
144
+ <next>
145
+ <block type="hh_wait_for" id="}Daqn9z#HEz/`efH4I%G">
146
+ <field name="TIMES">2</field>
147
+ <value name="SIGNAL">
148
+ <block type="variables_get" id="uHRKPC`fQV`+U!FvkPiT">
149
+ <field name="VAR" id="e~?Hofi|/CqL68B=.2=m">tick</field>
150
+ </block>
151
+ </value>
152
+ <next>
153
+ <block type="alertInfoScoreON" id="ILB4D(bA|Tr+(S|E4!-9">
154
+ <value name="message">
155
+ <block type="text" id="9!A8=^+:8V8:aEv6hy%$">
156
+ <field name="TEXT">End demo HH</field>
157
+ </block>
158
+ </value>
159
+ </block>
160
+ </next>
161
+ </block>
162
+ </next>
163
+ </block>
164
+ </next>
165
+ </block>
166
+ </next>
167
+ </block>
168
+ </statement>
169
+ </block>
170
+ </next>
171
+ </block>
172
+ </statement>
173
+ </block>
174
+ </next>
175
+ </block>
176
+ </next>
177
+ </block>
178
+ </next>
179
+ </block>
180
+ </next>
181
+ </block>
182
+ </statement>
183
+ </block>
184
+ </xml>
@@ -0,0 +1,100 @@
1
+
2
+ // Generated by Skini: Mon Jul 04 2022 08:37:38 GMT+0200 (heure d’été 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 = false;
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
+ /*************************************
42
+ CHEMIN DES FICHIERS SONS MP3 pour les clients
43
+ Le choix se fait sur le client en fonction d'abletonON donc
44
+ de la pièce choisie dans la contrôleur.
45
+ Nom du sous répartoire ./sounds/xxxx
46
+ *************************************/
47
+ exports.soundFilesPath1 = "";
48
+
49
+ /***************************************
50
+ CHEMIN DES PARTITIONS DES PATTERNS ET CONFIG AVEC MUSICIENS
51
+ ****************************************/
52
+ exports.avecMusicien = false; // Pour mettre en place les spécificités au jeu avec des musiciens.
53
+ exports.decalageFIFOavecMusicien = 4; // Décalage de la FIFO vide avant le premier pattern dans une FIFO.
54
+ exports.patternScorePath1 ="";
55
+
56
+ /****************************************
57
+ ACTIVATION D'ALGORITHME D'ORGANISATION DES FIFOs
58
+ Si 0 ou undefined pas d'algorithme.
59
+ Si 1 algorithme de réorganisation Début, Milieu, Fin, Neutre (DFMN)
60
+ Dans le csv, D -> 1, M -> 2, F->3, N->4 (c'est fixé dans controleAbleton.js)
61
+ Si autre ... à créer...
62
+ ATTENTION: NE JAMAIS UTILISER EN SITUATION D'INTERACTION SI L'ALGORITHME
63
+ PEUT SUPPRIMER DES PATTERNS DES FIFOs
64
+ *****************************************/
65
+ exports.algoGestionFifo = 0;
66
+ exports.shufflePatterns = false;
67
+ /*****************************************************************************
68
+
69
+ Gestion de la Matrice des possibles
70
+ Automate de gestion de la matrice des possibles
71
+
72
+ ******************************************************************************/
73
+ exports.nbeDeGroupesClients = 3;
74
+
75
+ function setnbeDeGroupesClients(num) {
76
+ this.nbeDeGroupesClients = num;
77
+ }
78
+ exports.setnbeDeGroupesClients = setnbeDeGroupesClients;
79
+
80
+ exports.simulatorInAseperateGroup = true; // Si true, le dernier groupe client est réservé au simulateur.
81
+
82
+ // Pour un contrôle des Raspberries
83
+ exports.useRaspberries = false;
84
+ exports.playBufferMessage = "test";
85
+ exports.raspOSCPort = 4000;
86
+
87
+ // La synchro Midi, Link. Synchro Bitwig OSC par défaut si Midi et Link false.
88
+ exports.synchoOnMidiClock = false;
89
+ exports.synchroLink = true;
90
+ exports.synchroSkini = false;
91
+ exports.timer = 500;
92
+
93
+ const groupesDesSons = [
94
+ [ "groupe0",0, "group",170,100,20,"#CF1919",[],1 ],
95
+ [ "groupe1",1, "group",20,240,20,"#008CBA",[],1 ],
96
+ [ "groupe2",2, "group",170,580,20,"#4CAF50",[],1 ],
97
+ [ "groupe3",3, "group",350,100,20,"#5F6262",[],1 ],
98
+ [ "",, "",,,,"",[], ],
99
+ ];
100
+ exports.groupesDesSons = groupesDesSons;
@@ -0,0 +1,175 @@
1
+ <xml xmlns="https://developers.google.com/blockly/xml">
2
+ <variables>
3
+ <variable id="]s;$eP#9]qT`dvKz*kf.">StopTrap1</variable>
4
+ <variable id="e~?Hofi|/CqL68B=.2=m">tick</variable>
5
+ </variables>
6
+ <block type="hh_ORCHESTRATION" id="+TVwrSF`WXyYjVSGfJ$c" x="121" y="-70">
7
+ <statement name="SIGNALS">
8
+ <block type="hh_declare_signal" id="1L#G~YyJ^|f:f33_Dd0D">
9
+ <field name="TYPE">INOUT</field>
10
+ <value name="signal">
11
+ <block type="variables_get" id="D=6!_Z[WaSrf$zTE-$K5">
12
+ <field name="VAR" id="]s;$eP#9]qT`dvKz*kf.">StopTrap1</field>
13
+ </block>
14
+ </value>
15
+ </block>
16
+ </statement>
17
+ <statement name="BODY">
18
+ <block type="addSceneScore" id="GH_3|{bK_U$I.rENsL.R">
19
+ <field name="number">1</field>
20
+ <next>
21
+ <block type="alertInfoScoreON" id="5H,RhqkJWqd+BZ~zTKSD">
22
+ <value name="message">
23
+ <block type="text" id="FBKiOcP$lB9)cDImHUp.">
24
+ <field name="TEXT">Start demo wait in HH</field>
25
+ </block>
26
+ </value>
27
+ <next>
28
+ <block type="hh_print_serveur" id="$[Zbp?-WM)%iOH!ikDYL">
29
+ <value name="TEXT">
30
+ <block type="text" id="Ic~K)7g`4]:sRtWk2@;2">
31
+ <field name="TEXT">Start demo HH</field>
32
+ </block>
33
+ </value>
34
+ <next>
35
+ <block type="hh_wait_for" id="J=@0DfxqTV!.pxrBz/`[" disabled="true">
36
+ <field name="TIMES">1</field>
37
+ <value name="SIGNAL">
38
+ <block type="variables_get" id="3]%QflD0p,|4}LLSK5+t">
39
+ <field name="VAR" id="e~?Hofi|/CqL68B=.2=m">tick</field>
40
+ </block>
41
+ </value>
42
+ <next>
43
+ <block type="hh_pause" id="Sf3@-,mR~EX~Cm$Zph-!" disabled="true">
44
+ <next>
45
+ <block type="hh_fork" id="_c*ou~pd9o3uzEPQbrYh">
46
+ <statement name="BODY">
47
+ <block type="hh_sequence" id="WS@X:RMuJu^]kt^%5`=p">
48
+ <statement name="BODY">
49
+ <block type="hh_wait_for" id="}Daqn9z#HEz/`efH4I%G">
50
+ <field name="TIMES">2</field>
51
+ <value name="SIGNAL">
52
+ <block type="variables_get" id="uHRKPC`fQV`+U!FvkPiT">
53
+ <field name="VAR" id="e~?Hofi|/CqL68B=.2=m">tick</field>
54
+ </block>
55
+ </value>
56
+ <next>
57
+ <block type="hh_emit_value" id="`NZl0_m0hioAVRas1@@G">
58
+ <field name="Signal_Value">1</field>
59
+ <value name="SIGNAL">
60
+ <block type="variables_get" id="4N-X?`uThgo?zC/PHHyq">
61
+ <field name="VAR" id="]s;$eP#9]qT`dvKz*kf.">StopTrap1</field>
62
+ </block>
63
+ </value>
64
+ <next>
65
+ <block type="hh_wait_for" id=";A6]NI9hHe--tc//yqQr">
66
+ <field name="TIMES">2</field>
67
+ <value name="SIGNAL">
68
+ <block type="variables_get" id="tBNheNa*[$VL+q4ysZ1C">
69
+ <field name="VAR" id="e~?Hofi|/CqL68B=.2=m">tick</field>
70
+ </block>
71
+ </value>
72
+ <next>
73
+ <block type="hh_emit_value" id="y-_?wMk9=^*.=^jVJi~a">
74
+ <field name="Signal_Value">2</field>
75
+ <value name="SIGNAL">
76
+ <block type="variables_get" id="1Q=CbBF~HY.vL`!rmC;M">
77
+ <field name="VAR" id="]s;$eP#9]qT`dvKz*kf.">StopTrap1</field>
78
+ </block>
79
+ </value>
80
+ <next>
81
+ <block type="hh_wait_for" id="7:`%H[q[vXQzv!zD-qT:">
82
+ <field name="TIMES">2</field>
83
+ <value name="SIGNAL">
84
+ <block type="variables_get" id="][?NQ:ktjTF;1#}b_pP}">
85
+ <field name="VAR" id="e~?Hofi|/CqL68B=.2=m">tick</field>
86
+ </block>
87
+ </value>
88
+ <next>
89
+ <block type="hh_emit_value" id=".z{7p/;^SeC]Sf?(uiGr">
90
+ <field name="Signal_Value">2</field>
91
+ <value name="SIGNAL">
92
+ <block type="variables_get" id="$j(h9Lkz{mhL=-H=q6dM">
93
+ <field name="VAR" id="]s;$eP#9]qT`dvKz*kf.">StopTrap1</field>
94
+ </block>
95
+ </value>
96
+ </block>
97
+ </next>
98
+ </block>
99
+ </next>
100
+ </block>
101
+ </next>
102
+ </block>
103
+ </next>
104
+ </block>
105
+ </next>
106
+ </block>
107
+ </statement>
108
+ <next>
109
+ <block type="hh_fork" id="Z#tO_6H|Ko~x|7tMu!2a">
110
+ <statement name="BODY">
111
+ <block type="hh_sequence" id="3z2fQTQMNa$@qgft?q9,">
112
+ <statement name="BODY">
113
+ <block type="hh_await_signal_value" id="s(y:%IVW/1BYuWdv;yp/">
114
+ <field name="TIMES">2</field>
115
+ <field name="Signal_Value">2</field>
116
+ <value name="SIGNAL">
117
+ <block type="variables_get" id="YBJz.O9xoKU:~5cuf/|b">
118
+ <field name="VAR" id="]s;$eP#9]qT`dvKz*kf.">StopTrap1</field>
119
+ </block>
120
+ </value>
121
+ <next>
122
+ <block type="alertInfoScoreON" id="+8wPnFA`jFQ1=BR{@0R_">
123
+ <value name="message">
124
+ <block type="text" id=":dF:O$~$%aNMbG%/AE%7">
125
+ <field name="TEXT">Stop Trap avec 2</field>
126
+ </block>
127
+ </value>
128
+ </block>
129
+ </next>
130
+ </block>
131
+ </statement>
132
+ <next>
133
+ <block type="hh_sequence" id="O}C.cV-Q)dk1_d]!`c9g">
134
+ <statement name="BODY">
135
+ <block type="hh_await_signal_value" id="{k|H*BjcF-A?$K*vm`f[">
136
+ <field name="TIMES">1</field>
137
+ <field name="Signal_Value">1</field>
138
+ <value name="SIGNAL">
139
+ <block type="variables_get" id="5S6%NQ!]034*)Tl^8z_u">
140
+ <field name="VAR" id="]s;$eP#9]qT`dvKz*kf.">StopTrap1</field>
141
+ </block>
142
+ </value>
143
+ <next>
144
+ <block type="alertInfoScoreON" id="b38~g7_`h4buFc1zfziA">
145
+ <value name="message">
146
+ <block type="text" id="5KJ5fs;Xtwnh#ox=;TAc">
147
+ <field name="TEXT">Stop Trap avec 1</field>
148
+ </block>
149
+ </value>
150
+ </block>
151
+ </next>
152
+ </block>
153
+ </statement>
154
+ </block>
155
+ </next>
156
+ </block>
157
+ </statement>
158
+ </block>
159
+ </next>
160
+ </block>
161
+ </statement>
162
+ </block>
163
+ </next>
164
+ </block>
165
+ </next>
166
+ </block>
167
+ </next>
168
+ </block>
169
+ </next>
170
+ </block>
171
+ </next>
172
+ </block>
173
+ </statement>
174
+ </block>
175
+ </xml>
@@ -0,0 +1,10 @@
1
+ 10,200,0,test1,test1,1,0,0,0,0,4,,,
2
+ 11,200,0,test2,test2,1,0,0,0,0,4,,,
3
+ 12,200,0,test3,test3,1,0,0,0,1,4,,,
4
+ 13,200,0,test4,test4,1,0,0,0,1,4,,,
5
+ 14,200,0,test5,test5,1,0,0,0,2,4,,,
6
+ 15,200,0,test6,test6,1,0,0,0,2,4,,,
7
+ 16,200,0,test7,test7,1,0,0,0,3,4,,,
8
+ 17,200,0,test8,test8,1,0,0,0,3,4,,,
9
+ 18,200,0,test9,test9,1,0,0,0,4,4,,,
10
+ 19,200,0,test10,test9,1,0,0,0,4,4,,,
@@ -0,0 +1 @@
1
+ ,,,,,,,,,,,,,