Hi Faisal,

1/ You need to change the protocol, bit packing, FEC, number of tones 
etc.  There may be CPU load issues.  Suggest you start with the Host PC 
version and test there.  Get the entire system working fine on a PC 
first, then try porting to the SM1000.

2/ Edit sm1000_main.c where PTT is pressed?  Maybe use a state machine 
to inject a compressed Codec 2 message before taking audio from the 
microphone.

- David

On 17/03/16 22:39, Faisal Saleem wrote:
>
> Hi all,
>   I am an engineering student and working on a digital voice project. I am 
> impressed by codec2 and sm1000, the freedv adapter. I just got 2 sm1000 
> modules and built the firmware sm1000.bin successfully. I connected the two 
> sm1000 boards back to back using RIG interface (a cross RJ45 cable). And both 
> sm1000 are talking to each other both in analog and DV modes (fantastic). 
> While studying the code, I've seen that the codec 2 mode is set to 1300. I 
> just changed the codec2 mode to 1600. At 1600 mode the voice quality was not 
> very good compared to 1300 mode and also there was a bit error (error LED 
> constantly on). When I just set the mode to 2400, receiver doesn't receive 
> any thing while transmitter is transmitting. My questions are:
> 1) Is it enough to change the codec mode in freedvapi.c to change the codec 
> mode or do I need to change some other parameters like Nc, NB etc to run it 
> on 2400 mode without any BER.
> 2) I want to access the PTT i.e. whenever I press PTT, I want to transmit a 
> custom message first before transmitting the actual voice. How I can do this?
>
> Thanks in advance for your precious help.
>
> Regards,
> Faisal
>
> ------------------------------------------------------------------------------
> Transform Data into Opportunity.
> Accelerate data analysis in your applications with
> Intel Data Analytics Acceleration Library.
> Click to learn more.
> http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140
> _______________________________________________
> Freetel-codec2 mailing list
> Freetel-codec2@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freetel-codec2
>

------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140
_______________________________________________
Freetel-codec2 mailing list
Freetel-codec2@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freetel-codec2

Reply via email to