nodeskini 1.0.2 → 1.0.5

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.
@@ -1,436 +1,278 @@
1
- import * as $$hiphop from '@hop/hiphop';'use strict';'use hopscript';import { ReactiveMachine } from '@hop/hiphop';import * as utilsSkini from '../serveur/utilsSkini.mjs';import * as tank from '../pieces/util/makeReservoir.mjs';let midimix=undefined;
2
- let oscMidiLocal=undefined;
3
- let gcs=undefined;
4
- let DAW=undefined;
5
- let serveur=undefined;
6
- let signals=undefined;
7
- let debug=false;
8
- let debug1=true;
9
- var currentTimePrev=0;
10
- var currentTime=0;
11
- var dureeSession=0;
12
- var dureeSessionPrev=0;
13
- const CCChannel=1;
14
- const CCTransposeStrings=61;
15
- const CCTransposeAltos=62;
16
- const CCTransposeCellos=63;
17
- const CCTransposeCtreBasses=64;
18
- const CCTransposeTrompettes=65;
19
- const CCTransposeCors=66;
20
- const CCTransposeTrombones=67;
21
- const CCTransposeFlutes=68;
22
- const CCTransposeHaubois=69;
23
- const CCTransposeClarinettes=70;
24
- const CCTransposeBassons=71;
25
- const CCTransposeSaxo=72;
26
- const CCTempo=100;
27
- const tempoMax=160;
28
- const tempoMin=40;
29
- const CCdegre2Mineursaxo=73;
30
- const CCtonalite=74;
31
- let compteurTransInit=407;
32
- let compteurTrans=compteurTransInit;
33
- let compteurTransMax=414;
34
- let transposition=0;
35
- let tonalite=0;
1
+ import * as $$hiphop from '@hop/hiphop';var Piano;var StartTransSaxo;var Saxo;var Piano1Intro1;var Piano1Intro2;var Piano1Intro3;var Piano1Intro4;var Piano1Intro5;var Piano1Intro6;var Piano1Intro7;var Piano1Milieu1;var Piano1Milieu2;var Piano1Milieu3;var Piano1Milieu4;var Piano1Milieu5;var Piano1Milieu6;var Piano1Milieu7;var Piano1Fin1;var Piano1Fin2;var Piano1Fin3;var Piano1Fin4;var Piano1Fin5;var Piano1Fin6;var Piano1Fin7;var Brass;var SaxIntro1;var SaxIntro2;var SaxIntro3;var SaxIntro4;var SaxIntro5;var SaxIntro6;var SaxIntro7;var SaxMilieu1;var SaxMilieu2;var SaxMilieu3;var SaxMilieu4;var SaxMilieu5;var SaxMilieu6;var SaxMilieu7;var SaxFin1;var SaxFin2;var SaxFin3;var SaxFin4;var SaxFin5;var SaxFin6;var SaxFin7;var Flute;var Percu;var BrassIntro1;var BrassIntro2;var BrassIntro3;var BrassIntro4;var BrassIntro5;var BrassIntro6;var BrassIntro7;var BrassMilieu1;var BrassMilieu2;var BrassMilieu3;var BrassMilieu4;var BrassMilieu5;var BrassMilieu6;var BrassMilieu7;var BrassFin1;var BrassFin2;var BrassFin3;var BrassFin4;var BrassFin5;var BrassFin6;var BrassFin7;var tick;var FluteIntro1;var FluteIntro2;var FluteIntro3;var FluteIntro4;var FluteIntro5;var FluteIntro6;var FluteIntro7;var FluteMilieu1;var FluteMilieu2;var FluteMilieu3;var FluteMilieu4;var FluteMilieu5;var FluteMilieu6;var FluteMilieu7;var FluteFin1;var FluteFin2;var FluteFin3;var FluteFin4;var FluteFin5;var FluteFin6;var FluteFin7;var TransPianoEtNappe;var Percu1;var Percu2;var Percu3;var Percu4;var Percu5;var Percu6;var Percu7;var TransPianoEtNappe2;var TransPianoEtNappe3;var TransSaxo;var nappeViolons;var Flesh;var Massive;
2
+ 'use strict';import { createRequire } from 'module';const require=createRequire(import.meta.url);
3
+ const ipConfig=require('../serveur/ipConfig.json');
4
+ import * as hh from '@hop/hiphop';import * as utilsSkini from '../serveur/utilsSkini.mjs';import * as tank from '../pieces/util/makeReservoir.mjs';var par;
5
+ var debug=false;
6
+ var debug1=true;
7
+ var midimix;
8
+ var oscMidiLocal;
9
+ var gcs;
10
+ var DAW;
11
+ var serveur;
12
+ let CCChannel=1;
13
+ let CCTempo=100;
14
+ let tempoMax=160;
15
+ let tempoMin=40;
36
16
  let tempoGlobal=60;
37
- let changeTempo=0;
38
- let premierAlea=0;
39
- let deuxiemeAlea=0;
40
- let troisiemeAlea=0;
41
- const setTempo = function (value,par) {
42
- if (value > tempoMax || value < tempoMin) {
17
+ let setServ = function (ser,daw,groupeCS,oscMidi,mix) {
18
+ if (debug) console.log('hh_ORCHESTRATION: setServ');
19
+ DAW=daw;serveur=ser;gcs=groupeCS;oscMidiLocal=oscMidi;midimix=mix;tank.initMakeReservoir(gcs,serveur);};let setTempo = function (value,param) {
20
+ tempoGlobal=value;if (value > tempoMax || value < tempoMin) {
43
21
  console.log('ERR: Tempo set out of range:',value,'Should be between:',tempoMin,'and',tempoMax);return undefined;
44
22
  }
45
- let tempo=Math.round(127 / (tempoMax - tempoMin) * (value - tempoMin));
46
- if (debug) console.log('Set tempo:',value);
47
- oscMidiLocal.sendControlChange(par.busMidiDAW,CCChannel,CCTempo,tempo);};const transpose = function (CCinstrument,value,par) {
48
- let CCTransposeValue=undefined;
49
- CCTransposeValue=Math.round(1763 / 1000 * value + 635 / 10);oscMidiLocal.sendControlChange(par.busMidiDAW,CCChannel,CCinstrument,CCTransposeValue);if (debug) console.log('-- Transposition instrument:',CCinstrument,'->',value,'demi-tons');
50
- };const transposeAll = function (value,par) {
51
- for (let i=61;i <= 74;i++) {
52
- transpose(i,value,par);}
53
- };const degre2mineursaxo = function (value,par) {
54
- if (value) {
55
- oscMidiLocal.sendControlChange(par.busMidiDAW,CCChannel,CCdegre2Mineursaxo,100);} else {
56
- oscMidiLocal.sendControlChange(par.busMidiDAW,CCChannel,CCdegre2Mineursaxo,0);}
57
- if (debug) console.log('-- CCdegre2Mineur:',value);
58
- };const setTonalite = function (CCtonalite,value,par) {
59
- let CCTon=undefined;
60
- CCTon=Math.round(1763 / 1000 * value + 635 / 10);oscMidiLocal.sendControlChange(par.busMidiDAW,CCChannel,CCtonalite,CCTon);if (debug) console.log('-- setTonalite:',CCtonalite,'->',value,'demi-tons');
61
- };const setServ = function (ser,daw,groupeCS,oscMidi,mix) {
62
- if (debug) console.log('-- HH_ORCHESTRATION: setServ');
63
- DAW=daw;serveur=ser;gcs=groupeCS;oscMidiLocal=oscMidi;midimix=mix;};const makeAwait = function (instruments,groupeClient) {
64
- return $$hiphop.FORK({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':4758},'%tag':'FORK'},instruments.map((val) => {
65
- return $$hiphop.SEQUENCE({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':4800},'%tag':'sequence'},((g4830) => {
66
- return $$hiphop.AWAIT({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':4808},'%tag':'await','immediate':false,'apply':function () {
67
- return ((() => {
68
- return this[g4830].now;
69
- })());
70
- }},$$hiphop.SIGACCESS({'signame':g4830,'pre':false,'val':false,'cnt':false}));
71
- })(`${val}IN`),$$hiphop.EMIT({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':4848},'%tag':'EMIT','signame':`${val}OUT`,'apply':function () {
72
- return [false,groupeClient];
73
- }}));
74
- }));
75
- };const makeReservoir = function (groupeClient,instrument) {
76
- return $$hiphop.SEQUENCE({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':5008},'%tag':'dollar'},$$hiphop.TRAP({'laTrappe':'laTrappe','%location':{'filename':'./pieces/opus4V2.hh.js','pos':5025},'%tag':'TRAP'},$$hiphop.SEQUENCE({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':5035},'%tag':'sequence'},$$hiphop.ABORT({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':5045},'%tag':'ABORT','immediate':true,'apply':function () {
77
- return ((() => {
78
- const stopReservoir=this.stopReservoir;return stopReservoir.now;
79
- })());
80
- }},$$hiphop.SIGACCESS({'signame':'stopReservoir','pre':false,'val':false,'cnt':false}),$$hiphop.ATOM({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':5113},'%tag':'pragma','apply':function () {
81
- console.log('--- MAKE RESERVOIR:',instrument[0],', groupeClient: ',groupeClient);var msg={'type':'startTank','value':instrument[0]};
82
- serveur.broadcast(JSON.stringify(msg));}}),$$hiphop.SEQUENCE({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':5469},'%tag':'dollar'},instrument.map((val) => {
83
- return $$hiphop.EMIT({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':5517},'%tag':'EMIT','signame':`${val}OUT`,'apply':function () {
84
- return [true,groupeClient];
85
- }});
86
- })),$$hiphop.ATOM({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':5568},'%tag':'pragma','apply':function () {
87
- gcs.informSelecteurOnMenuChange(groupeClient,instrument[0],true);}}),$$hiphop.SEQUENCE({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':5655},'%tag':'dollar'},makeAwait(instrument,groupeClient)),$$hiphop.ATOM({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':5706},'%tag':'pragma','apply':function () {
88
- console.log('--- FIN NATURELLE RESERVOIR:',instrument[0]);}}),$$hiphop.EXIT({'laTrappe':'laTrappe','%location':{'filename':'./pieces/opus4V2.hh.js','pos':5792},'%tag':'EXIT'})),$$hiphop.SEQUENCE({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':5821},'%tag':'dollar'},instrument.map((val) => {
89
- return $$hiphop.EMIT({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':5858},'%tag':'EMIT','signame':`${val}OUT`,'apply':function () {
90
- return [false,groupeClient];
91
- }});
92
- })),$$hiphop.ATOM({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':5909},'%tag':'pragma','apply':function () {
93
- gcs.informSelecteurOnMenuChange(groupeClient,instrument[0],false);}}),$$hiphop.ATOM({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':5995},'%tag':'pragma','apply':function () {
94
- console.log('--- ABORT RESERVOIR:',instrument[0]);var msg={'type':'killTank','value':instrument[0]};
95
- serveur.broadcast(JSON.stringify(msg));}}))));
96
- };const piano=['Piano1Intro1','Piano1Intro2','Piano1Intro3','Piano1Intro4','Piano1Intro5','Piano1Intro6','Piano1Intro7','Piano1Milieu1','Piano1Milieu2','Piano1Milieu3','Piano1Milieu4','Piano1Milieu5','Piano1Milieu6','Piano1Milieu7','Piano1Fin1','Piano1Fin2','Piano1Fin3','Piano1Fin4','Piano1Fin5','Piano1Fin6','Piano1Fin7'];
97
- const resevoirPiano1=$$hiphop.MODULE({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':6821},'%tag':'module'},$$hiphop.SIGNAL({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':6835},'direction':'IN','name':'stopReservoir'}),piano.map((i) => {
98
- return `${i}IN`;
99
- }).map((n) => {
100
- return $$hiphop.SIGNAL({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':6858},'direction':'IN','name':n});
101
- }),piano.map((i) => {
102
- return `${i}OUT`;
103
- }).map((n) => {
104
- return $$hiphop.SIGNAL({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':6899},'direction':'OUT','name':n});
105
- }),$$hiphop.SEQUENCE({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':6937},'%tag':'dollar'},makeReservoir(255,piano)));
106
- const saxo=['SaxIntro1','SaxIntro2','SaxIntro3','SaxIntro4','SaxIntro5','SaxIntro6','SaxIntro7','SaxMilieu1','SaxMilieu2','SaxMilieu3','SaxMilieu4','SaxMilieu5','SaxMilieu6','SaxMilieu7','SaxFin1','SaxFin2','SaxFin3','SaxFin4','SaxFin5','SaxFin6','SaxFin7'];
107
- const resevoirSaxo=$$hiphop.MODULE({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':7507},'%tag':'module'},$$hiphop.SIGNAL({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':7521},'direction':'IN','name':'stopReservoir'}),saxo.map((i) => {
108
- return `${i}IN`;
109
- }).map((n) => {
110
- return $$hiphop.SIGNAL({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':7544},'direction':'IN','name':n});
111
- }),saxo.map((i) => {
112
- return `${i}OUT`;
113
- }).map((n) => {
114
- return $$hiphop.SIGNAL({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':7584},'direction':'OUT','name':n});
115
- }),$$hiphop.SEQUENCE({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':7620},'%tag':'dollar'},makeReservoir(255,saxo)));
116
- const brass=['BrassIntro1','BrassIntro2','BrassIntro3','BrassIntro4','BrassIntro5','BrassIntro6','BrassIntro7','BrassMilieu1','BrassMilieu2','BrassMilieu3','BrassMilieu4','BrassMilieu5','BrassMilieu6','BrassMilieu7','BrassFin1','BrassFin2','BrassFin3','BrassFin4','BrassFin5','BrassFin6','BrassFin7'];
117
- const resevoirBrass=$$hiphop.MODULE({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':8020},'%tag':'module'},$$hiphop.SIGNAL({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':8034},'direction':'IN','name':'stopReservoir'}),brass.map((i) => {
118
- return `${i}IN`;
119
- }).map((n) => {
120
- return $$hiphop.SIGNAL({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':8057},'direction':'IN','name':n});
121
- }),brass.map((i) => {
122
- return `${i}OUT`;
123
- }).map((n) => {
124
- return $$hiphop.SIGNAL({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':8098},'direction':'OUT','name':n});
125
- }),$$hiphop.SEQUENCE({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':8135},'%tag':'dollar'},makeReservoir(255,brass)));
126
- const flute=['FluteIntro1','FluteIntro2','FluteIntro3','FluteIntro4','FluteIntro5','FluteIntro6','FluteIntro7','FluteMilieu1','FluteMilieu2','FluteMilieu3','FluteMilieu4','FluteMilieu5','FluteMilieu6','FluteMilieu7','FluteFin1','FluteFin2','FluteFin3','FluteFin4','FluteFin5','FluteFin6','FluteFin7'];
127
- const resevoirFlute=$$hiphop.MODULE({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':8536},'%tag':'module'},$$hiphop.SIGNAL({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':8550},'direction':'IN','name':'stopReservoir'}),flute.map((i) => {
128
- return `${i}IN`;
129
- }).map((n) => {
130
- return $$hiphop.SIGNAL({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':8573},'direction':'IN','name':n});
131
- }),flute.map((i) => {
132
- return `${i}OUT`;
133
- }).map((n) => {
134
- return $$hiphop.SIGNAL({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':8614},'direction':'OUT','name':n});
135
- }),$$hiphop.SEQUENCE({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':8651},'%tag':'dollar'},makeReservoir(255,flute)));
136
- const percu=['Percu1','Percu2','Percu3','Percu4','Percu5','Percu6','Percu7'];
137
- const resevoirPercu=$$hiphop.MODULE({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':8808},'%tag':'module'},$$hiphop.SIGNAL({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':8822},'direction':'IN','name':'stopReservoir'}),percu.map((i) => {
138
- return `${i}IN`;
139
- }).map((n) => {
140
- return $$hiphop.SIGNAL({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':8845},'direction':'IN','name':n});
141
- }),percu.map((i) => {
142
- return `${i}OUT`;
143
- }).map((n) => {
144
- return $$hiphop.SIGNAL({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':8886},'direction':'OUT','name':n});
145
- }),$$hiphop.SEQUENCE({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':8923},'%tag':'dollar'},makeReservoir(255,percu)));
146
- const setSignals = function (param) {
147
- let interTextOUT=utilsSkini.creationInterfacesOUT(param.groupesDesSons);
23
+ var tempo=Math.round(127 / (tempoMax - tempoMin) * (value - tempoMin));
24
+ if (debug) {
25
+ console.log('Set tempo blockly:',value,param.busMidiDAW,CCChannel,CCTempo,tempo,oscMidiLocal.getMidiPortClipToDAW());}
26
+ oscMidiLocal.sendControlChange(param.busMidiDAW,CCChannel,CCTempo,tempo);};let tempoValue=0;
27
+ let tempoRythme=0;
28
+ let tempoLimit=0;
29
+ let tempoIncrease=true;
30
+ let transposeValue=0;
31
+ let ratioTranspose=1.763;
32
+ let offsetTranspose=63.5;
33
+ let signals=[];
34
+ let halt=undefined;let start=undefined;let emptyQueueSignal=undefined;let patternSignal=undefined;let stopReservoir=undefined;let stopMoveTempo=undefined;
35
+ let tickCounter=0;
36
+ let setSignals = function (param) {
37
+ par=param;let interTextOUT=utilsSkini.creationInterfacesOUT(param.groupesDesSons);
148
38
  let interTextIN=utilsSkini.creationInterfacesIN(param.groupesDesSons);
149
39
  const IZsignals=['INTERFACEZ_RC','INTERFACEZ_RC0','INTERFACEZ_RC1','INTERFACEZ_RC2','INTERFACEZ_RC3','INTERFACEZ_RC4','INTERFACEZ_RC5','INTERFACEZ_RC6','INTERFACEZ_RC7','INTERFACEZ_RC8','INTERFACEZ_RC9','INTERFACEZ_RC10','INTERFACEZ_RC11'];
150
- const soloFlute=$$hiphop.MODULE({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':9767},'%tag':'module'},utilsSkini.creationInterfacesOUT(param.groupesDesSons).map((n) => {
151
- return $$hiphop.SIGNAL({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':9787},'direction':'OUT','name':n});
152
- }),utilsSkini.creationInterfacesIN(param.groupesDesSons).map((n) => {
153
- return $$hiphop.SIGNAL({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':9859},'direction':'IN','name':n});
154
- }),$$hiphop.SIGNAL({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':9927},'direction':'IN','name':'tick'}),$$hiphop.LOCAL({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':9941},'%tag':'LOCAL'},$$hiphop.SIGNAL({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':9948},'name':'stopReservoirFlute'}),$$hiphop.ATOM({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':9972},'%tag':'pragma','apply':function () {
155
- console.log('-- DEBUT FLUTE SOLO --');}}),$$hiphop.TRAP({'solo':'solo','%location':{'filename':'./pieces/opus4V2.hh.js','pos':10023},'%tag':'TRAP'},$$hiphop.FORK({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':10037},'%tag':'FORK'},(function (__frame) {
156
- return $$hiphop.SEQUENCE({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':10051},'%tag':'run'},$$hiphop.ATOM({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':10051},'%tag':'hop','apply':function () {
157
- }}),$$hiphop.RUN({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':10051},'%tag':'run','autocomplete':true,'stopReservoir':'stopReservoirFlute','module':resevoirFlute,'%frame':__frame}));
158
- })([]),$$hiphop.SEQUENCE({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':10127},'%tag':'par'},$$hiphop.AWAIT({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':10436},'%tag':'await','immediate':false,'apply':function () {
159
- return ((() => {
160
- const tick=this.tick;return tick.now;
161
- })());
162
- },'countapply':function () {
163
- return 57;
164
- }},$$hiphop.SIGACCESS({'signame':'tick','pre':false,'val':false,'cnt':false})),$$hiphop.EMIT({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':10478},'%tag':'EMIT','signame':'stopReservoirFlute'}),$$hiphop.ATOM({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':10603},'%tag':'pragma','apply':function () {
165
- DAW.cleanQueue(6);}}),$$hiphop.EXIT({'solo':'solo','%location':{'filename':'./pieces/opus4V2.hh.js','pos':10643},'%tag':'EXIT'})))),$$hiphop.ATOM({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':10667},'%tag':'pragma','apply':function () {
166
- console.log('-- FIN FLUTE SOLO --');}})));
167
- const soloPiano=$$hiphop.MODULE({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':10744},'%tag':'module'},utilsSkini.creationInterfacesOUT(param.groupesDesSons).map((n) => {
168
- return $$hiphop.SIGNAL({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':10764},'direction':'OUT','name':n});
169
- }),utilsSkini.creationInterfacesIN(param.groupesDesSons).map((n) => {
170
- return $$hiphop.SIGNAL({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':10836},'direction':'IN','name':n});
171
- }),$$hiphop.SIGNAL({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':10904},'direction':'IN','name':'tick'}),$$hiphop.SIGNAL({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':10904},'direction':'IN','name':'patternSignal'}),$$hiphop.SIGNAL({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':10904},'direction':'IN','name':'stopSolo'}),$$hiphop.LOCAL({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':10943},'%tag':'LOCAL'},$$hiphop.SIGNAL({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':10950},'name':'stopReservoirPiano'}),$$hiphop.TRAP({'solo':'solo','%location':{'filename':'./pieces/opus4V2.hh.js','pos':10974},'%tag':'TRAP'},$$hiphop.FORK({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':10988},'%tag':'FORK'},$$hiphop.SEQUENCE({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':10988},'%tag':'SEQUENCE'},$$hiphop.ATOM({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':11002},'%tag':'pragma','apply':function () {
172
- console.log('-- DEBUT PIANO --');}}),(function (__frame) {
173
- return $$hiphop.SEQUENCE({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':11052},'%tag':'run'},$$hiphop.ATOM({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':11052},'%tag':'hop','apply':function () {
174
- }}),$$hiphop.RUN({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':11052},'%tag':'run','autocomplete':true,'stopReservoir':'stopReservoirPiano','module':resevoirPiano1,'%frame':__frame}));
175
- })([])),$$hiphop.SEQUENCE({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':11129},'%tag':'par'},$$hiphop.AWAIT({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':11271},'%tag':'await','immediate':false,'apply':function () {
176
- return ((() => {
177
- const tick=this.tick;return tick.now;
178
- })());
179
- },'countapply':function () {
180
- return 58;
181
- }},$$hiphop.SIGACCESS({'signame':'tick','pre':false,'val':false,'cnt':false})),$$hiphop.EMIT({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':11311},'%tag':'EMIT','signame':'stopReservoirPiano'}),$$hiphop.ATOM({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':11341},'%tag':'pragma','apply':function () {
182
- DAW.cleanQueue(1);}}),$$hiphop.EXIT({'solo':'solo','%location':{'filename':'./pieces/opus4V2.hh.js','pos':11381},'%tag':'EXIT'})),$$hiphop.EVERY({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':11407},'%tag':'EVERY','immediate':false,'apply':function () {
183
- return ((() => {
184
- const patternSignal=this.patternSignal;return patternSignal.now && (patternSignal.nowval[1] === 'Piano1Fin1' || patternSignal.nowval[1] === 'Piano1Fin2' || patternSignal.nowval[1] === 'Piano1Fin3' || patternSignal.nowval[1] === 'Piano1Fin4' || patternSignal.nowval[1] === 'Piano1Fin5' || patternSignal.nowval[1] === 'Piano1Fin6' || patternSignal.nowval[1] === 'Piano1Fin7');
185
- })());
186
- }},$$hiphop.SIGACCESS({'signame':'patternSignal','pre':false,'val':false,'cnt':false}),$$hiphop.SIGACCESS({'signame':'patternSignal','pre':false,'val':true,'cnt':false}),$$hiphop.SIGACCESS({'signame':'patternSignal','pre':false,'val':true,'cnt':false}),$$hiphop.SIGACCESS({'signame':'patternSignal','pre':false,'val':true,'cnt':false}),$$hiphop.SIGACCESS({'signame':'patternSignal','pre':false,'val':true,'cnt':false}),$$hiphop.SIGACCESS({'signame':'patternSignal','pre':false,'val':true,'cnt':false}),$$hiphop.SIGACCESS({'signame':'patternSignal','pre':false,'val':true,'cnt':false}),$$hiphop.SIGACCESS({'signame':'patternSignal','pre':false,'val':true,'cnt':false}),$$hiphop.ATOM({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':11859},'%tag':'pragma','apply':function () {
187
- const patternSignal=this.patternSignal;{
188
- console.log('--- SoloPiano: Pattern de fin en FIFO:',patternSignal.nowval[1]);}}},$$hiphop.SIGACCESS({'signame':'patternSignal','pre':false,'val':true,'cnt':false})),$$hiphop.AWAIT({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':11957},'%tag':'await','immediate':false,'apply':function () {
189
- return ((() => {
190
- const tick=this.tick;return tick.now;
191
- })());
192
- },'countapply':function () {
40
+ const Piano=$$hiphop.MODULE({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':4931},'%tag':'module'},$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':4947},'direction':'IN','name':'stopReservoir'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':4969},'direction':'IN','name':'Piano1Intro1IN'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':4994},'direction':'IN','name':'Piano1Intro2IN'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':5019},'direction':'IN','name':'Piano1Intro3IN'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':5044},'direction':'IN','name':'Piano1Intro4IN'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':5069},'direction':'IN','name':'Piano1Intro5IN'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':5094},'direction':'IN','name':'Piano1Intro6IN'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':5119},'direction':'IN','name':'Piano1Intro7IN'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':5144},'direction':'IN','name':'Piano1Milieu1IN'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':5170},'direction':'IN','name':'Piano1Milieu2IN'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':5196},'direction':'IN','name':'Piano1Milieu3IN'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':5222},'direction':'IN','name':'Piano1Milieu4IN'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':5248},'direction':'IN','name':'Piano1Milieu5IN'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':5274},'direction':'IN','name':'Piano1Milieu6IN'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':5300},'direction':'IN','name':'Piano1Milieu7IN'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':5326},'direction':'IN','name':'Piano1Fin1IN'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':5349},'direction':'IN','name':'Piano1Fin2IN'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':5372},'direction':'IN','name':'Piano1Fin3IN'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':5395},'direction':'IN','name':'Piano1Fin4IN'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':5418},'direction':'IN','name':'Piano1Fin5IN'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':5441},'direction':'IN','name':'Piano1Fin6IN'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':5464},'direction':'IN','name':'Piano1Fin7IN'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':5487},'direction':'OUT','name':'Piano1Intro1OUT'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':5514},'direction':'OUT','name':'Piano1Intro2OUT'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':5541},'direction':'OUT','name':'Piano1Intro3OUT'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':5568},'direction':'OUT','name':'Piano1Intro4OUT'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':5595},'direction':'OUT','name':'Piano1Intro5OUT'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':5622},'direction':'OUT','name':'Piano1Intro6OUT'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':5649},'direction':'OUT','name':'Piano1Intro7OUT'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':5676},'direction':'OUT','name':'Piano1Milieu1OUT'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':5704},'direction':'OUT','name':'Piano1Milieu2OUT'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':5732},'direction':'OUT','name':'Piano1Milieu3OUT'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':5760},'direction':'OUT','name':'Piano1Milieu4OUT'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':5788},'direction':'OUT','name':'Piano1Milieu5OUT'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':5816},'direction':'OUT','name':'Piano1Milieu6OUT'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':5844},'direction':'OUT','name':'Piano1Milieu7OUT'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':5872},'direction':'OUT','name':'Piano1Fin1OUT'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':5897},'direction':'OUT','name':'Piano1Fin2OUT'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':5922},'direction':'OUT','name':'Piano1Fin3OUT'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':5947},'direction':'OUT','name':'Piano1Fin4OUT'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':5972},'direction':'OUT','name':'Piano1Fin5OUT'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':5997},'direction':'OUT','name':'Piano1Fin6OUT'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':6022},'direction':'OUT','name':'Piano1Fin7OUT'}),$$hiphop.SEQUENCE({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':6045},'%tag':'dollar'},tank.makeReservoir(0,['Piano1Intro1','Piano1Intro2','Piano1Intro3','Piano1Intro4','Piano1Intro5','Piano1Intro6','Piano1Intro7','Piano1Milieu1','Piano1Milieu2','Piano1Milieu3','Piano1Milieu4','Piano1Milieu5','Piano1Milieu6','Piano1Milieu7','Piano1Fin1','Piano1Fin2','Piano1Fin3','Piano1Fin4','Piano1Fin5','Piano1Fin6','Piano1Fin7'])));
41
+ const Saxo=$$hiphop.MODULE({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':6413},'%tag':'module'},$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':6429},'direction':'IN','name':'stopReservoir'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':6451},'direction':'IN','name':'SaxIntro1IN'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':6473},'direction':'IN','name':'SaxIntro2IN'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':6495},'direction':'IN','name':'SaxIntro3IN'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':6517},'direction':'IN','name':'SaxIntro4IN'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':6539},'direction':'IN','name':'SaxIntro5IN'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':6561},'direction':'IN','name':'SaxIntro6IN'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':6583},'direction':'IN','name':'SaxIntro7IN'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':6605},'direction':'IN','name':'SaxMilieu1IN'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':6628},'direction':'IN','name':'SaxMilieu2IN'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':6651},'direction':'IN','name':'SaxMilieu3IN'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':6674},'direction':'IN','name':'SaxMilieu4IN'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':6697},'direction':'IN','name':'SaxMilieu5IN'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':6720},'direction':'IN','name':'SaxMilieu6IN'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':6743},'direction':'IN','name':'SaxMilieu7IN'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':6766},'direction':'IN','name':'SaxFin1IN'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':6786},'direction':'IN','name':'SaxFin2IN'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':6806},'direction':'IN','name':'SaxFin3IN'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':6826},'direction':'IN','name':'SaxFin4IN'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':6846},'direction':'IN','name':'SaxFin5IN'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':6866},'direction':'IN','name':'SaxFin6IN'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':6886},'direction':'IN','name':'SaxFin7IN'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':6906},'direction':'OUT','name':'SaxIntro1OUT'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':6930},'direction':'OUT','name':'SaxIntro2OUT'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':6954},'direction':'OUT','name':'SaxIntro3OUT'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':6978},'direction':'OUT','name':'SaxIntro4OUT'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':7002},'direction':'OUT','name':'SaxIntro5OUT'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':7026},'direction':'OUT','name':'SaxIntro6OUT'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':7050},'direction':'OUT','name':'SaxIntro7OUT'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':7074},'direction':'OUT','name':'SaxMilieu1OUT'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':7099},'direction':'OUT','name':'SaxMilieu2OUT'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':7124},'direction':'OUT','name':'SaxMilieu3OUT'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':7149},'direction':'OUT','name':'SaxMilieu4OUT'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':7174},'direction':'OUT','name':'SaxMilieu5OUT'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':7199},'direction':'OUT','name':'SaxMilieu6OUT'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':7224},'direction':'OUT','name':'SaxMilieu7OUT'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':7249},'direction':'OUT','name':'SaxFin1OUT'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':7271},'direction':'OUT','name':'SaxFin2OUT'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':7293},'direction':'OUT','name':'SaxFin3OUT'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':7315},'direction':'OUT','name':'SaxFin4OUT'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':7337},'direction':'OUT','name':'SaxFin5OUT'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':7359},'direction':'OUT','name':'SaxFin6OUT'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':7381},'direction':'OUT','name':'SaxFin7OUT'}),$$hiphop.SEQUENCE({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':7401},'%tag':'dollar'},tank.makeReservoir(0,['SaxIntro1','SaxIntro2','SaxIntro3','SaxIntro4','SaxIntro5','SaxIntro6','SaxIntro7','SaxMilieu1','SaxMilieu2','SaxMilieu3','SaxMilieu4','SaxMilieu5','SaxMilieu6','SaxMilieu7','SaxFin1','SaxFin2','SaxFin3','SaxFin4','SaxFin5','SaxFin6','SaxFin7'])));
42
+ const Brass=$$hiphop.MODULE({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':7707},'%tag':'module'},$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':7723},'direction':'IN','name':'stopReservoir'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':7745},'direction':'IN','name':'BrassIntro1IN'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':7769},'direction':'IN','name':'BrassIntro2IN'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':7793},'direction':'IN','name':'BrassIntro3IN'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':7817},'direction':'IN','name':'BrassIntro4IN'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':7841},'direction':'IN','name':'BrassIntro5IN'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':7865},'direction':'IN','name':'BrassIntro6IN'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':7889},'direction':'IN','name':'BrassIntro7IN'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':7913},'direction':'IN','name':'BrassMilieu1IN'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':7938},'direction':'IN','name':'BrassMilieu2IN'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':7963},'direction':'IN','name':'BrassMilieu3IN'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':7988},'direction':'IN','name':'BrassMilieu4IN'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':8013},'direction':'IN','name':'BrassMilieu5IN'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':8038},'direction':'IN','name':'BrassMilieu6IN'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':8063},'direction':'IN','name':'BrassMilieu7IN'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':8088},'direction':'IN','name':'BrassFin1IN'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':8110},'direction':'IN','name':'BrassFin2IN'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':8132},'direction':'IN','name':'BrassFin3IN'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':8154},'direction':'IN','name':'BrassFin4IN'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':8176},'direction':'IN','name':'BrassFin5IN'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':8198},'direction':'IN','name':'BrassFin6IN'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':8220},'direction':'IN','name':'BrassFin7IN'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':8242},'direction':'OUT','name':'BrassIntro1OUT'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':8268},'direction':'OUT','name':'BrassIntro2OUT'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':8294},'direction':'OUT','name':'BrassIntro3OUT'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':8320},'direction':'OUT','name':'BrassIntro4OUT'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':8346},'direction':'OUT','name':'BrassIntro5OUT'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':8372},'direction':'OUT','name':'BrassIntro6OUT'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':8398},'direction':'OUT','name':'BrassIntro7OUT'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':8424},'direction':'OUT','name':'BrassMilieu1OUT'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':8451},'direction':'OUT','name':'BrassMilieu2OUT'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':8478},'direction':'OUT','name':'BrassMilieu3OUT'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':8505},'direction':'OUT','name':'BrassMilieu4OUT'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':8532},'direction':'OUT','name':'BrassMilieu5OUT'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':8559},'direction':'OUT','name':'BrassMilieu6OUT'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':8586},'direction':'OUT','name':'BrassMilieu7OUT'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':8613},'direction':'OUT','name':'BrassFin1OUT'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':8637},'direction':'OUT','name':'BrassFin2OUT'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':8661},'direction':'OUT','name':'BrassFin3OUT'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':8685},'direction':'OUT','name':'BrassFin4OUT'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':8709},'direction':'OUT','name':'BrassFin5OUT'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':8733},'direction':'OUT','name':'BrassFin6OUT'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':8757},'direction':'OUT','name':'BrassFin7OUT'}),$$hiphop.SEQUENCE({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':8779},'%tag':'dollar'},tank.makeReservoir(0,['BrassIntro1','BrassIntro2','BrassIntro3','BrassIntro4','BrassIntro5','BrassIntro6','BrassIntro7','BrassMilieu1','BrassMilieu2','BrassMilieu3','BrassMilieu4','BrassMilieu5','BrassMilieu6','BrassMilieu7','BrassFin1','BrassFin2','BrassFin3','BrassFin4','BrassFin5','BrassFin6','BrassFin7'])));
43
+ const Flute=$$hiphop.MODULE({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':9127},'%tag':'module'},$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':9143},'direction':'IN','name':'stopReservoir'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':9165},'direction':'IN','name':'FluteIntro1IN'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':9189},'direction':'IN','name':'FluteIntro2IN'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':9213},'direction':'IN','name':'FluteIntro3IN'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':9237},'direction':'IN','name':'FluteIntro4IN'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':9261},'direction':'IN','name':'FluteIntro5IN'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':9285},'direction':'IN','name':'FluteIntro6IN'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':9309},'direction':'IN','name':'FluteIntro7IN'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':9333},'direction':'IN','name':'FluteMilieu1IN'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':9358},'direction':'IN','name':'FluteMilieu2IN'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':9383},'direction':'IN','name':'FluteMilieu3IN'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':9408},'direction':'IN','name':'FluteMilieu4IN'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':9433},'direction':'IN','name':'FluteMilieu5IN'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':9458},'direction':'IN','name':'FluteMilieu6IN'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':9483},'direction':'IN','name':'FluteMilieu7IN'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':9508},'direction':'IN','name':'FluteFin1IN'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':9530},'direction':'IN','name':'FluteFin2IN'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':9552},'direction':'IN','name':'FluteFin3IN'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':9574},'direction':'IN','name':'FluteFin4IN'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':9596},'direction':'IN','name':'FluteFin5IN'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':9618},'direction':'IN','name':'FluteFin6IN'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':9640},'direction':'IN','name':'FluteFin7IN'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':9662},'direction':'OUT','name':'FluteIntro1OUT'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':9688},'direction':'OUT','name':'FluteIntro2OUT'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':9714},'direction':'OUT','name':'FluteIntro3OUT'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':9740},'direction':'OUT','name':'FluteIntro4OUT'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':9766},'direction':'OUT','name':'FluteIntro5OUT'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':9792},'direction':'OUT','name':'FluteIntro6OUT'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':9818},'direction':'OUT','name':'FluteIntro7OUT'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':9844},'direction':'OUT','name':'FluteMilieu1OUT'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':9871},'direction':'OUT','name':'FluteMilieu2OUT'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':9898},'direction':'OUT','name':'FluteMilieu3OUT'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':9925},'direction':'OUT','name':'FluteMilieu4OUT'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':9952},'direction':'OUT','name':'FluteMilieu5OUT'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':9979},'direction':'OUT','name':'FluteMilieu6OUT'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':10006},'direction':'OUT','name':'FluteMilieu7OUT'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':10033},'direction':'OUT','name':'FluteFin1OUT'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':10057},'direction':'OUT','name':'FluteFin2OUT'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':10081},'direction':'OUT','name':'FluteFin3OUT'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':10105},'direction':'OUT','name':'FluteFin4OUT'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':10129},'direction':'OUT','name':'FluteFin5OUT'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':10153},'direction':'OUT','name':'FluteFin6OUT'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':10177},'direction':'OUT','name':'FluteFin7OUT'}),$$hiphop.SEQUENCE({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':10199},'%tag':'dollar'},tank.makeReservoir(0,['FluteIntro1','FluteIntro2','FluteIntro3','FluteIntro4','FluteIntro5','FluteIntro6','FluteIntro7','FluteMilieu1','FluteMilieu2','FluteMilieu3','FluteMilieu4','FluteMilieu5','FluteMilieu6','FluteMilieu7','FluteFin1','FluteFin2','FluteFin3','FluteFin4','FluteFin5','FluteFin6','FluteFin7'])));
44
+ const Percu=$$hiphop.MODULE({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':10547},'%tag':'module'},$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':10563},'direction':'IN','name':'stopReservoir'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':10585},'direction':'IN','name':'Percu1IN'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':10604},'direction':'IN','name':'Percu2IN'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':10623},'direction':'IN','name':'Percu3IN'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':10642},'direction':'IN','name':'Percu4IN'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':10661},'direction':'IN','name':'Percu5IN'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':10680},'direction':'IN','name':'Percu6IN'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':10699},'direction':'IN','name':'Percu7IN'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':10718},'direction':'OUT','name':'Percu1OUT'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':10739},'direction':'OUT','name':'Percu2OUT'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':10760},'direction':'OUT','name':'Percu3OUT'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':10781},'direction':'OUT','name':'Percu4OUT'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':10802},'direction':'OUT','name':'Percu5OUT'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':10823},'direction':'OUT','name':'Percu6OUT'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':10844},'direction':'OUT','name':'Percu7OUT'}),$$hiphop.SEQUENCE({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':10863},'%tag':'dollar'},tank.makeReservoir(0,['Percu1','Percu2','Percu3','Percu4','Percu5','Percu6','Percu7'])));
45
+ const TransPianoEtNappe=$$hiphop.MODULE({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':12162},'%tag':'module'},$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':12180},'direction':'INOUT','name':'tick'}),$$hiphop.LOOP({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':12200}},$$hiphop.ATOM({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':12215},'%tag':'pragma','apply':function () {
46
+ transposeValue=0;oscMidiLocal.sendControlChange(param.busMidiDAW,1,74,Math.round(ratioTranspose * transposeValue + offsetTranspose));}}),$$hiphop.AWAIT({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':12560},'%tag':'await','immediate':false,'apply':new $$hiphop.DelaySig('tick','now'),'countapply':function () {
47
+ return 1;
48
+ }}),$$hiphop.ATOM({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':12594},'%tag':'pragma','apply':function () {
49
+ transposeValue=-2;oscMidiLocal.sendControlChange(param.busMidiDAW,1,74,Math.round(ratioTranspose * transposeValue + offsetTranspose));}}),$$hiphop.AWAIT({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':12940},'%tag':'await','immediate':false,'apply':new $$hiphop.DelaySig('tick','now'),'countapply':function () {
50
+ return 1;
51
+ }}),$$hiphop.ATOM({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':12974},'%tag':'pragma','apply':function () {
52
+ transposeValue=2;oscMidiLocal.sendControlChange(param.busMidiDAW,1,74,Math.round(ratioTranspose * transposeValue + offsetTranspose));}}),$$hiphop.AWAIT({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':13319},'%tag':'await','immediate':false,'apply':new $$hiphop.DelaySig('tick','now'),'countapply':function () {
53
+ return 1;
54
+ }})));
55
+ const TransPianoEtNappe2=$$hiphop.MODULE({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':14562},'%tag':'module'},$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':14580},'direction':'INOUT','name':'tick'}),$$hiphop.LOOP({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':14600}},$$hiphop.ATOM({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':14615},'%tag':'pragma','apply':function () {
56
+ transposeValue=0;oscMidiLocal.sendControlChange(param.busMidiDAW,1,74,Math.round(ratioTranspose * transposeValue + offsetTranspose));}}),$$hiphop.AWAIT({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':14960},'%tag':'await','immediate':false,'apply':new $$hiphop.DelaySig('tick','now'),'countapply':function () {
193
57
  return 2;
194
- }},$$hiphop.SIGACCESS({'signame':'tick','pre':false,'val':false,'cnt':false}))),$$hiphop.EVERY({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':12013},'%tag':'EVERY','immediate':true,'apply':function () {
195
- return ((() => {
196
- const stopSolo=this.stopSolo;return stopSolo.now;
197
- })());
198
- }},$$hiphop.SIGACCESS({'signame':'stopSolo','pre':false,'val':false,'cnt':false}),$$hiphop.EMIT({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':12059},'%tag':'EMIT','signame':'stopReservoirPiano'}),$$hiphop.ATOM({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':12091},'%tag':'pragma','apply':function () {
199
- DAW.cleanQueue(1);}}),$$hiphop.ATOM({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':12127},'%tag':'pragma','apply':function () {
200
- console.log('--- SoloPiano: Tuer par stopSolo');}}),$$hiphop.EXIT({'solo':'solo','%location':{'filename':'./pieces/opus4V2.hh.js','pos':12199},'%tag':'EXIT'})))),$$hiphop.ATOM({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':12233},'%tag':'pragma','apply':function () {
201
- console.log('-- FIN PIANO --');}})));
202
- const saxoEtViolons=$$hiphop.MODULE({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':12309},'%tag':'module'},utilsSkini.creationInterfacesOUT(param.groupesDesSons).map((n) => {
203
- return $$hiphop.SIGNAL({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':12328},'direction':'OUT','name':n});
204
- }),utilsSkini.creationInterfacesIN(param.groupesDesSons).map((n) => {
205
- return $$hiphop.SIGNAL({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':12400},'direction':'IN','name':n});
206
- }),$$hiphop.SIGNAL({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':12468},'direction':'IN','name':'tick'}),$$hiphop.LOCAL({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':12482},'%tag':'LOCAL'},$$hiphop.SIGNAL({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':12489},'name':'stopReservoirSax'}),$$hiphop.FORK({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':12511},'%tag':'FORK'},$$hiphop.SEQUENCE({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':12511},'%tag':'SEQUENCE'},$$hiphop.ATOM({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':12523},'%tag':'pragma','apply':function () {
207
- gcs.informSelecteurOnMenuChange(255,'Saxo tonal',true);}}),(function (__frame) {
208
- return $$hiphop.SEQUENCE({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':12595},'%tag':'run'},$$hiphop.ATOM({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':12595},'%tag':'hop','apply':function () {
209
- }}),$$hiphop.RUN({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':12595},'%tag':'run','autocomplete':true,'stopReservoir':'stopReservoirSax','module':resevoirSaxo,'%frame':__frame}));
210
- })([])),$$hiphop.SEQUENCE({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':12666},'%tag':'par'},$$hiphop.AWAIT({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':12677},'%tag':'await','immediate':false,'apply':function () {
211
- return ((() => {
212
- const tick=this.tick;return tick.now;
213
- })());
214
- },'countapply':function () {
58
+ }}),$$hiphop.ATOM({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':14994},'%tag':'pragma','apply':function () {
59
+ transposeValue=-2;oscMidiLocal.sendControlChange(param.busMidiDAW,1,74,Math.round(ratioTranspose * transposeValue + offsetTranspose));}}),$$hiphop.AWAIT({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':15340},'%tag':'await','immediate':false,'apply':new $$hiphop.DelaySig('tick','now'),'countapply':function () {
60
+ return 2;
61
+ }}),$$hiphop.ATOM({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':15374},'%tag':'pragma','apply':function () {
62
+ transposeValue=2;oscMidiLocal.sendControlChange(param.busMidiDAW,1,74,Math.round(ratioTranspose * transposeValue + offsetTranspose));}}),$$hiphop.AWAIT({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':15719},'%tag':'await','immediate':false,'apply':new $$hiphop.DelaySig('tick','now'),'countapply':function () {
63
+ return 2;
64
+ }})));
65
+ const TransPianoEtNappe3=$$hiphop.MODULE({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':16962},'%tag':'module'},$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':16980},'direction':'INOUT','name':'tick'}),$$hiphop.LOOP({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':17000}},$$hiphop.ATOM({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':17015},'%tag':'pragma','apply':function () {
66
+ transposeValue=0;oscMidiLocal.sendControlChange(param.busMidiDAW,1,74,Math.round(ratioTranspose * transposeValue + offsetTranspose));}}),$$hiphop.AWAIT({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':17360},'%tag':'await','immediate':false,'apply':new $$hiphop.DelaySig('tick','now'),'countapply':function () {
67
+ return 1;
68
+ }}),$$hiphop.ATOM({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':17394},'%tag':'pragma','apply':function () {
69
+ transposeValue=-2;oscMidiLocal.sendControlChange(param.busMidiDAW,1,74,Math.round(ratioTranspose * transposeValue + offsetTranspose));}}),$$hiphop.AWAIT({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':17740},'%tag':'await','immediate':false,'apply':new $$hiphop.DelaySig('tick','now'),'countapply':function () {
70
+ return 1;
71
+ }}),$$hiphop.ATOM({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':17774},'%tag':'pragma','apply':function () {
72
+ transposeValue=2;oscMidiLocal.sendControlChange(param.busMidiDAW,1,74,Math.round(ratioTranspose * transposeValue + offsetTranspose));}}),$$hiphop.AWAIT({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':18119},'%tag':'await','immediate':false,'apply':new $$hiphop.DelaySig('tick','now'),'countapply':function () {
73
+ return 1;
74
+ }}),$$hiphop.ATOM({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':18153},'%tag':'pragma','apply':function () {
75
+ transposeValue=-1;oscMidiLocal.sendControlChange(param.busMidiDAW,1,74,Math.round(ratioTranspose * transposeValue + offsetTranspose));}}),$$hiphop.AWAIT({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':18499},'%tag':'await','immediate':false,'apply':new $$hiphop.DelaySig('tick','now'),'countapply':function () {
76
+ return 1;
77
+ }}),$$hiphop.ATOM({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':18533},'%tag':'pragma','apply':function () {
78
+ transposeValue=1;oscMidiLocal.sendControlChange(param.busMidiDAW,1,74,Math.round(ratioTranspose * transposeValue + offsetTranspose));}}),$$hiphop.AWAIT({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':18878},'%tag':'await','immediate':false,'apply':new $$hiphop.DelaySig('tick','now'),'countapply':function () {
79
+ return 1;
80
+ }})));
81
+ const TransSaxo=$$hiphop.MODULE({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':20112},'%tag':'module'},$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':20130},'direction':'INOUT','name':'tick'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':20149},'direction':'INOUT','name':'StartTransSaxo'}),$$hiphop.AWAIT({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':20179},'%tag':'await','immediate':true,'apply':new $$hiphop.DelaySig('StartTransSaxo','now')}),$$hiphop.AWAIT({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':20224},'%tag':'await','immediate':false,'apply':new $$hiphop.DelaySig('tick','now'),'countapply':function () {
82
+ return 2;
83
+ }}),$$hiphop.LOOP({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':20256}},$$hiphop.ATOM({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':20271},'%tag':'pragma','apply':function () {
84
+ transposeValue=0;oscMidiLocal.sendControlChange(param.busMidiDAW,1,72,Math.round(ratioTranspose * transposeValue + offsetTranspose));}}),$$hiphop.AWAIT({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':20616},'%tag':'await','immediate':false,'apply':new $$hiphop.DelaySig('tick','now'),'countapply':function () {
215
85
  return 4;
216
- }},$$hiphop.SIGACCESS({'signame':'tick','pre':false,'val':false,'cnt':false})),$$hiphop.EMIT({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':12714},'%tag':'EMIT','signame':'nappeViolonsOUT','apply':function () {
217
- return [true,255];
218
- }}),$$hiphop.ATOM({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':12750},'%tag':'pragma','apply':function () {
219
- gcs.informSelecteurOnMenuChange(255,'Nappe',true);}}),$$hiphop.AWAIT({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':12978},'%tag':'await','immediate':false,'apply':function () {
220
- return ((() => {
221
- const tick=this.tick;return tick.now;
222
- })());
223
- },'countapply':function () {
224
- return 20;
225
- }},$$hiphop.SIGACCESS({'signame':'tick','pre':false,'val':false,'cnt':false})),$$hiphop.EMIT({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':13017},'%tag':'EMIT','signame':'stopReservoirSax'}),$$hiphop.EMIT({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':13048},'%tag':'EMIT','signame':'nappeViolonsOUT','apply':function () {
226
- return [false,255];
227
- }}),$$hiphop.ATOM({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':13085},'%tag':'pragma','apply':function () {
228
- gcs.informSelecteurOnMenuChange(255,'Nappe',false);}}),$$hiphop.ATOM({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':13153},'%tag':'pragma','apply':function () {
229
- DAW.cleanQueue(3);}}),$$hiphop.ATOM({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':13194},'%tag':'pragma','apply':function () {
230
- DAW.cleanQueue(2);}})))));
231
- const brassEtPercu=$$hiphop.MODULE({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':13269},'%tag':'module'},utilsSkini.creationInterfacesOUT(param.groupesDesSons).map((n) => {
232
- return $$hiphop.SIGNAL({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':13289},'direction':'OUT','name':n});
233
- }),utilsSkini.creationInterfacesIN(param.groupesDesSons).map((n) => {
234
- return $$hiphop.SIGNAL({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':13361},'direction':'IN','name':n});
235
- }),$$hiphop.SIGNAL({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':13429},'direction':'IN','name':'tick'}),$$hiphop.LOCAL({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':13443},'%tag':'LOCAL'},$$hiphop.SIGNAL({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':13450},'name':'stopReservoirBrassetPercu'}),$$hiphop.TRAP({'brass':'brass','%location':{'filename':'./pieces/opus4V2.hh.js','pos':13481},'%tag':'TRAP'},$$hiphop.FORK({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':13496},'%tag':'FORK'},$$hiphop.SEQUENCE({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':13496},'%tag':'SEQUENCE'},$$hiphop.ATOM({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':13510},'%tag':'pragma','apply':function () {
236
- setTempo(60,param);tempoGlobal=60;}}),$$hiphop.FORK({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':13593},'%tag':'FORK'},(function (__frame) {
237
- return $$hiphop.SEQUENCE({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':13609},'%tag':'run'},$$hiphop.ATOM({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':13609},'%tag':'hop','apply':function () {
238
- }}),$$hiphop.RUN({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':13609},'%tag':'run','autocomplete':true,'stopReservoir':'stopReservoirBrassetPercu','module':resevoirBrass,'%frame':__frame}));
239
- })([]),$$hiphop.SEQUENCE({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':13694},'%tag':'par'},$$hiphop.AWAIT({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':13709},'%tag':'await','immediate':false,'apply':function () {
240
- return ((() => {
241
- const tick=this.tick;return tick.now;
242
- })());
243
- },'countapply':function () {
244
- return 20;
245
- }},$$hiphop.SIGACCESS({'signame':'tick','pre':false,'val':false,'cnt':false})),(function (__frame) {
246
- return $$hiphop.SEQUENCE({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':13746},'%tag':'run'},$$hiphop.ATOM({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':13746},'%tag':'hop','apply':function () {
247
- }}),$$hiphop.RUN({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':13746},'%tag':'run','autocomplete':true,'stopReservoir':'stopReservoirBrassetPercu','module':resevoirPercu,'%frame':__frame}));
248
- })([]),$$hiphop.AWAIT({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':13832},'%tag':'await','immediate':false,'apply':function () {
249
- return ((() => {
250
- const tick=this.tick;return tick.now;
251
- })());
252
- },'countapply':function () {
86
+ }}),$$hiphop.ATOM({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':20650},'%tag':'pragma','apply':function () {
87
+ transposeValue=-5;oscMidiLocal.sendControlChange(param.busMidiDAW,1,72,Math.round(ratioTranspose * transposeValue + offsetTranspose));}}),$$hiphop.AWAIT({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':20996},'%tag':'await','immediate':false,'apply':new $$hiphop.DelaySig('tick','now'),'countapply':function () {
88
+ return 4;
89
+ }}),$$hiphop.ATOM({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':21030},'%tag':'pragma','apply':function () {
90
+ transposeValue=-7;oscMidiLocal.sendControlChange(param.busMidiDAW,1,72,Math.round(ratioTranspose * transposeValue + offsetTranspose));}}),$$hiphop.AWAIT({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':21376},'%tag':'await','immediate':false,'apply':new $$hiphop.DelaySig('tick','now'),'countapply':function () {
91
+ return 4;
92
+ }}),$$hiphop.AWAIT({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':21410},'%tag':'await','immediate':false,'apply':new $$hiphop.DelaySig('tick','now'),'countapply':function () {
93
+ return 1;
94
+ }}),$$hiphop.ATOM({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':21444},'%tag':'pragma','apply':function () {
95
+ transposeValue=0;oscMidiLocal.sendControlChange(param.busMidiDAW,1,72,Math.round(ratioTranspose * transposeValue + offsetTranspose));}}),$$hiphop.AWAIT({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':21789},'%tag':'await','immediate':false,'apply':new $$hiphop.DelaySig('tick','now'),'countapply':function () {
96
+ return 4;
97
+ }}),$$hiphop.ATOM({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':21823},'%tag':'pragma','apply':function () {
98
+ transposeValue=-1;oscMidiLocal.sendControlChange(param.busMidiDAW,1,72,Math.round(ratioTranspose * transposeValue + offsetTranspose));}})));
99
+ const Program=$$hiphop.MODULE({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':22203},'%tag':'module'},$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':22218},'direction':'IN','name':'start'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':22218},'direction':'IN','name':'halt'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':22218},'direction':'IN','name':'tick'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':22218},'direction':'IN','name':'DAWON'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':22218},'direction':'IN','name':'patternSignal'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':22218},'direction':'IN','name':'pulsation'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':22218},'direction':'IN','name':'midiSignal'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':22218},'direction':'IN','name':'emptyQueueSignal'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':22307},'direction':'INOUT','name':'stopReservoir'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':22307},'direction':'INOUT','name':'stopMoveTempo'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':22307},'direction':'INOUT','name':'stopSolo'}),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':22307},'direction':'INOUT','name':'stopTransposition'}),IZsignals.map((n) => {
100
+ return $$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':22379},'direction':'IN','name':n});
101
+ }),interTextOUT.map((n) => {
102
+ return $$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':22407},'direction':'OUT','name':n});
103
+ }),interTextIN.map((n) => {
104
+ return $$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':22437},'direction':'IN','name':n});
105
+ }),$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':22465},'direction':'INOUT','name':'StartTransSaxo'}),$$hiphop.LOOP({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':22493}},$$hiphop.AWAIT({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':22505},'%tag':'await','immediate':false,'apply':new $$hiphop.DelaySig('start','now')}),$$hiphop.ABORT({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':22529},'%tag':'ABORT','immediate':false,'apply':new $$hiphop.DelaySig('halt','now')},$$hiphop.FORK({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':22544},'%tag':'FORK'},$$hiphop.EVERY({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':22561},'%tag':'EVERY','immediate':false,'apply':new $$hiphop.DelaySig('tick','now')},$$hiphop.ATOM({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':22590},'%tag':'pragma','apply':function () {
106
+ gcs.setTickOnControler(tickCounter++);}})),$$hiphop.SEQUENCE({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':22744},'%tag':'par'},$$hiphop.ATOM({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':22756},'%tag':'pragma','apply':function () {
107
+ console.log('-- Opus4 Blockly');}}),$$hiphop.SEQUENCE({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':22803},'%tag':'sequence'},$$hiphop.ATOM({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':22814},'%tag':'pragma','apply':function () {
108
+ serveur.broadcast(JSON.stringify({'type':'setListeDesTypes'}));}}),$$hiphop.ATOM({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':22935},'%tag':'pragma','apply':function () {
109
+ serveur.broadcast(JSON.stringify({'type':'listeDesTypes','text':'1, 2, 3, 4, 5, 5, 6, 7, 8, 9, 10, 11'}));}}),$$hiphop.ATOM({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':23111},'%tag':'pragma','apply':function () {
110
+ gcs.setpatternListLength([12,255]);}})),$$hiphop.SEQUENCE({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':23185},'%tag':'sequence'},$$hiphop.ATOM({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':23194},'%tag':'pragma','apply':function () {
111
+ CCChannel=1;CCTempo=100;tempoMax=160;tempoMin=40;}}),$$hiphop.ATOM({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':23308},'%tag':'pragma','apply':function () {
112
+ setTempo(62,param);}}),$$hiphop.ATOM({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':23339},'%tag':'pragma','apply':function () {
113
+ gcs.setTimerDivision(1);}}),$$hiphop.ATOM({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':23376},'%tag':'pragma','apply':function () {
114
+ serveur.broadcast(JSON.stringify({'type':'addSceneScore','value':1}));}}),$$hiphop.PAUSE({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':23515},'%tag':'yield'}),$$hiphop.ATOM({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':23529},'%tag':'pragma','apply':function () {
115
+ ratioTranspose=1.763;offsetTranspose=63.5;if (debug) console.log('hiphop block transpose Parameters:',ratioTranspose,offsetTranspose);
116
+ }}),$$hiphop.ATOM({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':23716},'%tag':'pragma','apply':function () {
117
+ transposeValue=0;oscMidiLocal.sendControlChange(param.busMidiDAW,1,74,Math.round(ratioTranspose * transposeValue + offsetTranspose));}})),$$hiphop.TRAP({'M533953':'M533953','%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':24058},'%tag':'TRAP'},$$hiphop.FORK({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':24074},'%tag':'FORK'},(function (__frame) {
118
+ return $$hiphop.SEQUENCE({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':24088},'%tag':'run'},$$hiphop.ATOM({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':24088},'%tag':'hop','apply':function () {
119
+ }}),$$hiphop.RUN({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':24088},'%tag':'run','autocomplete':true,'module':Percu,'%frame':__frame}));
120
+ })([]),$$hiphop.SEQUENCE({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':24118},'%tag':'par'},$$hiphop.AWAIT({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':24131},'%tag':'await','immediate':false,'apply':new $$hiphop.DelaySig('tick','now'),'countapply':function () {
121
+ return 5;
122
+ }}),$$hiphop.EMIT({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':24170},'%tag':'EMIT','signame':'stopReservoir'}),$$hiphop.EXIT({'M533953':'M533953','%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':24201},'%tag':'EXIT'})))),$$hiphop.ATOM({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':24229},'%tag':'pragma','apply':function () {
123
+ DAW.cleanQueues();gcs.cleanChoiceList(255);}}),$$hiphop.ATOM({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':24303},'%tag':'pragma','apply':function () {
124
+ DAW.cleanQueue(5);}}),$$hiphop.SEQUENCE({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':24347},'%tag':'sequence'},$$hiphop.ATOM({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':24356},'%tag':'pragma','apply':function () {
125
+ serveur.broadcast(JSON.stringify({'type':'alertInfoScoreON','value':'Transposition-1 tick'}));}}),$$hiphop.FORK({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':24520},'%tag':'FORK'},$$hiphop.TRAP({'M642770':'M642770','%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':24536},'%tag':'TRAP'},$$hiphop.FORK({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':24556},'%tag':'FORK'},(function (__frame) {
126
+ return $$hiphop.SEQUENCE({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':24574},'%tag':'run'},$$hiphop.ATOM({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':24574},'%tag':'hop','apply':function () {
127
+ }}),$$hiphop.RUN({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':24574},'%tag':'run','autocomplete':true,'module':Piano,'%frame':__frame}));
128
+ })([]),$$hiphop.SEQUENCE({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':24608},'%tag':'par'},$$hiphop.AWAIT({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':24625},'%tag':'await','immediate':false,'apply':new $$hiphop.DelaySig('tick','now'),'countapply':function () {
253
129
  return 5;
254
- }},$$hiphop.SIGACCESS({'signame':'tick','pre':false,'val':false,'cnt':false})),$$hiphop.IF({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':13868},'%tag':'if','apply':function () {
255
- return deuxiemeAlea > 0;
256
- }},$$hiphop.EMIT({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':13895},'%tag':'EMIT','signame':'MassiveOUT','apply':function () {
130
+ }}),$$hiphop.EMIT({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':24668},'%tag':'EMIT','signame':'stopReservoir'}),$$hiphop.EXIT({'M642770':'M642770','%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':24703},'%tag':'EXIT'})))),$$hiphop.ABORT({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':24765},'%tag':'ABORT','immediate':false,'apply':new $$hiphop.DelaySig('tick','now'),'countapply':function () {
131
+ return 30;
132
+ }},$$hiphop.FORK({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':24783},'%tag':'FORK'},(function (__frame) {
133
+ return $$hiphop.SEQUENCE({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':24803},'%tag':'run'},$$hiphop.ATOM({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':24803},'%tag':'hop','apply':function () {
134
+ }}),$$hiphop.RUN({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':24803},'%tag':'run','autocomplete':true,'module':TransPianoEtNappe,'%frame':__frame}));
135
+ })([]),$$hiphop.LOCAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':24882},'%tag':'LOCAL'},$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':24889},'name':'inverseTempo'}),$$hiphop.ATOM({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':24917},'%tag':'pragma','apply':function () {
136
+ console.log('-- Start move tempo');}}),$$hiphop.ABORT({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':24973},'%tag':'ABORT','immediate':true,'apply':new $$hiphop.DelaySig('stopMoveTempo','now')},$$hiphop.LOOP({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':24997}},$$hiphop.FORK({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':25021},'%tag':'FORK'},$$hiphop.EVERY({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':25048},'%tag':'EVERY','immediate':false,'apply':new $$hiphop.DelaySig('tick','now'),'countapply':function () {
137
+ return 8;
138
+ }},$$hiphop.EMIT({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':25103},'%tag':'EMIT','signame':'inverseTempo'})),$$hiphop.LOOP({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':25185}},$$hiphop.ABORT({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':25213},'%tag':'ABORT','immediate':false,'apply':new $$hiphop.DelaySig('inverseTempo','now')},$$hiphop.EVERY({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':25246},'%tag':'EVERY','immediate':false,'apply':new $$hiphop.DelaySig('tick','now'),'countapply':function () {
139
+ return 1;
140
+ }},$$hiphop.ATOM({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':25301},'%tag':'pragma','apply':function () {
141
+ tempoGlobal+=5;setTempo(tempoGlobal,param);}}))),$$hiphop.ABORT({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':25536},'%tag':'ABORT','immediate':false,'apply':new $$hiphop.DelaySig('inverseTempo','now')},$$hiphop.EVERY({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':25568},'%tag':'EVERY','immediate':false,'apply':new $$hiphop.DelaySig('tick','now'),'countapply':function () {
142
+ return 1;
143
+ }},$$hiphop.ATOM({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':25621},'%tag':'pragma','apply':function () {
144
+ tempoGlobal-=5;setTempo(tempoGlobal,param);}}))))))),$$hiphop.ATOM({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':25959},'%tag':'pragma','apply':function () {
145
+ console.log('-- Stop move tempo');}})))),$$hiphop.SEQUENCE({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':26066},'%tag':'par'},$$hiphop.EMIT({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':26092},'%tag':'EMIT','signame':'nappeViolonsOUT','apply':function () {
257
146
  return [true,255];
258
- }})),$$hiphop.ATOM({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':13930},'%tag':'pragma','apply':function () {
259
- gcs.informSelecteurOnMenuChange(255,'Massive',true);}})))),$$hiphop.SEQUENCE({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':14010},'%tag':'par'},$$hiphop.AWAIT({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':14100},'%tag':'await','immediate':false,'apply':function () {
260
- return ((() => {
261
- const tick=this.tick;return tick.now;
262
- })());
263
- },'countapply':function () {
264
- return 12 * 7;
265
- }},$$hiphop.SIGACCESS({'signame':'tick','pre':false,'val':false,'cnt':false})),$$hiphop.EMIT({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':14198},'%tag':'EMIT','signame':'stopReservoirBrassetPercu'}),$$hiphop.EXIT({'brass':'brass','%location':{'filename':'./pieces/opus4V2.hh.js','pos':14241},'%tag':'EXIT'})))),$$hiphop.IF({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':14266},'%tag':'if','apply':function () {
266
- return deuxiemeAlea > 0;
267
- }},$$hiphop.EMIT({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':14293},'%tag':'EMIT','signame':'MassiveOUT','apply':function () {
147
+ }}),$$hiphop.ATOM({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':26135},'%tag':'pragma','apply':function () {
148
+ gcs.informSelecteurOnMenuChange(255,' nappeViolons',true);}}),$$hiphop.AWAIT({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':26211},'%tag':'await','immediate':false,'apply':new $$hiphop.DelaySig('tick','now'),'countapply':function () {
149
+ return 30;
150
+ }}),$$hiphop.EMIT({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':26258},'%tag':'EMIT','signame':'nappeViolonsOUT','apply':function () {
268
151
  return [false,255];
269
- }})),$$hiphop.ATOM({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':14323},'%tag':'pragma','apply':function () {
270
- gcs.informSelecteurOnMenuChange(255,'Massive',false);}})));
271
- var transposeSaxoModal=$$hiphop.MODULE({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':14426},'%tag':'module'},utilsSkini.creationInterfacesOUT(param.groupesDesSons).map((n) => {
272
- return $$hiphop.SIGNAL({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':14445},'direction':'OUT','name':n});
273
- }),utilsSkini.creationInterfacesIN(param.groupesDesSons).map((n) => {
274
- return $$hiphop.SIGNAL({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':14517},'direction':'IN','name':n});
275
- }),$$hiphop.SIGNAL({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':14585},'direction':'IN','name':'tick'}),$$hiphop.SIGNAL({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':14585},'direction':'IN','name':'stopTransposition'}),$$hiphop.WEAKABORT({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':14618},'%tag':'WEAKABORT','immediate':false,'apply':function () {
276
- return ((() => {
277
- const stopTransposition=this.stopTransposition;return stopTransposition.now;
278
- })());
279
- }},$$hiphop.SIGACCESS({'signame':'stopTransposition','pre':false,'val':false,'cnt':false}),$$hiphop.LOOP({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':14659}},$$hiphop.ATOM({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':14673},'%tag':'pragma','apply':function () {
280
- transposition=0;transpose(CCTransposeSaxo,transposition,param);degre2mineursaxo(false,param);tonalite=(tonalite + 2) % 6;setTonalite(CCtonalite,tonalite,param);}}),$$hiphop.AWAIT({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':14986},'%tag':'await','immediate':false,'apply':function () {
281
- return ((() => {
282
- const tick=this.tick;return tick.now;
283
- })());
284
- },'countapply':function () {
152
+ }}),$$hiphop.ATOM({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':26302},'%tag':'pragma','apply':function () {
153
+ gcs.informSelecteurOnMenuChange(255,' nappeViolons',false);}}),$$hiphop.PAUSE({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':26379},'%tag':'yield'}))),$$hiphop.ATOM({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':26402},'%tag':'pragma','apply':function () {
154
+ DAW.cleanQueues();gcs.cleanChoiceList(255);}}),$$hiphop.ATOM({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':26484},'%tag':'pragma','apply':function () {
155
+ serveur.broadcast(JSON.stringify({'type':'alertInfoScoreON','value':'Transposition3-1 tick'}));}}),$$hiphop.FORK({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':26649},'%tag':'FORK'},$$hiphop.TRAP({'M346707':'M346707','%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':26665},'%tag':'TRAP'},$$hiphop.FORK({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':26685},'%tag':'FORK'},(function (__frame) {
156
+ return $$hiphop.SEQUENCE({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':26703},'%tag':'run'},$$hiphop.ATOM({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':26703},'%tag':'hop','apply':function () {
157
+ }}),$$hiphop.RUN({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':26703},'%tag':'run','autocomplete':true,'module':Piano,'%frame':__frame}));
158
+ })([]),$$hiphop.SEQUENCE({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':26737},'%tag':'par'},$$hiphop.AWAIT({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':26754},'%tag':'await','immediate':false,'apply':new $$hiphop.DelaySig('tick','now'),'countapply':function () {
159
+ return 30;
160
+ }}),$$hiphop.EMIT({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':26798},'%tag':'EMIT','signame':'stopReservoir'}),$$hiphop.EXIT({'M346707':'M346707','%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':26833},'%tag':'EXIT'})))),$$hiphop.SEQUENCE({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':26880},'%tag':'par'},$$hiphop.EMIT({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':26906},'%tag':'EMIT','signame':'nappeViolonsOUT','apply':function () {
161
+ return [true,1];
162
+ }}),$$hiphop.ATOM({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':26947},'%tag':'pragma','apply':function () {
163
+ gcs.informSelecteurOnMenuChange(1,' nappeViolons',true);}}),$$hiphop.AWAIT({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':27021},'%tag':'await','immediate':false,'apply':new $$hiphop.DelaySig('tick','now'),'countapply':function () {
164
+ return 30;
165
+ }}),$$hiphop.EMIT({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':27068},'%tag':'EMIT','signame':'nappeViolonsOUT','apply':function () {
166
+ return [false,1];
167
+ }}),$$hiphop.ATOM({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':27110},'%tag':'pragma','apply':function () {
168
+ gcs.informSelecteurOnMenuChange(1,' nappeViolons',false);}}),$$hiphop.PAUSE({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':27185},'%tag':'yield'})),$$hiphop.ABORT({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':27223},'%tag':'ABORT','immediate':false,'apply':new $$hiphop.DelaySig('tick','now'),'countapply':function () {
169
+ return 30;
170
+ }},$$hiphop.FORK({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':27241},'%tag':'FORK'},(function (__frame) {
171
+ return $$hiphop.SEQUENCE({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':27261},'%tag':'run'},$$hiphop.ATOM({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':27261},'%tag':'hop','apply':function () {
172
+ }}),$$hiphop.RUN({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':27261},'%tag':'run','autocomplete':true,'module':TransPianoEtNappe3,'%frame':__frame}));
173
+ })([]),$$hiphop.LOCAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':27341},'%tag':'LOCAL'},$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':27348},'name':'inverseTempo'}),$$hiphop.ATOM({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':27376},'%tag':'pragma','apply':function () {
174
+ console.log('-- Start move tempo');}}),$$hiphop.ABORT({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':27432},'%tag':'ABORT','immediate':true,'apply':new $$hiphop.DelaySig('stopMoveTempo','now')},$$hiphop.LOOP({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':27456}},$$hiphop.FORK({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':27480},'%tag':'FORK'},$$hiphop.EVERY({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':27507},'%tag':'EVERY','immediate':false,'apply':new $$hiphop.DelaySig('tick','now'),'countapply':function () {
285
175
  return 8;
286
- }},$$hiphop.SIGACCESS({'signame':'tick','pre':false,'val':false,'cnt':false})),$$hiphop.ATOM({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':15020},'%tag':'pragma','apply':function () {
287
- transposition=-5;degre2mineursaxo(true,param);transpose(CCTransposeSaxo,transposition,param);}}),$$hiphop.AWAIT({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':15220},'%tag':'await','immediate':false,'apply':function () {
288
- return ((() => {
289
- const tick=this.tick;return tick.now;
290
- })());
291
- },'countapply':function () {
176
+ }},$$hiphop.EMIT({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':27562},'%tag':'EMIT','signame':'inverseTempo'})),$$hiphop.LOOP({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':27644}},$$hiphop.ABORT({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':27672},'%tag':'ABORT','immediate':false,'apply':new $$hiphop.DelaySig('inverseTempo','now')},$$hiphop.EVERY({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':27705},'%tag':'EVERY','immediate':false,'apply':new $$hiphop.DelaySig('tick','now'),'countapply':function () {
177
+ return 1;
178
+ }},$$hiphop.ATOM({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':27760},'%tag':'pragma','apply':function () {
179
+ tempoGlobal+=5;setTempo(tempoGlobal,param);}}))),$$hiphop.ABORT({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':27995},'%tag':'ABORT','immediate':false,'apply':new $$hiphop.DelaySig('inverseTempo','now')},$$hiphop.EVERY({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':28027},'%tag':'EVERY','immediate':false,'apply':new $$hiphop.DelaySig('tick','now'),'countapply':function () {
180
+ return 1;
181
+ }},$$hiphop.ATOM({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':28080},'%tag':'pragma','apply':function () {
182
+ tempoGlobal-=5;setTempo(tempoGlobal,param);}}))))))),$$hiphop.ATOM({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':28418},'%tag':'pragma','apply':function () {
183
+ console.log('-- Stop move tempo');}}))))),$$hiphop.ATOM({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':28525},'%tag':'pragma','apply':function () {
184
+ DAW.cleanQueues();gcs.cleanChoiceList(255);}}),$$hiphop.ATOM({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':28607},'%tag':'pragma','apply':function () {
185
+ serveur.broadcast(JSON.stringify({'type':'alertInfoScoreON','value':'Transposition2-2 ticks'}));}}),$$hiphop.FORK({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':28773},'%tag':'FORK'},$$hiphop.TRAP({'M607778':'M607778','%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':28789},'%tag':'TRAP'},$$hiphop.FORK({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':28809},'%tag':'FORK'},(function (__frame) {
186
+ return $$hiphop.SEQUENCE({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':28827},'%tag':'run'},$$hiphop.ATOM({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':28827},'%tag':'hop','apply':function () {
187
+ }}),$$hiphop.RUN({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':28827},'%tag':'run','autocomplete':true,'module':Piano,'%frame':__frame}));
188
+ })([]),$$hiphop.SEQUENCE({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':28861},'%tag':'par'},$$hiphop.AWAIT({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':28878},'%tag':'await','immediate':false,'apply':new $$hiphop.DelaySig('tick','now'),'countapply':function () {
189
+ return 30;
190
+ }}),$$hiphop.EMIT({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':28922},'%tag':'EMIT','signame':'stopReservoir'}),$$hiphop.EXIT({'M607778':'M607778','%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':28957},'%tag':'EXIT'})))),$$hiphop.SEQUENCE({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':29004},'%tag':'par'},$$hiphop.EMIT({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':29030},'%tag':'EMIT','signame':'nappeViolonsOUT','apply':function () {
191
+ return [true,1];
192
+ }}),$$hiphop.ATOM({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':29071},'%tag':'pragma','apply':function () {
193
+ gcs.informSelecteurOnMenuChange(1,' nappeViolons',true);}}),$$hiphop.AWAIT({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':29145},'%tag':'await','immediate':false,'apply':new $$hiphop.DelaySig('tick','now'),'countapply':function () {
194
+ return 30;
195
+ }}),$$hiphop.EMIT({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':29192},'%tag':'EMIT','signame':'nappeViolonsOUT','apply':function () {
196
+ return [false,1];
197
+ }}),$$hiphop.ATOM({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':29234},'%tag':'pragma','apply':function () {
198
+ gcs.informSelecteurOnMenuChange(1,' nappeViolons',false);}}),$$hiphop.PAUSE({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':29309},'%tag':'yield'})),$$hiphop.ABORT({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':29347},'%tag':'ABORT','immediate':false,'apply':new $$hiphop.DelaySig('tick','now'),'countapply':function () {
199
+ return 30;
200
+ }},$$hiphop.FORK({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':29365},'%tag':'FORK'},(function (__frame) {
201
+ return $$hiphop.SEQUENCE({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':29385},'%tag':'run'},$$hiphop.ATOM({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':29385},'%tag':'hop','apply':function () {
202
+ }}),$$hiphop.RUN({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':29385},'%tag':'run','autocomplete':true,'module':TransPianoEtNappe2,'%frame':__frame}));
203
+ })([]),$$hiphop.LOCAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':29465},'%tag':'LOCAL'},$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':29472},'name':'inverseTempo'}),$$hiphop.ATOM({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':29500},'%tag':'pragma','apply':function () {
204
+ console.log('-- Start move tempo');}}),$$hiphop.ABORT({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':29556},'%tag':'ABORT','immediate':true,'apply':new $$hiphop.DelaySig('stopMoveTempo','now')},$$hiphop.LOOP({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':29580}},$$hiphop.FORK({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':29604},'%tag':'FORK'},$$hiphop.EVERY({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':29631},'%tag':'EVERY','immediate':false,'apply':new $$hiphop.DelaySig('tick','now'),'countapply':function () {
292
205
  return 8;
293
- }},$$hiphop.SIGACCESS({'signame':'tick','pre':false,'val':false,'cnt':false})),$$hiphop.ATOM({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':15254},'%tag':'pragma','apply':function () {
294
- transposition=2;degre2mineursaxo(true,param);transpose(CCTransposeSaxo,transposition,param);}}),$$hiphop.AWAIT({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':15453},'%tag':'await','immediate':false,'apply':function () {
295
- return ((() => {
296
- const tick=this.tick;return tick.now;
297
- })());
298
- },'countapply':function () {
299
- return 8;
300
- }},$$hiphop.SIGACCESS({'signame':'tick','pre':false,'val':false,'cnt':false})))),$$hiphop.ATOM({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':15567},'%tag':'pragma','apply':function () {
301
- console.log('-- Stop transpositions');}}));
302
- const resetAll=$$hiphop.MODULE({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':15644},'%tag':'module'},$$hiphop.ATOM({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':15659},'%tag':'pragma','apply':function () {
303
- console.log('-- Reset Automate Opus4');DAW.cleanQueues();}}));
304
- const bougeTempo=$$hiphop.MODULE({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':15850},'%tag':'module'},$$hiphop.SIGNAL({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':15866},'direction':'IN','name':'tick'}),$$hiphop.SIGNAL({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':15866},'direction':'IN','name':'stopMoveTempo'}),$$hiphop.LOCAL({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':15894},'%tag':'LOCAL'},$$hiphop.SIGNAL({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':15901},'name':'inverseTempo'}),$$hiphop.ATOM({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':15919},'%tag':'pragma','apply':function () {
305
- console.log('-- Start move tempo');}}),$$hiphop.ABORT({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':15965},'%tag':'ABORT','immediate':true,'apply':function () {
306
- return ((() => {
307
- const stopMoveTempo=this.stopMoveTempo;return stopMoveTempo.now;
308
- })());
309
- }},$$hiphop.SIGACCESS({'signame':'stopMoveTempo','pre':false,'val':false,'cnt':false}),$$hiphop.LOOP({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':16007}},$$hiphop.FORK({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':16021},'%tag':'FORK'},$$hiphop.EVERY({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':16038},'%tag':'EVERY','immediate':false,'apply':function () {
310
- return ((() => {
311
- const tick=this.tick;return tick.now;
312
- })());
313
- },'countapply':function () {
314
- return 10;
315
- }},$$hiphop.SIGACCESS({'signame':'tick','pre':false,'val':false,'cnt':false}),$$hiphop.EMIT({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':16085},'%tag':'EMIT','signame':'inverseTempo'})),$$hiphop.LOOP({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':16137}},$$hiphop.ABORT({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':16155},'%tag':'ABORT','immediate':false,'apply':function () {
316
- return ((() => {
317
- const inverseTempo=this.inverseTempo;return inverseTempo.now;
318
- })());
319
- }},$$hiphop.SIGACCESS({'signame':'inverseTempo','pre':false,'val':false,'cnt':false}),$$hiphop.EVERY({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':16196},'%tag':'EVERY','immediate':false,'apply':function () {
320
- return ((() => {
321
- const tick=this.tick;return tick.now;
322
- })());
323
- },'countapply':function () {
324
- return 2;
325
- }},$$hiphop.SIGACCESS({'signame':'tick','pre':false,'val':false,'cnt':false}),$$hiphop.ATOM({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':16241},'%tag':'pragma','apply':function () {
326
- tempoGlobal+=2;setTempo(tempoGlobal,param);}}))),$$hiphop.ABORT({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':16391},'%tag':'ABORT','immediate':false,'apply':function () {
327
- return ((() => {
328
- const inverseTempo=this.inverseTempo;return inverseTempo.now;
329
- })());
330
- }},$$hiphop.SIGACCESS({'signame':'inverseTempo','pre':false,'val':false,'cnt':false}),$$hiphop.EVERY({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':16430},'%tag':'EVERY','immediate':false,'apply':function () {
331
- return ((() => {
332
- const tick=this.tick;return tick.now;
333
- })());
334
- },'countapply':function () {
335
- return 2;
336
- }},$$hiphop.SIGACCESS({'signame':'tick','pre':false,'val':false,'cnt':false}),$$hiphop.ATOM({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':16473},'%tag':'pragma','apply':function () {
337
- tempoGlobal-=2;setTempo(tempoGlobal,param);}}))))))),$$hiphop.ATOM({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':16651},'%tag':'pragma','apply':function () {
338
- console.log('-- Stop move tempo');}})));
339
- const setAleas=$$hiphop.MODULE({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':16723},'%tag':'module'},$$hiphop.ATOM({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':16738},'%tag':'pragma','apply':function () {
340
- premierAlea=Math.floor(Math.random() * Math.floor(3));deuxiemeAlea=Math.floor(Math.random() * Math.floor(3));troisiemeAlea=Math.floor(Math.random() * Math.floor(3));if (debug1) console.log('-- Aleas:',premierAlea,deuxiemeAlea,troisiemeAlea);
341
- }}));
342
- const Program=$$hiphop.MODULE({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':17187},'%tag':'module'},$$hiphop.SIGNAL({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':17202},'direction':'IN','name':'start'}),$$hiphop.SIGNAL({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':17202},'direction':'IN','name':'halt'}),$$hiphop.SIGNAL({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':17202},'direction':'IN','name':'tick'}),$$hiphop.SIGNAL({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':17202},'direction':'IN','name':'DAWON'}),$$hiphop.SIGNAL({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':17202},'direction':'IN','name':'patternSignal'}),$$hiphop.SIGNAL({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':17202},'direction':'IN','name':'pulsation'}),$$hiphop.SIGNAL({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':17202},'direction':'IN','name':'midiSignal'}),$$hiphop.SIGNAL({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':17202},'direction':'IN','name':'emptyQueueSignal'}),$$hiphop.SIGNAL({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':17291},'direction':'INOUT','name':'stopReservoir'}),$$hiphop.SIGNAL({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':17291},'direction':'INOUT','name':'stopMoveTempo'}),$$hiphop.SIGNAL({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':17291},'direction':'INOUT','name':'stopSolo'}),$$hiphop.SIGNAL({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':17291},'direction':'INOUT','name':'stopTransposition'}),IZsignals.map((n) => {
343
- return $$hiphop.SIGNAL({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':17363},'direction':'IN','name':n});
344
- }),interTextOUT.map((n) => {
345
- return $$hiphop.SIGNAL({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':17391},'direction':'OUT','name':n});
346
- }),interTextIN.map((n) => {
347
- return $$hiphop.SIGNAL({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':17421},'direction':'IN','name':n});
348
- }),(function () {
349
- let sensors=undefined;return $$hiphop.SEQUENCE({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':17505},'%tag':'let'},$$hiphop.ATOM({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':17511},'%tag':'hop','apply':function () {
350
- sensors=false;}}),$$hiphop.LOOP({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':17533}},(function () {
351
- let tickCounter=undefined;return $$hiphop.SEQUENCE({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':17546},'%tag':'let'},$$hiphop.ATOM({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':17550},'%tag':'hop','apply':function () {
352
- tickCounter=0;}}),(function () {
353
- let patternCounter=undefined;return $$hiphop.SEQUENCE({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':17573},'%tag':'let'},$$hiphop.ATOM({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':17577},'%tag':'hop','apply':function () {
354
- patternCounter=1;}}),$$hiphop.AWAIT({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':17603},'%tag':'await','immediate':false,'apply':function () {
355
- return ((() => {
356
- const tick=this.tick;return tick.now;
357
- })());
358
- }},$$hiphop.SIGACCESS({'signame':'tick','pre':false,'val':false,'cnt':false})),$$hiphop.AWAIT({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':17626},'%tag':'await','immediate':false,'apply':function () {
359
- return ((() => {
360
- const start=this.start;return start.now;
361
- })());
362
- }},$$hiphop.SIGACCESS({'signame':'start','pre':false,'val':false,'cnt':false})),$$hiphop.ATOM({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':17650},'%tag':'pragma','apply':function () {
363
- gcs.setpatternListLength([1,255]);utilsSkini.removeSceneScore(1,serveur);utilsSkini.refreshSceneScore(serveur);utilsSkini.addSceneScore(1,serveur);utilsSkini.alertInfoScoreON('Opus 4',serveur);transposeAll(0,param);utilsSkini.setListeDesTypes(serveur);utilsSkini.setTypeList('1, 2, 3, 4, 5, 5, 6, 7, 8, 9, 10, 11',serveur);utilsSkini.setpatternListLength(12,255,gcs);gcs.setTimerDivision(1);console.log('-- OPUS4V1 --');}}),$$hiphop.ATOM({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':18242},'%tag':'pragma','apply':function () {
364
- setTempo(60,param);tempoGlobal=60;}}),$$hiphop.ABORT({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':18317},'%tag':'ABORT','immediate':false,'apply':function () {
365
- return ((() => {
366
- const halt=this.halt;return halt.now;
367
- })());
368
- }},$$hiphop.SIGACCESS({'signame':'halt','pre':false,'val':false,'cnt':false}),$$hiphop.FORK({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':18342},'%tag':'FORK'},$$hiphop.EVERY({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':18358},'%tag':'EVERY','immediate':false,'apply':function () {
369
- return ((() => {
370
- const tick=this.tick;return tick.now;
371
- })());
372
- }},$$hiphop.SIGACCESS({'signame':'tick','pre':false,'val':false,'cnt':false}),$$hiphop.ATOM({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':18387},'%tag':'pragma','apply':function () {
373
- gcs.setTickOnControler(tickCounter++);}})),$$hiphop.FORK({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':18558},'%tag':'FORK'},$$hiphop.IF({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':18576},'%tag':'if','apply':function () {
374
- return sensors;
375
- }},$$hiphop.EVERY({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':18605},'%tag':'EVERY','immediate':false,'apply':function () {
376
- return ((() => {
377
- const INTERFACEZ_RC0=this.INTERFACEZ_RC0;return INTERFACEZ_RC0.now && INTERFACEZ_RC0.nowval[1] < 4000;
378
- })());
379
- }},$$hiphop.SIGACCESS({'signame':'INTERFACEZ_RC0','pre':false,'val':false,'cnt':false}),$$hiphop.SIGACCESS({'signame':'INTERFACEZ_RC0','pre':false,'val':true,'cnt':false}),$$hiphop.ATOM({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':18684},'%tag':'pragma','apply':function () {
380
- DAW.cleanQueue(1);}}),$$hiphop.ATOM({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':18734},'%tag':'pragma','apply':function () {
381
- const INTERFACEZ_RC0=this.INTERFACEZ_RC0;{
382
- console.log(' *-*-*-*-*-*-*- Sensor RC0',INTERFACEZ_RC0.nowval);}}},$$hiphop.SIGACCESS({'signame':'INTERFACEZ_RC0','pre':false,'val':true,'cnt':false})),$$hiphop.ATOM({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':18825},'%tag':'pragma','apply':function () {
383
- const INTERFACEZ_RC0=this.INTERFACEZ_RC0;{
384
- utilsSkini.alertInfoScoreON('Sensor RC0 : ' + INTERFACEZ_RC0.nowval[1],serveur);}}},$$hiphop.SIGACCESS({'signame':'INTERFACEZ_RC0','pre':false,'val':true,'cnt':false})),(function (__frame) {
385
- return $$hiphop.SEQUENCE({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':18929},'%tag':'run'},$$hiphop.ATOM({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':18929},'%tag':'hop','apply':function () {
386
- }}),$$hiphop.RUN({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':18929},'%tag':'run','autocomplete':true,'module':soloPiano,'%frame':__frame}));
387
- })([])),(function (__frame) {
388
- return $$hiphop.SEQUENCE({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':19007},'%tag':'run'},$$hiphop.ATOM({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':19007},'%tag':'hop','apply':function () {
389
- }}),$$hiphop.RUN({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':19007},'%tag':'run','autocomplete':true,'module':soloPiano,'%frame':__frame}));
390
- })([])),$$hiphop.SEQUENCE({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':19060},'%tag':'par'},$$hiphop.AWAIT({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':19078},'%tag':'await','immediate':false,'apply':function () {
391
- return ((() => {
392
- const tick=this.tick;return tick.now;
393
- })());
394
- },'countapply':function () {
395
- return 10;
396
- }},$$hiphop.SIGACCESS({'signame':'tick','pre':false,'val':false,'cnt':false})),$$hiphop.FORK({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':19117},'%tag':'FORK'},(function (__frame) {
397
- return $$hiphop.SEQUENCE({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':19139},'%tag':'run'},$$hiphop.ATOM({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':19139},'%tag':'hop','apply':function () {
398
- }}),$$hiphop.RUN({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':19139},'%tag':'run','autocomplete':true,'module':saxoEtViolons,'%frame':__frame}));
206
+ }},$$hiphop.EMIT({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':29686},'%tag':'EMIT','signame':'inverseTempo'})),$$hiphop.LOOP({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':29768}},$$hiphop.ABORT({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':29796},'%tag':'ABORT','immediate':false,'apply':new $$hiphop.DelaySig('inverseTempo','now')},$$hiphop.EVERY({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':29829},'%tag':'EVERY','immediate':false,'apply':new $$hiphop.DelaySig('tick','now'),'countapply':function () {
207
+ return 1;
208
+ }},$$hiphop.ATOM({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':29884},'%tag':'pragma','apply':function () {
209
+ tempoGlobal+=5;setTempo(tempoGlobal,param);}}))),$$hiphop.ABORT({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':30119},'%tag':'ABORT','immediate':false,'apply':new $$hiphop.DelaySig('inverseTempo','now')},$$hiphop.EVERY({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':30151},'%tag':'EVERY','immediate':false,'apply':new $$hiphop.DelaySig('tick','now'),'countapply':function () {
210
+ return 1;
211
+ }},$$hiphop.ATOM({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':30204},'%tag':'pragma','apply':function () {
212
+ tempoGlobal-=5;setTempo(tempoGlobal,param);}}))))))),$$hiphop.ATOM({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':30542},'%tag':'pragma','apply':function () {
213
+ console.log('-- Stop move tempo');}}))))),$$hiphop.EMIT({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':30656},'%tag':'EMIT','signame':'nappeViolonsOUT','apply':function () {
214
+ return [false,1];
215
+ }}),$$hiphop.ATOM({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':30692},'%tag':'pragma','apply':function () {
216
+ gcs.informSelecteurOnMenuChange(1,' nappeViolons',false);}}),$$hiphop.ATOM({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':30764},'%tag':'pragma','apply':function () {
217
+ DAW.cleanQueue(1);}}),$$hiphop.ATOM({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':30812},'%tag':'pragma','apply':function () {
218
+ DAW.cleanQueue(2);}}),$$hiphop.ATOM({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':30860},'%tag':'pragma','apply':function () {
219
+ DAW.cleanQueue(3);}})),$$hiphop.ATOM({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':30915},'%tag':'pragma','apply':function () {
220
+ setTempo(70,param);}}),$$hiphop.ATOM({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':30947},'%tag':'pragma','apply':function () {
221
+ serveur.broadcast(JSON.stringify({'type':'alertInfoScoreOFF'}));}}),$$hiphop.ATOM({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':31058},'%tag':'pragma','apply':function () {
222
+ DAW.cleanQueue(5);}}),$$hiphop.ATOM({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':31100},'%tag':'pragma','apply':function () {
223
+ serveur.broadcast(JSON.stringify({'type':'alertInfoScoreON','value':'Clarinette (Saxo)'}));}}),$$hiphop.EMIT({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':31256},'%tag':'EMIT','signame':'StartTransSaxo','apply':function () {
224
+ return 0;
225
+ }}),$$hiphop.FORK({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':31280},'%tag':'FORK'},$$hiphop.TRAP({'M138663':'M138663','%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':31294},'%tag':'TRAP'},$$hiphop.FORK({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':31312},'%tag':'FORK'},(function (__frame) {
226
+ return $$hiphop.SEQUENCE({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':31328},'%tag':'run'},$$hiphop.ATOM({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':31328},'%tag':'hop','apply':function () {
227
+ }}),$$hiphop.RUN({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':31328},'%tag':'run','autocomplete':true,'module':Saxo,'%frame':__frame}));
228
+ })([]),$$hiphop.SEQUENCE({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':31359},'%tag':'par'},$$hiphop.AWAIT({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':31374},'%tag':'await','immediate':false,'apply':new $$hiphop.DelaySig('tick','now'),'countapply':function () {
229
+ return 50;
230
+ }}),$$hiphop.EMIT({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':31416},'%tag':'EMIT','signame':'stopReservoir'}),$$hiphop.EXIT({'M138663':'M138663','%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':31449},'%tag':'EXIT'})))),$$hiphop.ABORT({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':31501},'%tag':'ABORT','immediate':false,'apply':new $$hiphop.DelaySig('tick','now'),'countapply':function () {
231
+ return 50;
232
+ }},(function (__frame) {
233
+ return $$hiphop.SEQUENCE({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':31517},'%tag':'run'},$$hiphop.ATOM({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':31517},'%tag':'hop','apply':function () {
234
+ }}),$$hiphop.RUN({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':31517},'%tag':'run','autocomplete':true,'module':TransSaxo,'%frame':__frame}));
235
+ })([]))),$$hiphop.ATOM({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':31590},'%tag':'pragma','apply':function () {
236
+ DAW.cleanQueue(2);}}),$$hiphop.ATOM({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':31632},'%tag':'pragma','apply':function () {
237
+ serveur.broadcast(JSON.stringify({'type':'alertInfoScoreON','value':'Brass Percu'}));}}),$$hiphop.FORK({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':31775},'%tag':'FORK'},(function (__frame) {
238
+ return $$hiphop.SEQUENCE({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':31788},'%tag':'run'},$$hiphop.ATOM({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':31788},'%tag':'hop','apply':function () {
239
+ }}),$$hiphop.RUN({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':31788},'%tag':'run','autocomplete':true,'module':Brass,'%frame':__frame}));
399
240
  })([]),(function (__frame) {
400
- return $$hiphop.SEQUENCE({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':19206},'%tag':'run'},$$hiphop.ATOM({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':19206},'%tag':'hop','apply':function () {
401
- }}),$$hiphop.RUN({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':19206},'%tag':'run','autocomplete':true,'module':transposeSaxoModal,'%frame':__frame}));
402
- })([]))),(function (__frame) {
403
- return $$hiphop.SEQUENCE({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':19527},'%tag':'run'},$$hiphop.ATOM({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':19527},'%tag':'hop','apply':function () {
404
- }}),$$hiphop.RUN({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':19527},'%tag':'run','autocomplete':true,'module':soloFlute,'%frame':__frame}));
405
- })([]),$$hiphop.SEQUENCE({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':19578},'%tag':'par'},$$hiphop.AWAIT({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':19596},'%tag':'await','immediate':false,'apply':function () {
406
- return ((() => {
407
- const tick=this.tick;return tick.now;
408
- })());
409
- },'countapply':function () {
241
+ return $$hiphop.SEQUENCE({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':31834},'%tag':'run'},$$hiphop.ATOM({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':31834},'%tag':'hop','apply':function () {
242
+ }}),$$hiphop.RUN({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':31834},'%tag':'run','autocomplete':true,'module':Percu,'%frame':__frame}));
243
+ })([])),$$hiphop.ATOM({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':31869},'%tag':'pragma','apply':function () {
244
+ DAW.cleanQueue(5);}}),$$hiphop.ATOM({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':31911},'%tag':'pragma','apply':function () {
245
+ serveur.broadcast(JSON.stringify({'type':'alertInfoScoreON','value':'Flute'}));}}),$$hiphop.FORK({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':32048},'%tag':'FORK'},$$hiphop.TRAP({'M475594':'M475594','%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':32062},'%tag':'TRAP'},$$hiphop.FORK({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':32080},'%tag':'FORK'},(function (__frame) {
246
+ return $$hiphop.SEQUENCE({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':32096},'%tag':'run'},$$hiphop.ATOM({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':32096},'%tag':'hop','apply':function () {
247
+ }}),$$hiphop.RUN({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':32096},'%tag':'run','autocomplete':true,'module':Flute,'%frame':__frame}));
248
+ })([]),$$hiphop.SEQUENCE({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':32128},'%tag':'par'},$$hiphop.AWAIT({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':32143},'%tag':'await','immediate':false,'apply':new $$hiphop.DelaySig('tick','now'),'countapply':function () {
249
+ return 40;
250
+ }}),$$hiphop.EMIT({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':32185},'%tag':'EMIT','signame':'stopReservoir'}),$$hiphop.EXIT({'M475594':'M475594','%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':32218},'%tag':'EXIT'})))),$$hiphop.ABORT({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':32270},'%tag':'ABORT','immediate':false,'apply':new $$hiphop.DelaySig('tick','now'),'countapply':function () {
410
251
  return 40;
411
- }},$$hiphop.SIGACCESS({'signame':'tick','pre':false,'val':false,'cnt':false})),(function (__frame) {
412
- return $$hiphop.SEQUENCE({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':19635},'%tag':'run'},$$hiphop.ATOM({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':19635},'%tag':'hop','apply':function () {
413
- }}),$$hiphop.RUN({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':19635},'%tag':'run','autocomplete':true,'module':brassEtPercu,'%frame':__frame}));
414
- })([])),$$hiphop.EVERY({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':19695},'%tag':'EVERY','immediate':false,'apply':function () {
415
- return ((() => {
416
- const patternSignal=this.patternSignal;return patternSignal.now;
417
- })());
418
- }},$$hiphop.SIGACCESS({'signame':'patternSignal','pre':false,'val':false,'cnt':false}),$$hiphop.ATOM({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':19737},'%tag':'pragma','apply':function () {
419
- const patternSignal=this.patternSignal;{
420
- console.log('-- Pattern :',patternSignal.nowval);}}},$$hiphop.SIGACCESS({'signame':'patternSignal','pre':false,'val':true,'cnt':false}))),(function (__frame) {
421
- return $$hiphop.SEQUENCE({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':19945},'%tag':'run'},$$hiphop.ATOM({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':19945},'%tag':'hop','apply':function () {
422
- }}),$$hiphop.RUN({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':19945},'%tag':'run','autocomplete':true,'module':bougeTempo,'%frame':__frame}));
423
- })([])))),$$hiphop.EMIT({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':20130},'%tag':'EMIT','signame':'stopTransposition'}),$$hiphop.EMIT({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':20162},'%tag':'EMIT','signame':'stopMoveTempo'}),$$hiphop.ATOM({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':20185},'%tag':'pragma','apply':function () {
424
- console.log('-- Reçu Halt');}}),$$hiphop.ATOM({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':20228},'%tag':'pragma','apply':function () {
425
- utilsSkini.alertInfoScoreON('Stop Opus 4',serveur);}}),(function (__frame) {
426
- return $$hiphop.SEQUENCE({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':20295},'%tag':'run'},$$hiphop.ATOM({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':20295},'%tag':'hop','apply':function () {
427
- }}),$$hiphop.RUN({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':20295},'%tag':'run','module':resetAll,'%frame':__frame}));
428
- })([]),$$hiphop.ATOM({'%location':{'filename':'./pieces/opus4V2.hh.js','pos':20326},'%tag':'pragma','apply':function () {
429
- gcs.resetMatrice();}}));
430
- })());
431
- })()));
432
- })());
433
- const prg=new ReactiveMachine(Program,'orchestration');
434
- return prg;
252
+ }},$$hiphop.LOCAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':32288},'%tag':'LOCAL'},$$hiphop.SIGNAL({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':32295},'name':'inverseTempo'}),$$hiphop.ATOM({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':32319},'%tag':'pragma','apply':function () {
253
+ console.log('-- Start move tempo');}}),$$hiphop.ABORT({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':32371},'%tag':'ABORT','immediate':true,'apply':new $$hiphop.DelaySig('stopMoveTempo','now')},$$hiphop.LOOP({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':32391}},$$hiphop.FORK({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':32411},'%tag':'FORK'},$$hiphop.EVERY({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':32434},'%tag':'EVERY','immediate':false,'apply':new $$hiphop.DelaySig('tick','now'),'countapply':function () {
254
+ return 5;
255
+ }},$$hiphop.EMIT({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':32485},'%tag':'EMIT','signame':'inverseTempo'})),$$hiphop.LOOP({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':32555}},$$hiphop.ABORT({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':32579},'%tag':'ABORT','immediate':false,'apply':new $$hiphop.DelaySig('inverseTempo','now')},$$hiphop.EVERY({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':32608},'%tag':'EVERY','immediate':false,'apply':new $$hiphop.DelaySig('tick','now'),'countapply':function () {
256
+ return 1;
257
+ }},$$hiphop.ATOM({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':32659},'%tag':'pragma','apply':function () {
258
+ tempoGlobal+=2;setTempo(tempoGlobal,param);}}))),$$hiphop.ABORT({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':32870},'%tag':'ABORT','immediate':false,'apply':new $$hiphop.DelaySig('inverseTempo','now')},$$hiphop.EVERY({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':32898},'%tag':'EVERY','immediate':false,'apply':new $$hiphop.DelaySig('tick','now'),'countapply':function () {
259
+ return 1;
260
+ }},$$hiphop.ATOM({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':32947},'%tag':'pragma','apply':function () {
261
+ tempoGlobal-=2;setTempo(tempoGlobal,param);}}))))))),$$hiphop.ATOM({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':33245},'%tag':'pragma','apply':function () {
262
+ console.log('-- Stop move tempo');}}))),$$hiphop.SEQUENCE({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':33333},'%tag':'par'},$$hiphop.EMIT({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':33357},'%tag':'EMIT','signame':'MassiveOUT','apply':function () {
263
+ return [true,255];
264
+ }}),$$hiphop.ATOM({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':33393},'%tag':'pragma','apply':function () {
265
+ gcs.informSelecteurOnMenuChange(255,' Massive',true);}}),$$hiphop.AWAIT({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':33462},'%tag':'await','immediate':false,'apply':new $$hiphop.DelaySig('tick','now'),'countapply':function () {
266
+ return 10;
267
+ }}),$$hiphop.EMIT({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':33507},'%tag':'EMIT','signame':'MassiveOUT','apply':function () {
268
+ return [false,255];
269
+ }}),$$hiphop.ATOM({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':33544},'%tag':'pragma','apply':function () {
270
+ gcs.informSelecteurOnMenuChange(255,' Massive',false);}}),$$hiphop.PAUSE({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':33614},'%tag':'yield'}))),$$hiphop.ATOM({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':33633},'%tag':'pragma','apply':function () {
271
+ DAW.putPatternInQueue('Percu4');}}),$$hiphop.ATOM({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':33679},'%tag':'pragma','apply':function () {
272
+ serveur.broadcast(JSON.stringify({'type':'alertInfoScoreON','value':'FIN'}));}}),$$hiphop.ATOM({'%location':{'filename':'./myReact/orchestrationHH.hh.js','pos':33814},'%tag':'pragma','apply':function () {
273
+ DAW.cleanQueues();gcs.cleanChoiceList(255);}}))))));
274
+ if (debug) console.log('orchestrationHH.mjs: setSignals',param.groupesDesSons);
275
+ var machine=new hh.ReactiveMachine(Program,{'sweep':true,'tracePropagation':false,'traceReactDuration':false});
276
+ console.log('INFO: setSignals: Number of nets in Orchestration:',machine.nets.length);return machine;
435
277
  };export { setServ };export { setSignals };
436
278
  //# sourceMappingURL=./myReact/orchestrationHH.mjs.map