Re: [Freetel-codec2] whats the slowest cpu that can decode codec2 in realtime

2018-04-07 Thread Alan Beard
Hi, I used to be a full on SPARC guy but my Sun Ultra 5 is a bit old now (1999). Should I try on my Banana Pi M1 and SATA SSD, the FreeDV app? Dual Core armv7hl @ 1GHz with 1Gb ram and, a real SATA disk interface. This allows real swap space and huge disk throughput. At about $70 AU is a

Re: [Freetel-codec2] whats the slowest cpu that can decode codec2 in realtime

2018-04-07 Thread glen english
SHARC not SPARC On 8/04/2018 2:53 PM, Alan Beard wrote: Hi, I used to be a full on SPARC guy but my Sun Ultra 5 is a bit old now (1999). Should I try on my Banana Pi M1 and SATA SSD, the FreeDV app? Dual Core armv7hl @ 1GHz with 1Gb ram and, a real SATA disk interface. This allows real swap

Re: [Freetel-codec2] whats the slowest cpu that can decode codec2 in realtime

2018-04-07 Thread Steve
On Sat, Apr 7, 2018 at 8:31 AM, tom sparks wrote: > I am wondering what is the slowest CPU that can decode codec2 in real-time? > The computer has to decode 80 PCM 12 to 16-bit samples at 8 kHz into voice models in less than 10 ms, and it has to interpolate four of

[Freetel-codec2] whats the slowest cpu that can decode codec2 in realtime

2018-04-07 Thread tom sparks
I am wondering what is the slowest CPU that can decode codec2 in real-time? I saw a video on youtube of somebody using a ESP32 to decode codec2 -- Check out the vibrant tech community on one of the world's most engaging

Re: [Freetel-codec2] whats the slowest cpu that can decode codec2 in realtime

2018-04-07 Thread Dana Myers
On 4/7/2018 1:41 PM, Bruce Perens wrote: Cool videos by Thai ham HS5TQA. https://www.youtube.com/user/HS5TQA I would assume he is using only one of the two cores, and still gets decode speed that looks just fine. For what that processor costs, I'm not sure

Re: [Freetel-codec2] whats the slowest cpu that can decode codec2 in realtime

2018-04-07 Thread Bruce Perens
> The ESP only has a 12 bit ADC and an 8 bit ADC. 12-bit dual ADC and 8-bit DAC. And I have not tested the ADC speed. Might be good enough to do Codec2, but since the ESP32 has a DMA interface for codec chips, it's easy to connect one. On Sat, Apr 7, 2018 at 1:41 PM, Bruce Perens

Re: [Freetel-codec2] whats the slowest cpu that can decode codec2 in realtime

2018-04-07 Thread David Rowe
> The ESP only has a 12 bit ADC and an 8 bit ADC. 12-bit dual ADC and 8-bit DAC. And I have not tested the ADC speed. Might be good enough to do Codec2, but since the ESP32 has a DMA interface for codec chips, it's easy to connect one. The internal 12 bit ADC would be worth trying - we

Re: [Freetel-codec2] whats the slowest cpu that can decode codec2 in realtime

2018-04-07 Thread Bruce Perens
It could also be the use of memory barrier instructions. I'd like to benchmark Codec2 rather than a simple floating point loop with volatile variables. But if we are to believe the times on the screen of the esp32 in the video, he was getting acceptable performance. On Sat, Apr 7, 2018, 3:41 PM

Re: [Freetel-codec2] whats the slowest cpu that can decode codec2 in realtime

2018-04-07 Thread Bruce Perens
Cool videos by Thai ham HS5TQA. https://www.youtube.com/user/HS5TQA I would assume he is using only one of the two cores, and still gets decode speed that looks just fine. For what that processor costs, I'm not sure we *need* anything slower. I have the ESP32 running the server I wrote for

Re: [Freetel-codec2] whats the slowest cpu that can decode codec2 in realtime

2018-04-07 Thread glen english
Of interest is this blog on the ESP32 FP perofrmance, versus the STM32F7 (which can easily runĀ  simultaneous encode/decode on my setup). the author appears to have done his homework https://blog.classycode.com/esp32-floating-point-performance-6e9f6f567a69 The STM32F7 appears to be between 10

Re: [Freetel-codec2] whats the slowest cpu that can decode codec2 in realtime

2018-04-07 Thread Dana Myers
On 4/7/2018 5:22 PM, Bruce Perens wrote: It could also be the use of memory barrier instructions. I'd like to benchmark Codec2 rather than a simple floating point loop with volatile variables. But if we are to believe the times on the screen of the esp32 in the video, he was getting acceptable

Re: [Freetel-codec2] whats the slowest cpu that can decode codec2 in realtime

2018-04-07 Thread Dana Myers
On 4/7/2018 5:51 PM, Dana Myers wrote: Now I want to hunt down the appropriate Tensilica reference for the core in the ESP32; it occurs to me the two cores may be sharing one FPU, though I don't immediately see how the simple test would incur context switching frequently. The Xtensa LX6 core

Re: [Freetel-codec2] whats the slowest cpu that can decode codec2 in realtime

2018-04-07 Thread glen english
I generally assume for estimations, FPU ops = INT ops per clock, and if you are careful you can do simultaneous INt/FPU ops... Just watch out for non aligned floating point accesses. bang... not lots of __aligned__ used. I used to be a full-on SHARC guy. but I wonder where that market is now