TODO:
[X] speex tx/rx works
[X] txt messages
- [ ] optional test tx framemode
+ [X] optional test tx framemode
\*---------------------------------------------------------------------------*/
#include "freedv_api.h"
#include "comp_prim.h"
+#define NORM_PWR 1.74 /* experimentally derived fudge factor so 1600 and
+ 700 mode have the same tx power */
+
/*---------------------------------------------------------------------------*\
FUNCTION....: freedv_open
if (f->clip)
cohpsk_clip(tx_fdm);
for(i=0; i<f->n_nom_modem_samples; i++)
- mod_out[i] = fcmult(FDMDV_SCALE, tx_fdm[i]);
+ mod_out[i] = fcmult(FDMDV_SCALE*NORM_PWR, tx_fdm[i]);
}
}