<div dir="ltr">Hi Jamie, would you consider having LibXtract available in the new Deken plugin?<div><br></div><div>That'd be great :)</div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-07-15 9:21 GMT-03:00 James Bullock <span dir="ltr"><<a href="mailto:James.Bullock@bcu.ac.uk" target="_blank">James.Bullock@bcu.ac.uk</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div style="word-wrap:break-word">
<div style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">
Hi,</div><span class="">
<p style="color:#000">On 15 July 2015 at 11:57:17, katja (<a href="mailto:katjavetter@gmail.com" target="_blank">katjavetter@gmail.com</a>) wrote:</p>
<blockquote type="cite"><span>
<div>
<div></div>
<div>Hi Jamie, <br>
<br>
Thanks for your response. I cloned the repo to see the history, and <br>
noticed a tendency of simplification: FFTW replaced by Ooura, <br>
autotools build system replaced by makefiles. Nice! In fact the whole <br>
library looks much simpler than one would expect for the given <br>
functionality. Even the Pd and MaxMSP wrappers were amazingly small <br>
and simple files. <br>
<br>
</div>
</div>
</span></blockquote>
<div><br>
</div>
</span><div>Thanks. It’s good to know my attempts to “keep it simple” are appreciated :)</div>
<div><br>
</div>
<div><span class="">
<div>
<blockquote type="cite" style="color:rgb(0,0,0);font-family:Helvetica,Arial;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span>
<div>
<div>For a library so systematic as LibXtract it makes sense to avoid<span> </span><br>
wrapper code duplication. But will the extra complexity and overhead<span> </span><br>
of Flext be justified in the case of these two wrapper externals plus<span> </span><br>
corresponding makefiles?<span> </span></div>
</div>
</span></blockquote>
</div>
</span><p>Do you mean runtime overhead or maintenance overhead? I’ve never set out to measure the runtime overhead of Flext, but my impression is that it’s insignificant and certainly I’ve never noticed it. But if there is evidence suggesting otherwise, I’d be interested
 to know about it.</p>
<p>In terms of maintenance / build complexity, since commit 73bd8015 Flext is greatly simplified (through the use of C++ templates), requiring only a single header include; no more building and link static libraries! This means to support a flext external only
 two steps are needed: 1. add the Flext repository as a git submodule, 2. include flext.h</p>
<div><span class="">
<div>
<blockquote type="cite" style="color:rgb(0,0,0);font-family:Helvetica,Arial;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span>
<div>
<div>If the build system is your main concern,<span> </span><br>
there may be a way to use a helper makefile like this for the Pd<span> </span><br>
external and adapt (arguments for) it to build the MaxMSP version:<span> </span><br>
<a href="https://github.com/pure-data/pd-lib-builder" target="_blank">https://github.com/pure-data/pd-lib-builder</a>.<span> </span></div>
</div>
</span></blockquote>
</div>
</span><p>I guess my concern is that I’m planning to move _all_ of my externals over to Flext so I only have one API to think about. I would therefore need a compelling reason to make an exception.</p>
<p>BTW, I’m planning to support a wider range of F0 detection methods, including at some point your own Helmholtz algorithm.</p>
<p>best,</p>
<p>Jamie</p>
<div><br>
</div>
</div>
</div>
<p><br>
</p>
</div>

<br>_______________________________________________<br>
<a href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/listinfo/pd-list" rel="noreferrer" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
<br></blockquote></div><br></div>