------------------------------
John D. Hays
K7VE
PO Box 1223, Edmonds, WA 98020-1223
<http://k7ve.org/blog>  <http://twitter.com/#!/john_hays>
<http://www.facebook.com/john.d.hays>



On Wed, Aug 20, 2014 at 1:20 PM, <
[email protected]> wrote:

> Send Freetel-codec2 mailing list submissions to
>         [email protected]
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         https://lists.sourceforge.net/lists/listinfo/freetel-codec2
> or, via email, send a message with subject or body 'help' to
>         [email protected]
>
> You can reach the person managing the list at
>         [email protected]
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Freetel-codec2 digest..."
>
>
> Today's Topics:
>
>    1. Re: Problems cross-compiling codec2 for Android (Ahmed Al-Obaidy)
>    2. Codec2 on Andoid (Steve)
>    3. Re: Codec2 on Android (Steve)
>    4. CONST  table size of codec2 (glen english)
>    5. Re: CONST table size of codec2 (Steve)
>    6. Re: CONST table size of codec2 (Bruce Perens)
>    7. Re: Problems cross-compiling codec2 for Android (James Cloos)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 19 Aug 2014 15:07:18 -0700
> From: Ahmed Al-Obaidy <[email protected]>
> Subject: Re: [Freetel-codec2] Problems cross-compiling codec2 for
>         Android
> To: "[email protected]"
>         <[email protected]>
> Message-ID:
>         <[email protected]>
> Content-Type: text/plain; charset=utf-8
>
> I've compiled codec2 for Android before, I've wrote Java class to wrap it
> up to be used in Java.
>
> https://github.com/AhmedObaidi/codec2-android
>
> It is very simple to use it within the Java Android
> // con here work as pointer
> long con = Codec2.create(Codec2.CODEC2_MODE_1200);
> int bitsSize = Codec2.getBitsSize(con);
> int samples = Codec2.getSamplesPerFrame(con) * 2;
> char[] bits = new char[bitsSize];
> Codec2.encode(con,buff, bits);
> ?
> Codec2.decode(con,buff, bits);
> Codec2.destroy(con);
> The buffer should be 16 bit PCM with 16000 sample per second.
>
>
>
> ________________________________
> From: "Adcock, Jamison M." <[email protected]>
> To: "[email protected]" <
> [email protected]>
> Sent: Tuesday, August 19, 2014 7:39 AM
> Subject: [Freetel-codec2] Problems cross-compiling codec2 for Android
>
>
>
> Hi,
>
> I?m trying to cross compile codec2 for Android on an Ubuntu machine, and
> I?m having problems with cmake.? I don?t know if something is screwy with
> my cmake setup (I grabbed the android-cmake collection of scripts) or if
> I?m missing something else (I?m using the NDK r9 with a standalone api18
> toolchain created by the make-standalone-toolchain.sh script).? However,
> when I run cmake, the output is:
>
> $ cmake-android ..
> -- codec2 version: 0.3
> -- Build type is: Release
> -- Looking for include files HAVE_STDLIB_H
> -- Looking for include files HAVE_STDLIB_H - found
> -- Looking for include files HAVE_STRING_H
> -- Looking for include files HAVE_STRING_H - found
> -- Looking for floor
> -- Looking for floor - found
> -- Looking for ceil
> -- Looking for ceil - found
> -- Looking for pow
> -- Looking for pow - found
> -- Looking for sqrt
> -- Looking for sqrt - found
> -- Looking for sin
> -- Looking for sin - found
> -- Looking for cos
> -- Looking for cos - found
> -- Looking for atan2
> -- Looking for atan2 - found
> -- Looking for log10
> -- Looking for log10 - found
> -- Looking for round
> -- Looking for round - found
> -- Looking for getopt
> -- Looking for getopt - found
> -- IMPORT_EXECUTABLES:IMPORTFILE-NOTFOUND
> CMake Error at src/CMakeLists.txt:87 (INCLUDE):
> ? include could not find load file:
>
> ??? IMPORTFILE-NOTFOUND
>
>
> -- Configuring incomplete, errors occurred!
>
>
> Apparently, IMPORT_EXECUTABLES gets the value ?IMPORTFILE-NOTFOUND?, which
> causes things to blow up.? Has anyone seen this before or know how I can
> fix it?
>
> I have also done cmake to build for Linux, and that appears to work
> correctly.
>
> many thanks,
> -Jamison
>
>
> Jamison M. Adcock
> Johns Hopkins University Applied Physics Laboratory
> 443-778-4676
> [email protected]
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Freetel-codec2 mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/freetel-codec2
>
>
>
> ------------------------------
>
> Message: 2
> Date: Tue, 19 Aug 2014 18:06:04 -0500
> From: Steve <[email protected]>
> Subject: [Freetel-codec2] Codec2 on Andoid
> To: [email protected]
> Message-ID:
>         <
> cameueed3haksfs7gearfrxpquyhnqq7cqcm5olk8qdly_t9...@mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> I don't know much about android programming, but here's a java version (it
> uses 8 khz sampling, so maybe needs a bit of mod).
>
> https://github.com/k5okc/jCodec2
>
> 73,
> Steve
> -------------- next part --------------
> An HTML attachment was scrubbed...
>
> ------------------------------
>
> Message: 3
> Date: Tue, 19 Aug 2014 19:18:10 -0500
> From: Steve <[email protected]>
> Subject: Re: [Freetel-codec2] Codec2 on Android
> To: [email protected]
> Message-ID:
>         <
> cameueeasjbqbt-umn0c-od22yvrxv5kstm5fkx7xrxo0sug...@mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> oops, I wasn't thinking. The java version is a memory hog, as I used a
> complex class.  I need to get rid of that and replace it with arrays (one
> day).
>
> 73,
> Steve
> -------------- next part --------------
> An HTML attachment was scrubbed...
>
> ------------------------------
>
> Message: 4
> Date: Wed, 20 Aug 2014 13:02:52 +1000
> From: glen english <[email protected]>
> Subject: [Freetel-codec2] CONST  table size of codec2
> To: [email protected]
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Hi
> I am new to this forum.
>
> does anyone know :
>
> off the top of their head, what the CONST table size(s) is(are) for codec2
> ?
>
> &&
>
> has anyone considered a fixed point implementation ? I do understand the
> fixed point issues, but I wondered has anyone looked at it.
>
>
> regards
>
> glen english , VK1XX
>
> --
> -
> Glen English
> RF Communications and Electronics Engineer
>
> CORTEX RF
> &
> Pacific Media Technologies Pty Ltd
>
> ABN 40 075 532 008
>
> PO Box 5231 Lyneham ACT 2602, Australia.
> au mobile : +61 (0)418 975077
>
>
>
>
>
> ------------------------------
>
> Message: 5
> Date: Wed, 20 Aug 2014 13:42:36 -0500
> From: Steve <[email protected]>
> Subject: Re: [Freetel-codec2] CONST table size of codec2
> To: [email protected]
> Message-ID:
>         <
> cameueebrc9fayuacd+bdd8qgd-b7w2chowehva8tufgrkwu...@mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> I think the reasoning is, that floating point and memory are so cheap now,
> that trying to fit a design into a restricted space would just lengthen the
> time to profit.
>
> Why design to a fixed point $30 DSP when you can buy a $5 CPU with hardware
> FP.
>
> 73,Steve
> -------------- next part --------------
> An HTML attachment was scrubbed...
>
> ------------------------------
>
> Message: 6
> Date: Wed, 20 Aug 2014 12:44:31 -0700
> From: Bruce Perens <[email protected]>
> Subject: Re: [Freetel-codec2] CONST table size of codec2
> To: [email protected]
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset="iso-8859-1"
>
> The reasoning is indeed that floating point is easier to develop and
> that our development time is more expensive than CPUs.We don't know the
> table sizes offhand.
>
> However, the assumption that both of the codec and modem would fit in
> really small and relatively low-power floating point chips was
> optimistic and as of this moment it's right on the edge of working in
> the STM32F405 that David has built into his SmartMic project. The
> STM32F405 is an ARM Cortex M4F at 168 MHz, 1 MB FLASH, 126K
> instruction/data RAM, and 64K data RAM.
>
> Over the past weeks David has torn through the code working on
> optimization, and at this moment the receive speed is "borderline".
>
>      Thanks
>
>      Bruce
>
> CPOn 08/20/2014 11:42 AM, Steve wrote:
> > I think the reasoning is, that floating point and memory are so cheap
> > now, that trying to fit a design into a restricted space would just
> > lengthen the time to profit.
> >
> > Why design to a fixed point $30 DSP when you can buy a $5 CPU with
> > hardware FP.
> >
> > 73,Steve
> >
> >
> >
> ------------------------------------------------------------------------------
> > Slashdot TV.
> > Video for Nerds.  Stuff that matters.
> > http://tv.slashdot.org/
> >
> >
> > _______________________________________________
> > Freetel-codec2 mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/freetel-codec2
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
>
> ------------------------------
>
> Message: 7
> Date: Wed, 20 Aug 2014 16:20:03 -0400
> From: James Cloos <[email protected]>
> Subject: Re: [Freetel-codec2] Problems cross-compiling codec2 for
>         Android
> To: [email protected]
> Message-ID: <[email protected]>
> Content-Type: text/plain
>
> >>>>> "BP" == Bruce Perens <[email protected]> writes:
>
> BP> The current cmake rules are not set up properly for cross
> BP> compilation. I have not explored how to do so.
>
> Those who make linux distributions regularly complain -- often rant --
> that cmake sucks for cross compilation.
>
> If it is possible, it seems that almost no-one writes their cmake
> configs suitably for cross.
>
> -JimC
> --
> James Cloos <[email protected]>         OpenPGP: 0x997A9F17ED7DAEA6
>
>
>
>
> ------------------------------
>
>
> ------------------------------------------------------------------------------
> Slashdot TV.
> Video for Nerds.  Stuff that matters.
> http://tv.slashdot.org/
>
> ------------------------------
>
> _______________________________________________
> Freetel-codec2 mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/freetel-codec2
>
>
> End of Freetel-codec2 Digest, Vol 52, Issue 6
> *********************************************
>
------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Freetel-codec2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freetel-codec2

Reply via email to