Hi all,

CORRECTION, takes 700C files WITH the c2 header.

Works only in 700D mode. (crashes in 700C mode, why??)

Remember, the 700D mode takes the 700C speech compression data and feeds

it through the OFDM modem. 

Alan VK2ZIW

On Fri, 23 Aug 2019 15:45:33 +1000, Al Beard wrote

> Hi all,
> 
> 
> Final version. Takes a  700C file without c2 header and outputs the Tx signal.
> 
> 
>  700C files received by "freebeacon" or my "parrot" do not have the seven 
> byte c2 header.
> 
> 
> Put this file in place of freedv_tx.c in codec2/src/. and do "make" as usual.
> 
> 
> 
> Alan VK2ZIW
> 
> 
> 
> On Wed, 21 Aug 2019 15:08:44 +1000, Al Beard wrote> Hi all,
> > 
> > I've added the option "--c2tx" to the freedv_tx source.
> > 
> > I've noticed some, what I think is strange behavior:
> > 
> > dd if=/dev/zero of=blank5k count=10
> > 
> > Four Codec2 frames of silence.
> > 
> > c2enc 700C blank5k blank5k.c2
> > 
> > dd if=/dev/zero of=blank10k count=20
> > 
> > c2enc 700C blank10k blank10k.c2
> > 
> > Problem:
> > -rw-r--r--  1 alanb tims    39 Aug 21 07:15 blank5k.c2
> > -rw-r--r--  1 alanb tims    71 Aug 21 07:16 blank10k.c2
> > 
> > Why is one not exactly twice the other?
> > 
> > 
> > Now, when we try to regenerate the audio: 
> > 
> > eg. ./src/freedv_tx 700D blank5k.c2 blank5kd.raw --c2in
> > 
> > -rw-r--r--  1 alanb tims  5120 Aug 21 07:15 blank5k
> > -rw-r--r--  1 alanb tims  5120 Aug 21 07:19 blank5kd.raw
> > 
> > -rw-r--r--  1 alanb tims 10240 Aug 21 07:16 blank10k
> > -rw-r--r--  1 alanb tims 12800 Aug 21 07:18 blank10kd.raw
> > 
> > 
> > And, mode 700C does Segmentation Fault but no Seg Fault with an older 
> > Codec2 library.
> > 
> > ---------------------------------------------------
> > Alan Beard
> > 
> > OpenWebMail 2.53
> > 
> 
> --------------------------------------------------- 
> Alan Beard 
> 
> OpenWebMail 2.53 
> 
>

--------------------------------------------------- 
Alan Beard

OpenWebMail 2.53

 
_______________________________________________
Freetel-codec2 mailing list
Freetel-codec2@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freetel-codec2

Reply via email to