Giter Club home page Giter Club logo

automix's Introduction

Automix

Welcome to Automix, an automated mixing/DJing program. Own electronic music? Prefer listening to a continous mix rather than individual tracks? If so, Automix could be useful to you.

Automix takes a directory containing audio files as input and outputs a MP3 file containing a continous mix of the input tracks, users can control the charachteristics of the output mix by passing in various arguements. Currently this is biased towards a mixing style popular for DnB/Jungle/Breakbeat music.

Refer to the developer documentation for a detailed description of the operation of Automix.

Getting Started

Currently only 64 bit Linux machines are supported. Also only mp3 and m4a format input and output files are supported. The following guide has been tested using Ubuntu 20.04.

Prerequisites

The following software is required to build and run Automix:

  • git
  • make
  • cmake
  • g++ (At least version 8)
  • libpthread
  • libavutil
  • libavformat
  • libavcodec

These can easily be installed using a package manager, for example apt:

> sudo apt update
> sudo apt install git make cmake g++ libavformat-dev

Building

Clone the project and it's submodules, then use make to build it:

> git clone https://github.com/walkywalker/automix --recurse-submodules
> cd automix
> make

Running

Automix requires the environment variable AUTOMIX_HOME to be set. The simplest method is to set it as the top-level directory of the repository. However it can be set to any directory, as long as $AUTOMIX_HOME/log and $AUTOMIX_HOME/tmp exist.

The Automix binary will be in the top-level directory after building, it can be run using:

> ./automix -i <path of input directory> -o <path of output file> -m

Note the output file must have the .mp3 extension. The -m argument enables multi-threading for track analysis. Information on the other arguments can be accessed by running ./automix -h. Or, for more detailed descriptions, refer to the developer documentation.

FFMPEG outputs information to STDERR, therefore it is usually most useful to forward STDOUT to a file.

Authors

Contributing

Contributions welcome, refer to the developer documentation for a detailed description of the state of the project. Feel free to contact me via email to discuss changes.

License

This project is licensed under the GNU GPLv2 License - see the COPYING file for details.

Note this project contains modified source code from QM Vamp Plugins, which are also licensed under GNU GPLv2.

Acknowledgments

Submodules

Inspiration

automix's People

Contributors

walkywalker avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

automix's Issues

Cannot change output tempo

Hi,
Although Automix works, it is "locked" on 87.5 BPM since I can't change the output tempo with the -ot argument.

For example, the following command works:

./automix -i experiment/ -o results/exp3.mp3 -m -bd 5 -dd 5 -it 100 -l 5 -s 8232

but not the following:

./automix -i experiment/ -o results/exp3.mp3 -m -bd 5 -dd 5 -it 100 -l 5 -s 8232 -ot 125

It outputs the following error message:

terminate called after throwing an instance of 'std::invalid_argument'
what(): stod
Aborted (core dumped)

Thank you!

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.