Hello Brian,
Please send me a patch against codec2-dev generated using "diff -ruN".
Yes in the initial version of the modem we couldn't vary the number of
carriers.
I use Ubuntu 12.04 with Octave 3.2.4 which works just fine, and has
fir1() available, I think in octave-signal package. Would be nice to
have a README somewhere with a list of all the Octave packages/toolboxes
rqd.
I've also made a similar change to codec2-dev/octave/fdmdv.m for a
default Nc.
Yes it's possible the instructions for fdmdv_demod() are out of date
too. I'm in the middle of modem surgery just now so it's unlikely that
fdmdv_demod.m will run properly for a while. But is it is wonderful to
see someone else using the simulations (or trying to)!
Richard/Bruce/Others - up to you if you want to patch/fix codec2 (as
distinct to codec2-dev) - I just really want to be responsible for
codec2-dev.
Thanks for the feedback Brian,
David
On Fri, 2014-06-20 at 01:51 -0700, Brian Bartholomew wrote:
> > I've started tinkering with the pieces of freedv, and I've found two
> > problems: The "Nc" number of channels parameter in fdmdv_demod does
> > not appear to be optional as shown on two rowetel web pages, and
> > fdmdv_demod is producing NUL bytes for output.
>
> I have a patch to fix argc/argv parsing in codec2/src/fdmdv_demod.c
> which fixes the Nc argument and gets the octave data dump working.
>
> I have a recipe to change Ubuntu 12 from version 3.2 of Octave to
> version 3.8 which the signal toolbox wants, as it contains function
> fir1 which the octave function fdmdv_demod_c uses.
>
> I have a patch to codec2/octave/fdmdv.m which fixes the default
> setting of Nc to 14 when NumCarriers isn't defined. Was NumCarriers
> defined in the fdmdv_demod octave dump in the past?
>
> However, I'm a Mercurial person and not a svn person, so I don't yet
> know how to offer these changes to you with svn.
>
> Then I ran octave:2> fdmdv_demod_c("/tmp/demod_dump.txt",1400) and
> received two plots, Scatter Diagram and timing offset, then an error
> that coarse_fine_log_c is undefined. That variable is not dumped in
> codec2/src/fdmdv_demod.c, perhaps it was done previously in the
> commented-out //fdmdv_dump_osc_mags(fdmdv); ?
>
> Brian
>
> ------------------------------------------------------------------------------
> HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
> Find What Matters Most in Your Big Data with HPCC Systems
> Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
> Leverages Graph Analysis for Fast Processing & Easy Data Exploration
> http://p.sf.net/sfu/hpccsystems
> _______________________________________________
> Freetel-codec2 mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/freetel-codec2
------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
Freetel-codec2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freetel-codec2