<div dir="ltr"><span style="color:rgb(33,33,33);font-size:13px">Hi,</span><div class="gmail_msg" style="color:rgb(33,33,33);font-size:13px"><br class="gmail_msg"></div><div class="gmail_msg" style="color:rgb(33,33,33);font-size:13px">I'm looking a porting the<span class="inbox-inbox-Apple-converted-space"> </span><span class="inbox-inbox-lG" style="background-color:rgba(251,246,167,0.498039);outline:transparent dashed 1px">Opus</span><span class="inbox-inbox-Apple-converted-space"> </span>encoder (encoder only) to a Cypress PSoC 4 (a 32-bit ARM Cortex-M0 with very limited resources), and would like to know the feasibility of stripping down the encoder to fit.  I've been playing with the encoder configured with "--enable-fixed-point --disable-intrinsics".</div><div class="gmail_msg" style="color:rgb(33,33,33);font-size:13px"><br class="gmail_msg"></div><div class="gmail_msg" style="color:rgb(33,33,33);font-size:13px">The end result I'm trying to get to is encoding a single 16kHz 16-bit LPCM channel to fit into ~60kbps, and I'd like to encode in real-time or better.  The opus_demo compression with default setting is fantastic on my test audio - more than 12x, where I only need about 4x.  Hopefully that means I have plenty of room to tweak so I can fit it in my limited resources.</div><div class="gmail_msg" style="color:rgb(33,33,33);font-size:13px"><br class="gmail_msg"></div><div class="gmail_msg" style="color:rgb(33,33,33);font-size:13px">My resources:</div><div class="gmail_msg" style="color:rgb(33,33,33);font-size:13px"><ul class="gmail_msg"><li class="gmail_msg">48MHz 32-bit ARM Cortex-M0</li><li class="gmail_msg">32k RAM (of which I probably on have 16-24k available)</li><li class="gmail_msg">256k ROM (of which I probably only have 128-196k available)</li></ul><div class="gmail_msg">I have no doubt that I can fit the design in ROM - I've already tried ripping out the decoder, and a stripped build can fit in 160k.</div></div><div class="gmail_msg" style="color:rgb(33,33,33);font-size:13px"><br class="gmail_msg"></div><div class="gmail_msg" style="color:rgb(33,33,33);font-size:13px">But, on speed and RAM, any thoughts on the feasibility, or what I'd have to do to make this work? </div><div class="gmail_msg" style="color:rgb(33,33,33);font-size:13px"><br class="gmail_msg"></div><div class="GmSign"><br></div><div class="GmSign">P.S. I sent this to the mailing list before, but I never saw it appear.  Sorry if this is a duplicate.</div><div class="GmSign"><br></div><div class="GmSign">-- <br><div dir="ltr"><div dir="ltr"><p>Brian Silverman<br></p><p>Ready Set STEM</p><p><a href="mailto:bri@readysetstem.com" target="_blank">bri@readysetstem.com</a></p></div></div></div></div><div dir="ltr">-- <br></div><div data-smartmail="gmail_signature"><div dir="ltr"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small">--<span class="inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-Apple-converted-space"> </span></span><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small"><div class="gmail_signature" style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small"><div dir="ltr"><div><div dir="ltr"><p>Brian Silverman<br></p><p>Ready Set STEM</p><p><a href="mailto:bri@readysetstem.com" target="_blank" style="color:rgb(17,85,204)">bri@readysetstem.com</a></p><p>443-850-5351</p></div></div></div></div></div></div>