nodeskini 1.0.5 → 1.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (179) hide show
  1. package/blocklySkini/blocklySkini.html +5 -1
  2. package/blocklySkini/scripts/hiphop_blocks.js +5 -6
  3. package/client/clientListe/clientListe.js +11 -0
  4. package/client/clientListe/clientListebundle.js +1755 -1909
  5. package/client/controleurHH/controleurHH.html +4 -0
  6. package/client/queueViewer/queue.html +34 -0
  7. package/client/queueViewer/queue.js +187 -0
  8. package/client/queueViewer/style.css +26 -0
  9. package/client/score/parto1.js +14 -11
  10. package/client/score/parto1bundle.js +55 -33
  11. package/client/score/score.html +8 -7
  12. package/doc/Doc Skini Node english.pdf +0 -0
  13. package/doc/Mode d'emploi Skini Node.pdf +0 -0
  14. package/doc/Tuto Skini.pdf +0 -0
  15. package/doc/quickstart.pdf +0 -0
  16. package/myReact/orchestrationHH.hh.js +147 -1843
  17. package/myReact/orchestrationHH.mjs +50 -231
  18. package/myReact/orchestrationHH.mjs.map +1 -1
  19. package/package.json +11 -8
  20. package/pieces/tutos/demoAbleton.csv +21 -0
  21. package/pieces/tutos/demoAbleton.js +100 -0
  22. package/pieces/tutos/demoAbleton.xml +180 -0
  23. package/pieces/tutos/demoHH.js +99 -0
  24. package/pieces/tutos/demoHH.xml +184 -0
  25. package/pieces/tutos/demoHHwait.js +100 -0
  26. package/pieces/tutos/demoHHwait.xml +175 -0
  27. package/pieces/tutos/tuto.csv +10 -0
  28. package/pieces/tutos/tuto.csv.good +1 -0
  29. package/pieces/tutos/tuto1.js +105 -0
  30. package/pieces/tutos/tuto1.xml +147 -0
  31. package/pieces/tutos/tuto10.back.js +106 -0
  32. package/pieces/tutos/tuto10.js +107 -0
  33. package/pieces/tutos/tuto10.xml +199 -0
  34. package/pieces/tutos/tuto11.js +111 -0
  35. package/pieces/tutos/tuto11.xml +124 -0
  36. package/pieces/tutos/tuto12.js +91 -0
  37. package/pieces/tutos/tuto12.xml +258 -0
  38. package/pieces/tutos/tuto2.back.js +106 -0
  39. package/pieces/tutos/tuto2.js +95 -0
  40. package/pieces/tutos/tuto2.xml +94 -0
  41. package/pieces/tutos/tuto3-2.js +105 -0
  42. package/pieces/tutos/tuto3-2.xml +96 -0
  43. package/pieces/tutos/tuto3.js +97 -0
  44. package/pieces/tutos/tuto3.xml +49 -0
  45. package/pieces/tutos/tuto4.js +107 -0
  46. package/pieces/tutos/tuto4.xml +106 -0
  47. package/pieces/tutos/tuto5.js +109 -0
  48. package/pieces/tutos/tuto5.xml +42 -0
  49. package/pieces/tutos/tuto6.js +105 -0
  50. package/pieces/tutos/tuto6.xml +26 -0
  51. package/pieces/tutos/tuto7.js +107 -0
  52. package/pieces/tutos/tuto7.xml +65 -0
  53. package/pieces/tutos/tuto8.js +105 -0
  54. package/pieces/tutos/tuto8.xml +76 -0
  55. package/pieces/tutos/tuto9.js +107 -0
  56. package/pieces/tutos/tuto9.xml +90 -0
  57. package/pieces/tutos/tutoAwait.js +111 -0
  58. package/pieces/tutos/tutoAwait.xml +171 -0
  59. package/pieces/tutos/tutoDoubleEmission.js +93 -0
  60. package/pieces/tutos/tutoDoubleEmission.xml +65 -0
  61. package/pieces/tutos/tutoESP32.js +104 -0
  62. package/pieces/tutos/tutoESP32.xml +246 -0
  63. package/pieces/tutos/tutoGame.js +126 -0
  64. package/pieces/tutos/tutoGame.xml +109 -0
  65. package/pieces/tutos/tutoGroups1.js +111 -0
  66. package/pieces/tutos/tutoGroups1.xml +137 -0
  67. package/pieces/tutos/tutoGroups2.js +97 -0
  68. package/pieces/tutos/tutoGroups2.xml +103 -0
  69. package/pieces/tutos/tutoGroups3.js +111 -0
  70. package/pieces/tutos/tutoGroups3.xml +128 -0
  71. package/pieces/tutos/tutoGroups4.js +111 -0
  72. package/pieces/tutos/tutoGroups4.xml +84 -0
  73. package/pieces/tutos/tutoIZ.js +95 -0
  74. package/pieces/tutos/tutoIZ.xml +135 -0
  75. package/pieces/tutos/tutoIf.js +111 -0
  76. package/pieces/tutos/tutoIf.xml +126 -0
  77. package/pieces/tutos/tutoMidi.js +126 -0
  78. package/pieces/tutos/tutoMidi.xml +62 -0
  79. package/pieces/tutos/tutoOS.js +121 -0
  80. package/pieces/tutos/tutoOSC.js +109 -0
  81. package/pieces/tutos/tutoOSC.xml +223 -0
  82. package/pieces/tutos/tutoOSCJonathan.js +94 -0
  83. package/pieces/tutos/tutoOSCJonathan.xml +312 -0
  84. package/pieces/tutos/tutoPatternInGroup.js +109 -0
  85. package/pieces/tutos/tutoPatternInGroup.xml +116 -0
  86. package/pieces/tutos/tutoRandomBlock.js +129 -0
  87. package/pieces/tutos/tutoRandomBlock.xml +194 -0
  88. package/pieces/tutos/tutoSuspend.js +107 -0
  89. package/pieces/tutos/tutoSuspend.xml +139 -0
  90. package/pieces/tutos/tutoSustain.js +107 -0
  91. package/pieces/tutos/tutoSustain.xml +109 -0
  92. package/pieces/tutos/tutoTank.csv +9 -0
  93. package/pieces/tutos/tutoTank.js +100 -0
  94. package/pieces/tutos/tutoTank.xml +326 -0
  95. package/pieces/tutos/tutoTestAll.csv +11 -0
  96. package/pieces/tutos/tutoTestAll.hh.js +401 -0
  97. package/pieces/tutos/tutoTestAll.js +101 -0
  98. package/pieces/tutos/tutoTestAll.xml +866 -0
  99. package/serveur/OSCandMidi.mjs +27 -3
  100. package/serveur/controleDAW.mjs +2 -1
  101. package/serveur/groupeClientsSons.mjs +27 -3
  102. package/serveur/ipConfig.json +2 -2
  103. package/serveur/skiniParametres.js +55 -10
  104. package/serveur/utilsSkini.mjs +1 -1
  105. package/serveur/websocketServer.mjs +14 -4
  106. package/skini.mjs +4 -0
  107. package/blocklySkini/archive/blocklyControleur.js +0 -87
  108. package/blocklySkini/archive/blocklySkini.js +0 -84
  109. package/blocklySkini/archive/blocklyhop.js +0 -75
  110. package/blocklySkini/archive/clientControleurBlocly.js +0 -170
  111. package/blocklySkini/archive/index.html +0 -76
  112. package/blocklySkini/archive/testHHsuspend.txt +0 -89
  113. package/blocklySkini/archive/testHHtrap.txt +0 -262
  114. package/blocklySkini/archive/testOrchestration.txt +0 -177
  115. package/blocklySkini/archive/testOrchestration.xml +0 -447
  116. package/blocklySkini/archive/testOrchestration2.xml +0 -456
  117. package/blocklySkini/scripts/hiphop_blocks.old.js +0 -3010
  118. package/blocklySkini/scripts/hiphop_blocks11-2025.js +0 -6104
  119. package/myReact/archive/Nodeemitvaluedlocal1.hh.js +0 -52
  120. package/myReact/archive/abort-parNode.js +0 -79
  121. package/myReact/archive/abroNode.js +0 -169
  122. package/myReact/archive/abroNode2.js +0 -80
  123. package/myReact/archive/atom.compile.hh.js +0 -52
  124. package/myReact/archive/await-countNode.js +0 -67
  125. package/myReact/archive/await-nowvalNode.js +0 -44
  126. package/myReact/archive/callHH.js +0 -96
  127. package/myReact/archive/emit-if2.hh.compiled.js +0 -113
  128. package/myReact/archive/every1Node.js +0 -35
  129. package/myReact/archive/if-runNode.js +0 -74
  130. package/myReact/archive/if1Node.js +0 -43
  131. package/myReact/archive/makeawait.js +0 -0
  132. package/myReact/archive/myReact.old.js +0 -684
  133. package/myReact/archive/orchestration.js +0 -281
  134. package/myReact/archive/orchestration1.js +0 -132
  135. package/myReact/archive/orchestration1.xml +0 -465
  136. package/myReact/archive/orchestration2.js +0 -161
  137. package/myReact/archive/orchestrationHH.mano.js +0 -280
  138. package/myReact/archive/orchestrationHHTest.js +0 -428
  139. package/myReact/archive/orchestrationHHTest.xml +0 -234
  140. package/myReact/archive/orchestrationHHTestRun.js +0 -104
  141. package/myReact/archive/orchestrationHHTestRun.xml +0 -34
  142. package/myReact/archive/orchestrationTest0.js +0 -178
  143. package/myReact/archive/orchestrationTest1.js +0 -181
  144. package/myReact/archive/orchestrationTest2.js +0 -281
  145. package/myReact/archive/run3pointsNode.js +0 -59
  146. package/myReact/archive/runNode.js +0 -123
  147. package/myReact/archive/runNode2.js +0 -91
  148. package/myReact/archive/testAwait1.js +0 -141
  149. package/myReact/archive/testAwait1.xml +0 -86
  150. package/myReact/archive/testEvery1.js +0 -122
  151. package/myReact/archive/testEvery1.xml +0 -79
  152. package/myReact/archive/testHH1.js +0 -135
  153. package/myReact/archive/testHH1.xml +0 -86
  154. package/myReact/archive/testHH1revu.js +0 -104
  155. package/myReact/archive/testHH2.js +0 -122
  156. package/myReact/archive/testHH2.xml +0 -79
  157. package/myReact/archive/testHH3.js +0 -130
  158. package/myReact/archive/testHH3.xml +0 -86
  159. package/myReact/archive/testHHabort.js +0 -121
  160. package/myReact/archive/testHHabort.xml +0 -83
  161. package/myReact/archive/testMakeawait.js +0 -202
  162. package/myReact/archive/testRun1.js +0 -168
  163. package/myReact/archive/testRun1.xml +0 -142
  164. package/myReact/archive/titi.js +0 -28
  165. package/myReact/archive/titi.xml +0 -110
  166. package/myReact/archive/toto.js +0 -73
  167. package/myReact/archive/toto.xml +0 -198
  168. package/myReact/archive/trap-await-parallelNode.js +0 -123
  169. package/myReact/inutiles/hiver2022.xml +0 -804
  170. package/myReact/inutiles/hopeNode.xml +0 -459
  171. package/myReact/inutiles/mars2022.xml +0 -871
  172. package/myReact/inutiles/mystique1.xml +0 -318
  173. package/myReact/inutiles/mystiqueOSC.xml +0 -277
  174. package/myReact/inutiles/opus5Node.xml +0 -1271
  175. package/myReact/inutiles/opus5NodeLinux.xml +0 -1241
  176. package/myReact/inutiles/orchestrationHH.xml +0 -541
  177. package/myReact/inutiles/orchestrationHH2.xml +0 -547
  178. package/myReact/inutiles/testHH.xml +0 -95
  179. package/myReact/inutiles/trouveLaPercuTenor.xml +0 -349
@@ -1,16 +1,10 @@
1
- var Piano, StartTransSaxo, Saxo, Piano1Intro1, Piano1Intro2, Piano1Intro3, Piano1Intro4, Piano1Intro5, Piano1Intro6, Piano1Intro7, Piano1Milieu1, Piano1Milieu2, Piano1Milieu3, Piano1Milieu4, Piano1Milieu5, Piano1Milieu6, Piano1Milieu7, Piano1Fin1, Piano1Fin2, Piano1Fin3, Piano1Fin4, Piano1Fin5, Piano1Fin6, Piano1Fin7, Brass, SaxIntro1, SaxIntro2, SaxIntro3, SaxIntro4, SaxIntro5, SaxIntro6, SaxIntro7, SaxMilieu1, SaxMilieu2, SaxMilieu3, SaxMilieu4, SaxMilieu5, SaxMilieu6, SaxMilieu7, SaxFin1, SaxFin2, SaxFin3, SaxFin4, SaxFin5, SaxFin6, SaxFin7, Flute, Percu, BrassIntro1, BrassIntro2, BrassIntro3, BrassIntro4, BrassIntro5, BrassIntro6, BrassIntro7, BrassMilieu1, BrassMilieu2, BrassMilieu3, BrassMilieu4, BrassMilieu5, BrassMilieu6, BrassMilieu7, BrassFin1, BrassFin2, BrassFin3, BrassFin4, BrassFin5, BrassFin6, BrassFin7, tick, FluteIntro1, FluteIntro2, FluteIntro3, FluteIntro4, FluteIntro5, FluteIntro6, FluteIntro7, FluteMilieu1, FluteMilieu2, FluteMilieu3, FluteMilieu4, FluteMilieu5, FluteMilieu6, FluteMilieu7, FluteFin1, FluteFin2, FluteFin3, FluteFin4, FluteFin5, FluteFin6, FluteFin7, TransPianoEtNappe, Percu1, Percu2, Percu3, Percu4, Percu5, Percu6, Percu7, TransPianoEtNappe2, TransPianoEtNappe3, TransSaxo, nappeViolons, Flesh, Massive;
1
+ var FluteC, FluteEb, FluteC1, FluteC2, FluteC3, FluteC4, FluteC5, FluteC6, FluteC7, FluteC8, FluteC9, FluteC10, FluteC11, FluteC12, FluteC13, FluteC14, FluteC15, FluteFmin, tick, FluteEb1, FluteEb2, FluteEb3, FluteEb4, FluteEb5, FluteEb6, FluteEb7, FluteEb8, FluteEb9, FluteEb10, FluteEb11, FluteEb12, FluteEb13, FluteEb14, FluteEb15, FluteFmin1, FluteFmin2, FluteFmin3, FluteFmin4, FluteFmin5, FluteFmin6, FluteFmin7, FluteFmin8, FluteFmin9, FluteFmin10, FluteFmin11, FluteFmin12, FluteFmin13, FluteFmin14, FluteFmin15, PianoC, PianoEb, PianoFmin;
2
2
 
3
3
 
4
- // Les patterns de cette pièce sont organisés par types et sont dans des réservoirs.
5
- // On a donc un contrôle sur la construction des phrases musicales.
6
- // Le simulateur a des contraintes sur les timers : 3000 min et
7
- // 3010 max avec 20 pulse max d'attente. Ceci permet de faire appel
8
- // aux tanks en contrôlant/limitant les répétitions de patterns.
9
- // Si le simulateur va trop vite, il peut rappeler un
10
- // pattern avant qu'il ait été dévalidé sur le serveur,
11
- // surtout quand le paramètre reactOnPlay est actif.
12
- // Il y a deux groupes 1 et 0. Il faut utiliser simulateurListe.
4
+ // Fonctionne avec EtudeHarmonie5.als.
5
+ // 2 simulateurs : 0 et 1.
13
6
  //
7
+ // Type Horizontaux et verticaux, et reservoirs
14
8
  //
15
9
  //
16
10
  //
@@ -22,187 +16,6 @@ var Piano, StartTransSaxo, Saxo, Piano1Intro1, Piano1Intro2, Piano1Intro3, Piano
22
16
  //
23
17
  //
24
18
  //
25
- //
26
- //
27
- //
28
- //
29
- //
30
- //
31
- //
32
- //
33
- //
34
- //
35
- //
36
- //
37
- //
38
- //
39
- //
40
- //
41
- //
42
- //
43
- //
44
- //
45
- //
46
- //
47
- //
48
- //
49
- //
50
- //
51
- //
52
- //
53
- //
54
- //
55
- //
56
- //
57
- //
58
- //
59
- //
60
- //
61
- //
62
- //
63
- //
64
- //
65
- //
66
- //
67
- //
68
- //
69
- //
70
- //
71
- //
72
- //
73
- //
74
- //
75
- //
76
- //
77
- //
78
- //
79
- //
80
- //
81
- //
82
- //
83
- //
84
- //
85
- //
86
- //
87
- //
88
- //
89
- //
90
- //
91
- //
92
- //
93
- //
94
- //
95
- //
96
- //
97
- //
98
- //
99
- //
100
- //
101
- //
102
- //
103
- //
104
- //
105
- //
106
- //
107
- //
108
- //
109
- //
110
- //
111
- //
112
- //
113
- //
114
- //
115
- //
116
- //
117
- //
118
- //
119
- //
120
- //
121
- //
122
- //
123
- //
124
- //
125
- //
126
- //
127
- //
128
- //
129
- //
130
- //
131
- //
132
- //
133
- //
134
- //
135
- //
136
- //
137
- //
138
- //
139
- //
140
- //
141
- //
142
- // Pour cette pièce, il y a un groupe 0. Attention au simulateur.
143
- //
144
- //
145
- //
146
- //
147
- //
148
- //
149
- //
150
- //
151
- //
152
- //
153
- //
154
- //
155
- //
156
- //
157
- //
158
- //
159
- //
160
- //
161
- //
162
- //
163
- //
164
- //
165
- //
166
- //
167
- //
168
- //
169
- //
170
- //
171
- //
172
- //
173
- //
174
- //
175
- //
176
- //
177
- //
178
- //
179
- //
180
- //
181
- //
182
- //
183
- //
184
- //
185
- //
186
- //
187
- //
188
- //
189
- //
190
- //
191
- //
192
- //
193
- //
194
- //
195
- //
196
- // Avec opus4V3 dans Ableton Live et lancer deux simulateurs en groupe 0 et 1.
197
- //
198
- //
199
- //
200
- //
201
- //
202
- //
203
- //
204
- //
205
- //
206
19
 
207
20
  "use strict";
208
21
  import { createRequire } from 'module';
@@ -241,12 +54,11 @@ export function setServ(ser, daw, groupeCS, oscMidi, mix){
241
54
 
242
55
  function setTempo(value, param){
243
56
  tempoGlobal = value;
244
-
245
- // if(midimix.getAbletonLinkStatus()) {
246
- // if(debug) console.log("ORCHESTRATION: set tempo Link:", value);
247
- // midimix.setTempoLink(value);
248
- // return;
249
- // }
57
+ if(midimix.getAbletonLinkStatus()) {
58
+ if(debug) console.log("ORCHESTRATION: set tempo Link:", value);
59
+ midimix.setTempoLink(value);
60
+ return;
61
+ }
250
62
 
251
63
  if ( value > tempoMax || value < tempoMin) {
252
64
  console.log("ERR: Tempo set out of range:", value, "Should be between:", tempoMin, "and", tempoMax);
@@ -283,1184 +95,114 @@ export function setSignals(param) {
283
95
  "INTERFACEZ_RC7", "INTERFACEZ_RC8", "INTERFACEZ_RC9", "INTERFACEZ_RC10", "INTERFACEZ_RC11"];
284
96
 
285
97
 
286
- const Piano = hiphop module () {
98
+ const FluteC = hiphop module () {
287
99
  in stopReservoir;
288
- in Piano1Intro1IN;
289
- in Piano1Intro2IN;
290
- in Piano1Intro3IN;
291
- in Piano1Intro4IN;
292
- in Piano1Intro5IN;
293
- in Piano1Intro6IN;
294
- in Piano1Intro7IN;
295
- in Piano1Milieu1IN;
296
- in Piano1Milieu2IN;
297
- in Piano1Milieu3IN;
298
- in Piano1Milieu4IN;
299
- in Piano1Milieu5IN;
300
- in Piano1Milieu6IN;
301
- in Piano1Milieu7IN;
302
- in Piano1Fin1IN;
303
- in Piano1Fin2IN;
304
- in Piano1Fin3IN;
305
- in Piano1Fin4IN;
306
- in Piano1Fin5IN;
307
- in Piano1Fin6IN;
308
- in Piano1Fin7IN;
309
- out Piano1Intro1OUT;
310
- out Piano1Intro2OUT;
311
- out Piano1Intro3OUT;
312
- out Piano1Intro4OUT;
313
- out Piano1Intro5OUT;
314
- out Piano1Intro6OUT;
315
- out Piano1Intro7OUT;
316
- out Piano1Milieu1OUT;
317
- out Piano1Milieu2OUT;
318
- out Piano1Milieu3OUT;
319
- out Piano1Milieu4OUT;
320
- out Piano1Milieu5OUT;
321
- out Piano1Milieu6OUT;
322
- out Piano1Milieu7OUT;
323
- out Piano1Fin1OUT;
324
- out Piano1Fin2OUT;
325
- out Piano1Fin3OUT;
326
- out Piano1Fin4OUT;
327
- out Piano1Fin5OUT;
328
- out Piano1Fin6OUT;
329
- out Piano1Fin7OUT;
330
-
331
- ${ tank.makeReservoir(0, ["Piano1Intro1","Piano1Intro2","Piano1Intro3","Piano1Intro4","Piano1Intro5","Piano1Intro6","Piano1Intro7","Piano1Milieu1","Piano1Milieu2","Piano1Milieu3","Piano1Milieu4","Piano1Milieu5","Piano1Milieu6","Piano1Milieu7","Piano1Fin1","Piano1Fin2","Piano1Fin3","Piano1Fin4","Piano1Fin5","Piano1Fin6","Piano1Fin7"]) };
100
+ in FluteC1IN;
101
+ in FluteC2IN;
102
+ in FluteC3IN;
103
+ in FluteC4IN;
104
+ in FluteC5IN;
105
+ in FluteC6IN;
106
+ in FluteC7IN;
107
+ in FluteC8IN;
108
+ in FluteC9IN;
109
+ in FluteC10IN;
110
+ in FluteC11IN;
111
+ in FluteC12IN;
112
+ in FluteC13IN;
113
+ in FluteC14IN;
114
+ in FluteC15IN;
115
+ out FluteC1OUT;
116
+ out FluteC2OUT;
117
+ out FluteC3OUT;
118
+ out FluteC4OUT;
119
+ out FluteC5OUT;
120
+ out FluteC6OUT;
121
+ out FluteC7OUT;
122
+ out FluteC8OUT;
123
+ out FluteC9OUT;
124
+ out FluteC10OUT;
125
+ out FluteC11OUT;
126
+ out FluteC12OUT;
127
+ out FluteC13OUT;
128
+ out FluteC14OUT;
129
+ out FluteC15OUT;
130
+
131
+ ${ tank.makeReservoir(255, ["FluteC1","FluteC2","FluteC3","FluteC4","FluteC5","FluteC6","FluteC7","FluteC8","FluteC9","FluteC10","FluteC11","FluteC12","FluteC13","FluteC14","FluteC15"]) };
332
132
  }
333
133
 
334
- const Saxo = hiphop module () {
134
+ const FluteEb = hiphop module () {
335
135
  in stopReservoir;
336
- in SaxIntro1IN;
337
- in SaxIntro2IN;
338
- in SaxIntro3IN;
339
- in SaxIntro4IN;
340
- in SaxIntro5IN;
341
- in SaxIntro6IN;
342
- in SaxIntro7IN;
343
- in SaxMilieu1IN;
344
- in SaxMilieu2IN;
345
- in SaxMilieu3IN;
346
- in SaxMilieu4IN;
347
- in SaxMilieu5IN;
348
- in SaxMilieu6IN;
349
- in SaxMilieu7IN;
350
- in SaxFin1IN;
351
- in SaxFin2IN;
352
- in SaxFin3IN;
353
- in SaxFin4IN;
354
- in SaxFin5IN;
355
- in SaxFin6IN;
356
- in SaxFin7IN;
357
- out SaxIntro1OUT;
358
- out SaxIntro2OUT;
359
- out SaxIntro3OUT;
360
- out SaxIntro4OUT;
361
- out SaxIntro5OUT;
362
- out SaxIntro6OUT;
363
- out SaxIntro7OUT;
364
- out SaxMilieu1OUT;
365
- out SaxMilieu2OUT;
366
- out SaxMilieu3OUT;
367
- out SaxMilieu4OUT;
368
- out SaxMilieu5OUT;
369
- out SaxMilieu6OUT;
370
- out SaxMilieu7OUT;
371
- out SaxFin1OUT;
372
- out SaxFin2OUT;
373
- out SaxFin3OUT;
374
- out SaxFin4OUT;
375
- out SaxFin5OUT;
376
- out SaxFin6OUT;
377
- out SaxFin7OUT;
378
-
379
- ${ tank.makeReservoir(0, ["SaxIntro1","SaxIntro2","SaxIntro3","SaxIntro4","SaxIntro5","SaxIntro6","SaxIntro7","SaxMilieu1","SaxMilieu2","SaxMilieu3","SaxMilieu4","SaxMilieu5","SaxMilieu6","SaxMilieu7","SaxFin1","SaxFin2","SaxFin3","SaxFin4","SaxFin5","SaxFin6","SaxFin7"]) };
136
+ in FluteEb1IN;
137
+ in FluteEb2IN;
138
+ in FluteEb3IN;
139
+ in FluteEb4IN;
140
+ in FluteEb5IN;
141
+ in FluteEb6IN;
142
+ in FluteEb7IN;
143
+ in FluteEb8IN;
144
+ in FluteEb9IN;
145
+ in FluteEb10IN;
146
+ in FluteEb11IN;
147
+ in FluteEb12IN;
148
+ in FluteEb13IN;
149
+ in FluteEb14IN;
150
+ in FluteEb15IN;
151
+ out FluteEb1OUT;
152
+ out FluteEb2OUT;
153
+ out FluteEb3OUT;
154
+ out FluteEb4OUT;
155
+ out FluteEb5OUT;
156
+ out FluteEb6OUT;
157
+ out FluteEb7OUT;
158
+ out FluteEb8OUT;
159
+ out FluteEb9OUT;
160
+ out FluteEb10OUT;
161
+ out FluteEb11OUT;
162
+ out FluteEb12OUT;
163
+ out FluteEb13OUT;
164
+ out FluteEb14OUT;
165
+ out FluteEb15OUT;
166
+
167
+ ${ tank.makeReservoir(255, ["FluteEb1","FluteEb2","FluteEb3","FluteEb4","FluteEb5","FluteEb6","FluteEb7","FluteEb8","FluteEb9","FluteEb10","FluteEb11","FluteEb12","FluteEb13","FluteEb14","FluteEb15"]) };
380
168
  }
381
169
 
382
- const Brass = hiphop module () {
170
+ const FluteFmin = hiphop module () {
383
171
  in stopReservoir;
384
- in BrassIntro1IN;
385
- in BrassIntro2IN;
386
- in BrassIntro3IN;
387
- in BrassIntro4IN;
388
- in BrassIntro5IN;
389
- in BrassIntro6IN;
390
- in BrassIntro7IN;
391
- in BrassMilieu1IN;
392
- in BrassMilieu2IN;
393
- in BrassMilieu3IN;
394
- in BrassMilieu4IN;
395
- in BrassMilieu5IN;
396
- in BrassMilieu6IN;
397
- in BrassMilieu7IN;
398
- in BrassFin1IN;
399
- in BrassFin2IN;
400
- in BrassFin3IN;
401
- in BrassFin4IN;
402
- in BrassFin5IN;
403
- in BrassFin6IN;
404
- in BrassFin7IN;
405
- out BrassIntro1OUT;
406
- out BrassIntro2OUT;
407
- out BrassIntro3OUT;
408
- out BrassIntro4OUT;
409
- out BrassIntro5OUT;
410
- out BrassIntro6OUT;
411
- out BrassIntro7OUT;
412
- out BrassMilieu1OUT;
413
- out BrassMilieu2OUT;
414
- out BrassMilieu3OUT;
415
- out BrassMilieu4OUT;
416
- out BrassMilieu5OUT;
417
- out BrassMilieu6OUT;
418
- out BrassMilieu7OUT;
419
- out BrassFin1OUT;
420
- out BrassFin2OUT;
421
- out BrassFin3OUT;
422
- out BrassFin4OUT;
423
- out BrassFin5OUT;
424
- out BrassFin6OUT;
425
- out BrassFin7OUT;
426
-
427
- ${ tank.makeReservoir(0, ["BrassIntro1","BrassIntro2","BrassIntro3","BrassIntro4","BrassIntro5","BrassIntro6","BrassIntro7","BrassMilieu1","BrassMilieu2","BrassMilieu3","BrassMilieu4","BrassMilieu5","BrassMilieu6","BrassMilieu7","BrassFin1","BrassFin2","BrassFin3","BrassFin4","BrassFin5","BrassFin6","BrassFin7"]) };
172
+ in FluteFmin1IN;
173
+ in FluteFmin2IN;
174
+ in FluteFmin3IN;
175
+ in FluteFmin4IN;
176
+ in FluteFmin5IN;
177
+ in FluteFmin6IN;
178
+ in FluteFmin7IN;
179
+ in FluteFmin8IN;
180
+ in FluteFmin9IN;
181
+ in FluteFmin10IN;
182
+ in FluteFmin11IN;
183
+ in FluteFmin12IN;
184
+ in FluteFmin13IN;
185
+ in FluteFmin14IN;
186
+ in FluteFmin15IN;
187
+ out FluteFmin1OUT;
188
+ out FluteFmin2OUT;
189
+ out FluteFmin3OUT;
190
+ out FluteFmin4OUT;
191
+ out FluteFmin5OUT;
192
+ out FluteFmin6OUT;
193
+ out FluteFmin7OUT;
194
+ out FluteFmin8OUT;
195
+ out FluteFmin9OUT;
196
+ out FluteFmin10OUT;
197
+ out FluteFmin11OUT;
198
+ out FluteFmin12OUT;
199
+ out FluteFmin13OUT;
200
+ out FluteFmin14OUT;
201
+ out FluteFmin15OUT;
202
+
203
+ ${ tank.makeReservoir(255, ["FluteFmin1","FluteFmin2","FluteFmin3","FluteFmin4","FluteFmin5","FluteFmin6","FluteFmin7","FluteFmin8","FluteFmin9","FluteFmin10","FluteFmin11","FluteFmin12","FluteFmin13","FluteFmin14","FluteFmin15"]) };
428
204
  }
429
205
 
430
- const Flute = hiphop module () {
431
- in stopReservoir;
432
- in FluteIntro1IN;
433
- in FluteIntro2IN;
434
- in FluteIntro3IN;
435
- in FluteIntro4IN;
436
- in FluteIntro5IN;
437
- in FluteIntro6IN;
438
- in FluteIntro7IN;
439
- in FluteMilieu1IN;
440
- in FluteMilieu2IN;
441
- in FluteMilieu3IN;
442
- in FluteMilieu4IN;
443
- in FluteMilieu5IN;
444
- in FluteMilieu6IN;
445
- in FluteMilieu7IN;
446
- in FluteFin1IN;
447
- in FluteFin2IN;
448
- in FluteFin3IN;
449
- in FluteFin4IN;
450
- in FluteFin5IN;
451
- in FluteFin6IN;
452
- in FluteFin7IN;
453
- out FluteIntro1OUT;
454
- out FluteIntro2OUT;
455
- out FluteIntro3OUT;
456
- out FluteIntro4OUT;
457
- out FluteIntro5OUT;
458
- out FluteIntro6OUT;
459
- out FluteIntro7OUT;
460
- out FluteMilieu1OUT;
461
- out FluteMilieu2OUT;
462
- out FluteMilieu3OUT;
463
- out FluteMilieu4OUT;
464
- out FluteMilieu5OUT;
465
- out FluteMilieu6OUT;
466
- out FluteMilieu7OUT;
467
- out FluteFin1OUT;
468
- out FluteFin2OUT;
469
- out FluteFin3OUT;
470
- out FluteFin4OUT;
471
- out FluteFin5OUT;
472
- out FluteFin6OUT;
473
- out FluteFin7OUT;
474
-
475
- ${ tank.makeReservoir(0, ["FluteIntro1","FluteIntro2","FluteIntro3","FluteIntro4","FluteIntro5","FluteIntro6","FluteIntro7","FluteMilieu1","FluteMilieu2","FluteMilieu3","FluteMilieu4","FluteMilieu5","FluteMilieu6","FluteMilieu7","FluteFin1","FluteFin2","FluteFin3","FluteFin4","FluteFin5","FluteFin6","FluteFin7"]) };
476
- }
477
-
478
- const Percu = hiphop module () {
479
- in stopReservoir;
480
- in Percu1IN;
481
- in Percu2IN;
482
- in Percu3IN;
483
- in Percu4IN;
484
- in Percu5IN;
485
- in Percu6IN;
486
- in Percu7IN;
487
- out Percu1OUT;
488
- out Percu2OUT;
489
- out Percu3OUT;
490
- out Percu4OUT;
491
- out Percu5OUT;
492
- out Percu6OUT;
493
- out Percu7OUT;
494
-
495
- ${ tank.makeReservoir(0, ["Percu1","Percu2","Percu3","Percu4","Percu5","Percu6","Percu7"]) };
496
- }
497
- // La transposition si fait dans Ableton Live. D'où les
498
- // ratios dans l'initialisation de la pièce pour cadrer
499
- // avec le paramètre MIDI des CC. (min -36, max +36).
500
- // 64 -> 0
501
- // 67 -> +2 ...
502
- //
503
- //
504
- //
505
- //
506
- //
507
- //
508
- //
509
- //
510
- //
511
- //
512
- //
513
- //
514
- //
515
- //
516
- //
517
- //
518
- //
519
- //
520
- //
521
- //
522
- //
523
- //
524
- //
525
- //
526
- //
527
- //
528
- //
529
- //
530
- //
531
- //
532
- //
533
- //
534
- //
535
- //
536
- //
537
- //
538
- //
539
- //
540
- //
541
- //
542
- //
543
- //
544
- //
545
- //
546
- //
547
- //
548
- //
549
- //
550
- //
551
- //
552
- //
553
- //
554
- //
555
- //
556
- //
557
- //
558
- //
559
- //
560
- //
561
- //
562
- //
563
- //
564
- //
565
- //
566
- //
567
- //
568
- //
569
- //
570
- //
571
- //
572
- //
573
- //
574
- //
575
- //
576
- //
577
- //
578
- //
579
- //
580
- //
581
- //
582
- //
583
- //
584
- //
585
- //
586
- //
587
- //
588
- //
589
- //
590
- //
591
- //
592
- //
593
- //
594
- //
595
- //
596
- //
597
- //
598
- //
599
- //
600
- //
601
- //
602
- //
603
- //
604
- //
605
- //
606
- //
607
- //
608
- //
609
- //
610
- //
611
- //
612
- //
613
- //
614
- //
615
- //
616
- //
617
- //
618
- //
619
- //
620
- //
621
- //
622
- //
623
- //
624
- //
625
- //
626
- //
627
- //
628
- //
629
- //
630
- //
631
- //
632
- //
633
- //
634
- //
635
- //
636
- //
637
- //
638
- //
639
- //
640
- //
641
- //
642
- //
643
- //
644
- //
645
- //
646
- //
647
- //
648
- //
649
- //
650
- //
651
- //
652
- //
653
- //
654
- //
655
- //
656
- //
657
- //
658
- //
659
- //
660
- //
661
- //
662
- //
663
- //
664
- //
665
- //
666
- //
667
- //
668
- //
669
- //
670
- //
671
- //
672
- //
673
- //
674
- //
675
- //
676
- //
677
- //
678
- //
679
- //
680
- //
681
- //
682
- //
683
- //
684
- //
685
- //
686
- //
687
- //
688
- //
689
- //
690
- //
691
- //
692
- //
693
- //
694
-
695
- const TransPianoEtNappe = hiphop module() {
696
-
697
- inout tick;
698
-
699
-
700
- loop{
701
-
702
- host{
703
- transposeValue = 0; // !! Ne devrait pas être une variable commune si on veut incrémenter.
704
- //console.log("hiphop block transpose: transposeValue:", transposeValue ,1,74);
705
- oscMidiLocal.sendControlChange(param.busMidiDAW,1,74, Math.round(ratioTranspose * transposeValue + offsetTranspose ));
706
- }
707
-
708
- await count(1,tick.now);
709
-
710
- host{
711
- transposeValue = -2; // !! Ne devrait pas être une variable commune si on veut incrémenter.
712
- //console.log("hiphop block transpose: transposeValue:", transposeValue ,1,74);
713
- oscMidiLocal.sendControlChange(param.busMidiDAW,1,74, Math.round(ratioTranspose * transposeValue + offsetTranspose ));
714
- }
715
-
716
- await count(1,tick.now);
717
-
718
- host{
719
- transposeValue = 2; // !! Ne devrait pas être une variable commune si on veut incrémenter.
720
- //console.log("hiphop block transpose: transposeValue:", transposeValue ,1,74);
721
- oscMidiLocal.sendControlChange(param.busMidiDAW,1,74, Math.round(ratioTranspose * transposeValue + offsetTranspose ));
722
- }
723
-
724
- await count(1,tick.now);
725
-
726
- }
727
-
728
- }
729
- // La transposition si fait dans Ableton Live. D'où les
730
- // ratios dans l'initialisation de la pièce pour cadrer
731
- // avec le paramètre MIDI des CC. (min -36, max +36).
732
- // 64 -> 0
733
- // 67 -> +2 ...
734
- //
735
- //
736
- //
737
- //
738
- //
739
- //
740
- //
741
- //
742
- //
743
- //
744
- //
745
- //
746
- //
747
- //
748
- //
749
- //
750
- //
751
- //
752
- //
753
- //
754
- //
755
- //
756
- //
757
- //
758
- //
759
- //
760
- //
761
- //
762
- //
763
- //
764
- //
765
- //
766
- //
767
- //
768
- //
769
- //
770
- //
771
- //
772
- //
773
- //
774
- //
775
- //
776
- //
777
- //
778
- //
779
- //
780
- //
781
- //
782
- //
783
- //
784
- //
785
- //
786
- //
787
- //
788
- //
789
- //
790
- //
791
- //
792
- //
793
- //
794
- //
795
- //
796
- //
797
- //
798
- //
799
- //
800
- //
801
- //
802
- //
803
- //
804
- //
805
- //
806
- //
807
- //
808
- //
809
- //
810
- //
811
- //
812
- //
813
- //
814
- //
815
- //
816
- //
817
- //
818
- //
819
- //
820
- //
821
- //
822
- //
823
- //
824
- //
825
- //
826
- //
827
- //
828
- //
829
- //
830
- //
831
- //
832
- //
833
- //
834
- //
835
- //
836
- //
837
- //
838
- //
839
- //
840
- //
841
- //
842
- //
843
- //
844
- //
845
- //
846
- //
847
- //
848
- //
849
- //
850
- //
851
- //
852
- //
853
- //
854
- //
855
- //
856
- //
857
- //
858
- //
859
- //
860
- //
861
- //
862
- //
863
- //
864
- //
865
- //
866
- //
867
- //
868
- //
869
- //
870
- //
871
- //
872
- //
873
- //
874
- //
875
- //
876
- //
877
- //
878
- //
879
- //
880
- //
881
- //
882
- //
883
- //
884
- //
885
- //
886
- //
887
- //
888
- //
889
- //
890
- //
891
- //
892
- //
893
- //
894
- //
895
- //
896
- //
897
- //
898
- //
899
- //
900
- //
901
- //
902
- //
903
- //
904
- //
905
- //
906
- //
907
- //
908
- //
909
- //
910
- //
911
- //
912
- //
913
- //
914
- //
915
- //
916
- //
917
- //
918
- //
919
- //
920
- //
921
- //
922
- //
923
- //
924
- //
925
- //
926
-
927
- const TransPianoEtNappe2 = hiphop module() {
928
-
929
- inout tick;
930
-
931
-
932
- loop{
933
-
934
- host{
935
- transposeValue = 0; // !! Ne devrait pas être une variable commune si on veut incrémenter.
936
- //console.log("hiphop block transpose: transposeValue:", transposeValue ,1,74);
937
- oscMidiLocal.sendControlChange(param.busMidiDAW,1,74, Math.round(ratioTranspose * transposeValue + offsetTranspose ));
938
- }
939
-
940
- await count(2,tick.now);
941
-
942
- host{
943
- transposeValue = -2; // !! Ne devrait pas être une variable commune si on veut incrémenter.
944
- //console.log("hiphop block transpose: transposeValue:", transposeValue ,1,74);
945
- oscMidiLocal.sendControlChange(param.busMidiDAW,1,74, Math.round(ratioTranspose * transposeValue + offsetTranspose ));
946
- }
947
-
948
- await count(2,tick.now);
949
-
950
- host{
951
- transposeValue = 2; // !! Ne devrait pas être une variable commune si on veut incrémenter.
952
- //console.log("hiphop block transpose: transposeValue:", transposeValue ,1,74);
953
- oscMidiLocal.sendControlChange(param.busMidiDAW,1,74, Math.round(ratioTranspose * transposeValue + offsetTranspose ));
954
- }
955
-
956
- await count(2,tick.now);
957
-
958
- }
959
-
960
- }
961
- // La transposition si fait dans Ableton Live. D'où les
962
- // ratios dans l'initialisation de la pièce pour cadrer
963
- // avec le paramètre MIDI des CC. (min -36, max +36).
964
- // 64 -> 0
965
- // 67 -> +2 ...
966
- //
967
- //
968
- //
969
- //
970
- //
971
- //
972
- //
973
- //
974
- //
975
- //
976
- //
977
- //
978
- //
979
- //
980
- //
981
- //
982
- //
983
- //
984
- //
985
- //
986
- //
987
- //
988
- //
989
- //
990
- //
991
- //
992
- //
993
- //
994
- //
995
- //
996
- //
997
- //
998
- //
999
- //
1000
- //
1001
- //
1002
- //
1003
- //
1004
- //
1005
- //
1006
- //
1007
- //
1008
- //
1009
- //
1010
- //
1011
- //
1012
- //
1013
- //
1014
- //
1015
- //
1016
- //
1017
- //
1018
- //
1019
- //
1020
- //
1021
- //
1022
- //
1023
- //
1024
- //
1025
- //
1026
- //
1027
- //
1028
- //
1029
- //
1030
- //
1031
- //
1032
- //
1033
- //
1034
- //
1035
- //
1036
- //
1037
- //
1038
- //
1039
- //
1040
- //
1041
- //
1042
- //
1043
- //
1044
- //
1045
- //
1046
- //
1047
- //
1048
- //
1049
- //
1050
- //
1051
- //
1052
- //
1053
- //
1054
- //
1055
- //
1056
- //
1057
- //
1058
- //
1059
- //
1060
- //
1061
- //
1062
- //
1063
- //
1064
- //
1065
- //
1066
- //
1067
- //
1068
- //
1069
- //
1070
- //
1071
- //
1072
- //
1073
- //
1074
- //
1075
- //
1076
- //
1077
- //
1078
- //
1079
- //
1080
- //
1081
- //
1082
- //
1083
- //
1084
- //
1085
- //
1086
- //
1087
- //
1088
- //
1089
- //
1090
- //
1091
- //
1092
- //
1093
- //
1094
- //
1095
- //
1096
- //
1097
- //
1098
- //
1099
- //
1100
- //
1101
- //
1102
- //
1103
- //
1104
- //
1105
- //
1106
- //
1107
- //
1108
- //
1109
- //
1110
- //
1111
- //
1112
- //
1113
- //
1114
- //
1115
- //
1116
- //
1117
- //
1118
- //
1119
- //
1120
- //
1121
- //
1122
- //
1123
- //
1124
- //
1125
- //
1126
- //
1127
- //
1128
- //
1129
- //
1130
- //
1131
- //
1132
- //
1133
- //
1134
- //
1135
- //
1136
- //
1137
- //
1138
- //
1139
- //
1140
- //
1141
- //
1142
- //
1143
- //
1144
- //
1145
- //
1146
- //
1147
- //
1148
- //
1149
- //
1150
- //
1151
- //
1152
- //
1153
- //
1154
- //
1155
- //
1156
- //
1157
- //
1158
-
1159
- const TransPianoEtNappe3 = hiphop module() {
1160
-
1161
- inout tick;
1162
-
1163
-
1164
- loop{
1165
-
1166
- host{
1167
- transposeValue = 0; // !! Ne devrait pas être une variable commune si on veut incrémenter.
1168
- //console.log("hiphop block transpose: transposeValue:", transposeValue ,1,74);
1169
- oscMidiLocal.sendControlChange(param.busMidiDAW,1,74, Math.round(ratioTranspose * transposeValue + offsetTranspose ));
1170
- }
1171
-
1172
- await count(1,tick.now);
1173
-
1174
- host{
1175
- transposeValue = -2; // !! Ne devrait pas être une variable commune si on veut incrémenter.
1176
- //console.log("hiphop block transpose: transposeValue:", transposeValue ,1,74);
1177
- oscMidiLocal.sendControlChange(param.busMidiDAW,1,74, Math.round(ratioTranspose * transposeValue + offsetTranspose ));
1178
- }
1179
-
1180
- await count(1,tick.now);
1181
-
1182
- host{
1183
- transposeValue = 2; // !! Ne devrait pas être une variable commune si on veut incrémenter.
1184
- //console.log("hiphop block transpose: transposeValue:", transposeValue ,1,74);
1185
- oscMidiLocal.sendControlChange(param.busMidiDAW,1,74, Math.round(ratioTranspose * transposeValue + offsetTranspose ));
1186
- }
1187
-
1188
- await count(1,tick.now);
1189
-
1190
- host{
1191
- transposeValue = -1; // !! Ne devrait pas être une variable commune si on veut incrémenter.
1192
- //console.log("hiphop block transpose: transposeValue:", transposeValue ,1,74);
1193
- oscMidiLocal.sendControlChange(param.busMidiDAW,1,74, Math.round(ratioTranspose * transposeValue + offsetTranspose ));
1194
- }
1195
-
1196
- await count(1,tick.now);
1197
-
1198
- host{
1199
- transposeValue = 1; // !! Ne devrait pas être une variable commune si on veut incrémenter.
1200
- //console.log("hiphop block transpose: transposeValue:", transposeValue ,1,74);
1201
- oscMidiLocal.sendControlChange(param.busMidiDAW,1,74, Math.round(ratioTranspose * transposeValue + offsetTranspose ));
1202
- }
1203
-
1204
- await count(1,tick.now);
1205
-
1206
- }
1207
-
1208
- }
1209
- // La transposition si fait dans Ableton Live. D'où les
1210
- // ratios dans l'initialisation de la pièce pour cadrer
1211
- // avec le paramètre MIDI des CC. (min -36, max +36).
1212
- // 64 -> 0
1213
- // 67 -> +2 ...
1214
- //
1215
- //
1216
- //
1217
- //
1218
- //
1219
- //
1220
- //
1221
- //
1222
- //
1223
- //
1224
- //
1225
- //
1226
- //
1227
- //
1228
- //
1229
- //
1230
- //
1231
- //
1232
- //
1233
- //
1234
- //
1235
- //
1236
- //
1237
- //
1238
- //
1239
- //
1240
- //
1241
- //
1242
- //
1243
- //
1244
- //
1245
- //
1246
- //
1247
- //
1248
- //
1249
- //
1250
- //
1251
- //
1252
- //
1253
- //
1254
- //
1255
- //
1256
- //
1257
- //
1258
- //
1259
- //
1260
- //
1261
- //
1262
- //
1263
- //
1264
- //
1265
- //
1266
- //
1267
- //
1268
- //
1269
- //
1270
- //
1271
- //
1272
- //
1273
- //
1274
- //
1275
- //
1276
- //
1277
- //
1278
- //
1279
- //
1280
- //
1281
- //
1282
- //
1283
- //
1284
- //
1285
- //
1286
- //
1287
- //
1288
- //
1289
- //
1290
- //
1291
- //
1292
- //
1293
- //
1294
- //
1295
- //
1296
- //
1297
- //
1298
- //
1299
- //
1300
- //
1301
- //
1302
- //
1303
- //
1304
- //
1305
- //
1306
- //
1307
- //
1308
- //
1309
- //
1310
- //
1311
- //
1312
- //
1313
- //
1314
- //
1315
- //
1316
- //
1317
- //
1318
- //
1319
- //
1320
- //
1321
- //
1322
- //
1323
- //
1324
- //
1325
- //
1326
- //
1327
- //
1328
- //
1329
- //
1330
- //
1331
- //
1332
- //
1333
- //
1334
- //
1335
- //
1336
- //
1337
- //
1338
- //
1339
- //
1340
- //
1341
- //
1342
- //
1343
- //
1344
- //
1345
- //
1346
- //
1347
- //
1348
- //
1349
- //
1350
- //
1351
- //
1352
- //
1353
- //
1354
- //
1355
- //
1356
- //
1357
- //
1358
- //
1359
- //
1360
- //
1361
- //
1362
- //
1363
- //
1364
- //
1365
- //
1366
- //
1367
- //
1368
- //
1369
- //
1370
- //
1371
- //
1372
- //
1373
- //
1374
- //
1375
- //
1376
- //
1377
- //
1378
- //
1379
- //
1380
- //
1381
- //
1382
- //
1383
- //
1384
- //
1385
- //
1386
- //
1387
- //
1388
- //
1389
- //
1390
- //
1391
- //
1392
- //
1393
- //
1394
- //
1395
- //
1396
- //
1397
- //
1398
- //
1399
- //
1400
- //
1401
- //
1402
- //
1403
- //
1404
- //
1405
- //
1406
-
1407
- const TransSaxo = hiphop module() {
1408
-
1409
- inout tick;
1410
-
1411
- inout StartTransSaxo;
1412
-
1413
-
1414
- await immediate (StartTransSaxo.now);
1415
-
1416
- await count(2,tick.now);
1417
-
1418
- loop{
1419
-
1420
- host{
1421
- transposeValue = 0; // !! Ne devrait pas être une variable commune si on veut incrémenter.
1422
- //console.log("hiphop block transpose: transposeValue:", transposeValue ,1,72);
1423
- oscMidiLocal.sendControlChange(param.busMidiDAW,1,72, Math.round(ratioTranspose * transposeValue + offsetTranspose ));
1424
- }
1425
-
1426
- await count(4,tick.now);
1427
-
1428
- host{
1429
- transposeValue = -5; // !! Ne devrait pas être une variable commune si on veut incrémenter.
1430
- //console.log("hiphop block transpose: transposeValue:", transposeValue ,1,72);
1431
- oscMidiLocal.sendControlChange(param.busMidiDAW,1,72, Math.round(ratioTranspose * transposeValue + offsetTranspose ));
1432
- }
1433
-
1434
- await count(4,tick.now);
1435
-
1436
- host{
1437
- transposeValue = -7; // !! Ne devrait pas être une variable commune si on veut incrémenter.
1438
- //console.log("hiphop block transpose: transposeValue:", transposeValue ,1,72);
1439
- oscMidiLocal.sendControlChange(param.busMidiDAW,1,72, Math.round(ratioTranspose * transposeValue + offsetTranspose ));
1440
- }
1441
-
1442
- await count(4,tick.now);
1443
-
1444
- await count(1,tick.now);
1445
-
1446
- host{
1447
- transposeValue = 0; // !! Ne devrait pas être une variable commune si on veut incrémenter.
1448
- //console.log("hiphop block transpose: transposeValue:", transposeValue ,1,72);
1449
- oscMidiLocal.sendControlChange(param.busMidiDAW,1,72, Math.round(ratioTranspose * transposeValue + offsetTranspose ));
1450
- }
1451
-
1452
- await count(4,tick.now);
1453
-
1454
- host{
1455
- transposeValue = -1; // !! Ne devrait pas être une variable commune si on veut incrémenter.
1456
- //console.log("hiphop block transpose: transposeValue:", transposeValue ,1,72);
1457
- oscMidiLocal.sendControlChange(param.busMidiDAW,1,72, Math.round(ratioTranspose * transposeValue + offsetTranspose ));
1458
- }
1459
-
1460
- }
1461
-
1462
- }
1463
-
1464
206
 
1465
207
  const Program = hiphop module() {
1466
208
  in start, halt, tick, DAWON, patternSignal, pulsation, midiSignal, emptyQueueSignal;
@@ -1470,8 +212,6 @@ export function setSignals(param) {
1470
212
  in ... ${ interTextIN };
1471
213
 
1472
214
 
1473
- inout StartTransSaxo;
1474
-
1475
215
 
1476
216
  loop{
1477
217
  await(start.now);
@@ -1485,519 +225,83 @@ export function setSignals(param) {
1485
225
  }
1486
226
  }par{
1487
227
 
1488
- host {console.log('-- Opus4 Blockly');}
1489
-
1490
- {
1491
-
1492
- host{
1493
- serveur.broadcast(JSON.stringify({
1494
- type: 'setListeDesTypes',
1495
- }));
1496
- }
1497
-
1498
228
  host{
1499
229
  serveur.broadcast(JSON.stringify({
1500
- type: 'listeDesTypes',
1501
- text:'1, 2, 3, 4, 5, 5, 6, 7, 8, 9, 10, 11'
1502
- }));
1503
- }
1504
-
1505
- host{
1506
- gcs.setpatternListLength([12,255]);
230
+ type: 'setListeDesTypes',
231
+ }));
1507
232
  }
1508
233
 
1509
- }
1510
-
1511
- {
1512
-
1513
- host{
1514
- CCChannel= 1;
1515
- CCTempo = 100;
1516
- tempoMax = 160;
1517
- tempoMin = 40;
1518
- }
234
+ host{setTempo(80, param);}
1519
235
 
1520
- host{setTempo(62, param);}
236
+ await immediate (tick.now);
1521
237
  host{gcs.setTimerDivision(1);}
1522
- host{
1523
- serveur.broadcast(JSON.stringify({
1524
- type: 'addSceneScore',
1525
- value:1
1526
- }));
1527
- }
1528
- yield;
1529
-
1530
- host{
1531
- ratioTranspose = 1.763;
1532
- offsetTranspose = 63.5;
1533
- if(debug) console.log("hiphop block transpose Parameters:", ratioTranspose, offsetTranspose);
1534
- }
1535
-
1536
- host{
1537
- transposeValue = 0; // !! Ne devrait pas être une variable commune si on veut incrémenter.
1538
- //console.log("hiphop block transpose: transposeValue:", transposeValue ,1,74);
1539
- oscMidiLocal.sendControlChange(param.busMidiDAW,1,74, Math.round(ratioTranspose * transposeValue + offsetTranspose ));
1540
- }
1541
-
1542
- }
1543
-
1544
- M533953 : {
1545
- fork{
1546
- run ${ Percu} () {*};
1547
-
1548
- }par{
1549
- await count(5, tick.now);
1550
- emit stopReservoir();
1551
- break M533953;
1552
- }
1553
- }
1554
-
1555
- host{
1556
- DAW.cleanQueues();
1557
- gcs.cleanChoiceList(255);
1558
- }
1559
-
1560
- host{
1561
- DAW.cleanQueue(5);
1562
- }
1563
-
1564
- {
1565
-
1566
- host{
1567
- serveur.broadcast(JSON.stringify({
1568
- type: 'alertInfoScoreON',
1569
- value:'Transposition-1 tick'
1570
- }));
1571
- }
1572
-
1573
- fork {
1574
-
1575
- M642770 : {
1576
- fork{
1577
- run ${ Piano} () {*};
1578
-
1579
- }par{
1580
- await count(5, tick.now);
1581
- emit stopReservoir();
1582
- break M642770;
1583
- }
1584
- }
1585
-
1586
- }
1587
-
1588
- par {
1589
-
1590
- abort{
1591
-
1592
- fork {
1593
-
1594
- run ${ TransPianoEtNappe} () {*};
1595
-
1596
- }
1597
-
1598
- par {
1599
-
1600
- signal inverseTempo;
1601
- host {console.log("-- Start move tempo")}
1602
- abort {
1603
- loop{
1604
- fork {
1605
- every count( 8, tick.now) {
1606
- emit inverseTempo();
1607
- }
1608
- }par{
1609
- loop{
1610
- abort{
1611
- every count(1, tick.now) {
1612
- host{
1613
- tempoGlobal += 5;
1614
- setTempo(tempoGlobal, param);
1615
- }
1616
- }
1617
- } when (inverseTempo.now);
1618
- abort {
1619
- every count(1, tick.now) {
1620
- host{
1621
- tempoGlobal -= 5;
1622
- setTempo(tempoGlobal, param);
1623
- }
1624
- }
1625
- } when (inverseTempo.now);
1626
- }
1627
- }
1628
- }
1629
- } when immediate(stopMoveTempo.now);
1630
- host {console.log("-- Stop move tempo")}
1631
-
1632
- }
1633
-
1634
- } when count(30, tick.now);
1635
-
1636
- }
1637
-
1638
- par {
1639
-
1640
- emit nappeViolonsOUT([true,255]);
1641
- host{gcs.informSelecteurOnMenuChange(255," nappeViolons", true) }
1642
- await count(30, tick.now);
1643
-
1644
- emit nappeViolonsOUT([false,255]);
1645
- host{gcs.informSelecteurOnMenuChange(255," nappeViolons", false) }
1646
- yield;
1647
-
1648
- }
1649
-
1650
- host{
1651
- DAW.cleanQueues();
1652
- gcs.cleanChoiceList(255);
1653
- }
1654
-
1655
- host{
1656
- serveur.broadcast(JSON.stringify({
1657
- type: 'alertInfoScoreON',
1658
- value:'Transposition3-1 tick'
1659
- }));
1660
- }
1661
-
1662
- fork {
1663
-
1664
- M346707 : {
1665
- fork{
1666
- run ${ Piano} () {*};
1667
-
1668
- }par{
1669
- await count(30, tick.now);
1670
- emit stopReservoir();
1671
- break M346707;
1672
- }
1673
- }
1674
-
1675
- }
1676
-
1677
- par {
1678
-
1679
- emit nappeViolonsOUT([true,1]);
1680
- host{gcs.informSelecteurOnMenuChange(1," nappeViolons", true) }
1681
- await count(30, tick.now);
1682
-
1683
- emit nappeViolonsOUT([false,1]);
1684
- host{gcs.informSelecteurOnMenuChange(1," nappeViolons", false) }
1685
- yield;
1686
-
1687
- }
1688
-
1689
- par {
1690
-
1691
- abort{
1692
-
1693
- fork {
1694
-
1695
- run ${ TransPianoEtNappe3} () {*};
1696
-
1697
- }
1698
-
1699
- par {
1700
-
1701
- signal inverseTempo;
1702
- host {console.log("-- Start move tempo")}
1703
- abort {
1704
- loop{
1705
- fork {
1706
- every count( 8, tick.now) {
1707
- emit inverseTempo();
1708
- }
1709
- }par{
1710
- loop{
1711
- abort{
1712
- every count(1, tick.now) {
1713
- host{
1714
- tempoGlobal += 5;
1715
- setTempo(tempoGlobal, param);
1716
- }
1717
- }
1718
- } when (inverseTempo.now);
1719
- abort {
1720
- every count(1, tick.now) {
1721
- host{
1722
- tempoGlobal -= 5;
1723
- setTempo(tempoGlobal, param);
1724
- }
1725
- }
1726
- } when (inverseTempo.now);
1727
- }
1728
- }
1729
- }
1730
- } when immediate(stopMoveTempo.now);
1731
- host {console.log("-- Stop move tempo")}
1732
-
1733
- }
1734
-
1735
- } when count(30, tick.now);
1736
-
1737
- }
1738
-
1739
- host{
1740
- DAW.cleanQueues();
1741
- gcs.cleanChoiceList(255);
1742
- }
1743
-
1744
- host{
1745
- serveur.broadcast(JSON.stringify({
1746
- type: 'alertInfoScoreON',
1747
- value:'Transposition2-2 ticks'
1748
- }));
1749
- }
1750
-
1751
- fork {
1752
-
1753
- M607778 : {
1754
- fork{
1755
- run ${ Piano} () {*};
1756
-
1757
- }par{
1758
- await count(30, tick.now);
1759
- emit stopReservoir();
1760
- break M607778;
1761
- }
1762
- }
1763
-
1764
- }
1765
-
1766
- par {
1767
-
1768
- emit nappeViolonsOUT([true,1]);
1769
- host{gcs.informSelecteurOnMenuChange(1," nappeViolons", true) }
1770
- await count(30, tick.now);
1771
-
1772
- emit nappeViolonsOUT([false,1]);
1773
- host{gcs.informSelecteurOnMenuChange(1," nappeViolons", false) }
1774
- yield;
1775
-
1776
- }
1777
-
1778
- par {
1779
-
1780
- abort{
1781
-
1782
- fork {
1783
-
1784
- run ${ TransPianoEtNappe2} () {*};
1785
-
1786
- }
1787
-
1788
- par {
1789
-
1790
- signal inverseTempo;
1791
- host {console.log("-- Start move tempo")}
1792
- abort {
1793
- loop{
1794
- fork {
1795
- every count( 8, tick.now) {
1796
- emit inverseTempo();
1797
- }
1798
- }par{
1799
- loop{
1800
- abort{
1801
- every count(1, tick.now) {
1802
- host{
1803
- tempoGlobal += 5;
1804
- setTempo(tempoGlobal, param);
1805
- }
1806
- }
1807
- } when (inverseTempo.now);
1808
- abort {
1809
- every count(1, tick.now) {
1810
- host{
1811
- tempoGlobal -= 5;
1812
- setTempo(tempoGlobal, param);
1813
- }
1814
- }
1815
- } when (inverseTempo.now);
1816
- }
1817
- }
1818
- }
1819
- } when immediate(stopMoveTempo.now);
1820
- host {console.log("-- Stop move tempo")}
1821
-
1822
- }
1823
-
1824
- } when count(30, tick.now);
1825
-
1826
- }
1827
-
1828
- emit nappeViolonsOUT([false,1]);
1829
- host{gcs.informSelecteurOnMenuChange(1," nappeViolons", false) }
1830
-
1831
- host{
1832
- DAW.cleanQueue(1);
1833
- }
1834
-
1835
- host{
1836
- DAW.cleanQueue(2);
1837
- }
1838
-
1839
- host{
1840
- DAW.cleanQueue(3);
1841
- }
1842
-
1843
- }
1844
-
1845
- host{setTempo(70, param);}
1846
-
1847
- host{
1848
- serveur.broadcast(JSON.stringify({
1849
- type: 'alertInfoScoreOFF'
1850
- }));
1851
- }
1852
-
1853
- host{
1854
- DAW.cleanQueue(5);
1855
- }
1856
-
1857
238
  host{
1858
239
  serveur.broadcast(JSON.stringify({
1859
- type: 'alertInfoScoreON',
1860
- value:'Clarinette (Saxo)'
240
+ type: 'addSceneScore',
241
+ value:1
1861
242
  }));
1862
243
  }
1863
-
1864
- emit StartTransSaxo(0);
1865
-
1866
- fork {
1867
-
1868
- M138663 : {
1869
- fork{
1870
- run ${ Saxo} () {*};
1871
-
1872
- }par{
1873
- await count(50, tick.now);
1874
- emit stopReservoir();
1875
- break M138663;
1876
- }
1877
- }
1878
-
1879
- }
1880
-
1881
- par {
1882
-
1883
- abort{
1884
-
1885
- run ${ TransSaxo} () {*};
1886
-
1887
- } when count(50, tick.now);
1888
-
1889
- }
1890
-
1891
- host{
1892
- DAW.cleanQueue(2);
1893
- }
244
+ yield;
1894
245
 
1895
246
  host{
1896
247
  serveur.broadcast(JSON.stringify({
1897
- type: 'alertInfoScoreON',
1898
- value:'Brass Percu'
248
+ type: 'listeDesTypes',
249
+ text:'0,1,2,3,4,5,6,7,8,9'
1899
250
  }));
1900
251
  }
1901
252
 
1902
- fork {
1903
- run ${ Brass} () {*};
1904
- }
1905
- par{
1906
- run ${ Percu} () {*};
1907
- }
1908
-
1909
253
  host{
1910
- DAW.cleanQueue(5);
254
+ gcs.setpatternListLength([10,255]);
1911
255
  }
1912
256
 
1913
- host{
1914
- serveur.broadcast(JSON.stringify({
1915
- type: 'alertInfoScoreON',
1916
- value:'Flute'
1917
- }));
1918
- }
257
+ host {console.log('EtudeSkiniHarmonie5');}
1919
258
 
1920
259
  fork {
1921
260
 
1922
- M475594 : {
1923
- fork{
1924
- run ${ Flute} () {*};
1925
-
1926
- }par{
1927
- await count(40, tick.now);
1928
- emit stopReservoir();
1929
- break M475594;
1930
- }
1931
- }
261
+ emit PianoCOUT([true,255]);
262
+ host{gcs.informSelecteurOnMenuChange(255," PianoC", true) }
263
+ emit PianoEbOUT([true,255]);
264
+ host{gcs.informSelecteurOnMenuChange(255," PianoEb", true) }
265
+ emit PianoFminOUT([true,255]);
266
+ host{gcs.informSelecteurOnMenuChange(255," PianoFmin", true) }
267
+ await count(200, tick.now);
268
+
269
+ emit PianoCOUT([false,255]);
270
+ host{gcs.informSelecteurOnMenuChange(255," PianoC", false) }
271
+ emit PianoEbOUT([false,255]);
272
+ host{gcs.informSelecteurOnMenuChange(255," PianoEb", false) }
273
+ emit PianoFminOUT([false,255]);
274
+ host{gcs.informSelecteurOnMenuChange(255," PianoFmin", false) }
275
+ yield;
1932
276
 
1933
277
  }
1934
278
 
1935
279
  par {
1936
280
 
1937
- abort{
1938
-
1939
- signal inverseTempo;
1940
- host {console.log("-- Start move tempo")}
1941
- abort {
1942
- loop{
1943
- fork {
1944
- every count( 5, tick.now) {
1945
- emit inverseTempo();
1946
- }
1947
- }par{
1948
- loop{
1949
- abort{
1950
- every count(1, tick.now) {
1951
- host{
1952
- tempoGlobal += 2;
1953
- setTempo(tempoGlobal, param);
1954
- }
1955
- }
1956
- } when (inverseTempo.now);
1957
- abort {
1958
- every count(1, tick.now) {
1959
- host{
1960
- tempoGlobal -= 2;
1961
- setTempo(tempoGlobal, param);
1962
- }
1963
- }
1964
- } when (inverseTempo.now);
1965
- }
1966
- }
1967
- }
1968
- } when immediate(stopMoveTempo.now);
1969
- host {console.log("-- Stop move tempo")}
1970
-
1971
- } when count(40, tick.now);
281
+ fork {
282
+ run ${ FluteC} () {*};
283
+ }
284
+ par{
285
+ run ${ FluteEb} () {*};
286
+ }
287
+ par{
288
+ run ${ FluteFmin} () {*};
289
+ }
1972
290
 
1973
291
  }
1974
292
 
1975
- par {
1976
-
1977
- emit MassiveOUT([true,255]);
1978
- host{gcs.informSelecteurOnMenuChange(255," Massive", true) }
1979
- await count(10, tick.now);
1980
-
1981
- emit MassiveOUT([false,255]);
1982
- host{gcs.informSelecteurOnMenuChange(255," Massive", false) }
1983
- yield;
1984
-
293
+ host{
294
+ DAW.cleanQueues();
295
+ gcs.cleanChoiceList(255);
1985
296
  }
1986
297
 
1987
- host { DAW.putPatternInQueue('Percu4');}
1988
-
1989
298
  host{
1990
299
  serveur.broadcast(JSON.stringify({
1991
300
  type: 'alertInfoScoreON',
1992
- value:'FIN'
301
+ value:'Fin EtudeSkiniHarmonie5'
1993
302
  }));
1994
303
  }
1995
304
 
1996
- host{
1997
- DAW.cleanQueues();
1998
- gcs.cleanChoiceList(255);
1999
- }
2000
-
2001
305
  }
2002
306
  } when (halt.now);
2003
307
  }