<div dir="ltr"><div><div><div>Hello Jean-Marc,<br><br></div>I ran the OPUS compile in my project which uses both encoder and decoder instances with the SMALL_FOOTPRINT define. The resulting image had a reduction of ~6.2KB<br><br></div>Regards<br></div>Amit<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Aug 26, 2016 at 11:40 AM, Daniele Barzotti <span dir="ltr"><<a href="mailto:daniele.barzotti@eurocomtel.com" target="_blank">daniele.barzotti@eurocomtel.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
<br>
thanks a lot for your replies!<br>
<br>
Sorry for my typo, the flash size is 8MB (Byte) :-)<br>
Unfortunately I cannot use another flash because I'm working on a proprietary board.<br>
<br>
Jean-Marc, thanks for your suggestions.<br>
I thought to use fixed point for convenience, but I can work on floating point too, so I will take in account the codec2 (I didn't know it).<br>
<br>
Moreover, if you all have other suggestions to give me I appreciate! ;-)<br>
<br>
Cheers,<br>
Daniele.<div><div class="h5"><br>
<br>
<br>
Il 2016-08-26 18:12 Amit Ashara ha scritto:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
Hello Daniele<br>
<br>
It would be worthwhile to attach an external serial flash or USB thumb<br>
drive, if the intent is store data. This allows for far more<br>
flexibility in storage<br>
<br>
Regards<br>
Amit<br>
<br>
On Fri, Aug 26, 2016 at 11:02 AM, Jean-Marc Valin <<a href="mailto:jmvalin@jmvalin.ca" target="_blank">jmvalin@jmvalin.ca</a>><br>
wrote:<br>
<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
On 26/08/16 11:40 AM, Daniele Barzotti wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
You're right! I forgot to say that I need only the encoder side<br>
</blockquote>
(and<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
only for voice).<br>
</blockquote>
<br>
Then you can remove all of the decoder. As for the encoder, it<br>
depends<br>
on the bitrate and sampling rate you want (more below).<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
My application have to acquire a 16bit 8KHz PCM stream and save a<br>
compressed audio into a flash.<br>
</blockquote>
<br>
Sounds like a job for SILK-only mode. In which case you can strip<br>
away<br>
all of CELT.<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
(And here I have another little question...<br>
My flash size is 8Mb only and I have to be able to store in it 8<br>
</blockquote>
hours<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
of voice, do you think opus shrink the stream enoguht?)<br>
</blockquote>
<br>
This is going to be a problem. Assuming you mean 8 mega*byte* (and<br>
not 8<br>
megabit), that's still only 2 kilobit/second. Opus pretty much<br>
requires<br>
8 kb/s, so 4 times what you have. The only codec I know that can do<br>
2<br>
kb/s with reasonable quality is codec2, and the implementation is<br>
floating point.<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Since I'm using FIXED_POINT, I have to pass also<br>
</blockquote>
--disable-float-api?<br>
<br>
Yes. The normal API has calls with both int and float, so if you<br>
compile<br>
with FIXED_POINT, the float calls do a conversion to int before<br>
using<br>
int internally. If you disable the float API, these functions are<br>
not<br>
compiled at all, saving a few bytes.<br>
<br>
Cheers,<br>
<br>
Jean-Marc<br>
<br>
______________________________<wbr>_________________<br>
opus mailing list<br>
<a href="mailto:opus@xiph.org" target="_blank">opus@xiph.org</a><br>
</div></div><a href="http://lists.xiph.org/mailman/listinfo/opus" rel="noreferrer" target="_blank">http://lists.xiph.org/mailman/<wbr>listinfo/opus</a> [1]<br>
</blockquote>
<br>
<br>
<br>
Links:<br>
------<br>
[1] <a href="http://lists.xiph.org/mailman/listinfo/opus" rel="noreferrer" target="_blank">http://lists.xiph.org/mailman/<wbr>listinfo/opus</a><br>
</blockquote><div class="HOEnZb"><div class="h5">
______________________________<wbr>_________________<br>
opus mailing list<br>
<a href="mailto:opus@xiph.org" target="_blank">opus@xiph.org</a><br>
<a href="http://lists.xiph.org/mailman/listinfo/opus" rel="noreferrer" target="_blank">http://lists.xiph.org/mailman/<wbr>listinfo/opus</a><br>
</div></div></blockquote></div><br></div>