Lines Matching refs:j

63 function build_parts(first){var i,j,c,n,v,s=first,p=s.parts,st=[],r=""
68 case')':j=st.pop()
69 if(j==undefined)
70 j=r.length
72 if(c>='A'&&c<='Z'){j=r.length
78 v=r.slice(j)
364 function b64dcod(s){var i,t,dl,a,l=s.length,j=0
375 a[j++]=(t>>16)&0xff
376 a[j++]=(t>>8)&0xff
377 a[j++]=t&0xff}
382 a[j++]=(t>>16)&0xff
383 if(j<dl)
384 a[j++]=(t>>8)&0xff}
413 for(j=gen.keyRange.lo;j<=gen.keyRange.hi;j++){rates[instr][j]=Math.pow(Math.pow(2,1/12),(j+tune)*scale)
414 params[instr][j]=parm}}}
506 samples.push(sample);sampleHeader.push({sampleName:sampleName,startLoop:startLoop,endLoop:endLoop,sampleRate:sampleRate,originalPitch:originalPitch,pitchCorrection:pitchCorrection,sampleLink:sampleLink,sampleType:sampleType})}};sf2.Parser.prototype.adjustSampleData=function(sample,sampleRate){var newSample,i,il,j,multiply=1;while(sampleRate<22050){newSample=new Int16Array(sample.length*2);for(i=j=0,il=sample.length;i<il;++i){newSample[j++]=sample[i];newSample[j++]=sample[i]}
512 return output};sf2.Parser.prototype.getInstruments=function(){var instrument=this.instrument,zone=this.instrumentZone,output=[],bagIndex,bagIndexEnd,zoneInfo,instrumentGenerator,instrumentModulator,i,il,j,jl;for(i=0,il=instrument.length;i<il;++i){bagIndex=instrument[i].instrumentBagIndex;bagIndexEnd=instrument[i+1]?instrument[i+1].instrumentBagIndex:zone.length;zoneInfo=[];for(j=bagIndex,jl=bagIndexEnd;j<jl;++j){instrumentGenerator=this.createInstrumentGenerator_(zone,j);instrumentModulator=this.createInstrumentModulator_(zone,j);zoneInfo.push({generator:instrumentGenerator.generator,modulator:instrumentModulator.modulator,})}
522 function note_run(po,s,k,t,d){var j,a=(k*100)%100,i=s.instr,c=s.chn
527 if(s.p_v.midictl){for(j in s.p_v.midictl)
528 po.op.send(new Uint8Array([0xb0+c,j,s.p_v.midictl[j]]))}}