예제 #1
0
  /* ======================= copying ======================*/
  void copyGrid(ChannelData cd) {
    ampRes = cd.getAmpRes();
    frameClass = cd.getFrameClass();
    envCount = cd.getEnvCount();
    noiseCount = cd.getNoiseCount();

    System.arraycopy(cd.getFrequencyResolutions(), 0, freqRes, 0, envCount);
    System.arraycopy(cd.getTe(), 0, te, 0, te.length);
    System.arraycopy(cd.getTq(), 0, tq, 0, tq.length);

    pointer = cd.getPointer();
  }
예제 #2
0
 void copyInvf(ChannelData cd) {
   System.arraycopy(cd.getInvfMode(false), 0, invfMode, 0, MAX_NQ);
 }