Floating-point is required, so you'd probably need a different
processor. This runs on a cheap general purpose processor with FP, like
the STM32F4 clocked at 160 MHz, and isn't written to use the special
features of a DSP. That STM processor has enough power left over to run
the HF modem.
MIPS are only loosely related to the performance of a processor. So any
number we gave you would be wrong for most architectures.
Thanks
Bruce
On 03/11/2015 10:15 PM, Anmol Prakash wrote:
> Hi
> I am trying to port CODEC2 on Texas Instruments C64x DSP (625MHz clock).I
> just want
> to know the processing requirement(MIPS) of CODEC2 so that i can relate it
> with my
> requirement. Thanks in advance.
>
>
>
> On Wed, 11 Mar 2015 10:40:35 +0000, freetel-codec2-request 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. Codec 2 on ARM M4 (Stefan Ereth)
>> 2. Re: Codec 2 on ARM M4 (David Rowe)
>> 3. Re: Codec 2 on ARM M4 (Andy Wood)
>> 4. HELP REGARDING CODEC2 SOURCE CODE (Anmol Prakash)
>> 5. Re: HELP REGARDING CODEC2 SOURCE CODE (Stuart Longland (VK4MSL))
>> 6. Re: HELP REGARDING CODEC2 SOURCE CODE (George Patterson)
>>
>> ----------------------------------------------------------------------
>>
>> Message: 1
>> Date: Mon, 9 Mar 2015 08:56:59 +0100
>> From: Stefan Ereth <[email protected]>
>> Subject: [Freetel-codec2] Codec 2 on ARM M4
>> To: <[email protected]>
>> Message-ID: <[email protected]>
>> Content-Type: text/plain; charset=UTF-8
>>
>> Hi all,
>>
>> I'm trying to port codec2 to a Freescale microcontroller. This board has 120
>> MHz CPU and a floating point unit. At the moment I would need 110% CPU speed
>> for decoding codec2 in real time. In the YouTube Video "Embedding Codec 2:
>> open source speech coding on a low-cost microcontroller" David Rowe presented
>> an implementation on a STM32F4 with encoding and decoding in real-time. He
>> mentioned that some optimizations are needed for this processing speed. I
>> couldn't find something like that in the stm32 folder, but some switches over
>> defines for calculations in time- or frequency-domain in the processing
>> chain.
>> Also the filter length could be reduced for low perfomance cpus.
>>
>> Are there optimised settings for microcontrollers?
>> Do you use arm_math.h for arm specific sin/cos/fft functions?
>>
>> Thanks in advance,
>> Stefan
>>
>> ------------------------------
>>
>> Message: 2
>> Date: Mon, 09 Mar 2015 20:38:25 +1030
>> From: David Rowe <[email protected]>
>> Subject: Re: [Freetel-codec2] Codec 2 on ARM M4
>> To: [email protected]
>> Message-ID: <[email protected]>
>> Content-Type: text/plain; charset=windows-1252; format=flowed
>>
>> Hi Stefan,
>>
>> I'm surprised that a 120MHz CPU is struggling, as we only used a
>> fraction (maybe 50%) of the 168MHz ST32F4.
>>
>> Nothing special for the STM32F4, I re-organised some C code, used single
>> prec trig functions (cosf, sinf etc) and that is now all part of the
>> regular Codec 2 code in the src directory that runs on all platforms.
>> Didn't even end up using the STM fft library as in my unit tests it was
>> slower than kiss fft (although I may have screwed up there).
>>
>> You can see the gcc options in codec2-dev/stm32/Makefile.
>>
>> Sue you have hard float enabled for your uC?
>>
>> - David
>>
>> On 09/03/15 18:26, Stefan Ereth wrote:
>>> Hi all,
>>>
>>> I'm trying to port codec2 to a Freescale microcontroller. This board has
>>> 120 MHz
> CPU and a floating point unit. At the moment I would need 110% CPU speed for
> decoding
> codec2 in real time. In the YouTube Video "Embedding Codec 2: open source
> speech
> coding on a low-cost microcontroller" David Rowe presented an implementation
> on a
> STM32F4 with encoding and decoding in real-time. He mentioned that some
> optimizations
> are needed for this processing speed. I couldn't find something like that in
> the stm32
> folder, but some switches over defines for calculations in time- or
> frequency-domain
> in the processing chain. Also the filter length could be reduced for low
> perfomance
> cpus.
>>> Are there optimised settings for microcontrollers?
>>> Do you use arm_math.h for arm specific sin/cos/fft functions?
>>>
>>>
>>> Thanks in advance,
>>> Stefan
>>>
>>> ------------------------------------------------------------------------------
>>> Dive into the World of Parallel Programming The Go Parallel Website,
>>> sponsored
>>> by Intel and developed in partnership with Slashdot Media, is your hub for
>>> all
>>> things parallel software development, from weekly thought leadership blogs
>>> to
>>> news, videos, case studies, tutorials and more. Take a look and join the
>>> conversation now. http://goparallel.sourceforge.net/
>>> _______________________________________________
>>> Freetel-codec2 mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/freetel-codec2
>>>
>> ------------------------------
>>
>> Message: 3
>> Date: Mon, 9 Mar 2015 13:48:15 +0000
>> From: Andy Wood <[email protected]>
>> Subject: Re: [Freetel-codec2] Codec 2 on ARM M4
>> To: "[email protected]"
>> <[email protected]>
>> Message-ID: <[email protected]>
>> Content-Type: text/plain; charset="iso-8859-1"
>>
>> Make sure you have optimisation set to -Ofast or -O3 and benchmark it to
>> check
>> what is the fastest in your particular compiler.
>>
>> See https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html
>>
>> Andy.
>>
>>> Date: Mon, 9 Mar 2015 20:38:25 +1030
>>> From: [email protected]
>>> To: [email protected]
>>> Subject: Re: [Freetel-codec2] Codec 2 on ARM M4
>>>
>>> Hi Stefan,
>>>
>>> I'm surprised that a 120MHz CPU is struggling, as we only used a
>>> fraction (maybe 50%) of the 168MHz ST32F4.
>>>
>>> Nothing special for the STM32F4, I re-organised some C code, used single
>>> prec trig functions (cosf, sinf etc) and that is now all part of the
>>> regular Codec 2 code in the src directory that runs on all platforms.
>>> Didn't even end up using the STM fft library as in my unit tests it was
>>> slower than kiss fft (although I may have screwed up there).
>>>
>>> You can see the gcc options in codec2-dev/stm32/Makefile.
>>>
>>> Sue you have hard float enabled for your uC?
>>>
>>> - David
>>>
>>> On 09/03/15 18:26, Stefan Ereth wrote:
>>>> Hi all,
>>>>
>>>> I'm trying to port codec2 to a Freescale microcontroller. This board has
>>>> 120 MHz
> CPU and a floating point unit. At the moment I would need 110% CPU speed for
> decoding
> codec2 in real time. In the YouTube Video "Embedding Codec 2: open source
> speech
> coding on a low-cost microcontroller" David Rowe presented an implementation
> on a
> STM32F4 with encoding and decoding in real-time. He mentioned that some
> optimizations
> are needed for this processing speed. I couldn't find something like that in
> the stm32
> folder, but some switches over defines for calculations in time- or
> frequency-domain
> in the processing chain. Also the filter length could be reduced for low
> perfomance
> cpus.
>>>> Are there optimised settings for microcontrollers?
>>>> Do you use arm_math.h for arm specific sin/cos/fft functions?
>>>>
>>>>
>>>> Thanks in advance,
>>>> Stefan
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Dive into the World of Parallel Programming The Go Parallel Website,
>>>> sponsored
>>>> by Intel and developed in partnership with Slashdot Media, is your hub for
>>>> all
>>>> things parallel software development, from weekly thought leadership blogs
>>>> to
>>>> news, videos, case studies, tutorials and more. Take a look and join the
>>>> conversation now. http://goparallel.sourceforge.net/
>>>> _______________________________________________
>>>> Freetel-codec2 mailing list
>>>> [email protected]
>>>> https://lists.sourceforge.net/lists/listinfo/freetel-codec2
>>>>
>>> ------------------------------------------------------------------------------
>>> Dive into the World of Parallel Programming The Go Parallel Website,
>>> sponsored
>>> by Intel and developed in partnership with Slashdot Media, is your hub for
>>> all
>>> things parallel software development, from weekly thought leadership blogs
>>> to
>>> news, videos, case studies, tutorials and more. Take a look and join the
>>> conversation now. http://goparallel.sourceforge.net/
>>> _______________________________________________
>>> Freetel-codec2 mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/freetel-codec2
>>
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>>
>> ------------------------------
>>
>> Message: 4
>> Date: Wed, 11 Mar 2015 11:43:29 +0530
>> From: "Anmol Prakash" <[email protected]>
>> Subject: [Freetel-codec2] HELP REGARDING CODEC2 SOURCE CODE
>> To: [email protected]
>> Message-ID: <[email protected]>
>> Content-Type: text/plain; charset=utf-8
>>
>> Hi
>> I am currently working on AMBE codec. I came across CODEC2 as an
>> alternative for AMBE. I would like to test it and hence i require the source
>> code. Kindly provide me zip file of latest version of source code.
>>
>> Thanks & Regards,
>>
>> ANMOL PRAKASH
>> RESEARCH ENGINEER
>> C-DOT, BANGALORE
>>
>> Disclaimer:
>> ------------
>> This email and any files transmitted with it are confidential and intended
>> solely for the use of the individual or entity to whom they are addressed.?
>> If
>> you are not the intended recipient you are notified that disclosing, copying,
>> distributing or taking any action in reliance on the co
>>
>> ------------------------------
>>
>> Message: 5
>> Date: Wed, 11 Mar 2015 19:59:33 +1000
>> From: "Stuart Longland (VK4MSL)" <[email protected]>
>> Subject: Re: [Freetel-codec2] HELP REGARDING CODEC2 SOURCE CODE
>> To: [email protected]
>> Message-ID: <[email protected]>
>> Content-Type: text/plain; charset=utf-8
>>
>> On 11/03/15 16:13, Anmol Prakash wrote:
>>> I am currently working on AMBE codec. I came across CODEC2 as an
>>> alternative
> for
>>> AMBE. I would like to test it and hence i require the source code. Kindly
>>> provide
> me zip
>>> file of latest version of source code.
>> Did you think to try Subversion?
>>
>> https://svn.code.sf.net/p/freetel/code/codec2/
>>
>> You can zip this up in any manner you desire. As an alternative, you
>> can also download one of the source code snapshots for FreeDV which
>> bundles Codec2 sources? e.g.
>>
>> http://files.freedv.org/debian/pool/main/f/fdmdv2/fdmdv2_0.96.5.1328.orig-
> codec2.tar.gz
>> Not a "zip" (as in the format popularised in DOS days) but still the
>> source code in compressed packaged form. Tools to unpack gzipped
>> tarballs exist for all operating systems capable of compiling Codec2.
>>
>> Regards,
>> --
>> Stuart Longland (aka Redhatter, VK4MSL)
>>
>> I haven't lost my mind...
>> ...it's backed up on a tape somewhere.
>>
>> ------------------------------
>>
>> Message: 6
>> Date: Wed, 11 Mar 2015 21:39:47 +1100
>> From: George Patterson <[email protected]>
>> Subject: Re: [Freetel-codec2] HELP REGARDING CODEC2 SOURCE CODE
>> To: [email protected]
>> Message-ID:
>> <calmtgw_nhhynqsupdl+za4xmkvukmxbw9nstsf10foczrq5...@mail.gmail.com>
>> Content-Type: text/plain; charset="utf-8"
>>
>> As much as I dislike spoon feeding, I believe in giving someone a fair go.
>>
>> The following link will provide the latest bleeding edge copy of the code
>> (r2065)
>> http://sourceforge.net/p/freetel/code/HEAD/tarball?path=/codec2
>>
>> While Sourceforge isn't as polished as say Gitlab or Github, most if not
>> all of the functionality is there... though sometimes the feature has been
>> buried on a sub page.
>>
>> George Patterson
>> VK3FADQ
>> (But working on qualifying for full licence due to interest in the digital
>> realm)
>>
>> On 11 March 2015 at 20:59, Stuart Longland (VK4MSL) <[email protected]>
>> wrote:
>>
>>> On 11/03/15 16:13, Anmol Prakash wrote:
>>>> I am currently working on AMBE codec. I came across CODEC2 as an
>>> alternative for
>>>> AMBE. I would like to test it and hence i require the source code.
>>> Kindly provide me zip
>>>> file of latest version of source code.
>>> Did you think to try Subversion?
>>>
>>> https://svn.code.sf.net/p/freetel/code/codec2/
>>>
>>> You can zip this up in any manner you desire. As an alternative, you
>>> can also download one of the source code snapshots for FreeDV which
>>> bundles Codec2 sources? e.g.
>>>
>>>
>>> http://files.freedv.org/debian/pool/main/f/fdmdv2/fdmdv2_0.96.5.1328.orig-
> codec2.tar.gz
>>> Not a "zip" (as in the format popularised in DOS days) but still the
>>> source code in compressed packaged form. Tools to unpack gzipped
>>> tarballs exist for all operating systems capable of compiling Codec2.
>>>
>>> Regards,
>>> --
>>> Stuart Longland (aka Redhatter, VK4MSL)
>>>
>>> I haven't lost my mind...
>>> ...it's backed up on a tape somewhere.
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Dive into the World of Parallel Programming The Go Parallel Website,
>>> sponsored
>>> by Intel and developed in partnership with Slashdot Media, is your hub for
>>> all
>>> things parallel software development, from weekly thought leadership blogs
>>> to
>>> news, videos, case studies, tutorials and more. Take a look and join the
>>> conversation now. http://goparallel.sourceforge.net/
>>> _______________________________________________
>>> Freetel-codec2 mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/freetel-codec2
>>>
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>>
>> ------------------------------
>>
>> ------------------------------------------------------------------------------
>> Dive into the World of Parallel Programming The Go Parallel Website,
>> sponsored
>> by Intel and developed in partnership with Slashdot Media, is your hub for
>> all
>> things parallel software development, from weekly thought leadership blogs to
>> news, videos, case studies, tutorials and more. Take a look and join the
>> conversation now. http://goparallel.sourceforge.net/
>>
>> ------------------------------
>>
>> _______________________________________________
>> Freetel-codec2 mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/freetel-codec2
>>
>> End of Freetel-codec2 Digest, Vol 59, Issue 2
>> *********************************************
>
> Thanks & Regards,
>
> ANMOL PRAKASH
> RESEARCH ENGINEER
> C-DOT, BANGALORE
>
> अनमोल प्रकाश
> रिसर्च इंजीनियर
> सी-डॉट,बंगलोर
> Disclaimer:
>
>
> ----------
> This email and any files transmitted with it are confidential and intended
> solely for
> the use of the individual or entity to whom they are addressed. If you are
> not the
> intended recipient you are notified that disclosing, copying, distributing or
> taking
> any
> action in reliance on the co
>
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming The Go Parallel Website, sponsored
> by Intel and developed in partnership with Slashdot Media, is your hub for all
> things parallel software development, from weekly thought leadership blogs to
> news, videos, case studies, tutorials and more. Take a look and join the
> conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> Freetel-codec2 mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/freetel-codec2
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Freetel-codec2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freetel-codec2