srobo / srcomp-mixtape

A service which plays tracks throughout a competition.
0 stars 2 forks source link

SR Comp Mixtape

|Build Status|

A service which plays tracks throughout a competition.

Usage

Install the library using:

.. code:: shell

pip install -U pip setuptools wheel
pip install git+https://github.com/srobo/srcomp-mixtape

Development

Install: pip install -e .

Run checks: ./script/check

Configuration

A configuration of tracks and triggers to play during a competition is called a mixtape. A mixtape is a directory containing:

Using uncompressed audio is unfortunately necessary due to the nondeterministic time it takes to decode compressed audio, which can throw off timings.

playlist.yaml contains the following top-level keys:

Track configuration

The configuration for a track is a list of triggers, each of which is a dictionary containing the following keys:

And either:

Or:

Or:

Or:

.. |Build Status| image:: https://circleci.com/gh/srobo/srcomp-mixtape.svg?style=svg :target: https://circleci.com/gh/srobo/srcomp-mixtape