{
int i;
- phase_synth_zero_order(model, ak, &c2->ex_phase);
+ phase_synth_zero_order(model, ak, &c2->ex_phase, LPC_ORD);
postfilter(model, &c2->bg_est);
synthesise(c2->Sn_, model, c2->Pn, 1);
void phase_synth_zero_order(
MODEL *model,
float aks[],
- float *ex_phase /* excitation phase of fundamental */
+ float *ex_phase, /* excitation phase of fundamental */
+ int order
)
{
int m;
int b;
G = 1.0;
- aks_to_H(model,aks,G,H,LPC_ORD);
+ aks_to_H(model, aks, G, H, order);
/*
Update excitation fundamental phase track, this sets the position
#ifndef __PHASE__
#define __PHASE__
-void phase_synth_zero_order(MODEL *model, float aks[], float *ex_phase);
+void phase_synth_zero_order(MODEL *model, float aks[], float *ex_phase,
+ int order);
#endif