Hello All, I'm looking to try to port a Opus Decoder and Encoder onto the TI CC3220SF (http://www.ti.com/product/CC3220) device. Currently, I have successfully been able to get the decode working for a .ogg file saved locally to the serial flash. My end goal is bidirectional audio using OPUS between two devices. While looking into the documentation for the Encoder, I was not sure what the best step forward would be in trying to enable this streaming application. Can someone give me a little guidance on how to properly setup the encoder for streaming applications, and if I need to do anything special to ensure the encoder works correctly on an ARM M4 (not Floating point) MCU? Thanks! Vince Rodriguez -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.xiph.org/pipermail/opus/attachments/20180220/bc3f50f7/attachment.html>
Hi Vince, Normally, Opus should work fine on the CC3220, though real-time encoding may be a bit tight depending on what configuration you choose. You'll probably want to configure with --enable-fixed-point and --disable-float-api (or define FIXED_POINT and DISABLE_FLOAT_API if you don't use autoconf). The encoder has a bunch of run-time settings that you may want to set, depending on your application. These include bitrate, complexity (probably a low setting for that that chip), and bitrate management (CBR/VBR/CVBR). In the end, aside from the complexity requirements, you should need to do anything special to get Opus running on your chip. Cheers, Jean-Marc On 02/20/2018 05:46 PM, Rodriguez, Vince wrote:> I’m looking to try to port a Opus Decoder and Encoder onto the TI > CC3220SF (http://www.ti.com/product/CC3220) device. Currently, I have > successfully been able to get the decode working for a .ogg file saved > locally to the serial flash. My end goal is bidirectional audio using > OPUS between two devices. While looking into the documentation for the > Encoder, I was not sure what the best step forward would be in trying to > enable this streaming application. > > > > Can someone give me a little guidance on how to properly setup the > encoder for streaming applications, and if I need to do anything special > to ensure the encoder works correctly on an ARM M4 (not Floating point) MCU? > > > > Thanks! > > > > *Vince Rodriguez* > > > > > > > > _______________________________________________ > opus mailing list > opus at xiph.org > http://lists.xiph.org/mailman/listinfo/opus >
Jean-Marc, Thanks for the response and the helpful info. I am trying to get the library to build without using the pseudostack define, and use either VAR_ARRAYS or ALLOC, but it seems the global stack is not defined. Where do can I define this in my example? VR -----Original Message----- From: Jean-Marc Valin [mailto:jmvalin at jmvalin.ca] Sent: Tuesday, February 20, 2018 5:40 PM To: Rodriguez, Vince; opus at xiph.org Subject: [EXTERNAL] Re: [opus] Developing OPUS on TI CC3220 Hi Vince, Normally, Opus should work fine on the CC3220, though real-time encoding may be a bit tight depending on what configuration you choose. You'll probably want to configure with --enable-fixed-point and --disable-float-api (or define FIXED_POINT and DISABLE_FLOAT_API if you don't use autoconf). The encoder has a bunch of run-time settings that you may want to set, depending on your application. These include bitrate, complexity (probably a low setting for that that chip), and bitrate management (CBR/VBR/CVBR). In the end, aside from the complexity requirements, you should need to do anything special to get Opus running on your chip. Cheers, Jean-Marc On 02/20/2018 05:46 PM, Rodriguez, Vince wrote:> I'm looking to try to port a Opus Decoder and Encoder onto the TI > CC3220SF (http://www.ti.com/product/CC3220) device. Currently, I have > successfully been able to get the decode working for a .ogg file saved > locally to the serial flash. My end goal is bidirectional audio using > OPUS between two devices. While looking into the documentation for the > Encoder, I was not sure what the best step forward would be in trying > to enable this streaming application. > > > > Can someone give me a little guidance on how to properly setup the > encoder for streaming applications, and if I need to do anything > special to ensure the encoder works correctly on an ARM M4 (not Floating point) MCU? > > > > Thanks! > > > > *Vince Rodriguez* > > > > > > > > _______________________________________________ > opus mailing list > opus at xiph.org > http://lists.xiph.org/mailman/listinfo/opus >