dimanche, octobre 15, 2017

Base de travail de l'instrument de musique vidéo

Bonjour,
Après quelques mois de détente, je reprends  le chantier Lecjoa
J'en étais à la création d'un générateur d’instruments de musique multidirectionnel. Cet outil est à double usages, à savoir alimenter l'Addon Lecjoa et le MOOC Lecjoa3.
La démarche finale reste d'apporter un langage adapté à notre entendement et au monde qui nous entoure, car je considère que les langages d'aujourd'hui, ne savent que tromper la raison car ils sont unidirectionnel à la recherche d'un absolue un signe d'incohérence évident.

En associant les bases précédentes, nous obtenons :

 



    



generate image in css

width: height: color: adjustment radian rotate, opacity, and select position (1 : static, 2 : relative , 3 : fixed, 4 : absolute) speed , margin-left, and margin-top Generates image content :

generate sound in js

Select sound : jo audio format, for mix in the video :
Placement of audio files in the video:
get sound : abadie jo audio format, for header javascript :
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16:

Start of the area to copy / paste the generated video multidirectional

Part html to copy / paste the file index.html

This file generates video



 

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>multidirectional-talk</title>




<style>

.indique{
  cursor:pointer;
}
.cachemoi {
    display: none;
}

.sortdutrou {
    display: inline;
}

.action{
  position:fixed;
  height:4%;
  width:1.4%;
  margin-top:1%;
  background:blue;
  border-right:1px solid #BBB;
  cursor:pointer;
}

.action5mn{
  position:fixed;
  height:4%;
  width:1.4%;
  margin-top:1%;
  background:red;
  border-right:1px solid #BBB;
  cursor:pointer;
}

.actionvitesse{
  position:fixed;
  height:4%;
  width:1.4%;
  margin-top:1%;
  background:green;
  border-right:1px solid #BBB;
  cursor:pointer;
}

.actionunivers{
  position:fixed;
  height:4%;
  width:1.4%;
  margin-top:1%;
  background:black;
  border-right:1px solid #BBB;
  cursor:pointer;
}

.actionunivers{
  position:fixed;
  height:4%;
  width:1.4%;
  margin-top:2%;
  border-right:1px solid #BBB;
  cursor:pointer;
}


</style>
</head>

<body>


  <div id="basewave1"> </div>
  <div id="basewave2"> </div>
  <div id="basewave3"> </div>
  <div id="basewave4"> </div>
  <div id="basewave5"> </div>
  <div id="basewave6"> </div>
  <div id="basewave7"> </div>
  <div id="basewave8"> </div>
  <div id="basewave9"> </div>
  <div id="basewave10"> </div>
  <div id="basewave11"> </div>
  <div id="basewave12"> </div>
  <div id="basewave13"> </div>
  <div id="basewave14"> </div>
  <div id="basewave15"> </div>
  <div id="basewave16"> </div>






 <div id="fleur1" class="cachemoi" >

 </div>

<!--bis-->
 <div id="bisfleur1" class="cachemoi" >

 </div>
<!--fin bis-->


 <div id="fleur2" class="cachemoi" >

 </div>

<!--bis-->
 <div id="bisfleur2" class="cachemoi" >

 </div>
<!--fin bis-->

 <div id="fleur3" class="cachemoi">

 </div>

<!--bis-->
 <div id="bisfleur3" class="cachemoi" >

 </div>
<!--fin bis-->

 <div id="fleur4" class="cachemoi">

 </div>

<!--bis-->
 <div id="bisfleur4" class="cachemoi" >

 </div>
<!--fin bis-->


 <div id="fleur5" class="cachemoi">

 </div>

<!--bis-->
 <div id="bisfleur5" class="cachemoi" >

 </div>
<!--fin bis-->


 <div id="fleur6" class="cachemoi" >

 </div>

<!--bis-->
 <div id="bisfleur6" class="cachemoi" >

 </div>
<!--fin bis-->

 <div id="fleur7" class="cachemoi">

 </div>

<!--bis-->
 <div id="bisfleur7" class="cachemoi" >

 </div>
<!--fin bis-->

 <div id="fleur8" class="cachemoi">

 </div>

<!--bis-->
 <div id="bisfleur8" class="cachemoi" >

 </div>
<!--fin bis-->

 <div id="fleur9" class="cachemoi" >

 </div>

<!--bis-->
 <div id="bisfleur9" class="cachemoi" >

 </div>
<!--fin bis-->


 <div id="fleur10" class="cachemoi" >

 </div>

<!--bis-->
 <div id="bisfleur10" class="cachemoi" >

 </div>
<!--fin bis-->

 <div id="fleur11" class="cachemoi">

 </div>

<!--bis-->
 <div id="bisfleur11" class="cachemoi" >

 </div>
<!--fin bis-->

 <div id="fleur12" class="cachemoi">

 </div>
<!--bis-->
 <div id="bisfleur12" class="cachemoi" >

 </div>
<!--fin bis-->

 <div id="fleur13" class="cachemoi">

 </div>
<!--bis-->
 <div id="bisfleur13" class="cachemoi" >

 </div>
<!--fin bis-->

 <div id="fleur14" class="cachemoi" >

 </div>

<!--bis-->
 <div id="bisfleur14" class="cachemoi" >

 </div>
<!--fin bis-->

 <div id="fleur15" class="cachemoi">

 </div>

<!--bis-->
 <div id="bisfleur15" class="cachemoi" >

 </div>
<!--fin bis-->

 <div id="fleur16" class="cachemoi">

 </div>

<!--bis-->
 <div id="bisfleur16" class="cachemoi" >

 </div>
<!--fin bis-->

      <!-- bare de temps -->
      <div class="action" id="actionx1aPress" style="margin-left:1%;"></div>
      <div class="action" id="actionx2aPress" style="margin-left:3%;"></div>
      <div class="action" id="actionx3aPress" style="margin-left:5%;"></div>
      <div class="action" id="actionx4aPress" style="margin-left:7%;"></div>
      <div class="action" id="actionx5aPress" style="margin-left:9%;"></div>
      <div class="action" id="actionx6aPress" style="margin-left:11%;"></div>
      <div class="action" id="actionx7aPress" style="margin-left:13%;"></div>
      <div class="action" id="actionx8aPress" style="margin-left:15%;"></div>
      <div class="action" id="actionx9aPress" style="margin-left:17%;"></div>
      <div class="action" id="actionx10aPress" style="margin-left:19%;"></div>
      <div class="action" id="actionx11aPress" style="margin-left:21%;"></div>
      <div class="action" id="actionx12aPress" style="margin-left:23%;"></div>
      <div class="action" id="actionx13aPress" style="margin-left:25%;"></div>
      <div class="action" id="actionx14aPress" style="margin-left:27%;"></div>
      <div class="action" id="actionx15aPress" style="margin-left:29%;"></div>
      <div class="action" id="actionx16aPress" style="margin-left:31%;"></div> 

       <div class="action5mn" id="actionstopa" style="margin-left:61%;"></div>
       <div class="action5mn" id="actionrestarta" style="margin-left:63%;"></div>

      <div class="actionvitesse" id="diminuLeVenta" style="margin-left:67%;">-</div>
      <div class="actionvitesse" id="acelereLeVenta" style="margin-left:69%;">+</div>
      <div class="actionunivers" id="action1Pressa" style="margin-left:75%;"></div>


       <div class="actiontexte" style="margin-left:15%;"><p>time line</p></div>
       <div class="actiontexte" style="margin-left:61%;"><p>pause</p></div>
      <div class="actiontexte" style="margin-left:67%;"><p>speed</p></div>
      <div class="actiontexte" style="margin-left:75%;"><p>multidirectional talk</p></div>

<script type="text/javascript" src="multi/image.js"></script>
<script type="text/javascript" src="multi/example.js"> </script>
<script type="text/javascript" src="multi/adresse.js"></script>
<script type="text/javascript" src="multi/adn1.js"></script>
<script type="text/javascript" src="multi/adapt1.js"></script>
<script type="text/javascript" src="multi/adapt.js"></script>
<script type="text/javascript" src="multi/joa.js"></script>
<script type="text/javascript" src="multi/act1.js"></script>
<script type="text/javascript" src="multi/back1.js"></script>
</body>

</html> 

Part javascript to copy / paste the file image.js

This file generates the images of the video



 

var largeurecran = screen.width * 0.01;
var hauteurecran = screen.height * 0.01;

for(var limage= 16; limage > 0; limage--)
{

var l={0:[],1:[],2:[],3:[],4:[],5:[],6:[],7:[],8:[],9:[],10:[],11:[],12:[],13:[],14:[],15:[],16:[],17:[]
,18:[],19:[],20:[],21:[],22:[],23:[],24:[],25:[],26:[],27:[],28:[],29:[],30:[],31:[],32:[]
,33:[],34:[],35:[],36:[],37:[],38:[],39:[],40:[],41:[],42:[],43:[],44:[],45:[],46:[],47:[],48:[],
49:[],50:[],51:[],52:[],53:[],54:[],55:[],56:[],57:[],58:[]};






var vam = [3.8, 30, "#0f0f0f", 3, 13, "2px", "absolute", 0.99, "rotate(0deg)", "height 1s", 1, "10px 10px 5px lightblue"];

var vam1 = [3, 7.7, 17.1, 21.8, 26.5, 35.9, 40.6, 50, 54.7, 59.4, 68.8, 73.5,
82.9, 87.6, 92.3, 0.6, 5.3, 10, 14.7, 19.4, 24.1, 28.8, 33.5, 38.2, 42.9,
 47.6, 52.3, 57, 61.7, 66.4, 71.1, 75.8, 80.5, 85.2, 89.9, 94.6, 0.6,
 6.8, 11.5, 14.7, 20.9, 25.6, 30.3, 33.5, 39.7, 44.4, 47.6, 53.8, 58.5,
 63.2, 66.4, 72.6, 77.3, 80.5, 86.7, 91.4, 96.1, 0];
var vam2 = ["#f0f0f0", "#975401", "lightblue", "blue", "#e1e1ff", "#d2d2ff", "#c3c3ff", "#92d21f", "#732355"
, "#b4b4ff", "#ffb4b4"];
var vam3 = [2.3, 0.8, 2.9, 2.3, 0.8, 0.8, 2.9, 2.3, 0.8, 2.9, 2.3, 0.8, 0.8, 2.9, 2.3, 0.8, 2.9, 2.3, 0.8, 0.8, 2.9];



switch(limage) {
    case 16:
for(var b1= 0; b1 < 57; b1++)
{
for(var b2= 0; b2 < 12; b2++)
{
l[b1][b2]=vam[b2];
}
l[b1][3]=vam1[b1];
}
for(var b3= 15; b3 < 57; b3++)
{
l[b3][2]=vam2[0];
}
l[57][2]=vam2[1];
for(var b4= 15; b4 < 36; b4++)
{
l[b4][0]=4.4;
l[b4][4]=43;
l[b4][1]=l[b4][1]-20;
}
for(var b5= 36; b5 < 58; b5++)
{
l[b5][0]=vam3[b5-36];
l[b5][1]++;
}
        break;
    case 15:
for(var b1= 0; b1 < 57; b1++)
{
for(var b2= 0; b2 < 12; b2++)
{
l[b1][b2]=vam[b2];
}
l[b1][3]=vam1[b1];
}
for(var b3= 15; b3 < 57; b3++)
{
l[b3][2]=vam2[2];
}
l[57][2]=vam2[1];
for(var b4= 15; b4 < 36; b4++)
{
l[b4][0]=4.4;
l[b4][4]=43;
l[b4][1]=l[b4][1]-20;
}
for(var b5= 36; b5 < 58; b5++)
{
l[b5][0]=vam3[b5-36];
l[b5][1]++;
}
        break;
    case 14:
for(var b1= 0; b1 < 57; b1++)
{
for(var b2= 0; b2 < 12; b2++)
{
l[b1][b2]=vam[b2];
}
l[b1][3]=vam1[b1];
}
for(var b3= 15; b3 < 57; b3++)
{
l[b3][2]=vam2[2];
}
l[57][2]=vam2[1];
for(var b4= 15; b4 < 36; b4++)
{
l[b4][0]=4.4;
l[b4][4]=43;
l[b4][1]=l[b4][1]-20;
}
for(var b5= 36; b5 < 58; b5++)
{
l[b5][0]=vam3[b5-36];
l[b5][1]++;
}
        break;
    case 13:
for(var b1= 0; b1 < 57; b1++)
{
for(var b2= 0; b2 < 12; b2++)
{
l[b1][b2]=vam[b2];
}
l[b1][3]=vam1[b1];
}
for(var b3= 15; b3 < 57; b3++)
{
l[b3][2]=vam2[4];
}
l[57][2]=vam2[1];
for(var b4= 15; b4 < 36; b4++)
{
l[b4][0]=4.4;
l[b4][4]=43;
l[b4][1]=l[b4][1]-20;
}
for(var b5= 36; b5 < 58; b5++)
{
l[b5][0]=vam3[b5-36];
l[b5][1]++;
}
        break;
    case 12:
for(var b1= 0; b1 < 57; b1++)
{
for(var b2= 0; b2 < 12; b2++)
{
l[b1][b2]=vam[b2];
}
l[b1][3]=vam1[b1];
}
for(var b3= 15; b3 < 57; b3++)
{
l[b3][2]=vam2[5];
}
l[57][2]=vam2[1];
for(var b4= 15; b4 < 36; b4++)
{
l[b4][0]=4.4;
l[b4][4]=43;
l[b4][1]=l[b4][1]-20;
}
for(var b5= 36; b5 < 58; b5++)
{
l[b5][0]=vam3[b5-36];
l[b5][1]++;
}
        break;
    case 11:
for(var b1= 0; b1 < 57; b1++)
{
for(var b2= 0; b2 < 12; b2++)
{
l[b1][b2]=vam[b2];
}
l[b1][3]=vam1[b1];
}
for(var b3= 15; b3 < 57; b3++)
{
l[b3][2]=vam2[6];
}
l[57][2]=vam2[1];
for(var b4= 15; b4 < 36; b4++)
{
l[b4][0]=4.4;
l[b4][4]=43;
l[b4][1]=l[b4][1]-20;
}
for(var b5= 36; b5 < 58; b5++)
{
l[b5][0]=vam3[b5-36];
l[b5][1]++;
}
        break;
    case 10:
for(var b1= 0; b1 < 57; b1++)
{
for(var b2= 0; b2 < 12; b2++)
{
l[b1][b2]=vam[b2];
}
l[b1][3]=vam1[b1];
}
for(var b3= 15; b3 < 57; b3++)
{
l[b3][2]=vam2[7];
}
l[57][2]=vam2[1];
for(var b4= 15; b4 < 36; b4++)
{
l[b4][0]=4.4;
l[b4][4]=43;
l[b4][1]=l[b4][1]-20;
}
for(var b5= 36; b5 < 58; b5++)
{
l[b5][0]=vam3[b5-36];
l[b5][1]++;
}
        break;
    case 9:
for(var b1= 0; b1 < 57; b1++)
{
for(var b2= 0; b2 < 12; b2++)
{
l[b1][b2]=vam[b2];
}
l[b1][3]=vam1[b1];
}
for(var b3= 15; b3 < 57; b3++)
{
l[b3][2]=vam2[8];
}
l[57][2]=vam2[1];
for(var b4= 15; b4 < 36; b4++)
{
l[b4][0]=4.4;
l[b4][4]=43;
l[b4][1]=l[b4][1]-20;
}
for(var b5= 36; b5 < 58; b5++)
{
l[b5][0]=vam3[b5-36];
l[b5][1]++;
}
        break;
    case 8:
for(var b1= 0; b1 < 57; b1++)
{
for(var b2= 0; b2 < 12; b2++)
{
l[b1][b2]=vam[b2];
}
l[b1][3]=vam1[b1];
}
for(var b3= 15; b3 < 57; b3++)
{
l[b3][2]=vam2[9];
}
l[57][2]=vam2[1];
for(var b4= 15; b4 < 36; b4++)
{
l[b4][0]=4.4;
l[b4][4]=43;
l[b4][1]=l[b4][1]-20;
}
for(var b5= 36; b5 < 58; b5++)
{
l[b5][0]=vam3[b5-36];
l[b5][1]++;
}
        break;
    default:
for(var b1= 0; b1 < 57; b1++)
{
for(var b2= 0; b2 < 12; b2++)
{
l[b1][b2]=vam[b2];
}
l[b1][3]=vam1[b1];
}
for(var b3= 15; b3 < 57; b3++)
{
l[b3][2]=vam2[10];
}
l[57][2]=vam2[2];
for(var b4= 15; b4 < 36; b4++)
{
l[b4][0]=4.4;
l[b4][4]=43;
l[b4][1]=l[b4][1]-20;
}
for(var b5= 36; b5 < 58; b5++)
{
l[b5][0]=vam3[b5-36];
l[b5][1]++;
}
} 




l[57] = [100, 60, "#975401", 0, 10, 2 * largeurecran +"px", "absolute", 0.95, "scale(1, 1)", "height 1s", 85, 10];


l= {
  1: l[0], 2: l[1], 3: l[2], 4: l[3], 5: l[4], 6: l[5], 7: l[6], 8: l[7], 9: l[8], 10: l[9], 11: l[10],
12: l[11],13: l[12], 14: l[13], 15: l[14], 16: l[15], 17: l[16], 18: l[17], 19: l[18], 20: l[19], 21: l[20],
22: l[21], 23: l[22], 24: l[23],25: l[24], 26: l[25], 27: l[26], 28: l[27], 29: l[28], 30: l[29], 31: l[30],
32: l[31], 33: l[32], 34: l[33], 35: l[34], 36: l[35], 37: l[36], 38: l[37], 39: l[38], 40: l[39], 41: l[40],
42: l[41], 43: l[42], 44: l[43], 45: l[44], 46: l[45], 47: l[46], 48: l[47], 49: l[48], 50: l[49], 51: l[50],
42: l[41], 43: l[42], 44: l[43], 45: l[44], 46: l[45], 47: l[46], 48: l[47], 49: l[48], 50: l[49], 51: l[50],
52: l[51], 53: l[52], 54: l[53], 55: l[54], 56: l[55], 57: l[56], 58: l[57], 59: l[58]
}




for(var uui= 1; uui < 59; uui++)
{
var nouveauin;
function rajouteElemen() {
var boday   = document.boday || document.getElementById('fleur'+limage),
nouveauin  = document.createElement("div");
nouveauin.setAttribute("id", "b"+uui+"v"+limage);
nouveauin.style.width = (l[uui][0]) * largeurecran +"px";
nouveauin.style.height = (l[uui][1]) * hauteurecran +"px";
nouveauin.style.background = l[uui][2];
nouveauin.style.marginLeft=(l[uui][3]) * largeurecran +"px";
nouveauin.style.marginTop=(l[uui][4]) * hauteurecran +"px";
nouveauin.style.borderRadius=l[uui][5];
nouveauin.style.position =l[uui][6];
nouveauin.style.opacity =l[uui][7];
nouveauin.style.transform =l[uui][8];
nouveauin.style.transition =l[uui][9];
//if(l[uui][10] == 1){
//nouveauin.setAttribute("active", "background: #B8B6B6");
//}
//nouveauin.style.boxShadow =l[uui][11];
boday.insertBefore(nouveauin,boday.childNodes[0]);
}
rajouteElemen();
}
}

Part javascript to copy / paste the file adn1.js

This file generates the sound of the video

var m={0:[],1:[],2:[],3:[],4:[],5:[],6:[],7:[],8:[],9:[],10:[],11:[],12:[],13:[],14:[],15:[],16:[],17:[]
,18:[],19:[],20:[],21:[],22:[],23:[],24:[],25:[],26:[],27:[],28:[],29:[],30:[],31:[],32:[]
,33:[],34:[],35:[]};
var val1 = [1, 220, 180, 1, 1, 10, 130, -1, 200, 30,
170, 4, 1, 10, 129, -1, 200, 0, 40, 159,
0, 0, -1, 129, 0, 0, 0, 130, 159, 0,
0, 0, 0, 0, 0, 0, 160, 80, 0, 0,
0, 0, 0, 0, 0, 90, 60, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 30, 5, 0, 1];

var val = [46, 45, 44, 43, 42, 41, 40, 39, 38, 37, 36, 35,
34, 33, 32, 31, 30, 29, 28, 27, 26, 25, 24, 23,
22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11];


var val2 = [ 36, 35, 34, 33, 32, 31, 30, 29, 28, 27, 26, 25, 24, 23,
22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 
10, 9, 8, 7, 6, 5, 4, 3, 2, 1];

var val3 = [ 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60, 65, 70,
75, 80, 85, 90, 95, 100, 105, 110, 115, 120, 125, 130, 
135, 140, 145, 150, 155, 160, 165, 170, 175, 180];


for(var b1= 0; b1 < 36; b1++)
{
for(var b2= 0; b2 < 75; b2++)
{
m[b1][b2]=val1[b2];
}
m[b1][73]= val[b1];

m[b1][2]= val3[b1];
m[b1][72]= val[b1];
m[b1][10]= val3[b1];
m[b1][13]= val2[b1];
}

var don = {
  1: m[0], 2: m[1], 3: m[2], 4: m[3], 5: m[4], 6: m[5], 7: m[6], 8: m[7], 9: m[8], 10: m[9], 11: m[10], 
12: m[11],13: m[12], 14: m[13], 15: m[14], 16: m[15], 17: m[16], 18: m[17], 19: m[18], 20: m[19], 21: m[20], 
22: m[21], 23: m[22], 24: m[23],25: m[24], 26: m[25], 27: m[26], 28: m[27], 29: m[28], 30: m[29], 31: m[30], 
32: m[31], 33: m[32], 34: m[33], 35: m[34], 36: m[35]
}

var total = [];
var total1 = [];
for(var uiu= 1; uiu < 37; uiu++)
{
total[uiu -1] = "dan"+[uiu]+"n";
total1[uiu -1]=don[uiu];
}

for(var ui= 0; ui < 36; ui++)
{
for(var i= 0; i < 75; i++)
{
var nouveauinput;
function ajouteElemen() {
var body   = document.body || document.getElementsByTagName('body')[0],
nouveauinput  =  document.createElement("input");
nouveauinput.setAttribute("type", "number");
nouveauinput.setAttribute("id", total[ui]+i);
nouveauinput.setAttribute("value", total1[ui][i]);
nouveauinput.setAttribute("style", "display: none;");
body.insertBefore(nouveauinput,body.childNodes[0]);
}  
ajouteElemen();
}
}

Part javascript to copy / paste the file act1.js

This file generates the images of the video

function lecjoa1(Fichier1AudioJo)
{

 leraw1 = [];

var ludion = 32768, amplitude = 32768, nbdepoints = 5;

 function actiontotale(amplitude, nbdepoints, ludion)

 {

    var samples = 0, ote, ote1, reste, boucle;
         var ideb, j, p, avec1, avec2, avec3;


/****debut front descend****/
  function frontdescend(amplitude, nbdepoints, ludion)
  {
    var ote1;

         boucle = Math.round(nbdepoints *0.5);

         reste = nbdepoints - boucle;

         ote = Math.round( (ludion-amplitude)*0.5 );

    avec1 = boucle-1;
    p = table[avec1];

   function calcul1 (ludion, ote, ote1)
   {
   codebash = Math.round(ludion + ote1 - ote);
   

   monhexa = Math.floor(codebash -32767);
     var total = leraw1.push(app1.utility.pack("v", monhexa));

    }//fin calcul1


   for (ideb = boucle-1; ideb >= 0; ideb--) {
   ote1 = Math.floor((ote * 0.00001 * p[ideb]));
      calcul1 (ludion, ote, ote1);
   }// fin frontdescend partie1 et fin for


/********deuxieme partie front descend****************/

   function sens2inverse(amplitude, nbdepoints, ludion)
   {
   var ote1;

    boucle = Math.round(nbdepoints *0.5);
    reste = nbdepoints - boucle;
    ote = Math.round( (ludion-amplitude)*0.5 );

   avec1 = boucle-1;
   p = table[avec1];

   function calcul2 (ludion, ote, ote1)
   {
   codebash = Math.round(amplitude + ote - ote1);
   

   monhexa = Math.floor(codebash -32767);
     var total = leraw1.push(app1.utility.pack("v", monhexa));

    }// fin calcul2

    for (ideb = 0; ideb  < reste; ideb++) {
    ote1 = Math.floor((ote * 0.00001 * p[ideb]));
       calcul2 (amplitude, ote, ote1);
    } // fin du for

    } // fin sens2inverse

   sens2inverse(amplitude, nbdepoints, ludion);   

   ludion = amplitude
   return ludion;
   }// fin frontdescend

/********fin front descend *************************/


/****debut front montant*********************/
  function frontmontant(amplitude, nbdepoints, ludion)
  {
  ote = Math.round( (amplitude-ludion)*0.5 );        
   boucle = Math.round(nbdepoints * 0.5);
  reste = nbdepoints - boucle;
  
  var iee, j, p;
  avec1 = boucle-1;
  p = table[avec1];
  
   function calcul3 (ludion, ote, ote1)
   {
     codebash = Math.round(ludion + ote - ote1);
   

   monhexa = Math.floor(codebash -32767);
     var total = leraw1.push(app1.utility.pack("v", monhexa));

   }// fin calcul3



   for (ideb = boucle-1; ideb >= 0; ideb--) {
   ote1 = Math.floor(ote * 0.00001 * p[ideb]);
      calcul3 (ludion, ote, ote1);
   }// fin premiere partie du fron et du for



    
   function sensinverse(amplitude, nbdepoints, ludion)
   {

   boucle = Math.round(nbdepoints * 0.5);
   reste = nbdepoints - boucle;
   ote = Math.round((amplitude-ludion)*0.5 );


   function calcul4 (ludion, ote, ote1)
   {
     codebash = Math.round(ludion + ote + ote1);
   

   monhexa = Math.floor(codebash -32767);
   var total = leraw1.push(app1.utility.pack("v", monhexa));

   }// fin calcul4

/******/
    for (ideb = 0; ideb  < reste; ideb++) {
        ote1 = Math.round(ote * 0.00001 * p[ideb]);
        calcul4 (ludion, ote, ote1);
    }
/********/






}

/* debut montant inverse du sens 1 */
sensinverse(amplitude, nbdepoints, ludion);

   ludion = amplitude
   return ludion;

   } //fin frontmontant





/****fin front montant***/







/*choix du sens du front*/

    if (ludion > amplitude)
      {
   frontdescend(amplitude, nbdepoints, ludion);
      }
    else
      {
  frontmontant(amplitude, nbdepoints, ludion);
      }

/* fin choix du sens du front*/

}
/****fin action totale****/


for(var idejo= 0; idejo  < Fichier1AudioJo.length; idejo++)
{//1

if (idejo/2 == Math.round(idejo/2)) {
 ludion = amplitude;
 amplitude = Fichier1AudioJo[idejo] * 256;
} else {//2
 nbdepoints = Fichier1AudioJo[idejo];
NbPtTotal += nbdepoints; /*44100 nbdepoints = 1 seconde*/
 actiontotale(amplitude, nbdepoints, ludion);




}//  fin du else de trie de récpération de données (amplitude et nbpoints)
}// fin de la boucle for de trie de récpération de données (amplitude et nbpoints)

/***********************************************/



return NbPtTotal;



}// fin fonction lecjoa1

Part javascript to copy / paste the file adapt.js

This file generates the images of the video





/*******************************************************************************************************/

/* mes tables de generations*/

var placement, affiche1, placementlong, repere1, samples;



placement = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44,45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68,69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92,93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112,113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128];


var tab1jo17 = [99997];
var tab2jo17 = [53564, 99997];
var tab3jo17 = [38191, 71298, 99997];
var tab4jo17 = [30582, 57094, 80076, 99998];
var tab5jo17 = [26078, 48685, 68282, 85271, 99998];
var tab6jo17 = [23126, 43173, 60552, 75617, 88677, 99998];
var tab7jo17 = [21059, 39315, 55141, 68860, 80752, 91062, 99999];
var tab8jo17 = [19545, 36488, 51176, 63909, 74946, 84514, 92809, 99999];
var tab9jo17 = [18398, 34347, 48173, 60158, 70548, 79555, 87363, 94131, 99998];
var tab10jo17 = [17508, 32685, 45842, 57247, 67134, 75705, 83134, 89575, 95158, 99999];
var tab11jo17 = [16803, 31369, 43996, 54942, 64431, 72656, 79787, 85968, 91327, 95972, 99999];
var tab12jo17 = [16236, 30311, 42512, 53088, 62257, 70205, 77095, 83068, 88246, 92735, 96626, 99998];
var tab13jo17 = [15775, 29450, 41304, 51580, 60489, 68211, 74906, 80709, 85739, 90100, 93881, 97158, 99999];
var tab14jo17 = [15396, 28742, 40311, 50341, 59035, 66572, 73105, 78769, 83679, 87935, 91625, 94823, 97596, 99999];
var tab15jo17 = [15081, 28155, 39488, 49313, 57830, 65213, 71613, 77161, 81971, 86140, 89754, 92887, 95603, 97958, 99999];
var tab16jo17 = [14819, 27666, 38802, 48456, 56824, 64079, 70368, 75819, 80545, 84642, 88194, 91272, 93941, 96255, 98260, 99999];
var tab17jo17 = [14599, 27255, 38226, 47736, 55981, 63127, 69323, 74694, 79349, 83385, 86884, 89917, 92546, 94825, 96801, 98514, 99999];
var tab18jo17 = [14414, 26909, 37740, 47130, 55270, 62326, 68442, 73745, 78342, 82326, 85781, 88775, 91371, 93621, 95572, 97263, 98729, 99999];
var tab19jo17 = [14257, 26615, 37329, 46616, 54667, 61646, 67696, 72941, 77487, 81429, 84845, 87807, 90375, 92600, 94530, 96202, 97652, 98909, 99999];
var tab20jo17 = [14123, 26366, 36979, 46180, 54155, 61069, 67063, 72258, 76762, 80667, 84051, 86985, 89529, 91734, 93645, 95302, 96738, 97984, 99063, 99999];
var tab21jo17 = [14010, 26154, 36682, 45809, 53720, 60578, 66524, 71677, 76145, 80018, 83376, 86286, 88809, 90996, 92892, 94536, 95961, 97196, 98266, 99195, 99999];
var tab22jo17 = [13913, 25973, 36428, 45491, 53348, 60159, 66063, 71181, 75618, 79464, 82798, 85688, 88194, 90366, 92249, 93881, 95296, 96522, 97586, 98507, 99306, 99999];
var tab23jo17 = [13829, 25818, 36210, 45219, 53029, 59799, 65668, 70756, 75166, 78989, 82303, 85176, 87667, 89826, 91698, 93320, 94727, 95946, 97003, 97919, 98713, 99402, 99999];
var tab24jo17 = [13758, 25685, 36024, 44987, 52756, 59491, 65330, 70391, 74779, 78583, 81880, 84738, 87216, 89364, 91226, 92840, 94239, 95452, 96503, 97415, 98205, 98890, 99484, 99999];
var tab25jo17 = [13697, 25571, 35864, 44787, 52522, 59228, 65040, 70079, 74447, 78234, 81517, 84362, 86829, 88967, 90821, 92428, 93821, 95029, 96075, 96983, 97770, 98452, 99043, 99555, 99999];
var tab26jo17 = [13645, 25473, 35726, 44615, 52320, 59000, 64790, 69810, 74161, 77933, 81203, 84038, 86495, 88625, 90472, 92073, 93460, 94663, 95706, 96610, 97394, 98073, 98662, 99173, 99615, 99999];
var tab27jo17 = [13599, 25388, 35608, 44467, 52147, 58805, 64576, 69579, 73916, 77675, 80935, 83760, 86209, 88332, 90173, 91768, 93151, 94350, 95389, 96290, 97071, 97749, 98335, 98844, 99285, 99668, 99999];
var tab28jo17 = [13561, 25316, 35506, 44340, 51998, 58636, 64391, 69380, 73704, 77453, 80703, 83520, 85962, 88079, 89914, 91505, 92884, 94080, 95116, 96015, 96794, 97469, 98054, 98561, 99001, 99382, 99713, 99999];
var tab29jo17 = [13527, 25253, 35418, 44230, 51869, 58491, 64231, 69208, 73521, 77261, 80503, 83313, 85749, 87861, 89691, 91278, 92654, 93847, 94881, 95777, 96554, 97227, 97811, 98317, 98756, 99136, 99466, 99751, 99999];
var tab30jo17 = [13498, 25199, 35342, 44135, 51757, 58365, 64093, 69059, 73363, 77095, 80330, 83134, 85565, 87672, 89499, 91082, 92455, 93645, 94677, 95571, 96346, 97018, 97601, 98106, 98543, 98923, 99252, 99537, 99784, 99999];
var tab31jo17 = [13473, 25152, 35277, 44053, 51662, 58257, 63975, 68931, 73228, 76952, 80181, 82980, 85406, 87510, 89333, 90914, 92284, 93472, 94501, 95394, 96168, 96838, 97420, 97924, 98361, 98740, 99068, 99353, 99599, 99813, 99999];
var tab32jo17 = [13451, 25112, 35220, 43983, 51579, 58164, 63872, 68820, 73110, 76829, 80052, 82847, 85269, 87369, 89189, 90767, 92135, 93321, 94349, 95241, 96013, 96683, 97263, 97767, 98203, 98581, 98909, 99193, 99439, 99653, 99838, 99999];
var tab33jo17 = [13433, 25077, 35171, 43922, 51507, 58083, 63784, 68725, 73009, 76722, 79941, 82732, 85151, 87248, 89066, 90642, 92008, 93192, 94219, 95109, 95880, 96549, 97129, 97631, 98067, 98445, 98772, 99056, 99302, 99515, 99700, 99860, 99999];
var tab34jo17 = [13416, 25047, 35129, 43869, 51445, 58013, 63706, 68642, 72921, 76630, 79845, 82632, 85048, 87143, 88958, 90532, 91897, 93080, 94105, 94994, 95764, 96432, 97011, 97513, 97949, 98326, 98653, 98936, 99182, 99395, 99580, 99740, 99878, 99999];
var tab35jo17 = [13402, 25021, 35092, 43823, 51392, 57953, 63640, 68571, 72845, 76550, 79762, 82546, 84960, 87052, 88866, 90439, 91802, 92983, 94007, 94895, 95665, 96332, 96911, 97412, 97847, 98224, 98550, 98834, 99079, 99292, 99476, 99636, 99775, 99895, 99999];
var tab36jo17 = [13390, 24998, 35060, 43783, 51345, 57900, 63583, 68509, 72779, 76481, 79690, 82472, 84883, 86974, 88786, 90357, 91718, 92899, 93922, 94809, 95579, 96245, 96823, 97324, 97758, 98135, 98461, 98744, 98989, 99202, 99386, 99546, 99685, 99805, 99909, 99999];
var tab37jo17 = [13380, 24978, 35033, 43749, 51305, 57855, 63533, 68455, 72722, 76421, 79627, 82407, 84817, 86905, 88716, 90286, 91647, 92826, 93849, 94735, 95504, 96170, 96747, 97248, 97682, 98058, 98384, 98667, 98912, 99124, 99308, 99468, 99606, 99726, 99830, 99921, 99999];
var tab38jo17 = [13371, 24962, 35009, 43720, 51270, 57816, 63490, 68409, 72673, 76369, 79574, 82351, 84759, 86847, 88656, 90225, 91585, 92764, 93786, 94671, 95439, 96105, 96682, 97182, 97616, 97992, 98318, 98600, 98845, 99057, 99242, 99401, 99539, 99659, 99763, 99853, 99931, 99999];
var tab39jo17 = [13363, 24947, 34989, 43694, 51241, 57782, 63453, 68369, 72631, 76325, 79527, 82304, 84710, 86796, 88605, 90173, 91532, 92710, 93731, 94616, 95384, 96049, 96626, 97126, 97559, 97935, 98261, 98543, 98788, 99000, 99184, 99343, 99481, 99601, 99705, 99795, 99873, 99941, 99999];
var tab40jo17 = [13356, 24934, 34971, 43672, 51214, 57753, 63421, 68334, 72594, 76286, 79487, 82261, 84667, 86752, 88559, 90126, 91485, 92662, 93683, 94568, 95335, 96000, 96576, 97076, 97509, 97885, 98210, 98492, 98737, 98949, 99133, 99292, 99430, 99550, 99654, 99744, 99822, 99890, 99948, 99999];
var tab41jo17 = [13350, 24923, 34956, 43653, 51192, 57727, 63393, 68304, 72561, 76252, 79452, 82225, 84629, 86714, 88520, 90087, 91444, 92621, 93642, 94526, 95293, 95958, 96534, 97033, 97466, 97842, 98167, 98449, 98694, 98906, 99089, 99249, 99387, 99506, 99610, 99700, 99778, 99846, 99904, 99955, 99999];
var tab42jo17 = [13345, 24914, 34942, 43636, 51172, 57705, 63369, 68278, 72534, 76223, 79421, 82194, 84597, 86681, 88487, 90052, 91410, 92586, 93606, 94490, 95257, 95921, 96497, 96996, 97429, 97804, 98130, 98412, 98656, 98868, 99052, 99211, 99349, 99468, 99572, 99662, 99740, 99808, 99866, 99917, 99961, 99999];
var tab43jo17 = [13341, 24906, 34931, 43622, 51155, 57686, 63348, 68255, 72510, 76198, 79395, 82167, 84569, 86652, 88457, 90023, 91379, 92555, 93575, 94459, 95225, 95889, 96465, 96964, 97397, 97772, 98097, 98379, 98623, 98835, 99019, 99178, 99316, 99436, 99539, 99629, 99707, 99775, 99833, 99884, 99928, 99966, 99999];
var tab44jo17 = [13337, 24898, 34921, 43609, 51140, 57669, 63329, 68236, 72489, 76176, 79372, 82143, 84545, 86627, 88432, 89996, 91353, 92529, 93548, 94431, 95197, 95861, 96437, 96936, 97369, 97744, 98069, 98350, 98595, 98806, 98990, 99149, 99287, 99407, 99510, 99600, 99678, 99746, 99804, 99855, 99899, 99937, 99970, 99999];
var tab45jo17 = [13334, 24892, 34912, 43598, 51128, 57655, 63313, 68218, 72471, 76157, 79352, 82122, 84523, 86605, 88410, 89974, 91330, 92505, 93524, 94408, 95174, 95837, 96413, 96912, 97344, 97719, 98044, 98326, 98570, 98782, 98965, 99124, 99262, 99382, 99485, 99575, 99653, 99721, 99779, 99830, 99874, 99912, 99945, 99974, 99999];
var tab46jo17 = [13331, 24887, 34905, 43589, 51117, 57643, 63300, 68204, 72455, 76141, 79335, 82105, 84506, 86587, 88391, 89955, 91311, 92486, 93505, 94388, 95154, 95817, 96393, 96891, 97324, 97699, 98023, 98305, 98549, 98761, 98944, 99103, 99241, 99361, 99464, 99554, 99632, 99700, 99758, 99809, 99853, 99891, 99924, 99953, 99977, 99999];
var tab47jo17 = [13328, 24882, 34898, 43580, 51107, 57632, 63288, 68191, 72442, 76126, 79320, 82089, 84490, 86570, 88374, 89938, 91293, 92468, 93487, 94370, 95135, 95799, 96374, 96873, 97305, 97680, 98005, 98286, 98530, 98742, 98926, 99085, 99222, 99342, 99446, 99535, 99613, 99681, 99739, 99790, 99834, 99872, 99905, 99934, 99958, 99980, 99999];
var tab48jo17 = [13326, 24878, 34892, 43574, 51099, 57623, 63278, 68180, 72430, 76114, 79308, 82076, 84476, 86556, 88360, 89923, 91279, 92454, 93472, 94355, 95120, 95784, 96359, 96857, 97290, 97664, 97989, 98271, 98515, 98726, 98910, 99069, 99207, 99326, 99430, 99519, 99597, 99665, 99723, 99774, 99818, 99856, 99889, 99918, 99942, 99964, 99983, 99999];
var tab49jo17 = [13324, 24875, 34887, 43567, 51092, 57615, 63269, 68171, 72420, 76103, 79297, 82065, 84464, 86544, 88348, 89911, 91266, 92441, 93459, 94342, 95107, 95770, 96345, 96844, 97276, 97651, 97975, 98257, 98501, 98712, 98896, 99055, 99193, 99312, 99416, 99505, 99583, 99651, 99709, 99760, 99804, 99842, 99875, 99904, 99928, 99950, 99969, 99985, 99999];
var tab50jo17 = [13323, 24872, 34883, 43562, 51086, 57608, 63261, 68163, 72411, 76094, 79287, 82055, 84454, 86534, 88337, 89900, 91255, 92429, 93448, 94330, 95095, 95759, 96334, 96832, 97264, 97639, 97964, 98245, 98489, 98701, 98884, 99043, 99181, 99300, 99404, 99494, 99571, 99639, 99697, 99748, 99792, 99830, 99863, 99892, 99916, 99938, 99957, 99973, 99987, 99999];
var tab51jo17 = [13321, 24869, 34880, 43558, 51081, 57602, 63255, 68156, 72404, 76087, 79279, 82047, 84446, 86525, 88328, 89891, 91246, 92420, 93438, 94321, 95086, 95749, 96324, 96823, 97255, 97629, 97954, 98235, 98479, 98691, 98874, 99033, 99171, 99290, 99394, 99484, 99561, 99629, 99687, 99738, 99782, 99820, 99853, 99882, 99906, 99928, 99947, 99963, 99977, 99989, 99999];
var tab52jo17 = [13320, 24867, 34876, 43553, 51075, 57596, 63249, 68149, 72397, 76079, 79271, 82038, 84437, 86517, 88319, 89882, 91237, 92411, 93429, 94311, 95076, 95740, 96314, 96813, 97245, 97619, 97944, 98225, 98469, 98681, 98864, 99023, 99161, 99280, 99384, 99474, 99551, 99619, 99677, 99728, 99772, 99810, 99843, 99872, 99896, 99918, 99937, 99953, 99967, 99979, 99989, 99999];
var tab53jo17 = [13319, 24865, 34874, 43550, 51071, 57592, 63244, 68143, 72391, 76073, 79265, 82032, 84430, 86510, 88312, 89875, 91229, 92404, 93421, 94304, 95069, 95732, 96307, 96805, 97237, 97612, 97936, 98218, 98461, 98673, 98856, 99015, 99153, 99272, 99376, 99466, 99543, 99611, 99669, 99720, 99764, 99802, 99835, 99864, 99888, 99910, 99929, 99945, 99959, 99971, 99981, 99991, 99999];
var tab54jo17 = [13318, 24863, 34871, 43547, 51068, 57588, 63240, 68139, 72387, 76068, 79260, 82027, 84425, 86505, 88307, 89869, 91224, 92398, 93416, 94298, 95063, 95726, 96301, 96799, 97231, 97606, 97930, 98212, 98456, 98667, 98850, 99009, 99147, 99266, 99370, 99460, 99537, 99605, 99663, 99714, 99758, 99796, 99829, 99858, 99882, 99904, 99923, 99939, 99953, 99965, 99975, 99985, 99993, 99999];
var tab55jo17 = [13317, 24862, 34869, 43545, 51065, 57585, 63236, 68135, 72382, 76064, 79255, 82022, 84420, 86499, 88302, 89864, 91218, 92392, 93410, 94293, 95057, 95720, 96295, 96793, 97225, 97600, 97924, 98206, 98450, 98661, 98844, 99003, 99141, 99260, 99364, 99454, 99531, 99599, 99657, 99708, 99752, 99790, 99823, 99852, 99876, 99898, 99917, 99933, 99947, 99959, 99969, 99979, 99986, 99993, 99999];
var tab56jo17 = [13317, 24860, 34868, 43543, 51063, 57582, 63233, 68132, 72379, 76060, 79251, 82018, 84416, 86495, 88297, 89860, 91214, 92388, 93406, 94288, 95053, 95716, 96290, 96789, 97221, 97595, 97919, 98201, 98445, 98656, 98839, 98998, 99136, 99255, 99359, 99449, 99527, 99594, 99652, 99703, 99747, 99785, 99818, 99847, 99871, 99893, 99912, 99928, 99942, 99954, 99964, 99974, 99981, 99988, 99994, 99999];
var tab57jo17 = [13316, 24859, 34866, 43540, 51060, 57579, 63230, 68128, 72375, 76056, 79247, 82014, 84412, 86491, 88293, 89855, 91209, 92383, 93401, 94283, 95048, 95711, 96286, 96784, 97216, 97590, 97915, 98196, 98440, 98651, 98835, 98993, 99131, 99251, 99354, 99444, 99522, 99589, 99647, 99698, 99742, 99780, 99813, 99842, 99866, 99888, 99907, 99923, 99937, 99949, 99959, 99969, 99976, 99983, 99989, 99994, 99999];
var tab58jo17 = [13315, 24858, 34864, 43539, 51058, 57577, 63227, 68126, 72372, 76053, 79244, 82010, 84408, 86487, 88289, 89851, 91206, 92380, 93397, 94279, 95044, 95707, 96282, 96780, 97212, 97586, 97911, 98192, 98436, 98647, 98831, 98989, 99127, 99247, 99350, 99440, 99518, 99585, 99643, 99694, 99738, 99776, 99809, 99838, 99862, 99884, 99903, 99919, 99933, 99945, 99955, 99965, 99972, 99979, 99985, 99990, 99995, 99999];
var tab59jo17 = [13315, 24857, 34863, 43537, 51057, 57575, 63225, 68124, 72370, 76051, 79242, 82008, 84406, 86485, 88287, 89849, 91203, 92377, 93394, 94277, 95041, 95704, 96279, 96777, 97209, 97583, 97908, 98189, 98433, 98644, 98828, 98986, 99124, 99244, 99347, 99437, 99515, 99582, 99640, 99691, 99735, 99773, 99806, 99835, 99859, 99881, 99900, 99916, 99930, 99942, 99952, 99962, 99969, 99976, 99982, 99987, 99992, 99996, 99999];
var tab60jo17 = [13315, 24857, 34862, 43536, 51055, 57573, 63223, 68122, 72368, 76049, 79239, 82006, 84403, 86482, 88284, 89846, 91200, 92374, 93392, 94274, 95038, 95701, 96276, 96774, 97206, 97580, 97905, 98186, 98430, 98641, 98825, 98983, 99121, 99241, 99344, 99434, 99512, 99579, 99637, 99688, 99732, 99770, 99803, 99832, 99856, 99878, 99897, 99913, 99927, 99939, 99949, 99959, 99966, 99973, 99979, 99984, 99989, 99993, 99996, 99999];
var tab61jo17 = [13314, 24856, 34861, 43535, 51053, 57571, 63222, 68120, 72366, 76046, 79237, 82003, 84401, 86479, 88281, 89843, 91197, 92371, 93389, 94271, 95036, 95698, 96273, 96771, 97203, 97577, 97902, 98183, 98427, 98638, 98822, 98981, 99118, 99238, 99341, 99431, 99509, 99576, 99634, 99685, 99729, 99767, 99800, 99829, 99854, 99875, 99894, 99910, 99924, 99936, 99946, 99956, 99963, 99970, 99976, 99981, 99986, 99990, 99993, 99996, 99999];
var tab62jo17 = [13314, 24856, 34861, 43534, 51052, 57570, 63220, 68118, 72364, 76045, 79235, 82001, 84399, 86478, 88280, 89842, 91196, 92369, 93387, 94269, 95034, 95697, 96271, 96769, 97201, 97575, 97900, 98181, 98425, 98636, 98820, 98979, 99116, 99236, 99339, 99429, 99507, 99574, 99632, 99683, 99727, 99765, 99798, 99827, 99852, 99873, 99892, 99908, 99922, 99934, 99944, 99954, 99961, 99968, 99974, 99979, 99984, 99988, 99991, 99994, 99997, 99999];
var tab63jo17 = [13314, 24855, 34860, 43533, 51051, 57569, 63219, 68117, 72363, 76043, 79234, 82000, 84397, 86476, 88278, 89840, 91194, 92368, 93385, 94267, 95032, 95695, 96269, 96767, 97199, 97573, 97898, 98179, 98423, 98634, 98818, 98977, 99114, 99234, 99337, 99427, 99505, 99572, 99630, 99681, 99725, 99763, 99796, 99825, 99850, 99871, 99890, 99906, 99920, 99932, 99942, 99952, 99959, 99966, 99972, 99977, 99982, 99986, 99989, 99992, 99995, 99997, 99999];
var tab64jo17 = [13314, 24855, 34860, 43533, 51051, 57568, 63218, 68116, 72362, 76043, 79233, 81999, 84397, 86475, 88277, 89839, 91193, 92367, 93384, 94266, 95031, 95694, 96268, 96766, 97198, 97572, 97897, 98178, 98422, 98633, 98817, 98976, 99113, 99233, 99336, 99426, 99504, 99571, 99629, 99680, 99724, 99762, 99795, 99824, 99849, 99870, 99889, 99905, 99919, 99931, 99941, 99951, 99959, 99965, 99971, 99976, 99981, 99985, 99988, 99991, 99994, 99996, 99998, 99999];
var tab65jo17 = [13313, 24854, 34859, 43532, 51050, 57567, 63217, 68115, 72360, 76041, 79232, 81997, 84395, 86473, 88275, 89837, 91191, 92365, 93382, 94264, 95029, 95692, 96266, 96764, 97196, 97571, 97895, 98176, 98420, 98632, 98815, 98974, 99111, 99231, 99334, 99424, 99502, 99569, 99627, 99678, 99722, 99760, 99793, 99822, 99847, 99868, 99887, 99903, 99917, 99929, 99939, 99949, 99957, 99963, 99969, 99974, 99979, 99983, 99986, 99989, 99992, 99994, 99996, 99997, 99999];
var tab66jo17 = [13313, 24854, 34859, 43531, 51049, 57567, 63216, 68114, 72360, 76040, 79231, 81997, 84394, 86473, 88274, 89836, 91190, 92364, 93381, 94263, 95028, 95691, 96265, 96763, 97195, 97570, 97894, 98175, 98419, 98631, 98814, 98973, 99110, 99230, 99333, 99423, 99501, 99568, 99626, 99677, 99721, 99759, 99792, 99821, 99846, 99867, 99886, 99902, 99916, 99928, 99938, 99948, 99956, 99962, 99968, 99973, 99978, 99982, 99985, 99988, 99991, 99993, 99995, 99996, 99998, 99999];
var tab67jo17 = [13313, 24854, 34858, 43531, 51049, 57566, 63216, 68113, 72359, 76039, 79230, 81996, 84393, 86472, 88273, 89835, 91189, 92363, 93380, 94262, 95027, 95690, 96264, 96762, 97194, 97569, 97893, 98174, 98418, 98630, 98813, 98972, 99109, 99229, 99332, 99422, 99500, 99567, 99625, 99676, 99720, 99758, 99791, 99820, 99845, 99866, 99885, 99901, 99915, 99927, 99937, 99947, 99955, 99961, 99967, 99972, 99977, 99981, 99984, 99987, 99990, 99992, 99994, 99995, 99997, 99998, 99999];
var tab68jo17 = [13313, 24854, 34858, 43530, 51048, 57566, 63215, 68113, 72358, 76039, 79229, 81995, 84392, 86471, 88272, 89834, 91188, 92362, 93379, 94261, 95026, 95689, 96263, 96762, 97193, 97568, 97892, 98173, 98417, 98629, 98812, 98971, 99108, 99228, 99331, 99421, 99499, 99566, 99624, 99675, 99719, 99757, 99790, 99819, 99844, 99865, 99884, 99900, 99914, 99926, 99936, 99946, 99954, 99960, 99966, 99971, 99976, 99980, 99983, 99986, 99989, 99991, 99993, 99994, 99996, 99997, 99998, 99999];
var tab69jo17 = [13313, 24853, 34857, 43530, 51048, 57565, 63215, 68112, 72358, 76038, 79228, 81994, 84392, 86470, 88272, 89833, 91187, 92361, 93379, 94261, 95025, 95688, 96262, 96761, 97192, 97567, 97891, 98172, 98416, 98628, 98811, 98970, 99107, 99227, 99330, 99420, 99498, 99565, 99623, 99674, 99718, 99756, 99789, 99818, 99843, 99864, 99883, 99899, 99913, 99925, 99935, 99945, 99953, 99959, 99965, 99970, 99975, 99979, 99982, 99985, 99988, 99990, 99992, 99993, 99995, 99996, 99997, 99998, 99999];
var tab70jo17 = [13313, 24853, 34857, 43530, 51048, 57565, 63215, 68112, 72358, 76038, 79228, 81994, 84392, 86470, 88272, 89833, 91187, 92361, 93379, 94261, 95025, 95688, 96262, 96761, 97192, 97567, 97891, 98172, 98416, 98628, 98811, 98970, 99107, 99227, 99330, 99420, 99498, 99565, 99623, 99674, 99718, 99756, 99789, 99818, 99843, 99864, 99883, 99899, 99913, 99925, 99935, 99945, 99953, 99959, 99965, 99970, 99975, 99979, 99982, 99985, 99988, 99990, 99992, 99993, 99995, 99996, 99997, 99998, 99999, 99999];
var tab71jo17 = [13313, 24853, 34857, 43529, 51047, 57564, 63214, 68111, 72357, 76037, 79228, 81993, 84391, 86469, 88271, 89833, 91186, 92360, 93378, 94260, 95024, 95687, 96262, 96760, 97191, 97566, 97890, 98171, 98415, 98627, 98810, 98969, 99106, 99226, 99329, 99419, 99497, 99564, 99622, 99673, 99717, 99755, 99788, 99817, 99842, 99863, 99882, 99898, 99912, 99924, 99934, 99944, 99952, 99958, 99964, 99969, 99974, 99978, 99981, 99984, 99987, 99989, 99991, 99992, 99994, 99995, 99996, 99997, 99998, 99998, 99999];
var tab72jo17 = [13312, 24853, 34857, 43529, 51047, 57564, 63213, 68111, 72356, 76036, 79227, 81992, 84390, 86468, 88270, 89832, 91186, 92359, 93377, 94259, 95023, 95686, 96261, 96759, 97190, 97565, 97889, 98170, 98414, 98626, 98809, 98968, 99105, 99225, 99328, 99418, 99496, 99563, 99621, 99672, 99716, 99754, 99787, 99816, 99841, 99862, 99881, 99897, 99911, 99923, 99933, 99943, 99951, 99957, 99963, 99968, 99973, 99977, 99980, 99983, 99986, 99988, 99990, 99991, 99993, 99994, 99995, 99996, 99997, 99997, 99998, 99999];
var tab73jo17 = [13312, 24853, 34857, 43529, 51047, 57564, 63213, 68111, 72356, 76036, 79227, 81992, 84390, 86468, 88270, 89832, 91186, 92359, 93377, 94259, 95023, 95686, 96261, 96759, 97190, 97565, 97889, 98170, 98414, 98626, 98809, 98968, 99105, 99225, 99328, 99418, 99496, 99563, 99621, 99672, 99716, 99754, 99787, 99816, 99841, 99862, 99881, 99897, 99911, 99923, 99933, 99943, 99951, 99957, 99963, 99968, 99973, 99977, 99980, 99983, 99986, 99988, 99990, 99991, 99993, 99994, 99995, 99996, 99997, 99997, 99998, 99999, 99999];
var tab74jo17 = [13312, 24853, 34857, 43529, 51047, 57564, 63213, 68111, 72356, 76036, 79227, 81992, 84390, 86468, 88270, 89832, 91186, 92359, 93377, 94259, 95023, 95686, 96261, 96759, 97190, 97565, 97889, 98170, 98414, 98626, 98809, 98968, 99105, 99225, 99328, 99418, 99496, 99563, 99621, 99672, 99716, 99754, 99787, 99816, 99841, 99862, 99881, 99897, 99911, 99923, 99933, 99943, 99951, 99957, 99963, 99968, 99973, 99977, 99980, 99983, 99986, 99988, 99990, 99991, 99993, 99994, 99995, 99996, 99997, 99997, 99998, 99999, 99999, 99999];
var tab75jo17 = [13312, 24853, 34856, 43529, 51046, 57563, 63213, 68110, 72355, 76036, 79226, 81992, 84389, 86467, 88269, 89831, 91185, 92358, 93376, 94258, 95022, 95685, 96260, 96758, 97189, 97564, 97888, 98169, 98413, 98625, 98808, 98967, 99104, 99224, 99327, 99417, 99495, 99562, 99620, 99671, 99715, 99753, 99786, 99815, 99840, 99861, 99880, 99896, 99910, 99922, 99932, 99942, 99950, 99956, 99962, 99967, 99972, 99976, 99979, 99982, 99985, 99987, 99989, 99990, 99992, 99993, 99994, 99995, 99996, 99996, 99997, 99998, 99998, 99998, 99999];
var tab76jo17 = [13312, 24853, 34856, 43529, 51046, 57563, 63213, 68110, 72355, 76036, 79226, 81992, 84389, 86467, 88269, 89831, 91185, 92358, 93376, 94258, 95022, 95685, 96260, 96758, 97189, 97564, 97888, 98169, 98413, 98625, 98808, 98967, 99104, 99224, 99327, 99417, 99495, 99562, 99620, 99671, 99715, 99753, 99786, 99815, 99840, 99861, 99880, 99896, 99910, 99922, 99932, 99942, 99950, 99956, 99962, 99967, 99972, 99976, 99979, 99982, 99985, 99987, 99989, 99990, 99992, 99993, 99994, 99995, 99996, 99996, 99997, 99998, 99998, 99998, 99999, 99999];
var tab77jo17 = [13312, 24853, 34856, 43529, 51046, 57563, 63213, 68110, 72355, 76036, 79226, 81992, 84389, 86467, 88269, 89831, 91185, 92358, 93376, 94258, 95022, 95685, 96260, 96758, 97189, 97564, 97888, 98169, 98413, 98625, 98808, 98967, 99104, 99224, 99327, 99417, 99495, 99562, 99620, 99671, 99715, 99753, 99786, 99815, 99840, 99861, 99880, 99896, 99910, 99922, 99932, 99942, 99950, 99956, 99962, 99967, 99972, 99976, 99979, 99982, 99985, 99987, 99989, 99990, 99992, 99993, 99994, 99995, 99996, 99996, 99997, 99998, 99998, 99998, 99999, 99999, 99999];
var tab78jo17 = [13312, 24852, 34856, 43528, 51046, 57563, 63212, 68109, 72355, 76035, 79225, 81991, 84388, 86466, 88268, 89830, 91184, 92357, 93375, 94257, 95021, 95684, 96259, 96757, 97188, 97563, 97887, 98168, 98412, 98624, 98807, 98966, 99103, 99223, 99326, 99416, 99494, 99561, 99619, 99670, 99714, 99752, 99785, 99814, 99839, 99860, 99879, 99895, 99909, 99921, 99931, 99941, 99949, 99955, 99961, 99966, 99971, 99975, 99978, 99981, 99984, 99986, 99988, 99989, 99991, 99992, 99993, 99994, 99995, 99995, 99996, 99997, 99997, 99997, 99998, 99998, 99998, 99999];
var tab79jo17 = [13312, 24852, 34856, 43528, 51046, 57563, 63212, 68109, 72355, 76035, 79225, 81991, 84388, 86466, 88268, 89830, 91184, 92357, 93375, 94257, 95021, 95684, 96259, 96757, 97188, 97563, 97887, 98168, 98412, 98624, 98807, 98966, 99103, 99223, 99326, 99416, 99494, 99561, 99619, 99670, 99714, 99752, 99785, 99814, 99839, 99860, 99879, 99895, 99909, 99921, 99931, 99941, 99949, 99955, 99961, 99966, 99971, 99975, 99978, 99981, 99984, 99986, 99988, 99989, 99991, 99992, 99993, 99994, 99995, 99995, 99996, 99997, 99997, 99997, 99998, 99998, 99998, 99999, 99999];
var tab80jo17 = [13312, 24852, 34856, 43528, 51046, 57563, 63212, 68109, 72355, 76035, 79225, 81991, 84388, 86466, 88268, 89830, 91184, 92357, 93375, 94257, 95021, 95684, 96259, 96757, 97188, 97563, 97887, 98168, 98412, 98624, 98807, 98966, 99103, 99223, 99326, 99416, 99494, 99561, 99619, 99670, 99714, 99752, 99785, 99814, 99839, 99860, 99879, 99895, 99909, 99921, 99931, 99941, 99949, 99955, 99961, 99966, 99971, 99975, 99978, 99981, 99984, 99986, 99988, 99989, 99991, 99992, 99993, 99994, 99995, 99995, 99996, 99997, 99997, 99997, 99998, 99998, 99998, 99999, 99999, 99999];
var tab81jo17 = [13312, 24852, 34856, 43528, 51046, 57563, 63212, 68109, 72355, 76035, 79225, 81991, 84388, 86466, 88268, 89830, 91184, 92357, 93375, 94257, 95021, 95684, 96259, 96757, 97188, 97563, 97887, 98168, 98412, 98624, 98807, 98966, 99103, 99223, 99326, 99416, 99494, 99561, 99619, 99670, 99714, 99752, 99785, 99814, 99839, 99860, 99879, 99895, 99909, 99921, 99931, 99941, 99949, 99955, 99961, 99966, 99971, 99975, 99978, 99981, 99984, 99986, 99988, 99989, 99991, 99992, 99993, 99994, 99995, 99995, 99996, 99997, 99997, 99997, 99998, 99998, 99998, 99999, 99999, 99999, 99999];
var tab82jo17 = [13312, 24852, 34856, 43528, 51046, 57563, 63212, 68109, 72355, 76035, 79225, 81991, 84388, 86466, 88268, 89830, 91184, 92357, 93375, 94257, 95021, 95684, 96259, 96757, 97188, 97563, 97887, 98168, 98412, 98624, 98807, 98966, 99103, 99223, 99326, 99416, 99494, 99561, 99619, 99670, 99714, 99752, 99785, 99814, 99839, 99860, 99879, 99895, 99909, 99921, 99931, 99941, 99949, 99955, 99961, 99966, 99971, 99975, 99978, 99981, 99984, 99986, 99988, 99989, 99991, 99992, 99993, 99994, 99995, 99995, 99996, 99997, 99997, 99997, 99998, 99998, 99998, 99999, 99999, 99999, 99999, 99999];
var tab83jo17 = [13312, 24852, 34856, 43528, 51046, 57563, 63212, 68109, 72355, 76035, 79225, 81991, 84388, 86466, 88268, 89830, 91184, 92357, 93375, 94257, 95021, 95684, 96259, 96757, 97188, 97563, 97887, 98168, 98412, 98624, 98807, 98966, 99103, 99223, 99326, 99416, 99494, 99561, 99619, 99670, 99714, 99752, 99785, 99814, 99839, 99860, 99879, 99895, 99909, 99921, 99931, 99941, 99949, 99955, 99961, 99966, 99971, 99975, 99978, 99981, 99984, 99986, 99988, 99989, 99991, 99992, 99993, 99994, 99995, 99995, 99996, 99997, 99997, 99997, 99998, 99998, 99998, 99999, 99999, 99999, 99999, 99999, 99999];
var tab84jo17 = [13312, 24852, 34856, 43528, 51046, 57563, 63212, 68109, 72355, 76035, 79225, 81991, 84388, 86466, 88268, 89830, 91184, 92357, 93375, 94257, 95021, 95684, 96259, 96757, 97188, 97563, 97887, 98168, 98412, 98624, 98807, 98966, 99103, 99223, 99326, 99416, 99494, 99561, 99619, 99670, 99714, 99752, 99785, 99814, 99839, 99860, 99879, 99895, 99909, 99921, 99931, 99941, 99949, 99955, 99961, 99966, 99971, 99975, 99978, 99981, 99984, 99986, 99988, 99989, 99991, 99992, 99993, 99994, 99995, 99995, 99996, 99997, 99997, 99997, 99998, 99998, 99998, 99999, 99999, 99999, 99999, 99999, 99999, 99999];
var tab85jo17 = [13312, 24852, 34856, 43528, 51046, 57563, 63212, 68109, 72355, 76035, 79225, 81991, 84388, 86466, 88268, 89830, 91184, 92357, 93375, 94257, 95021, 95684, 96259, 96757, 97188, 97563, 97887, 98168, 98412, 98624, 98807, 98966, 99103, 99223, 99326, 99416, 99494, 99561, 99619, 99670, 99714, 99752, 99785, 99814, 99839, 99860, 99879, 99895, 99909, 99921, 99931, 99941, 99949, 99955, 99961, 99966, 99971, 99975, 99978, 99981, 99984, 99986, 99988, 99989, 99991, 99992, 99993, 99994, 99995, 99995, 99996, 99997, 99997, 99997, 99998, 99998, 99998, 99999, 99999, 99999, 99999, 99999, 99999, 99999, 99999];
var tab86jo17 = [13312, 24852, 34856, 43528, 51046, 57563, 63212, 68109, 72355, 76035, 79225, 81991, 84388, 86466, 88268, 89830, 91184, 92357, 93375, 94257, 95021, 95684, 96259, 96757, 97188, 97563, 97887, 98168, 98412, 98624, 98807, 98966, 99103, 99223, 99326, 99416, 99494, 99561, 99619, 99670, 99714, 99752, 99785, 99814, 99839, 99860, 99879, 99895, 99909, 99921, 99931, 99941, 99949, 99955, 99961, 99966, 99971, 99975, 99978, 99981, 99984, 99986, 99988, 99989, 99991, 99992, 99993, 99994, 99995, 99995, 99996, 99997, 99997, 99997, 99998, 99998, 99998, 99999, 99999, 99999, 99999, 99999, 99999, 99999, 99999, 100000];
var tab87jo17 = [13312, 24852, 34856, 43528, 51046, 57563, 63212, 68109, 72355, 76035, 79225, 81991, 84388, 86466, 88268, 89830, 91184, 92357, 93375, 94257, 95021, 95684, 96259, 96757, 97188, 97563, 97887, 98168, 98412, 98624, 98807, 98966, 99103, 99223, 99326, 99416, 99494, 99561, 99619, 99670, 99714, 99752, 99785, 99814, 99839, 99860, 99879, 99895, 99909, 99921, 99931, 99941, 99949, 99955, 99961, 99966, 99971, 99975, 99978, 99981, 99984, 99986, 99988, 99989, 99991, 99992, 99993, 99994, 99995, 99995, 99996, 99997, 99997, 99997, 99998, 99998, 99998, 99999, 99999, 99999, 99999, 99999, 99999, 99999, 99999, 100000, 100000];
var tab88jo17 = [13312, 24852, 34856, 43528, 51046, 57563, 63212, 68109, 72355, 76035, 79225, 81991, 84388, 86466, 88268, 89830, 91184, 92357, 93375, 94257, 95021, 95684, 96259, 96757, 97188, 97563, 97887, 98168, 98412, 98624, 98807, 98966, 99103, 99223, 99326, 99416, 99494, 99561, 99619, 99670, 99714, 99752, 99785, 99814, 99839, 99860, 99879, 99895, 99909, 99921, 99931, 99941, 99949, 99955, 99961, 99966, 99971, 99975, 99978, 99981, 99984, 99986, 99988, 99989, 99991, 99992, 99993, 99994, 99995, 99995, 99996, 99997, 99997, 99997, 99998, 99998, 99998, 99999, 99999, 99999, 99999, 99999, 99999, 99999, 99999, 100000, 100000, 100000];
var tab89jo17 = [13312, 24852, 34856, 43528, 51046, 57563, 63212, 68109, 72355, 76035, 79225, 81991, 84388, 86466, 88268, 89830, 91184, 92357, 93375, 94257, 95021, 95684, 96259, 96757, 97188, 97563, 97887, 98168, 98412, 98624, 98807, 98966, 99103, 99223, 99326, 99416, 99494, 99561, 99619, 99670, 99714, 99752, 99785, 99814, 99839, 99860, 99879, 99895, 99909, 99921, 99931, 99941, 99949, 99955, 99961, 99966, 99971, 99975, 99978, 99981, 99984, 99986, 99988, 99989, 99991, 99992, 99993, 99994, 99995, 99995, 99996, 99997, 99997, 99997, 99998, 99998, 99998, 99999, 99999, 99999, 99999, 99999, 99999, 99999, 99999, 100000, 100000, 100000, 100000];
var tab90jo17 = [13312, 24852, 34856, 43528, 51046, 57563, 63212, 68109, 72355, 76035, 79225, 81991, 84388, 86466, 88268, 89830, 91184, 92357, 93375, 94257, 95021, 95684, 96259, 96757, 97188, 97563, 97887, 98168, 98412, 98624, 98807, 98966, 99103, 99223, 99326, 99416, 99494, 99561, 99619, 99670, 99714, 99752, 99785, 99814, 99839, 99860, 99879, 99895, 99909, 99921, 99931, 99941, 99949, 99955, 99961, 99966, 99971, 99975, 99978, 99981, 99984, 99986, 99988, 99989, 99991, 99992, 99993, 99994, 99995, 99995, 99996, 99997, 99997, 99997, 99998, 99998, 99998, 99999, 99999, 99999, 99999, 99999, 99999, 99999, 99999, 100000, 100000, 100000, 100000, 100000];
var tab91jo17 = [13312, 24852, 34856, 43528, 51046, 57563, 63212, 68109, 72355, 76035, 79225, 81991, 84388, 86466, 88268, 89830, 91184, 92357, 93375, 94257, 95021, 95684, 96259, 96757, 97188, 97563, 97887, 98168, 98412, 98624, 98807, 98966, 99103, 99223, 99326, 99416, 99494, 99561, 99619, 99670, 99714, 99752, 99785, 99814, 99839, 99860, 99879, 99895, 99909, 99921, 99931, 99941, 99949, 99955, 99961, 99966, 99971, 99975, 99978, 99981, 99984, 99986, 99988, 99989, 99991, 99992, 99993, 99994, 99995, 99995, 99996, 99997, 99997, 99997, 99998, 99998, 99998, 99999, 99999, 99999, 99999, 99999, 99999, 99999, 99999, 100000, 100000, 100000, 100000, 100000, 100000];
var tab92jo17 = [13312, 24852, 34856, 43528, 51046, 57563, 63212, 68109, 72355, 76035, 79225, 81991, 84388, 86466, 88268, 89830, 91184, 92357, 93375, 94257, 95021, 95684, 96259, 96757, 97188, 97563, 97887, 98168, 98412, 98624, 98807, 98966, 99103, 99223, 99326, 99416, 99494, 99561, 99619, 99670, 99714, 99752, 99785, 99814, 99839, 99860, 99879, 99895, 99909, 99921, 99931, 99941, 99949, 99955, 99961, 99966, 99971, 99975, 99978, 99981, 99984, 99986, 99988, 99989, 99991, 99992, 99993, 99994, 99995, 99995, 99996, 99997, 99997, 99997, 99998, 99998, 99998, 99999, 99999, 99999, 99999, 99999, 99999, 99999, 99999, 100000, 100000, 100000, 100000, 100000, 100000, 100000];
var tab93jo17 = [13312, 24852, 34856, 43528, 51046, 57563, 63212, 68109, 72355, 76035, 79225, 81991, 84388, 86466, 88268, 89830, 91184, 92357, 93375, 94257, 95021, 95684, 96259, 96757, 97188, 97563, 97887, 98168, 98412, 98624, 98807, 98966, 99103, 99223, 99326, 99416, 99494, 99561, 99619, 99670, 99714, 99752, 99785, 99814, 99839, 99860, 99879, 99895, 99909, 99921, 99931, 99941, 99949, 99955, 99961, 99966, 99971, 99975, 99978, 99981, 99984, 99986, 99988, 99989, 99991, 99992, 99993, 99994, 99995, 99995, 99996, 99997, 99997, 99997, 99998, 99998, 99998, 99999, 99999, 99999, 99999, 99999, 99999, 99999, 99999, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000];
var tab94jo17 = [13312, 24852, 34856, 43528, 51046, 57563, 63212, 68109, 72355, 76035, 79225, 81991, 84388, 86466, 88268, 89830, 91184, 92357, 93375, 94257, 95021, 95684, 96259, 96757, 97188, 97563, 97887, 98168, 98412, 98624, 98807, 98966, 99103, 99223, 99326, 99416, 99494, 99561, 99619, 99670, 99714, 99752, 99785, 99814, 99839, 99860, 99879, 99895, 99909, 99921, 99931, 99941, 99949, 99955, 99961, 99966, 99971, 99975, 99978, 99981, 99984, 99986, 99988, 99989, 99991, 99992, 99993, 99994, 99995, 99995, 99996, 99997, 99997, 99997, 99998, 99998, 99998, 99999, 99999, 99999, 99999, 99999, 99999, 99999, 99999, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000];
var tab95jo17 = [13312, 24852, 34856, 43528, 51046, 57563, 63212, 68109, 72355, 76035, 79225, 81991, 84388, 86466, 88268, 89830, 91184, 92357, 93375, 94257, 95021, 95684, 96259, 96757, 97188, 97563, 97887, 98168, 98412, 98624, 98807, 98966, 99103, 99223, 99326, 99416, 99494, 99561, 99619, 99670, 99714, 99752, 99785, 99814, 99839, 99860, 99879, 99895, 99909, 99921, 99931, 99941, 99949, 99955, 99961, 99966, 99971, 99975, 99978, 99981, 99984, 99986, 99988, 99989, 99991, 99992, 99993, 99994, 99995, 99995, 99996, 99997, 99997, 99997, 99998, 99998, 99998, 99999, 99999, 99999, 99999, 99999, 99999, 99999, 99999, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000];
var tab96jo17 = [13312, 24852, 34856, 43528, 51046, 57563, 63212, 68109, 72355, 76035, 79225, 81991, 84388, 86466, 88268, 89830, 91184, 92357, 93375, 94257, 95021, 95684, 96259, 96757, 97188, 97563, 97887, 98168, 98412, 98624, 98807, 98966, 99103, 99223, 99326, 99416, 99494, 99561, 99619, 99670, 99714, 99752, 99785, 99814, 99839, 99860, 99879, 99895, 99909, 99921, 99931, 99941, 99949, 99955, 99961, 99966, 99971, 99975, 99978, 99981, 99984, 99986, 99988, 99989, 99991, 99992, 99993, 99994, 99995, 99995, 99996, 99997, 99997, 99997, 99998, 99998, 99998, 99999, 99999, 99999, 99999, 99999, 99999, 99999, 99999, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000];
var tab97jo17 = [13312, 24852, 34856, 43528, 51046, 57563, 63212, 68109, 72355, 76035, 79225, 81991, 84388, 86466, 88268, 89830, 91184, 92357, 93375, 94257, 95021, 95684, 96259, 96757, 97188, 97563, 97887, 98168, 98412, 98624, 98807, 98966, 99103, 99223, 99326, 99416, 99494, 99561, 99619, 99670, 99714, 99752, 99785, 99814, 99839, 99860, 99879, 99895, 99909, 99921, 99931, 99941, 99949, 99955, 99961, 99966, 99971, 99975, 99978, 99981, 99984, 99986, 99988, 99989, 99991, 99992, 99993, 99994, 99995, 99995, 99996, 99997, 99997, 99997, 99998, 99998, 99998, 99999, 99999, 99999, 99999, 99999, 99999, 99999, 99999, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000];
var tab98jo17 = [13312, 24852, 34856, 43528, 51046, 57563, 63212, 68109, 72355, 76035, 79225, 81991, 84388, 86466, 88268, 89830, 91184, 92357, 93375, 94257, 95021, 95684, 96259, 96757, 97188, 97563, 97887, 98168, 98412, 98624, 98807, 98966, 99103, 99223, 99326, 99416, 99494, 99561, 99619, 99670, 99714, 99752, 99785, 99814, 99839, 99860, 99879, 99895, 99909, 99921, 99931, 99941, 99949, 99955, 99961, 99966, 99971, 99975, 99978, 99981, 99984, 99986, 99988, 99989, 99991, 99992, 99993, 99994, 99995, 99995, 99996, 99997, 99997, 99997, 99998, 99998, 99998, 99999, 99999, 99999, 99999, 99999, 99999, 99999, 99999, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000];
var tab99jo17 = [13312, 24852, 34856, 43528, 51046, 57563, 63212, 68109, 72355, 76035, 79225, 81991, 84388, 86466, 88268, 89830, 91184, 92357, 93375, 94257, 95021, 95684, 96259, 96757, 97188, 97563, 97887, 98168, 98412, 98624, 98807, 98966, 99103, 99223, 99326, 99416, 99494, 99561, 99619, 99670, 99714, 99752, 99785, 99814, 99839, 99860, 99879, 99895, 99909, 99921, 99931, 99941, 99949, 99955, 99961, 99966, 99971, 99975, 99978, 99981, 99984, 99986, 99988, 99989, 99991, 99992, 99993, 99994, 99995, 99995, 99996, 99997, 99997, 99997, 99998, 99998, 99998, 99999, 99999, 99999, 99999, 99999, 99999, 99999, 99999, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000];
var tab100jo17 = [13312, 24852, 34856, 43528, 51046, 57563, 63212, 68109, 72355, 76035, 79225, 81991, 84388, 86466, 88268, 89830, 91184, 92357, 93375, 94257, 95021, 95684, 96259, 96757, 97188, 97563, 97887, 98168, 98412, 98624, 98807, 98966, 99103, 99223, 99326, 99416, 99494, 99561, 99619, 99670, 99714, 99752, 99785, 99814, 99839, 99860, 99879, 99895, 99909, 99921, 99931, 99941, 99949, 99955, 99961, 99966, 99971, 99975, 99978, 99981, 99984, 99986, 99988, 99989, 99991, 99992, 99993, 99994, 99995, 99995, 99996, 99997, 99997, 99997, 99998, 99998, 99998, 99999, 99999, 99999, 99999, 99999, 99999, 99999, 99999, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000];
var tab101jo17 = [13312, 24852, 34856, 43528, 51046, 57563, 63212, 68109, 72355, 76035, 79225, 81991, 84388, 86466, 88268, 89830, 91184, 92357, 93375, 94257, 95021, 95684, 96259, 96757, 97188, 97563, 97887, 98168, 98412, 98624, 98807, 98966, 99103, 99223, 99326, 99416, 99494, 99561, 99619, 99670, 99714, 99752, 99785, 99814, 99839, 99860, 99879, 99895, 99909, 99921, 99931, 99941, 99949, 99955, 99961, 99966, 99971, 99975, 99
Cinq minutes de rire pour un adulte, durent une éternité pour un enfant.

dimanche, septembre 10, 2017

Projets pour la rentrée 2017, un essaie mathématique.


Projets pour la rentrée 2017, un essaie mathématique.

Donnée 1 :
Le terme mathématique trouve son origine, il y a plusieurs milliers d’année dans la Grèce antique quand celle-ci sépara la logique pure, la logique à la recherche d’un absolue et la logique appliquée, la logique qui s ‘adapte aux connaissances du moment. Cela ne veut pas dire quand d’autres langages ou perceptions du monde, il n’y avait pas de techniques ou moyens pour décrire, puisque nous trouvons dans les grottes préhistoriques des techniques de communications très inspirées.

Donnée 2 :
Le monde qui nous entoure est multidirectionnel, plusieurs causes peuvent avoir le même effet, et la même cause peut avoir des effets différents selon son environnement. Notre entendement est multidirectionnel, nous analysons en permanence plusieurs événements aux lois différentes, en même temps.
Donnée 3 :
Pour pouvoir construire nos pensées, nous avons besoin d’un langage multidirectionnel pour faire le lien entre le monde qui nous entoure et les événements qui nous entourent. La naissance du terme mathématique trouve son origine dans un langage unidirectionnel, un langage qui n’est pas adapté à la raison.

Donnée 4 :
D’une mauvaise interface linguistique, corrigée en multidirectionnel, la grèce antique a mis en équilibre la logique pure, et ses dérivées en logiques appliquée. Le schéma est celui-ci, en logique pure, nous avons besoin d’un terme pour décrire l’art d’apprendre à apprendre. Ceci est un absolue, mais comme cet absolue dépend de l’entendement, il devient un terme variant, car il va dépendre des langages et des connaissances. Il devient de la logique appliquée, il devient une science, quelque chose qui change tout le temps. Cette logique appliquée de premier niveau devient l’art de d écrire le monde pour pouvoir apprendre à apprendre. Mais cette science ne peut être utilisée seule, d’où la naissance d’une logique appliquée de deuxième niveau qui va être nommée mathématique.

Donnée 5 :
Nous trouvons dans notre enseignement l’art du multidirectionnel qui compense le langage unidirectionnel. Que ce soit dans l’utilisation d’une encyclopédie en opposition aux dictionnaire, que ce soit dans la technique utilisé par le plus grand archiviste Paul Janet, que ce soit dans la déclaration de 1793, décrit comme le plus grand moment historique par Victor Hugo

Donnée 6 :
J’ai créé un format audio, qui n’utilise pas d’algèbre, pas de fréquence, pas de géométrie, ce format met en équilibre les lois que nous trouvons dans les différentes dimensions des phénomènes physiques.

Donnée 7 :
J’ai créé un format vidéo, qui n’utilise pas d’algèbre, pas de fréquence, pas de géométrie, ce format met en équilibre les lois que nous trouvons dans les différentes dimensions des phénomènes physiques.

Considérant les 7 données énoncées, l’ambition de la rentrée 2017 est de réunir une équipe pour déployer une technique de communication multidirectionnelle en utilisant comme support les vidéos interactives générées avec Lecjoa. Le projet n’est pas que logiciel, mais aussi matériel, par la création d’un nouvelle technologie de carte son accompagnant un nouveau format vidéo entièrement en HTML. Il s’entend qu’un tel projet ne peut se réaliser qu’en regroupant de nombreux acteurs et c’est là qu’il y a le plus de travail.

Le deuxième est d’inclure un générateur de son dans la partie génératrice de vidéo multidirectionnelle de l’Add-on Lecjoa. https://addons.mozilla.org/en-US/firefox/addon/lecjoa/

Le troisième est de créer un MOOC pour que les musiciens puissent créer leur propre instrument de musique sur la base d’une vidéo multidirectionnelle. Ce MOOC est destiné aux artistes fréquentant les associations du libre. http://www.letime.net/lecjo/wiki/fr/mooc_3.html



Cinq minutes de rire pour un adulte, durent une éternité pour un enfant.

vendredi, juillet 14, 2017

Construction du MOOC Lecjoa 3

Le MOOC Lecjoa 3 version Montpel'libre a pour but de montrer comment construire son propre instrument de musique vidéo

C'est une vidéo interactive qui a la propriété d'être aussi un instrument de musique

Sa logique appliquée est construite sur des briques visuelles et des briques acoustiques générées par l'imagination (une technique sans algèbre, sans géométrie, sans les concepts acoustiques du moment, ce ne sont que plusieurs dimensions que nous mettons en équilibre à l'aide de dimensions aux lois différentes). Puis selon comment nous associons les briques nous obtenons toutes les vidéo instrumentales imaginables.

Sa logique pure est d'apporter un langage multidirectionnel afin d'avoir un outil adapté entre le monde qui nous entoure qui est multidirectionnel et notre entendement qui est multidirectionnel. En d'autres mots, apprendre à comprendre pour pouvoir apprendre à apprendre sans tromper la raison.

Dans les entrailles du MOOC

Nous prenons comme outil de départ l'Add-on Lecjoa, plus précisément le générateur de vidéo multidirectionnel auquel nous ajoutons une vitesse de variation sans laquelle il ne peut pas y avoir de vidéo. Cela nous donne le fichier HTML.
Dans ce fichier HTML, nous allons ajouter un lien vers le générateur de briques visuelles que nous allons nommer image.js.
Ce qui nous donne le code à placer dans le fichier index.html :
Ce fichier se copie en 2 temps, il faut le placer dans un premier fichier, ensuite ouvrir ce fichier avec le navigateur, et copier le fichier dans le navigateur avant de le placer dans index.html


<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>multidirectional-talk</title> <style> .indique{ cursor:pointer; } .cachemoi { display: none; } .sortdutrou { display: inline; } .action{ position:fixed; height:4%; width:1.4%; margin-top:1%; background:blue; border-right:1px solid #BBB; cursor:pointer; } .action5mn{ position:fixed; height:4%; width:1.4%; margin-top:1%; background:red; border-right:1px solid #BBB; cursor:pointer; } .actionvitesse{ position:fixed; height:4%; width:1.4%; margin-top:1%; background:green; border-right:1px solid #BBB; cursor:pointer; } .actionunivers{ position:fixed; height:4%; width:1.4%; margin-top:1%; background:black; border-right:1px solid #BBB; cursor:pointer; } .actionunivers{ position:fixed; height:4%; width:1.4%; margin-top:2%; border-right:1px solid #BBB; cursor:pointer; } </style> </head> <body> <div id="basewave1"> </div> <div id="basewave2"> </div> <div id="basewave3"> </div> <div id="basewave4"> </div> <div id="basewave5"> </div> <div id="basewave6"> </div> <div id="basewave7"> </div> <div id="basewave8"> </div> <div id="basewave9"> </div> <div id="basewave10"> </div> <div id="basewave11"> </div> <div id="basewave12"> </div> <div id="basewave13"> </div> <div id="basewave14"> </div> <div id="basewave15"> </div> <div id="basewave16"> </div> <div id="fleur1" class="cachemoi" > </div> <!--bis--> <div id="bisfleur1" class="cachemoi" > </div> <!--fin bis--> <div id="fleur2" class="cachemoi" > </div> <!--bis--> <div id="bisfleur2" class="cachemoi" > </div> <!--fin bis--> <div id="fleur3" class="cachemoi"> </div> <!--bis--> <div id="bisfleur3" class="cachemoi" > </div> <!--fin bis--> <div id="fleur4" class="cachemoi"> </div> <!--bis--> <div id="bisfleur4" class="cachemoi" > </div> <!--fin bis--> <div id="fleur5" class="cachemoi"> </div> <!--bis--> <div id="bisfleur5" class="cachemoi" > </div> <!--fin bis--> <div id="fleur6" class="cachemoi" > </div> <!--bis--> <div id="bisfleur6" class="cachemoi" > </div> <!--fin bis--> <div id="fleur7" class="cachemoi"> </div> <!--bis--> <div id="bisfleur7" class="cachemoi" > </div> <!--fin bis--> <div id="fleur8" class="cachemoi"> </div> <!--bis--> <div id="bisfleur8" class="cachemoi" > </div> <!--fin bis--> <div id="fleur9" class="cachemoi" > </div> <!--bis--> <div id="bisfleur9" class="cachemoi" > </div> <!--fin bis--> <div id="fleur10" class="cachemoi" > </div> <!--bis--> <div id="bisfleur10" class="cachemoi" > </div> <!--fin bis--> <div id="fleur11" class="cachemoi"> </div> <!--bis--> <div id="bisfleur11" class="cachemoi" > </div> <!--fin bis--> <div id="fleur12" class="cachemoi"> </div> <!--bis--> <div id="bisfleur12" class="cachemoi" > </div> <!--fin bis--> <div id="fleur13" class="cachemoi"> </div> <!--bis--> <div id="bisfleur13" class="cachemoi" > </div> <!--fin bis--> <div id="fleur14" class="cachemoi" > </div> <!--bis--> <div id="bisfleur14" class="cachemoi" > </div> <!--fin bis--> <div id="fleur15" class="cachemoi"> </div> <!--bis--> <div id="bisfleur15" class="cachemoi" > </div> <!--fin bis--> <div id="fleur16" class="cachemoi"> </div> <!--bis--> <div id="bisfleur16" class="cachemoi" > </div> <!--fin bis--> <!-- bare de temps --> <div class="action" id="actionx1aPress" style="margin-left:1%;"></div> <div class="action" id="actionx2aPress" style="margin-left:3%;"></div> <div class="action" id="actionx3aPress" style="margin-left:5%;"></div> <div class="action" id="actionx4aPress" style="margin-left:7%;"></div> <div class="action" id="actionx5aPress" style="margin-left:9%;"></div> <div class="action" id="actionx6aPress" style="margin-left:11%;"></div> <div class="action" id="actionx7aPress" style="margin-left:13%;"></div> <div class="action" id="actionx8aPress" style="margin-left:15%;"></div> <div class="action" id="actionx9aPress" style="margin-left:17%;"></div> <div class="action" id="actionx10aPress" style="margin-left:19%;"></div> <div class="action" id="actionx11aPress" style="margin-left:21%;"></div> <div class="action" id="actionx12aPress" style="margin-left:23%;"></div> <div class="action" id="actionx13aPress" style="margin-left:25%;"></div> <div class="action" id="actionx14aPress" style="margin-left:27%;"></div> <div class="action" id="actionx15aPress" style="margin-left:29%;"></div> <div class="action" id="actionx16aPress" style="margin-left:31%;"></div> <div class="action5mn" id="actionstopa" style="margin-left:61%;"></div> <div class="action5mn" id="actionrestarta" style="margin-left:63%;"></div> <div class="actionvitesse" id="diminuLeVenta" style="margin-left:67%;">-</div> <div class="actionvitesse" id="acelereLeVenta" style="margin-left:69%;">+</div> <div class="actionunivers" id="action1Pressa" style="margin-left:75%;"></div> <div class="actiontexte" style="margin-left:15%;"><p>time line</p></div> <div class="actiontexte" style="margin-left:61%;"><p>pause</p></div> <div class="actiontexte" style="margin-left:67%;"><p>speed</p></div> <div class="actiontexte" style="margin-left:75%;"><p>multidirectional talk</p></div> <script type="text/javascript" src="image.js"></script> <script type="text/javascript" src="example.js"> </script> <script type="text/javascript" src="tab.js"></script> <script type="text/javascript" src="adapt.js"></script> <script type="text/javascript" src="jom.js"></script> </body> </html> 

Ensuite, nous créons un fichier javascript nommé  example.js dans lequel nous plaçons le code en dessous. Ce code est modifié en supprimant le son, car nous introduiront les briques acoustiques plus tard:


    var persistanceretinienne = 15;
    var nbimg = null;
    var nbboucle = 70;
        var mua1 = 0;
    var vitesseDuVent = 200;

    var ouioui;
    var joueur = 'fleur';
    var joueur1;
    var joueur2;
    var version = 1;
    var joueur3 = 'bisfleur';
    var joueur4;
    var joueur5 = 'bis';
    var joueur7;
    var joueur8;
    var arretimage5mn = 300000;
    var souvenirvitesse = 1000;
    var soud1 = [

];
    var soud2 = [

];
    var soud3 = [

];
    var soud4 = [

];
    var soud5 = [

];
    var soud6 = [

];
    var soud7 = [

];
    var soud8 = [

];
    var soud9 = [

];
    var soud10 = [

];
    var soud11 = [

];
    var soud12 = [

];
    var soud13 = [

];
    var soud14 = [

];
    var soud15 = [

];
    var soud16 = [

];


function acelereLeVent(){

  if(vitesseDuVent>123){
  clearInterval(nbimg);
vitesseDuVent = vitesseDuVent -40;
nbboucle = 70;
lancertout();
  }

}
document.getElementById("acelereLeVenta").addEventListener("click", acelereLeVent);

function diminuLeVent(){
  clearInterval(nbimg);
vitesseDuVent = vitesseDuVent + 300;
nbboucle = 70;
lancertout();
}
document.getElementById("diminuLeVenta").addEventListener("click", diminuLeVent);

function actionstop(){
  clearInterval(nbimg);
vitesseDuVent = arretimage5mn;
nbboucle = 7;
vitesseDuVent = vitesseDuVent +1;
lancertout();
}
document.getElementById("actionstopa").addEventListener("click", actionstop);

function actionrestart(){
  clearInterval(nbimg);
vitesseDuVent = souvenirvitesse;
nbboucle = 7;
vitesseDuVent = vitesseDuVent +1;
lancertout();
}
document.getElementById("actionrestarta").addEventListener("click", actionrestart);

function decoupe2(joueur4){//1
  document.getElementById(joueur4).className = 'cachemoi';
}//3

function decoupe1(joueur2){//1
  document.getElementById(joueur2).className = 'cachemoi';
}//3

function decoupe3(joueur1){//1
  document.getElementById(joueur1).className = 'sortdutrou';
}//3

function restecalme(joueur1,joueur8,ouioui){//1



  if(version == 1){//2

for (var placier = 1; placier < ouioui; placier++) {//3


    joueur2 = joueur + placier;
  document.getElementById(joueur2).className = 'cachemoi';

}//3

for (var placier = ouioui+1; placier < 17; placier++) {//3


    joueur2 = joueur + placier;
  document.getElementById(joueur2).className = 'cachemoi';

}//3

for (var placier = 1; placier < ouioui; placier++) {//3


    joueur4 = joueur3 + placier;
  document.getElementById(joueur4).className = 'cachemoi';

}//3

for (var placier = ouioui+1; placier < 17; placier++) {//3

    joueur4 = joueur3 + placier;
  document.getElementById(joueur4).className = 'cachemoi';


}//3


  document.getElementById(joueur1).className = 'sortdutrou';
  document.getElementById(joueur8).className = 'cachemoi';

}//2



  if(version == 2){//2



for (var placier = 1; placier < ouioui; placier++) {//3


    joueur4 = joueur3 + placier;
  document.getElementById(joueur4).className = 'cachemoi';

}//3

for (var placier = ouioui+1; placier < 17; placier++) {//3

    joueur4 = joueur3 + placier;
  document.getElementById(joueur4).className = 'cachemoi';


}//3

for (var placier = 1; placier < ouioui; placier++) {//3


    joueur2 = joueur + placier;
  document.getElementById(joueur2).className = 'cachemoi';

}//3

for (var placier = ouioui+1; placier < 17; placier++) {//3


    joueur2 = joueur + placier;
  document.getElementById(joueur2).className = 'cachemoi';

}//3


  document.getElementById(joueur8).className = 'sortdutrou';

  document.getElementById(joueur1).className = 'cachemoi';


}

}



function change(persistanceretinienne)
{

  switch (persistanceretinienne) {

        case 0:
    ouioui = persistanceretinienne + 1;
    joueur1 = joueur + ouioui;
    joueur8 = joueur3 + ouioui;
    restecalme(joueur1,joueur8,ouioui);

       break;
        case 1:
    ouioui = persistanceretinienne + 1;
    joueur1 = joueur + ouioui;
    joueur8 = joueur3 + ouioui;
    restecalme(joueur1,joueur8,ouioui);

       break;
        case 2:
    ouioui = persistanceretinienne + 1;
    joueur1 = joueur + ouioui;
    joueur8 = joueur3 + ouioui;
    restecalme(joueur1,joueur8,ouioui);

       break;
        case 3:
    ouioui = persistanceretinienne + 1;
    joueur1 = joueur + ouioui;
    joueur8 = joueur3 + ouioui;
    restecalme(joueur1,joueur8,ouioui);

       break;
        case 4:
    ouioui = persistanceretinienne + 1;
    joueur1 = joueur + ouioui;
    joueur8 = joueur3 + ouioui;
    restecalme(joueur1,joueur8,ouioui);

       break;
        case 5:
    ouioui = persistanceretinienne + 1;
    joueur1 = joueur + ouioui;
    joueur8 = joueur3 + ouioui;
    restecalme(joueur1,joueur8,ouioui);

       break;
        case 6:
    ouioui = persistanceretinienne + 1;
    joueur1 = joueur + ouioui;
    joueur8 = joueur3 + ouioui;
    restecalme(joueur1,joueur8,ouioui);

       break;
        case 7:
    ouioui = persistanceretinienne + 1;
    joueur1 = joueur + ouioui;
    joueur8 = joueur3 + ouioui;
    restecalme(joueur1,joueur8,ouioui);

       break;
        case 8:
    ouioui = persistanceretinienne + 1;
    joueur1 = joueur + ouioui;
    joueur8 = joueur3 + ouioui;
    restecalme(joueur1,joueur8,ouioui);

       break;
        case 9:
    ouioui = persistanceretinienne + 1;
    joueur1 = joueur + ouioui;
    joueur8 = joueur3 + ouioui;
    restecalme(joueur1,joueur8,ouioui);

       break;
        case 10:
    ouioui = persistanceretinienne + 1;
    joueur1 = joueur + ouioui;
    joueur8 = joueur3 + ouioui;
    restecalme(joueur1,joueur8,ouioui);

       break;
        case 11:
    ouioui = persistanceretinienne + 1;
    joueur1 = joueur + ouioui;
    joueur8 = joueur3 + ouioui;
    restecalme(joueur1,joueur8,ouioui);

       break;
        case 12:
    ouioui = persistanceretinienne + 1;
    joueur1 = joueur + ouioui;
    joueur8 = joueur3 + ouioui;
    restecalme(joueur1,joueur8,ouioui);

       break;
        case 13:
    ouioui = persistanceretinienne + 1;
    joueur1 = joueur + ouioui;
    joueur8 = joueur3 + ouioui;
    restecalme(joueur1,joueur8,ouioui);

       break;
        case 14:
    ouioui = persistanceretinienne + 1;
    joueur1 = joueur + ouioui;
    joueur8 = joueur3 + ouioui;
    restecalme(joueur1,joueur8,ouioui);

       break;
        case 15:
    ouioui = persistanceretinienne + 1;
    joueur1 = joueur + ouioui;
    joueur8 = joueur3 + ouioui;
    restecalme(joueur1,joueur8,ouioui);

       break;

  }

}



function durermax()
{
  clearInterval(nbimg);
/*   lancerChange4();    */
}
function seance()
{



change(persistanceretinienne);
  persistanceretinienne--;
if ((nbboucle>1)&&(persistanceretinienne<0 br="">{
/* selection du nombre d'image*/
/* persistanceretinienne = 3;*/
persistanceretinienne = 15;
nbboucle = nbboucle-1;
}


}

function lancertout()
{
  nbimg = setInterval(seance, vitesseDuVent);
  setTimeout(durermax, persistanceretinienne * 81000);
change(persistanceretinienne);
}

function lancertout1()
{
lecjo(soud1);
lecjo(soud2);
lecjo(soud3);
lecjo(soud4);
lecjo(soud5);
lecjo(soud6);
lecjo(soud7);
lecjo(soud8);
lecjo(soud9);
lecjo(soud10);
lecjo(soud11);
lecjo(soud12);
lecjo(soud13);
lecjo(soud14);
lecjo(soud15);
lecjo(soud16);

lancertout();
}   

  function JoueLeSon(mua1){

  if(mua1==0){

  var multia1 = document.getElementById("1awav");
  multia1.play();
  }
  else if(mua1==1){

  var multia2 = document.getElementById("2awav");
  multia2.play();
  }
  else if(mua1==2){

  var multia3 = document.getElementById("3awav");
  multia3.play();
  }
  else if(mua1==3){

  var multia4 = document.getElementById("4awav");
  multia4.play();
  }
  }

  function JoueLeSon1(){
  var multib1 = document.getElementById("1awav");
  multib1.play();
  }
  function JoueLeSon2(){
  var multic1 = document.getElementById("2awav");
  multic1.play();
  }
  function JoueLeSon3(){
  var multid1 = document.getElementById("3awav");
  multid1.play();
  }
  function JoueLeSon4(){
  var multie1 = document.getElementById("4awav");
  multie1.play();
  }
  function JoueLeSon5(){
  var multif1 = document.getElementById("5awav");
  multif1.play();
  }
  function JoueLeSon6(){
  var multig1 = document.getElementById("6awav");
  multig1.play();
  }
  function JoueLeSon7(){
  var multih1 = document.getElementById("7awav");
  multih1.play();
  }
  function JoueLeSon8(){
  var multii1 = document.getElementById("8awav");
  multii1.play();
  }
  function JoueLeSon9(){
  var multij1 = document.getElementById("9awav");
  multij1.play();
  }
  function JoueLeSon10(){
  var multik1 = document.getElementById("10awav");
  multik1.play();
  }
  function JoueLeSon11(){
  var multil1 = document.getElementById("11awav");
  multil1.play();
  }
  function JoueLeSon12(){
  var multic1 = document.getElementById("12awav");
  multic1.play();
  }
  function JoueLeSon13(){
  var multim1 = document.getElementById("13awav");
  multim1.play();
  }
  function JoueLeSon14(){
  var multin1 = document.getElementById("14awav");
  multin1.play();
  }
  function JoueLeSon15(){
  var multio1 = document.getElementById("15awav");
  multio1.play();
  }
  function JoueLeSon16(){
  var multip1 = document.getElementById("16awav");
  multip1.play();
  }



function action1Press(){
    version = version + 1;
    if(version>2){
        version = 1;
      }
  }
document.getElementById("action1Pressa").addEventListener("click", action1Press);

function actionx1Press(){
    persistanceretinienne = 15;
  }
document.getElementById("actionx1aPress").addEventListener("click", actionx1Press);

function actionx2Press(){
    persistanceretinienne = 14;
  }
document.getElementById("actionx2aPress").addEventListener("click", actionx2Press);

function actionx3Press(){
    persistanceretinienne = 13;
  }
document.getElementById("actionx3aPress").addEventListener("click", actionx3Press);

function actionx4Press(){
    persistanceretinienne = 12;
  }
document.getElementById("actionx4aPress").addEventListener("click", actionx4Press);

function actionx5Press(){
    persistanceretinienne = 11;
  }
document.getElementById("actionx5aPress").addEventListener("click", actionx5Press);

function actionx6Press(){
    persistanceretinienne = 10;
  }
document.getElementById("actionx6aPress").addEventListener("click", actionx6Press);

function actionx7Press(){
    persistanceretinienne = 9;
  }
document.getElementById("actionx7aPress").addEventListener("click", actionx7Press);

function actionx8Press(){
    persistanceretinienne = 8;
  }
document.getElementById("actionx8aPress").addEventListener("click", actionx8Press);

function actionx9Press(){
    persistanceretinienne = 7;
  }
document.getElementById("actionx9aPress").addEventListener("click", actionx9Press);

function actionx10Press(){
    persistanceretinienne = 6;
  }
document.getElementById("actionx10aPress").addEventListener("click", actionx10Press);

function actionx11Press(){
    persistanceretinienne = 5;
  }
document.getElementById("actionx11aPress").addEventListener("click", actionx11Press);

function actionx12Press(){
    persistanceretinienne = 4;
  }
document.getElementById("actionx12aPress").addEventListener("click", actionx12Press);

function actionx13Press(){
    persistanceretinienne = 3;
  }
document.getElementById("actionx13aPress").addEventListener("click", actionx13Press);

function actionx14Press(){
    persistanceretinienne = 2;
  }
document.getElementById("actionx14aPress").addEventListener("click", actionx14Press);

function actionx15Press(){
    persistanceretinienne = 1;
  }
document.getElementById("actionx15aPress").addEventListener("click", actionx15Press);

function actionx16Press(){
    persistanceretinienne = 0;
  }
document.getElementById("actionx16aPress").addEventListener("click", actionx16Press);


/**passerelle firefox 48 pour remplacer le bouton d'appel java**/
   function load() {
//lancertout1();
lancertout();
   }


 document.addEventListener("DOMContentLoaded", function(event) {
    load();
  });
/**fin passerelle firefox 48**/
Et enfin nous créons le générateur de briques visuelle sur la base que j'ai déjà présenté, en ajoutant un switch de manière à générer plusieurs images pour la vidéo. Nous nommons fichier générateur de briques visuelles image.js

var largeurecran = screen.width * 0.01;
var hauteurecran = screen.height * 0.01;

for(var limage= 16; limage > 0; limage--)
{

var l={0:[],1:[],2:[],3:[],4:[],5:[],6:[],7:[],8:[],9:[],10:[],11:[],12:[],13:[],14:[],15:[],16:[],17:[]
,18:[],19:[],20:[],21:[],22:[],23:[],24:[],25:[],26:[],27:[],28:[],29:[],30:[],31:[],32:[]
,33:[],34:[],35:[],36:[],37:[],38:[],39:[],40:[],41:[],42:[],43:[],44:[],45:[],46:[],47:[],48:[],
49:[],50:[],51:[],52:[],53:[],54:[],55:[],56:[],57:[],58:[]};






var vam = [3.8, 30, "black", 3, 13, "2px", "absolute", 0.99, "rotate(0deg)", "height 1s", 1, "10px 10px 5px lightblue"];

var vam1 = [3, 7.7, 17.1, 21.8, 26.5, 35.9, 40.6, 50, 54.7, 59.4, 68.8, 73.5,
82.9, 87.6, 92.3, 0.6, 5.3, 10, 14.7, 19.4, 24.1, 28.8, 33.5, 38.2, 42.9,
 47.6, 52.3, 57, 61.7, 66.4, 71.1, 75.8, 80.5, 85.2, 89.9, 94.6, 0.6,
 6.8, 11.5, 14.7, 20.9, 25.6, 30.3, 33.5, 39.7, 44.4, 47.6, 53.8, 58.5,
 63.2, 66.4, 72.6, 77.3, 80.5, 86.7, 91.4, 96.1, 0];
var vam2 = ["white", "#975401", "lightblue", "blue"];
var vam3 = [2.3, 0.8, 2.9, 2.3, 0.8, 0.8, 2.9, 2.3, 0.8, 2.9, 2.3, 0.8, 0.8, 2.9, 2.3, 0.8, 2.9, 2.3, 0.8, 0.8, 2.9];



switch(limage) {
    case 16:
for(var b1= 0; b1 < 57; b1++)
{
for(var b2= 0; b2 < 12; b2++)
{
l[b1][b2]=vam[b2];
}
l[b1][3]=vam1[b1];
}
for(var b3= 15; b3 < 57; b3++)
{
l[b3][2]=vam2[0];
}
l[57][2]=vam2[1];
for(var b4= 15; b4 < 36; b4++)
{
l[b4][0]=4.4;
l[b4][4]=43;
l[b4][1]=l[b4][1]-20;
}
for(var b5= 36; b5 < 58; b5++)
{
l[b5][0]=vam3[b5-36];
l[b5][1]++;
}
        break;
    case 15:
for(var b1= 0; b1 < 57; b1++)
{
for(var b2= 0; b2 < 12; b2++)
{
l[b1][b2]=vam[b2];
}
l[b1][3]=vam1[b1];
}
for(var b3= 15; b3 < 57; b3++)
{
l[b3][2]=vam2[2];
}
l[57][2]=vam2[1];
for(var b4= 15; b4 < 36; b4++)
{
l[b4][0]=4.4;
l[b4][4]=43;
l[b4][1]=l[b4][1]-20;
}
for(var b5= 36; b5 < 58; b5++)
{
l[b5][0]=vam3[b5-36];
l[b5][1]++;
}
        break;
    default:
for(var b1= 0; b1 < 57; b1++)
{
for(var b2= 0; b2 < 12; b2++)
{
l[b1][b2]=vam[b2];
}
l[b1][3]=vam1[b1];
}
for(var b3= 15; b3 < 57; b3++)
{
l[b3][2]=vam2[3];
}
l[57][2]=vam2[1];
for(var b4= 15; b4 < 36; b4++)
{
l[b4][0]=4.4;
l[b4][4]=43;
l[b4][1]=l[b4][1]-20;
}
for(var b5= 36; b5 < 58; b5++)
{
l[b5][0]=vam3[b5-36];
l[b5][1]++;
}
}




l[57] = [100, 60, "#975401", 0, 10, 2 * largeurecran +"px", "absolute", 0.95, "scale(1, 1)", "height 1s", 85, 10];


l= {
  1: l[0], 2: l[1], 3: l[2], 4: l[3], 5: l[4], 6: l[5], 7: l[6], 8: l[7], 9: l[8], 10: l[9], 11: l[10],
12: l[11],13: l[12], 14: l[13], 15: l[14], 16: l[15], 17: l[16], 18: l[17], 19: l[18], 20: l[19], 21: l[20],
22: l[21], 23: l[22], 24: l[23],25: l[24], 26: l[25], 27: l[26], 28: l[27], 29: l[28], 30: l[29], 31: l[30],
32: l[31], 33: l[32], 34: l[33], 35: l[34], 36: l[35], 37: l[36], 38: l[37], 39: l[38], 40: l[39], 41: l[40],
42: l[41], 43: l[42], 44: l[43], 45: l[44], 46: l[45], 47: l[46], 48: l[47], 49: l[48], 50: l[49], 51: l[50],
42: l[41], 43: l[42], 44: l[43], 45: l[44], 46: l[45], 47: l[46], 48: l[47], 49: l[48], 50: l[49], 51: l[50],
52: l[51], 53: l[52], 54: l[53], 55: l[54], 56: l[55], 57: l[56], 58: l[57], 59: l[58]
}




for(var uui= 1; uui < 59; uui++)
{
var nouveauin;
function rajouteElemen() {
var boday   = document.boday || document.getElementById('fleur'+limage),
nouveauin  = document.createElement("div");
nouveauin.setAttribute("id", "b"+uui+"v");
nouveauin.style.width = (l[uui][0]) * largeurecran +"px";
nouveauin.style.height = (l[uui][1]) * hauteurecran +"px";
nouveauin.style.background = l[uui][2];
nouveauin.style.marginLeft=(l[uui][3]) * largeurecran +"px";
nouveauin.style.marginTop=(l[uui][4]) * hauteurecran +"px";
nouveauin.style.borderRadius=l[uui][5];
nouveauin.style.position =l[uui][6];
nouveauin.style.opacity =l[uui][7];
nouveauin.style.transform =l[uui][8];
nouveauin.style.transition =l[uui][9];
//if(l[uui][10] == 1){
//nouveauin.setAttribute("active", "background: #B8B6B6");
//}
//nouveauin.style.boxShadow =l[uui][11];
boday.insertBefore(nouveauin,boday.childNodes[0]);
}
rajouteElemen();
}
}


 En entrant ces trois fichiers dans votre répertoire de travail, et en cliquant sur index.html, votre navigateur internet doit créer votre vidéo contenant le début de votre instrument de musique.

Cinq minutes de rire pour un adulte, durent une éternité pour un enfant.