This application generates midi bifurcation diagrams generated from generated logistic map data.
Project description
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):
- Open 'Audio MIDI Setup.app'
- Click 'Window' -> 'Show MIDI Studio'
- Double click 'IAC Driver' device
- Check 'Device is online' checkbox
- Click 'Apply'
- 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:
- Activate a virtual environment:
make virtualenv
- Activate the virtual environment (not strictly necessary, if using the Makefile only):
source venv/bin/activate
- 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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file henon2midi-0.0.1.tar.gz
.
File metadata
- Download URL: henon2midi-0.0.1.tar.gz
- Upload date:
- Size: 9.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 572219aaf65c0293ae0362e2b6eb3daed070c100cd72201e571d8f1a80c4a07a |
|
MD5 | 2a9798f7965f85a5da901d797d3bb6c1 |
|
BLAKE2b-256 | 7e89506822e281f15b95c796433ebcf3b6cf8d0e0b7d4d64d829c8685f81fa21 |
File details
Details for the file henon2midi-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: henon2midi-0.0.1-py3-none-any.whl
- Upload date:
- Size: 10.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 92b7655d34c3a7a2aecdbe94717dfcd81186ac8896455b7fa5a42c2fa8d05423 |
|
MD5 | 856cb3d3659115817720d6efc0244caa |
|
BLAKE2b-256 | abd49643aa3054164be56ba61b8a37a60eadc439553dd6d0cb186c42c2e56132 |