GithubHelp home page GithubHelp logo

beat's Introduction

This is a simple tool that does one thing: Arrange audio samples into something bigger:

Usage: beat OUTFILE SAMPLERATE BPM BEATS TRACKS BEAT INFILE [BEAT INFILE…]
Example: beat beat.flac 44100 240 8 2 0 kick.flac 2 snare.flac 3 kick.flac 4 kick.flac 6 snare.flac

Parameters

  • samplerate: all input files must have the same sample rate
  • BPM: beats per minute
  • beats: total number of beats
  • tracks: to avoid clipping, the samples are multiplied by 1/sqrt(tracks)

The rest of the parameters are pairs of beats and file paths.

Typical usage

I use this in combination with some other tools:

  • record samples with audacity
  • add effects to samples using sox (e.g. reverb or distortion)
  • arrange samples using beat
  • keep the parameters for beat in a text file
  • orchestrate everything using a Makefile

For bigger projects I may have multiple levels, where samples are first combined into bigger samples, then have effects applied to them, and then get combined into the final song.

This allows me to do audio production in the same way I create software: By manipulating text files. beat acts as something like a linker from that perspective.

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.