cm.removeFile( f ); // in case it existed
afd.channels = fullScale.getChannelNum() * modelChannels;
afd.file = f;
info = new AudioFileCacheInfo( fullScale, model, fullScale.getFrameNum() );
afd.setProperty( AudioFileDescr.KEY_APPCODE, info.encode() );
return AudioFile.openAsWrite( afd );
}
private int drawPCM( float[] frames, int len, int[] polyX, int[] polyY, int off,
float offX, float scaleX, float scaleY, boolean sampleAndHold )