I need the beat detector to work on windows

Paul Brossier piem at piem.org
Thu Apr 26 18:48:53 CEST 2007


Hello Ronny,

On Wed, Apr 25, 2007 at 01:43:17PM +0200, ronny vanden bempt wrote:
> Hello,
> 
> Can someone here help me with getting aubio to work in PureData on windows
> XP home edition laptop.
> I know from previous posts that two methods exist: crosscompiling and
> compiling with...

i had more success crosscompiling from linux for windows, because both
the gcc toolchains were lacking a few pieces at the time.

using mingw or cygwin, it should look something like the following:

--
# change PREFIX as needed
PREFIX=/usr/local
# update url and version numbers as needed
wget http://fftw.org/fftw-3.1.2.tar.gz
wget http://mega-nerd.com/libsamplerate/libsamplerate-0.1.2.tar.gz
wget http://mega-nerd.com/libsndfile/libsndfile-1.0.11.tar.gz 
wget http://aubio.piem.org/aubio-0.3.2.tar.gz

for i in fftw-3.1.2 libsamplerate-0.1.2 libsndfile-1.0.11 aubio-0.3.2
do
        tar zxf $i.tar.gz
        cd $i
        ./configure --prefix=$PREFIX
        make
        sudo make install
        cd ..
done
--

but there are a few traps on the way.

if you do not have m_pd.h in your $PREFIX/include, you will want to 
add CFLAGS=-I/path/to/your/pd/include at the end of the configure line
for aubio.

it would be really nice if someone could improve the build system on windows
platforms. and the same goes for macosx of course.

> I also found Paul Brossiers dll file on internet.

good! which one did you find/use ?

> As far as I understand, that's all I actually need.
> But I don't see where to put it and how to tell Pd that it exists now.

putting all the dlls in the 'extra' folder of your pd installation
should be enough.

> 
> If that is clarified I'd especially like to use the beat detector, what is
> then then name of this block?

aubiotempo~

cheers, Paul

> 
> gr
> Ronny
> 
> -- 
> Ronny Vanden Bempt
> (0486)510841
> www.ropefly.com
> www.hetdepot.be
> [home]riddersstraat 226, 3000 Leuven
> [dom]verbindingslaan 36, 3001 Heverlee


-- 
To unsubscribe, send mail to aubio-unsubscribe at piem.org.




More information about the aubio-user mailing list