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.
- package/client/clientListe/clientListe.js +11 -0
- package/client/clientListe/clientListebundle.js +1755 -1909
- package/client/score/parto1.js +4 -1
- package/client/score/parto1bundle.js +45 -23
- package/doc/Doc Skini Node english.pdf +0 -0
- package/doc/Mode d'emploi Skini Node.pdf +0 -0
- package/doc/Tuto Skini.pdf +0 -0
- package/doc/quickstart.pdf +0 -0
- package/myReact/orchestrationHH.hh.js +27 -12
- package/myReact/orchestrationHH.mjs +170 -170
- package/myReact/orchestrationHH.mjs.map +1 -1
- package/package.json +11 -8
- package/pieces/tutos/demoAbleton.csv +21 -0
- package/pieces/tutos/demoAbleton.js +100 -0
- package/pieces/tutos/demoAbleton.xml +180 -0
- package/pieces/tutos/demoHH.js +99 -0
- package/pieces/tutos/demoHH.xml +184 -0
- package/pieces/tutos/demoHHwait.js +100 -0
- package/pieces/tutos/demoHHwait.xml +175 -0
- package/pieces/tutos/tuto.csv +10 -0
- package/pieces/tutos/tuto.csv.good +1 -0
- package/pieces/tutos/tuto1.js +105 -0
- package/pieces/tutos/tuto1.xml +147 -0
- package/pieces/tutos/tuto10.back.js +106 -0
- package/pieces/tutos/tuto10.js +107 -0
- package/pieces/tutos/tuto10.xml +199 -0
- package/pieces/tutos/tuto11.js +111 -0
- package/pieces/tutos/tuto11.xml +124 -0
- package/pieces/tutos/tuto12.js +91 -0
- package/pieces/tutos/tuto12.xml +258 -0
- package/pieces/tutos/tuto2.back.js +106 -0
- package/pieces/tutos/tuto2.js +95 -0
- package/pieces/tutos/tuto2.xml +94 -0
- package/pieces/tutos/tuto3-2.js +105 -0
- package/pieces/tutos/tuto3-2.xml +96 -0
- package/pieces/tutos/tuto3.js +97 -0
- package/pieces/tutos/tuto3.xml +49 -0
- package/pieces/tutos/tuto4.js +107 -0
- package/pieces/tutos/tuto4.xml +106 -0
- package/pieces/tutos/tuto5.js +109 -0
- package/pieces/tutos/tuto5.xml +42 -0
- package/pieces/tutos/tuto6.js +105 -0
- package/pieces/tutos/tuto6.xml +26 -0
- package/pieces/tutos/tuto7.js +107 -0
- package/pieces/tutos/tuto7.xml +65 -0
- package/pieces/tutos/tuto8.js +105 -0
- package/pieces/tutos/tuto8.xml +76 -0
- package/pieces/tutos/tuto9.js +107 -0
- package/pieces/tutos/tuto9.xml +90 -0
- package/pieces/tutos/tutoAwait.js +111 -0
- package/pieces/tutos/tutoAwait.xml +171 -0
- package/pieces/tutos/tutoDoubleEmission.js +93 -0
- package/pieces/tutos/tutoDoubleEmission.xml +65 -0
- package/pieces/tutos/tutoESP32.js +104 -0
- package/pieces/tutos/tutoESP32.xml +246 -0
- package/pieces/tutos/tutoGame.js +126 -0
- package/pieces/tutos/tutoGame.xml +109 -0
- package/pieces/tutos/tutoGroups1.js +111 -0
- package/pieces/tutos/tutoGroups1.xml +137 -0
- package/pieces/tutos/tutoGroups2.js +97 -0
- package/pieces/tutos/tutoGroups2.xml +103 -0
- package/pieces/tutos/tutoGroups3.js +111 -0
- package/pieces/tutos/tutoGroups3.xml +128 -0
- package/pieces/tutos/tutoGroups4.js +111 -0
- package/pieces/tutos/tutoGroups4.xml +84 -0
- package/pieces/tutos/tutoIZ.js +95 -0
- package/pieces/tutos/tutoIZ.xml +135 -0
- package/pieces/tutos/tutoIf.js +111 -0
- package/pieces/tutos/tutoIf.xml +126 -0
- package/pieces/tutos/tutoMidi.js +126 -0
- package/pieces/tutos/tutoMidi.xml +62 -0
- package/pieces/tutos/tutoOS.js +121 -0
- package/pieces/tutos/tutoOSC.js +109 -0
- package/pieces/tutos/tutoOSC.xml +223 -0
- package/pieces/tutos/tutoOSCJonathan.js +94 -0
- package/pieces/tutos/tutoOSCJonathan.xml +312 -0
- package/pieces/tutos/tutoPatternInGroup.js +109 -0
- package/pieces/tutos/tutoPatternInGroup.xml +116 -0
- package/pieces/tutos/tutoRandomBlock.js +129 -0
- package/pieces/tutos/tutoRandomBlock.xml +194 -0
- package/pieces/tutos/tutoSuspend.js +107 -0
- package/pieces/tutos/tutoSuspend.xml +139 -0
- package/pieces/tutos/tutoSustain.js +107 -0
- package/pieces/tutos/tutoSustain.xml +109 -0
- package/pieces/tutos/tutoTank.csv +9 -0
- package/pieces/tutos/tutoTank.js +100 -0
- package/pieces/tutos/tutoTank.xml +326 -0
- package/pieces/tutos/tutoTestAll.csv +11 -0
- package/pieces/tutos/tutoTestAll.js +101 -0
- package/pieces/tutos/tutoTestAll.xml +859 -0
- package/serveur/skiniParametres.js +104 -11
- package/blocklySkini/archive/blocklyControleur.js +0 -87
- package/blocklySkini/archive/blocklySkini.js +0 -84
- package/blocklySkini/archive/blocklyhop.js +0 -75
- package/blocklySkini/archive/clientControleurBlocly.js +0 -170
- package/blocklySkini/archive/index.html +0 -76
- package/blocklySkini/archive/testHHsuspend.txt +0 -89
- package/blocklySkini/archive/testHHtrap.txt +0 -262
- package/blocklySkini/archive/testOrchestration.txt +0 -177
- package/blocklySkini/archive/testOrchestration.xml +0 -447
- package/blocklySkini/archive/testOrchestration2.xml +0 -456
- package/blocklySkini/scripts/hiphop_blocks.old.js +0 -3010
- package/blocklySkini/scripts/hiphop_blocks11-2025.js +0 -6104
- package/myReact/archive/Nodeemitvaluedlocal1.hh.js +0 -52
- package/myReact/archive/abort-parNode.js +0 -79
- package/myReact/archive/abroNode.js +0 -169
- package/myReact/archive/abroNode2.js +0 -80
- package/myReact/archive/atom.compile.hh.js +0 -52
- package/myReact/archive/await-countNode.js +0 -67
- package/myReact/archive/await-nowvalNode.js +0 -44
- package/myReact/archive/callHH.js +0 -96
- package/myReact/archive/emit-if2.hh.compiled.js +0 -113
- package/myReact/archive/every1Node.js +0 -35
- package/myReact/archive/if-runNode.js +0 -74
- package/myReact/archive/if1Node.js +0 -43
- package/myReact/archive/makeawait.js +0 -0
- package/myReact/archive/myReact.old.js +0 -684
- package/myReact/archive/orchestration.js +0 -281
- package/myReact/archive/orchestration1.js +0 -132
- package/myReact/archive/orchestration1.xml +0 -465
- package/myReact/archive/orchestration2.js +0 -161
- package/myReact/archive/orchestrationHH.mano.js +0 -280
- package/myReact/archive/orchestrationHHTest.js +0 -428
- package/myReact/archive/orchestrationHHTest.xml +0 -234
- package/myReact/archive/orchestrationHHTestRun.js +0 -104
- package/myReact/archive/orchestrationHHTestRun.xml +0 -34
- package/myReact/archive/orchestrationTest0.js +0 -178
- package/myReact/archive/orchestrationTest1.js +0 -181
- package/myReact/archive/orchestrationTest2.js +0 -281
- package/myReact/archive/run3pointsNode.js +0 -59
- package/myReact/archive/runNode.js +0 -123
- package/myReact/archive/runNode2.js +0 -91
- package/myReact/archive/testAwait1.js +0 -141
- package/myReact/archive/testAwait1.xml +0 -86
- package/myReact/archive/testEvery1.js +0 -122
- package/myReact/archive/testEvery1.xml +0 -79
- package/myReact/archive/testHH1.js +0 -135
- package/myReact/archive/testHH1.xml +0 -86
- package/myReact/archive/testHH1revu.js +0 -104
- package/myReact/archive/testHH2.js +0 -122
- package/myReact/archive/testHH2.xml +0 -79
- package/myReact/archive/testHH3.js +0 -130
- package/myReact/archive/testHH3.xml +0 -86
- package/myReact/archive/testHHabort.js +0 -121
- package/myReact/archive/testHHabort.xml +0 -83
- package/myReact/archive/testMakeawait.js +0 -202
- package/myReact/archive/testRun1.js +0 -168
- package/myReact/archive/testRun1.xml +0 -142
- package/myReact/archive/titi.js +0 -28
- package/myReact/archive/titi.xml +0 -110
- package/myReact/archive/toto.js +0 -73
- package/myReact/archive/toto.xml +0 -198
- package/myReact/archive/trap-await-parallelNode.js +0 -123
- package/myReact/inutiles/hiver2022.xml +0 -804
- package/myReact/inutiles/hopeNode.xml +0 -459
- package/myReact/inutiles/mars2022.xml +0 -871
- package/myReact/inutiles/mystique1.xml +0 -318
- package/myReact/inutiles/mystiqueOSC.xml +0 -277
- package/myReact/inutiles/opus5Node.xml +0 -1271
- package/myReact/inutiles/opus5NodeLinux.xml +0 -1241
- package/myReact/inutiles/orchestrationHH.xml +0 -541
- package/myReact/inutiles/orchestrationHH2.xml +0 -547
- package/myReact/inutiles/testHH.xml +0 -95
- package/myReact/inutiles/trouveLaPercuTenor.xml +0 -349
package/client/score/parto1.js
CHANGED
|
@@ -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
|
-
|
|
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
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
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
|
-
|
|
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": "
|
|
1163
|
-
"remoteIPAddressSound": "
|
|
1179
|
+
"remoteIPAddressImage": "192.168.1.251",
|
|
1180
|
+
"remoteIPAddressSound": "192.168.1.251",
|
|
1164
1181
|
"remoteIPAddressLumiere": "localhost",
|
|
1165
|
-
"remoteIPAddressGame": "
|
|
1166
|
-
"
|
|
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":
|
|
1172
|
-
"portOSCFromGame":
|
|
1173
|
-
"
|
|
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
|
-
|
|
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
|
|
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
|
-
|
|
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
|
|
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
|
-
|
|
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
|
|
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
|
-
|
|
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
|
|
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
|
-
|
|
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
|
|
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
|
-
|
|
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
|
|
1944
|
+
break M62248;
|
|
1930
1945
|
}
|
|
1931
1946
|
}
|
|
1932
1947
|
|