ГОСТ Р ИСО/МЭК 10373-6—2015
lengt.h_tota.l-envU.lt(rate, voutput, toutput, Ulterlength, tinr,
Uin, samples, envelope); // 2nd Filtering to lind the alternate envelope
Hmaxlmaer(envelope, allmaxi, aKnuni, lengt.htotdl);
1
I
tUnder(type,envelope,toutput,tlr.i,,тах
2
,йтini,rate,length_total, tlmesp2>;
monocheck (envelope, (.output, Hmax2, (imesp2, rate,type);
// The parameters оi the alternate envelope are calculated
overshoot(timesp2,Hmax2,envelope,toutput,rate,type,samples,shootres-
der2); // This time the over- and undershoot.s are lound
I
else It (rate— 1700 II rate--3400 il rate— 6B00)
1
filterlength*3;
length_total-envfllt(106, voutput, toutput, hlterlength, tim,
ttin, samples, envelope); // 2nd Filtering to find the alternate envelope
HmaxUnoer(envelope, AHmax
2
, 4Hmin2, length_total);
overshoot(tlmesp,Umax,envelope,toutput,rate,type,samples,
shootreader2); // This time the over- and undershoots are
//10. MODULATION
m-modulatton(type, Umax, ttireap->h);
lf (
(type— ’В’) i,„ (rate— П0Э II rate— 3400 || rate— 6600))
mmin-moaulation(type,HmaxVHBR, time3p->bVHBR);
//11. DISPLAY
display(type, rate, shootreader2, timesp, Umax, m, mmin);
1
else it (pointUle— NULL IIinput_u21-NULL)
Iprinti(stdout,"iile(s) couLd not be opened \n");
Iclose(pointllle);
£close(input_u
2
);
else
Iprmt((stdout, “Memory could not be allocated");
free (voutput);
free (toutput);
Tree (envelope);
free (vlilter);
free (tillter);
free (t.imesp);
free (t.imesp2);
free (shootreader2);
return 0;
I
(Измененная редакция. Изм. A4:2012.)
92