public void lsp2mgc(double lsp[],double mgc[],int m,double alpha){
  lsp2lpc(lsp,mgc,m);
  if (use_log_gain)   mgc[0]=Math.exp(lsp[0]);
 else   mgc[0]=lsp[0];
  ignorm(mgc,mgc,m,gamma);
  for (int i=m; i >= 1; i--)   mgc[i]*=-stage;
  mgc2mgc(mgc,m,alpha,gamma,mgc,m,alpha,gamma);
}

public void lsp2mgc ( double lsp [ ] , double mgc [ ] , int m , double alpha ) { lsp2lpc ( lsp , mgc , m ) ; if ( use_log_gain ) mgc [ 0 ] = Math . exp ( lsp [ 0 ] ) ; else mgc [ 0 ] = lsp [ 0 ] ; ignorm ( mgc , mgc , m , gamma ) ; for ( int i = m ; i >= 1 ; i -- ) mgc [ i ] *= - stage ; mgc2mgc ( mgc , m , alpha , gamma , mgc , m , alpha , gamma ) ; }
lsp2mgc : transform lsp to mgc . lsp = c [ 0 . . m ] mgc = c [ 0 . . m ]
