Coder Social home page Coder Social logo

tr-cvc's Introduction

TR-CVC

A very basic drum machine and bassline synthesizer, based incredibly loosely on the Roland TR-303, TR-909 and TB-808 machines.

This was built entirely through interaction with OpenAI's ChatGPT, specifically using GPT-4's Code Intepreter plugin.

The goal was to build a drum machine with reatlime editing capabilities, combined with the ability to add additional sounds and sequencing modes.

Video and sound examples:

CleanShot.2023-07-20.at.08.34.33-trimmed-converted-converted.mp4

Features

  • Simple 16/32/64-step sequencer with double-up pattern expansion with velocity control
  • Easily pre-fill with standard rhythms, or shift rhythms across a pattern
  • Bad approxmiations of classic roland 808 and 909 sounds: Bass Drum, Snare, Low- Mid- and High-Toms, Clap, Cowbell, Hihat and Open Hihat, all done in code, no samples.
  • Can also load a sample kit.
  • Bassline instrument including filter and slide
  • Piano stabs!
  • Cycle between kits while playing
  • Configurable per-instrument mixer levels, and per-channel live mute and unmute
  • Adjustable tempo and swing
  • Automatic saving and restoration of sequences

Installation and Development

Right now, the way to install it is the same as the way to develop it: get the code, install the dependencies and run it.

Note: you'll need a pretty big terminal window. Resize it before launching.

Requirements

  • Python > 3.11.0
  • Pipenv (pip install pipenv)
  • Turn your speakers on!

Installation

  1. Clone this repo: git clone https://github.com/ProfessionalDevelopers/tr-cvc.git
  2. cd tr-cvc
  3. pipenv install

Usage

Start up with pipenv run python main.py. The command keys are explained on the screen.

Linux Tips

Follow the instructions as above. If you get an error like

OSError: PortAudio library not found

  1. this S/O link will help: https://stackoverflow.com/a/35593426
  2. then you may need to pip install librosa depending on your setup

TODO

  • FX?

tr-cvc's People

Contributors

charlesvestal avatar zetlen avatar spacelenny avatar

Stargazers

Fausto Núñez Alberro avatar  avatar  avatar

Watchers

Joshua Tokle avatar

Forkers

spacelenny

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.