Code Monkey home page Code Monkey logo

automix's Introduction

Automix

Automatic DJ-mixing of tracks

Install

Clone or download the repository, then run from within the folder:

pip install .

Or to keep the project editable, use:

pip install . --editable

Dependencies

Installing the project with pip should download all the dependencies except Richard Vogl's drums transcription: This project is a fork of Madmom, and has to be installed it in a different environment to keep both libraries accessible.

cd vendors
# python3 -m venv madmomDrumsEnv doesn't work for the installation. for now keeping python2
virtualenv madmomDrumsEnv 

#install the dependencies. 
madmomDrumsEnv/bin/pip install numpy
madmomDrumsEnv/bin/pip install scipy
madmomDrumsEnv/bin/pip install cython
madmomDrumsEnv/bin/pip install nose
#might fail ?
sudo apt-get install python-dev
madmomDrumsEnv/bin/pip install pyaudio

#install from the source `http://www.ifs.tuwien.ac.at/~vogl/models/mirex-17.zip`
wget http://www.ifs.tuwien.ac.at/~vogl/models/mirex-18.tar.gz
tar -xvzf mirex-18.tar.gz
cd madmom-0.16.dev0/
# --user seems not available anymore
../madmomDrumsEnv/bin/python setup.py develop 
#check if it's working
cd ..
madmomDrumsEnv/bin/python madmom-0.16.dev0/bin/DrumTranscriptor
#clean everything
rm mirex-18.tar.gz

Usage

from automix.model.classes.track import Track
track = Track(path="path to audio file")
cues = track.getCueIns()
times = cues.times
confidences = cues.values

automix's People

Contributors

mzehren 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.