Code Monkey home page Code Monkey logo

henon2midi's Introduction

henon2midi

This application generates midi output and midi files from Henon map data.

Installation

  • Install from PyPI:
pip3 install henon2midi

Usage

  • For help:
henon2midi --help
  • Run with default settings:
henon2midi

This will generate a midi file in the current working directory.

  • Sending midi output to a specific device:
henon2midi --midi-out-device device_name

Where device_name is the name of the midi device you want to send the output to. Use a device name of 'default' to use the first available device e.g.

henon2midi --midi-out-device 'device_name'
  • Enabling midi loopback driver on macOS (e.g. for use with DAWS):
    1. Open 'Audio MIDI Setup.app'
    2. Click 'Window' -> 'Show MIDI Studio'
    3. Double click 'IAC Driver' device
    4. Check 'Device is online' checkbox
    5. Click 'Apply'
    6. Make sure 'IAC Driver' enabled as a midi input device in your DAW

Installation from source

  • Prerequisites:
    • Python 3
    • pip

Make sure pip is up to date:

python3 -m pip install --upgrade pip
  • Install package from source code:
pip install .
  • Now you can run the application from the command line e.g.
henon2midi --version

Development

  • Pre-requisites:

    • Python 3
    • pip
    • virtualenv
  • Use the Makefile for local development:

  1. Activate a virtual environment:
make virtualenv
  1. Activate the virtual environment (not strictly necessary, if using the Makefile only):
source venv/bin/activate
  1. Install dependencies:
make install

Then you can:

  • Run the application:
make run

Extra arguments can be passed by providing EXTRA_ARGS variable e.g.

make run EXTRA_ARGS="--help"
  • Run tests:
make test
  • Run linter:
make lint

make fmt can be used to automatically fix some linting errors.

  • Other useful make targets are provided too, see the Makefile for details. Or run make/make help

henon2midi's People

Watchers

 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.