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
@@ -77,7 +77,10 @@ var textSize = 20 * screenY / Ybase;
77
77
 
78
78
  // La version processing.min.js ne sais pas gérer les couleur en hexa.
79
79
  function hex_to_RGB(hex) {
80
- var m = hex.match(/^#?([\da-f]{2})([\da-f]{2})([\da-f]{2})$/i);
80
+ console.log("hex_to_RGB:", typeof hex, hex);
81
+ if(hex == '') return [0,0,0];
82
+
83
+ let m = hex.match(/^#?([\da-f]{2})([\da-f]{2})([\da-f]{2})$/i);
81
84
  return [ parseInt(m[1], 16), parseInt(m[2], 16), parseInt(m[3], 16)];
82
85
  }
83
86
 
@@ -1,12 +1,26 @@
1
- (function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(require,module,exports){
2
- /**************************************
3
- SKINI
4
-
5
- © Copyright 2019, B. Petit-Heidelein
6
-
7
- browserify parto1.js -o parto1bundle.js
8
-
9
- ***************************************/
1
+ (function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(require,module,exports){
2
+ /**
3
+ * @fileOverview Display the score of the Skini piece
4
+ *
5
+ * browserify parto1.js -o parto1bundle.js
6
+ *
7
+ * @author Bertrand Petit-Hédelin <bertrand@hedelin.fr>
8
+ * @version 1.0
9
+ * @copyright (C) 2022 Bertrand Petit-Hédelin
10
+ *
11
+ * This program is free software: you can redistribute it and/or modify
12
+ * it under the terms of the GNU General Public License as published by
13
+ * the Free Software Foundation, either version 3 of the License, or
14
+ * any later version.
15
+ *
16
+ * This program is distributed in the hope that it will be useful,
17
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
18
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19
+ * GNU General Public License for more details.
20
+ *
21
+ * You should have received a copy of the GNU General Public License
22
+ * along with this program. If not, see <https://www.gnu.org/licenses/>.
23
+ */
10
24
  "use strict"
11
25
 
12
26
  var ipConfig = require('../../serveur/ipConfig');
@@ -64,7 +78,10 @@ var textSize = 20 * screenY / Ybase;
64
78
 
65
79
  // La version processing.min.js ne sais pas gérer les couleur en hexa.
66
80
  function hex_to_RGB(hex) {
67
- var m = hex.match(/^#?([\da-f]{2})([\da-f]{2})([\da-f]{2})$/i);
81
+ console.log("hex_to_RGB:", typeof hex, hex);
82
+ if(hex == '') return [0,0,0];
83
+
84
+ let m = hex.match(/^#?([\da-f]{2})([\da-f]{2})([\da-f]{2})$/i);
68
85
  return [ parseInt(m[1], 16), parseInt(m[2], 16), parseInt(m[3], 16)];
69
86
  }
70
87
 
@@ -1156,26 +1173,31 @@ function initWSSocket(host) {
1156
1173
  }
1157
1174
  }
1158
1175
  window.initWSSocket = initWSSocket;
1159
-
1160
- },{"../../serveur/ipConfig":2}],2:[function(require,module,exports){
1176
+
1177
+ },{"../../serveur/ipConfig":2}],2:[function(require,module,exports){
1161
1178
  module.exports={
1162
- "remoteIPAddressImage": "localhost",
1163
- "remoteIPAddressSound": "localhost",
1179
+ "remoteIPAddressImage": "192.168.1.251",
1180
+ "remoteIPAddressSound": "192.168.1.251",
1164
1181
  "remoteIPAddressLumiere": "localhost",
1165
- "remoteIPAddressGame": "localhost",
1166
- "serverIPAddress": "localhost",
1182
+ "remoteIPAddressGame": "192.168.1.223",
1183
+ "interfaceZIPaddress": "192.168.1.250",
1184
+ "serverIPAddress": "192.168.1.251",
1167
1185
  "webserveurPort": 8080,
1168
1186
  "websocketServeurPort": 8383,
1169
1187
  "InPortOSCMIDIfromDAW": 13000,
1170
1188
  "OutPortOSCMIDItoDAW": 12000,
1171
- "portOSCToGame": 1000,
1172
- "portOSCFromGame": 3005,
1173
- "distribSequencerPort": 8888,
1189
+ "portOSCToGame": 1010,
1190
+ "portOSCFromGame": 3010,
1191
+ "portOSCFromInterfaceZData": 3005,
1192
+ "portOSCFromInterfaceZMidi": 3006,
1193
+ "portOSCFromInterfaceZMiniWi": 8888,
1194
+ "portOSCToInterfaceZ": 1000,
1195
+ "distribSequencerPort": 8899,
1174
1196
  "outportProcessing": 10000,
1175
1197
  "outportLumiere": 7700,
1176
1198
  "inportLumiere": 9000,
1177
- "sessionPath": "./pieces/",
1178
- "piecePath" : "./pieces/"
1199
+ "sessionPath": "./pieces/opus/",
1200
+ "piecePath" : "./pieces/opus/"
1179
1201
  }
1180
-
1181
- },{}]},{},[1]);
1202
+
1203
+ },{}]},{},[1]);
Binary file
Binary file
Binary file
Binary file
@@ -203,6 +203,9 @@ var Piano, StartTransSaxo, Saxo, Piano1Intro1, Piano1Intro2, Piano1Intro3, Piano
203
203
  //
204
204
  //
205
205
  //
206
+ //
207
+ //
208
+ //
206
209
 
207
210
  "use strict";
208
211
  import { createRequire } from 'module';
@@ -690,6 +693,9 @@ export function setSignals(param) {
690
693
  //
691
694
  //
692
695
  //
696
+ //
697
+ //
698
+ //
693
699
  //
694
700
 
695
701
  const TransPianoEtNappe = hiphop module() {
@@ -922,6 +928,9 @@ export function setSignals(param) {
922
928
  //
923
929
  //
924
930
  //
931
+ //
932
+ //
933
+ //
925
934
  //
926
935
 
927
936
  const TransPianoEtNappe2 = hiphop module() {
@@ -1154,6 +1163,9 @@ export function setSignals(param) {
1154
1163
  //
1155
1164
  //
1156
1165
  //
1166
+ //
1167
+ //
1168
+ //
1157
1169
  //
1158
1170
 
1159
1171
  const TransPianoEtNappe3 = hiphop module() {
@@ -1402,6 +1414,9 @@ export function setSignals(param) {
1402
1414
  //
1403
1415
  //
1404
1416
  //
1417
+ //
1418
+ //
1419
+ //
1405
1420
  //
1406
1421
 
1407
1422
  const TransSaxo = hiphop module() {
@@ -1541,14 +1556,14 @@ export function setSignals(param) {
1541
1556
 
1542
1557
  }
1543
1558
 
1544
- M533953 : {
1559
+ M370292 : {
1545
1560
  fork{
1546
1561
  run ${ Percu} () {*};
1547
1562
 
1548
1563
  }par{
1549
1564
  await count(5, tick.now);
1550
1565
  emit stopReservoir();
1551
- break M533953;
1566
+ break M370292;
1552
1567
  }
1553
1568
  }
1554
1569
 
@@ -1572,14 +1587,14 @@ export function setSignals(param) {
1572
1587
 
1573
1588
  fork {
1574
1589
 
1575
- M642770 : {
1590
+ M914075 : {
1576
1591
  fork{
1577
1592
  run ${ Piano} () {*};
1578
1593
 
1579
1594
  }par{
1580
1595
  await count(5, tick.now);
1581
1596
  emit stopReservoir();
1582
- break M642770;
1597
+ break M914075;
1583
1598
  }
1584
1599
  }
1585
1600
 
@@ -1661,14 +1676,14 @@ export function setSignals(param) {
1661
1676
 
1662
1677
  fork {
1663
1678
 
1664
- M346707 : {
1679
+ M712993 : {
1665
1680
  fork{
1666
1681
  run ${ Piano} () {*};
1667
1682
 
1668
1683
  }par{
1669
1684
  await count(30, tick.now);
1670
1685
  emit stopReservoir();
1671
- break M346707;
1686
+ break M712993;
1672
1687
  }
1673
1688
  }
1674
1689
 
@@ -1750,14 +1765,14 @@ export function setSignals(param) {
1750
1765
 
1751
1766
  fork {
1752
1767
 
1753
- M607778 : {
1768
+ M591004 : {
1754
1769
  fork{
1755
1770
  run ${ Piano} () {*};
1756
1771
 
1757
1772
  }par{
1758
1773
  await count(30, tick.now);
1759
1774
  emit stopReservoir();
1760
- break M607778;
1775
+ break M591004;
1761
1776
  }
1762
1777
  }
1763
1778
 
@@ -1865,14 +1880,14 @@ export function setSignals(param) {
1865
1880
 
1866
1881
  fork {
1867
1882
 
1868
- M138663 : {
1883
+ M396667 : {
1869
1884
  fork{
1870
1885
  run ${ Saxo} () {*};
1871
1886
 
1872
1887
  }par{
1873
1888
  await count(50, tick.now);
1874
1889
  emit stopReservoir();
1875
- break M138663;
1890
+ break M396667;
1876
1891
  }
1877
1892
  }
1878
1893
 
@@ -1919,14 +1934,14 @@ export function setSignals(param) {
1919
1934
 
1920
1935
  fork {
1921
1936
 
1922
- M475594 : {
1937
+ M62248 : {
1923
1938
  fork{
1924
1939
  run ${ Flute} () {*};
1925
1940
 
1926
1941
  }par{
1927
1942
  await count(40, tick.now);
1928
1943
  emit stopReservoir();
1929
- break M475594;
1944
+ break M62248;
1930
1945
  }
1931
1946
  }
1932
1947