Giter Club home page Giter Club logo

christianfrisson / gaia Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mtg/gaia

0.0 2.0 0.0 19.16 MB

C++ library to apply similarity measures and classifications on the results of audio analysis, including Python bindings. Together with Essentia it can be used to compute high-level descriptions of music.

Home Page: http://essentia.upf.edu

License: GNU Affero General Public License v3.0

Python 26.58% Shell 0.29% QMake 1.18% Batchfile 0.03% C++ 57.68% Objective-C 0.02% NSIS 1.27% Prolog 0.04% CSS 0.06% C 4.51% Yacc 0.27% Lex 0.12% Standard ML 7.94%

gaia's Introduction

Gaia 2

ABOUT

Dependencies:

  • Qt >= 4.5
  • libYAML >= 0.1.1
  • Python >= 2.4
  • SWIG >= 1.3.31

INSTALL

Linux:

  • Install dependencies (Ubuntu/Debian)

    $ apt-get install build-essential libqt4-dev libyaml-dev swig python-dev pkg-config

  • Online help for WAF (build system)

    $ ./waf --help

  • Configure with the desired options

    $ ./waf configure --download [--with-python-bindings] [--with-stlfacade] [--with-asserts] [--with-cyclops]

    NOTE: in order to link Essentia library with Gaia, do not use --with-stlfacade option

  • Compile libgaia.a:

    $ ./waf

  • Install (to install system-wide you might need sudo)

    $ ./waf install [--destdir=/where/ever/]

  • Build documentation (optional), it will be located at build/doc/ folder

    $ ./python src/doc/regenerate_docstring.py

MacOS X:

Build from commmand-line (recommended):

  • Install python, qt libraries 4.8, libYAML and swig dependencies using homebrew:

    $ brew install python --framework

    $ brew install swig libyaml qt

  • Install pyyaml pip package in case use want to build with python bindings:

    $ pip install pyyaml

  • Configure and build similarly to Linux (see above).

Build with QtCreator (alternative):

(Gaia2lib)

  • install qt libraries 4.8 (including debug libraries) and QtCreator from http://qt-project.org/downloads

  • install libYAML and swig dependencies using homebrew (we assume you already have a python installation, otherwise you can also install it using homebrew):

    $ brew install swig

    $ brew install libyaml

  • use QtCreator to open the project file 'Gaia2lib.pro' in packaging/darwin/Gaia2lib/

  • compile the project (you will probably need to configure QtCreator to work with your Qt installation and also to set up the build folder for the project)

(Gaia2Python - python bindings)

  • use swig to generate the file 'gaia_wrap.cxx' that will be needed to compile 'Gaia2Python':

    $ swig -c++ -python -w451 /path_to_gaia_source/src/bindings/gaia.swig

  • copy the generated 'gaia_wrap.cxx' to the Gaia2Python project folder:

    $ cp /path_to_gaia_source/src/bindings/gaia_wrap.cxx /path_to_gaia_source/packaging/darwin/Gaia2Python/

  • use QtCreator to open the project file 'Gaia2Python.pro' in packaging/darwin/Gaia2Python/ and compile

  • run ./make_release_tarball in packaging/darwin:

    $ ./make_release_tarball

  • copy the folder packaging/darwin/tmp/gaia2/python/gaia2 (created when running make_release_tarball.sh) to the site-packages directory of your python distribution. you can now import gaia2 from python

Windows:

  • use the QtCreator projects inside the packaging/win32 directory.

3RD PARTY

This library contains source code from the LibSVM project, which is distributed under the revised BSD license. Please refer to the src/3rdparty/libsvm/COPYRIGHT file for more information.

This library contains the Mersenne Twister random number generator, which is distributed under the BSD license.

This library contains source code from the Alglib project (http://www.alglib.net), which is distributed under the 3-clause BSD license.

This library contains source code from the Eigen project (http://eigen.tuxfamily.org/), which is distributed under the LGPLv3 license.

This library contains source code from FrogLogic command line parser (http://www.froglogic.com/pg?id=PublicationsFreeware&category=getopt) which is distributed under the BSD license.

gaia's People

Contributors

alastair avatar christianfrisson avatar dbogdanov avatar ffont avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.