3 4 6 7 8 0 - W E R T Y U I O P @ |
|
S D G H J L ; Z X C V B N M , . / |
|
|
<body> <label>Pattern Number:</label> <select id=drptnb onchange='changedrpt();'></select> <script><!-- var currdrptnb=0; function tick(){ for(j=0;j<6;j++){ din=drar[currdrptnb][count][j][0]; dvl=drar[currdrptnb][count][j][1]; Jazz.MidiOut(0x99,din,dvl); } count++; if(count>=(beat*4)) count=0; timeout=setTimeout(tick,interval); } function changedrpt(){ currdrptnb=select_drpt.selectedIndex; drartoscr(); } var select_drpt=document.getElementById('drptnb'); for(var i=0;i<=7;i++){ select_drpt[i]=new Option(i,i,i==0,i==0);} function ded(){ dpn=currdrptnb; (後略) } function drartoscr(){ dpn=currdrptnb; (後略) } ct=0; for(dpn=0;dpn<8;dpn++){ for(i=0;i<16;i++){ for(j=0;j<6;j++){ for(w=0;w<2;w++){ drar[dpn][i][j][w]=exdrjn[ct]; ct++; } } } } drartoscr(); --></script>