<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Compiling aubio externals on mac os x 10.7]]></title><description><![CDATA[<p>hello!</p>
<p>I am trying to compile aubio pd externals, written by paul brossier from here: <a href="http://aubio.sourcearchive.com/documentation/0.3.2-2/aubiotempo~_8c-source.html" rel="nofollow">http://aubio.sourcearchive.com/documentation/0.3.2-2/aubiotempo~_8c-source.html</a><br />
with Xcode 4.2 on mac os 10.7.</p>
<p>I previously managed to compile several files which only had dependencies on m_pd.h.</p>
<p>Now I am including aubio.h and linking Header Search Paths, User Header Search Paths to the src directory where the aubio.h is located.</p>
<p>The project compiles ok and then when I try to use the object aubiotempo~ in pd I get this error:</p>
<p>Symbol not found: _aubio_tempo_do<br />
Referenced from: /Applications/Pd-extended.app/Contents/Resources/extra/aubiotempo~.pd_darwin<br />
Expected in: dynamic lookup</p>
<p>I am not able to install aubio on this version of mac os when using macports because some libraries would not install. But, do I need aubio installed on my machine?</p>
<p>Thanks everyone!</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/6041/compiling-aubio-externals-on-mac-os-x-10-7</link><generator>RSS for Node</generator><lastBuildDate>Sun, 17 May 2026 14:39:15 GMT</lastBuildDate><atom:link href="http://forum.pdpatchrepo.info/topic/6041.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 06 Mar 2012 13:58:55 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Compiling aubio externals on mac os x 10.7 on Tue, 06 Mar 2012 13:58:55 GMT]]></title><description><![CDATA[<p>hello!</p>
<p>I am trying to compile aubio pd externals, written by paul brossier from here: <a href="http://aubio.sourcearchive.com/documentation/0.3.2-2/aubiotempo~_8c-source.html" rel="nofollow">http://aubio.sourcearchive.com/documentation/0.3.2-2/aubiotempo~_8c-source.html</a><br />
with Xcode 4.2 on mac os 10.7.</p>
<p>I previously managed to compile several files which only had dependencies on m_pd.h.</p>
<p>Now I am including aubio.h and linking Header Search Paths, User Header Search Paths to the src directory where the aubio.h is located.</p>
<p>The project compiles ok and then when I try to use the object aubiotempo~ in pd I get this error:</p>
<p>Symbol not found: _aubio_tempo_do<br />
Referenced from: /Applications/Pd-extended.app/Contents/Resources/extra/aubiotempo~.pd_darwin<br />
Expected in: dynamic lookup</p>
<p>I am not able to install aubio on this version of mac os when using macports because some libraries would not install. But, do I need aubio installed on my machine?</p>
<p>Thanks everyone!</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/6041/compiling-aubio-externals-on-mac-os-x-10-7</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/6041/compiling-aubio-externals-on-mac-os-x-10-7</guid><dc:creator><![CDATA[dio_333]]></dc:creator><pubDate>Tue, 06 Mar 2012 13:58:55 GMT</pubDate></item><item><title><![CDATA[Reply to Compiling aubio externals on mac os x 10.7 on Tue, 06 Mar 2012 14:10:47 GMT]]></title><description><![CDATA[<p>Hello dio_333,</p>
<p>Did you add the lib to the startup preferences?</p>
<p>Katja</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/6041/compiling-aubio-externals-on-mac-os-x-10-7/2</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/6041/compiling-aubio-externals-on-mac-os-x-10-7/2</guid><dc:creator><![CDATA[katjav]]></dc:creator><pubDate>Tue, 06 Mar 2012 14:10:47 GMT</pubDate></item><item><title><![CDATA[Reply to Compiling aubio externals on mac os x 10.7 on Tue, 06 Mar 2012 14:12:32 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/dio_333">@dio_333</a> said:</p>
<blockquote>
<p>..Now I am including aubio.h and linking Header Search Paths, User Header Search Paths to the src directory where the aubio.h is located<br />
. . .<br />
I am not able to install aubio on this version of mac os when using macports because some libraries would not install. But, do I need aubio installed on my machine?</p>
</blockquote>
<p>Yes .. if you're compiling agianst aubio.h, you need the aubio libs installed .<br />
You can always try and compile the libs youself .. you can comment out (in the Makefile), the 'offending' code which is dependent on those libs that won't install .. it should work, unless the 'bits of code' you want, happen to be dependent on them..</p>
<p>Edit: Did you use static or dynamic linking? Didn't you need to use -laubio ?</p>
<p>I believe that -lsndfile, -lsamplerate are also involved</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/6041/compiling-aubio-externals-on-mac-os-x-10-7/3</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/6041/compiling-aubio-externals-on-mac-os-x-10-7/3</guid><dc:creator><![CDATA[moog1]]></dc:creator><pubDate>Tue, 06 Mar 2012 14:12:32 GMT</pubDate></item><item><title><![CDATA[Reply to Compiling aubio externals on mac os x 10.7 on Wed, 07 Mar 2012 17:41:33 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/moog1">@moog1</a> said:</p>
<blockquote>
<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/dio_333">@dio_333</a> said:</p>
<blockquote>
<p>..Now I am including aubio.h and linking Header Search Paths, User Header Search Paths to the src directory where the aubio.h is located<br />
. . .<br />
I am not able to install aubio on this version of mac os when using macports because some libraries would not install. But, do I need aubio installed on my machine?</p>
</blockquote>
<p>Yes .. if you're compiling agianst aubio.h, you need the aubio libs installed .<br />
You can always try and compile the libs youself .. you can comment out (in the Makefile), the 'offending' code which is dependent on those libs that won't install .. it should work, unless the 'bits of code' you want, happen to be dependent on them..</p>
<p>Edit: Did you use static or dynamic linking? Didn't you need to use -laubio ?</p>
<p>I believe that -lsndfile, -lsamplerate are also involved</p>
</blockquote>
<p>I used dynamic linking so maybe that's why the compiler wasn't complaining about anything.</p>
<p>I also tried the same thing on a snow leopard but trying to install aubio with macports. And again, the same error.</p>
<p>I will try to install it with config/make/make install as you said. I see here that I already have installed</p>
<p>Summary:<br />
Fftw3: yes (not using fftw3f)<br />
Libsndfile: yes<br />
Libsamplerate: yes<br />
JACK: no<br />
ALSA midi: no<br />
Lash: no<br />
PureData: no</p>
<p>it is funny because I thought it is only depending on the first 3. On the macports it is a lot worse, it installs a lot of dependencies. I have installed pd as an app so probably it doesn't find the libraries? I don't really know... I am a bit lost</p>
<p>PS: never mind this...I managed to install aubio by removing a flag in the configure script &quot;-Wno-long-double&quot; then everything worked as a charm. I will post more tomorrow once I compile my external with aubio. I think I am setting some wrong flags in Xcode or not setting them at all</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/6041/compiling-aubio-externals-on-mac-os-x-10-7/4</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/6041/compiling-aubio-externals-on-mac-os-x-10-7/4</guid><dc:creator><![CDATA[dio_333]]></dc:creator><pubDate>Wed, 07 Mar 2012 17:41:33 GMT</pubDate></item><item><title><![CDATA[Reply to Compiling aubio externals on mac os x 10.7 on Thu, 08 Mar 2012 10:23:14 GMT]]></title><description><![CDATA[<p>so I manage to install aubio, include the paths to the /usr/local/lib and also add the flag -laubio (other c flags) and I still have the same error.</p>
<p>any suggestion? maybe I shouldn't create a dynamic library?</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/6041/compiling-aubio-externals-on-mac-os-x-10-7/5</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/6041/compiling-aubio-externals-on-mac-os-x-10-7/5</guid><dc:creator><![CDATA[dio_333]]></dc:creator><pubDate>Thu, 08 Mar 2012 10:23:14 GMT</pubDate></item><item><title><![CDATA[Reply to Compiling aubio externals on mac os x 10.7 on Thu, 08 Mar 2012 10:39:39 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/katjav">@katjav</a> said:</p>
<blockquote>
<p>Hello dio_333,</p>
<p>Did you add the lib to the startup preferences?</p>
<p>Katja</p>
</blockquote>
<p>sorry, I've just seen your post now...should I add aubiotempo~ to start-up? it's the same thing I guess.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/6041/compiling-aubio-externals-on-mac-os-x-10-7/6</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/6041/compiling-aubio-externals-on-mac-os-x-10-7/6</guid><dc:creator><![CDATA[dio_333]]></dc:creator><pubDate>Thu, 08 Mar 2012 10:39:39 GMT</pubDate></item><item><title><![CDATA[Reply to Compiling aubio externals on mac os x 10.7 on Thu, 08 Mar 2012 14:34:01 GMT]]></title><description><![CDATA[<blockquote>
<p>should I add aubiotempo~ to start-up?</p>
</blockquote>
<p>Aubio for Pd is a single-file-multiple-classes lib, and copying the file into the 'extra' folder is not enough to make the objects load. So the aubio~.pd_darwin must be added to the startup items.</p>
<p>If it still doesn't work then, you can check the exported symbols (functions) in aubio~.pd_darwin with command nm. If a symbol is missing it means something went wrong with static linking. Also note that symbols preceded with uppercase characters are exported, those with lowercase are not exported. It seems to me that fftw3 etc must be statically built into the executable. But the aubio executable itself must definitely be a dynamic library.</p>
<p>Unfortunately I can't build aubio on OSX (10.5) myself as I never managed to get fftw3 installed with Fink.</p>
<p>Katja</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/6041/compiling-aubio-externals-on-mac-os-x-10-7/7</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/6041/compiling-aubio-externals-on-mac-os-x-10-7/7</guid><dc:creator><![CDATA[katjav]]></dc:creator><pubDate>Thu, 08 Mar 2012 14:34:01 GMT</pubDate></item><item><title><![CDATA[Reply to Compiling aubio externals on mac os x 10.7 on Thu, 08 Mar 2012 15:27:22 GMT]]></title><description><![CDATA[<p>thanks for your advice!</p>
<p>in fact, I just tried to build one .c file from all the package, not all the aubio for pd thing.</p>
<p>my goal is to use aubio inside my external. I thought compiling just one c file as a pd_darwin could be a start. this means I have to link everything from Xcode.</p>
<p>now I am looking at how fleet builds objects in the Xcode template they provide.</p>
<p>I installed fftw3 with the configure/make script because fink it doesn't work for me.</p>
<p>I get the same error when trying to build a flext external, using their Xcode template:</p>
<p>Symbol not found: __ZN18flext_obj_single_d8FinalizeEv<br />
Referenced from: /Users/mmiron/Documents/INESC/maxpd/flext/examples/pd/myext.pd_darwin<br />
Expected in: dynamic lookup</p>
<p>I didn't modified anything to this, just added GLOBAL paths to the libraries/headers. could this be the problem here?</p>
<p>later edit:<br />
both in flext project and aubio, I get the same warning:<br />
ignoring file /Developer/SDKs/MacOSX10.6.sdk/usr/local/lib/libaubio.dylib, file was built for unsupported file format which is not the architecture being linked (i386)</p>
<p>ld: warning: ignoring file /usr/local/lib/libflext-pd_sd.a, file was built for archive which is not the architecture being linked (i386)</p>
<p>uname -p gives me i386 and uname -p x86_64. and in the Architecture tab I am using 32 bits.</p>
<p>when I look in the system information, it seems that pd-extended was installed for 32 bit. I downloaded the dmg from the website. maybe it is a good idea to compile pd-extended from the src maybe it will compile for 64 bit</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/6041/compiling-aubio-externals-on-mac-os-x-10-7/8</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/6041/compiling-aubio-externals-on-mac-os-x-10-7/8</guid><dc:creator><![CDATA[dio_333]]></dc:creator><pubDate>Thu, 08 Mar 2012 15:27:22 GMT</pubDate></item><item><title><![CDATA[Reply to Compiling aubio externals on mac os x 10.7 on Thu, 08 Mar 2012 17:25:35 GMT]]></title><description><![CDATA[<blockquote>
<p>I didn't modified anything to this, just added GLOBAL paths to the libraries/headers. could this be the problem here?</p>
</blockquote>
<p>Yeah the path settings. Pd externals are compiled with -undefined suppress or -export_dynamic flags, so GCC doesn't complain about any function definitions missing, if only the forward declarations are found. In my limited experience with Xcode, anything you want to link statically must be included (as source or precompiled binary, not only a link to the header) in the project.</p>
<p>Edit: I'm wrong, libaubio should be a dynamic lib indeed, it is like that on Linux. On OSX it may be an idea to put the .dylib in Contents/lib of the Pd-extended app.</p>
<p>I'd like to try and build the aubio stuff on OSX from it's build system, on the command line. dio_333, can you tell me how you installed fftw3 from the configure/make script? Which script, how?</p>
<p>Katja</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/6041/compiling-aubio-externals-on-mac-os-x-10-7/9</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/6041/compiling-aubio-externals-on-mac-os-x-10-7/9</guid><dc:creator><![CDATA[katjav]]></dc:creator><pubDate>Thu, 08 Mar 2012 17:25:35 GMT</pubDate></item><item><title><![CDATA[Reply to Compiling aubio externals on mac os x 10.7 on Thu, 08 Mar 2012 17:50:39 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/dio_333">@dio_333</a> said:</p>
<blockquote>
<p>maybe it is a good idea to compile pd-extended from the src maybe it will compile for 64 bit</p>
</blockquote>
<p>.</p>
<p>You can also get the latest Pd-extended 0.43 from the nightly builds for 64 bit OSX. Or you can build the aubio for 32 bit. This must be possible with Xcode 4. Only powerpc builds are no longer supported if I remember well.</p>
<p>Katja</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/6041/compiling-aubio-externals-on-mac-os-x-10-7/10</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/6041/compiling-aubio-externals-on-mac-os-x-10-7/10</guid><dc:creator><![CDATA[katjav]]></dc:creator><pubDate>Thu, 08 Mar 2012 17:50:39 GMT</pubDate></item><item><title><![CDATA[Reply to Compiling aubio externals on mac os x 10.7 on Thu, 08 Mar 2012 17:56:37 GMT]]></title><description><![CDATA[<p>I downloaded the source code: <a href="http://www.fftw.org/fftw-3.3.1.tar.gz" rel="nofollow">http://www.fftw.org/fftw-3.3.1.tar.gz</a> and I did ./configure and make and sudo make install from command line. I think you can use ./bootstrap instead</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/6041/compiling-aubio-externals-on-mac-os-x-10-7/11</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/6041/compiling-aubio-externals-on-mac-os-x-10-7/11</guid><dc:creator><![CDATA[dio_333]]></dc:creator><pubDate>Thu, 08 Mar 2012 17:56:37 GMT</pubDate></item><item><title><![CDATA[Reply to Compiling aubio externals on mac os x 10.7 on Thu, 08 Mar 2012 20:29:06 GMT]]></title><description><![CDATA[<p>That was easy, thanks. But now another package missing, samplerate. Fink won't compile this one either. 'no working compiler found'. Fink is dead, as far as my too old Mac is concerned. There can be no doubt that there is a working compiler on my computer.</p>
<p>When doing configure for libsamplerate on the command line, I get: 'checking for FFTW3... no'. I just installed fftw3 and certainly it's there in /usr/local/bin, and the header in /usr/local/include. Aubio's configure does find fft3.h. But it can't find package samplerate. While samplerate.h is next to fft3.h in /usr/local/include. No luck today.</p>
<p>Katja</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/6041/compiling-aubio-externals-on-mac-os-x-10-7/12</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/6041/compiling-aubio-externals-on-mac-os-x-10-7/12</guid><dc:creator><![CDATA[katjav]]></dc:creator><pubDate>Thu, 08 Mar 2012 20:29:06 GMT</pubDate></item><item><title><![CDATA[Reply to Compiling aubio externals on mac os x 10.7 on Fri, 09 Mar 2012 10:24:26 GMT]]></title><description><![CDATA[<p>maybe you could try using this compiler?</p>
<p><a href="https://github.com/kennethreitz/osx-gcc-installer/" rel="nofollow">https://github.com/kennethreitz/osx-gcc-installer/</a></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/6041/compiling-aubio-externals-on-mac-os-x-10-7/13</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/6041/compiling-aubio-externals-on-mac-os-x-10-7/13</guid><dc:creator><![CDATA[dio_333]]></dc:creator><pubDate>Fri, 09 Mar 2012 10:24:26 GMT</pubDate></item><item><title><![CDATA[Reply to Compiling aubio externals on mac os x 10.7 on Fri, 09 Mar 2012 14:55:00 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/katjav">@katjav</a> said:</p>
<blockquote>
<p>When doing configure for libsamplerate on the command line, I get: 'checking for FFTW3... no'. I just installed fftw3 and certainly it's there in /usr/local/bin, and the header in /usr/local/include. Aubio's configure does find fft3.h. But it can't find package samplerate. While samplerate.h is next to fft3.h in /usr/local/include. No luck today.</p>
</blockquote>
<p>Hmm .. /usr/local/bin? It would be looking for libfftw3*.* on some 'lib path', wouldn't it?</p>
<p>I don't know if the following might help:-<br />
<a href="http://root.cern.ch/phpBB3/viewtopic.php?f=3&amp;t=13417" rel="nofollow">http://root.cern.ch/phpBB3/viewtopic.php?f=3&amp;t=13417</a></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/6041/compiling-aubio-externals-on-mac-os-x-10-7/14</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/6041/compiling-aubio-externals-on-mac-os-x-10-7/14</guid><dc:creator><![CDATA[moog1]]></dc:creator><pubDate>Fri, 09 Mar 2012 14:55:00 GMT</pubDate></item><item><title><![CDATA[Reply to Compiling aubio externals on mac os x 10.7 on Sat, 10 Mar 2012 11:49:03 GMT]]></title><description><![CDATA[<p>I'm on OSX 10.5 and everything is built for 32 bit address space by default. Checked libsamplerate.a and libfftw3.a with otool (thanks for the link, moog1).</p>
<p>When running aubio's ./configure, it searches fftw3.h (found) and packages SNDLIB (found) and SAMPLERATE (not found).</p>
<p>Tried './configure --without-SAMPLERATE'. But it still exits with the same error about package SAMPLERATE not being found. It is probably essential.</p>
<p>Did I install the wrong libsamplerate? Got it from here (Secret Rabbit Hole):</p>
<p><a href="http://www.mega-nerd.com/SRC/download.html" rel="nofollow">http://www.mega-nerd.com/SRC/download.html</a></p>
<p>Katja</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/6041/compiling-aubio-externals-on-mac-os-x-10-7/15</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/6041/compiling-aubio-externals-on-mac-os-x-10-7/15</guid><dc:creator><![CDATA[katjav]]></dc:creator><pubDate>Sat, 10 Mar 2012 11:49:03 GMT</pubDate></item><item><title><![CDATA[Reply to Compiling aubio externals on mac os x 10.7 on Sat, 10 Mar 2012 12:05:36 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/dio_333">@dio_333</a> said:</p>
<blockquote>
<p>maybe you could try using this compiler?</p>
<p><a href="https://github.com/kennethreitz/osx-gcc-installer/" rel="nofollow">https://github.com/kennethreitz/osx-gcc-installer/</a></p>
</blockquote>
<p>I have Xcode 3.1.3 installed on OSX 10.5. It has gcc 4.0 and gcc 4.2. Fink wants to use gcc 4.2 and seems unable to locate it. It's a pity, everything can be compiled but a package manager would be handy.</p>
<p>Katja</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/6041/compiling-aubio-externals-on-mac-os-x-10-7/16</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/6041/compiling-aubio-externals-on-mac-os-x-10-7/16</guid><dc:creator><![CDATA[katjav]]></dc:creator><pubDate>Sat, 10 Mar 2012 12:05:36 GMT</pubDate></item><item><title><![CDATA[Reply to Compiling aubio externals on mac os x 10.7 on Sat, 10 Mar 2012 15:39:52 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/katjav">@katjav</a> said:</p>
<blockquote>
<p>Did I install the wrong libsamplerate? Got it from here (Secret Rabbit Hole):</p>
<p><a href="http://www.mega-nerd.com/SRC/download.html" rel="nofollow">http://www.mega-nerd.com/SRC/download.html</a><br />
Katja</p>
</blockquote>
<p>No, I don't think so .. have you looked in 'config.log'? Might be more info on the error there..</p>
<p>It could be something to do with pkg-config</p>
<p>How about setting the following environment variables:-</p>
<p>SAMPLERATE_CFLAGS and SAMPLERATE_LIBS that the pkg-config executable spews out <img class="emoji emoji-extended" src="http://forum.pdpatchrepo.info/plugins/nodebb-plugin-emoji-extended/images/grinning.png" title=":)" alt=":)" /></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/6041/compiling-aubio-externals-on-mac-os-x-10-7/17</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/6041/compiling-aubio-externals-on-mac-os-x-10-7/17</guid><dc:creator><![CDATA[moog1]]></dc:creator><pubDate>Sat, 10 Mar 2012 15:39:52 GMT</pubDate></item><item><title><![CDATA[Reply to Compiling aubio externals on mac os x 10.7 on Tue, 13 Mar 2012 00:42:01 GMT]]></title><description><![CDATA[<p>Are you there Katja? How are you getting on?</p>
<p>I hope you haven't given up .. have you got pkg-config installed?<br />
[ <a href="http://www.freedesktop.org/wiki/Software/pkg-config" rel="nofollow">http://www.freedesktop.org/wiki/Software/pkg-config</a> ]</p>
<p>If you've got it installed, check whether you have a 'samplerate.pc'</p>
<p>When I run</p>
<pre><code>pkg-config --libs --cflags samplerate
</code></pre>
<p>I get an output of -lsamplerate</p>
<p>Hope it helps..</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/6041/compiling-aubio-externals-on-mac-os-x-10-7/18</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/6041/compiling-aubio-externals-on-mac-os-x-10-7/18</guid><dc:creator><![CDATA[moog1]]></dc:creator><pubDate>Tue, 13 Mar 2012 00:42:01 GMT</pubDate></item><item><title><![CDATA[Reply to Compiling aubio externals on mac os x 10.7 on Tue, 13 Mar 2012 10:53:20 GMT]]></title><description><![CDATA[<p>Hi moog1, thanks for your support.</p>
<p>There's /sw/bin/pkg-config from Fink. The point is, I installed packages without Fink because Fink wouldn't compile stuff anymore. But with all files scattered around in different places it's a mess. Now installed a newer Xcode and trying to get Fink up and running again. Otherwise I'll upgrade to 10.6 one day.</p>
<p>Moog1, did you already check various pitch tracker methods in Aubio? In the Pd object the yin method is called but there are a few others.</p>
<p>Katja</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/6041/compiling-aubio-externals-on-mac-os-x-10-7/19</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/6041/compiling-aubio-externals-on-mac-os-x-10-7/19</guid><dc:creator><![CDATA[katjav]]></dc:creator><pubDate>Tue, 13 Mar 2012 10:53:20 GMT</pubDate></item><item><title><![CDATA[Reply to Compiling aubio externals on mac os x 10.7 on Tue, 13 Mar 2012 17:48:57 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/katjav">@katjav</a> said:</p>
<blockquote>
<p>..did you already check various pitch tracker methods in Aubio? In the Pd object the yin method is called but there are a few others.</p>
</blockquote>
<p>Yes, I did .. not in great detail, but enough to inspire me to consider writing basspitch~<br />
I also managed to get ALL of the methods working in PD by modifying the code. I have the aubio libs installed, and they're very good.<br />
However, when I was writing basspitch~, I decided not to be dependent on any extra libraries outside of PD .. a few reasons .. duplicated code .. simplicity .. ease of compilation .. and so on</p>
<p>I was thinking of improving the interface, but am waiting to see if the author is going to do it <img class="emoji emoji-extended" src="http://forum.pdpatchrepo.info/plugins/nodebb-plugin-emoji-extended/images/wink.png" title=";)" alt=";)" /></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/6041/compiling-aubio-externals-on-mac-os-x-10-7/20</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/6041/compiling-aubio-externals-on-mac-os-x-10-7/20</guid><dc:creator><![CDATA[moog1]]></dc:creator><pubDate>Tue, 13 Mar 2012 17:48:57 GMT</pubDate></item><item><title><![CDATA[Reply to Compiling aubio externals on mac os x 10.7 on Tue, 13 Mar 2012 20:02:17 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/moog1">@moog1</a> said:</p>
<blockquote>
<p>I was thinking of improving the interface, but am waiting to see if the author is going to do it <img class="emoji emoji-extended" src="http://forum.pdpatchrepo.info/plugins/nodebb-plugin-emoji-extended/images/wink.png" title=";)" alt=";)" /></p>
</blockquote>
<p>You mean Aubio's API, or the Pd wrappers?</p>
<p>If you look at the aubio git, it seems that several people have contributed improvements lately. The Pd wrappers are rudimentary implementations, they could use improvement indeed.</p>
<p>Finally got fftw3 and libsamplerate built and installed with Fink. Aubio lib and aubio.pd_darwin build OK with aubio's build system.</p>
<p>Moog1, you're right it's better to have no dependencies for a Pd object. It seems that aubio has support for ooura fft now, I guess it can be linked statically and this could be an opportunity to build aubio for Pd without dependencies.</p>
<p>By the way, I do get plenty false pitch reports from [aubiopitch~]. It is a very rough implementation. Hmm. Moog1, could you share your rewrite?</p>
<p>Katja</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/6041/compiling-aubio-externals-on-mac-os-x-10-7/21</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/6041/compiling-aubio-externals-on-mac-os-x-10-7/21</guid><dc:creator><![CDATA[katjav]]></dc:creator><pubDate>Tue, 13 Mar 2012 20:02:17 GMT</pubDate></item><item><title><![CDATA[Reply to Compiling aubio externals on mac os x 10.7 on Wed, 14 Mar 2012 00:29:47 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/katjav">@katjav</a> said:</p>
<blockquote>
<p>By the way, I do get plenty false pitch reports from [aubiopitch~]. It is a very rough implementation. Hmm. Moog1, could you share your rewrite?</p>
</blockquote>
<p>Mmm <img class="emoji emoji-extended" src="http://forum.pdpatchrepo.info/plugins/nodebb-plugin-emoji-extended/images/grinning.png" title=":)" alt=":)" /><br />
If I remember rightly, the threshold wasn't working, amongst other things..</p>
<p>I found my modified aubiopitch~.c .. it compiles .. it still needs a bit more attention, but I found it useful for comparing the different algorithms/methods .. I've attached it below for you to browse / 'play with'</p>
<p><a href="http://www.pdpatchrepo.info/hurleur/aubiopitch~.c" rel="nofollow">http://www.pdpatchrepo.info/hurleur/aubiopitch~.c</a></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/6041/compiling-aubio-externals-on-mac-os-x-10-7/22</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/6041/compiling-aubio-externals-on-mac-os-x-10-7/22</guid><dc:creator><![CDATA[moog1]]></dc:creator><pubDate>Wed, 14 Mar 2012 00:29:47 GMT</pubDate></item><item><title><![CDATA[Reply to Compiling aubio externals on mac os x 10.7 on Wed, 14 Mar 2012 08:48:07 GMT]]></title><description><![CDATA[<p>Hi moog1,</p>
<p>Thanks for sharing your rewrite. With the threshold inlet it is now indeed possible to set an appropriate level for the yinfft method. It is not super responsive though. The fcomb and mcomb methods are extremely precise, even for high frequencies. But they do not react to the threshold. Smitt makes Pd crash.</p>
<p>Moog1, did you use elements or aspects of aubio for [basspitch~, or did you instead design your own solution because aubio did not work for your purpose?</p>
<p>Katja</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/6041/compiling-aubio-externals-on-mac-os-x-10-7/23</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/6041/compiling-aubio-externals-on-mac-os-x-10-7/23</guid><dc:creator><![CDATA[katjav]]></dc:creator><pubDate>Wed, 14 Mar 2012 08:48:07 GMT</pubDate></item><item><title><![CDATA[Reply to Compiling aubio externals on mac os x 10.7 on Wed, 14 Mar 2012 10:37:51 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/katjav">@katjav</a> said:</p>
<blockquote>
<p>did you use elements or aspects of aubio for [basspitch~, or did you instead design your own solution because aubio did not work for your purpose?</p>
<p>Katja</p>
</blockquote>
<p>I started of by using schmitt ( wasn't crashing for me, but I might have changed something ), due to efficiency/speed, but ended up using fft/freq domain due to its excellent filtering properties .. and as PD already had 'mayerfft' , I got distracted from aubio <img class="emoji emoji-extended" src="http://forum.pdpatchrepo.info/plugins/nodebb-plugin-emoji-extended/images/wink.png" title=";)" alt=";)" /></p>
<p>Although you are experiencing difficulties, I still think that the aubio libs are good .. could always 'borrow' any code that seems useful/efficient.</p>
<p>I was using libsamplerate to downsample, but decided that a simple interpolation was sufficent/efficient .. I like simplicity, but normally end up compromising to some extent .. simple things are generally more stable, although C++ is reasonably foolproof, there are significant overheads!</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/6041/compiling-aubio-externals-on-mac-os-x-10-7/24</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/6041/compiling-aubio-externals-on-mac-os-x-10-7/24</guid><dc:creator><![CDATA[moog1]]></dc:creator><pubDate>Wed, 14 Mar 2012 10:37:51 GMT</pubDate></item><item><title><![CDATA[Reply to Compiling aubio externals on mac os x 10.7 on Wed, 14 Mar 2012 11:05:56 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/moog1">@moog1</a> said:</p>
<blockquote>
<p>I still think that the aubio libs are good .. could always 'borrow' any code that seems useful/efficient.</p>
</blockquote>
<p>The structure of aubiolib is decent and it's build system as well, it is the work of a professional. It is a pity that the Pd wrappers do not exploit the full power of the routines, but indeed aubiolib is a good source to test various detection methods. It is my wish to make a robust note-detector, and aubio's onset detection may put me on a track.</p>
<p>Katja</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/6041/compiling-aubio-externals-on-mac-os-x-10-7/25</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/6041/compiling-aubio-externals-on-mac-os-x-10-7/25</guid><dc:creator><![CDATA[katjav]]></dc:creator><pubDate>Wed, 14 Mar 2012 11:05:56 GMT</pubDate></item><item><title><![CDATA[Reply to Compiling aubio externals on mac os x 10.7 on Mon, 30 Apr 2012 17:42:10 GMT]]></title><description><![CDATA[<p>so anyone can share with me the 32 bit version of this library? I would be grateful as I really need it on a macosx.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/6041/compiling-aubio-externals-on-mac-os-x-10-7/26</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/6041/compiling-aubio-externals-on-mac-os-x-10-7/26</guid><dc:creator><![CDATA[dio_333]]></dc:creator><pubDate>Mon, 30 Apr 2012 17:42:10 GMT</pubDate></item><item><title><![CDATA[Reply to Compiling aubio externals on mac os x 10.7 on Mon, 30 Apr 2012 22:20:36 GMT]]></title><description><![CDATA[<p>Hi dio_333, attached is moog1's modified version compiled for OSX 10.5, 32 bit. Maybe it will work on your system, if you have 32 bit Pd.</p>
<p>Katja</p>
<p><a href="http://www.pdpatchrepo.info/hurleur/aubio.pd_darwin.zip" rel="nofollow">http://www.pdpatchrepo.info/hurleur/aubio.pd_darwin.zip</a></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/6041/compiling-aubio-externals-on-mac-os-x-10-7/27</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/6041/compiling-aubio-externals-on-mac-os-x-10-7/27</guid><dc:creator><![CDATA[katjav]]></dc:creator><pubDate>Mon, 30 Apr 2012 22:20:36 GMT</pubDate></item></channel></rss>