Skip to main content

A multi-featured commandline interface MIDI step sequencer

Project description

pystepseq

A commandline musical step-sequencer with some advanced features.

TO INSTALL:


  • Make sure you have Python installed

  • Choose as install method, pip or git (pip is recommended if you have it)

From pip:

    pip install pystepseq

From git:

Either download from the 'dist' directory here, or:

    git clone https://github.com/akjmicro/pystepseq

Once downloaded, in the 'pystepseq' directory:

    python setup.py install

  • Files will be installed into a Python lib directory on your system. E.G., on a Linux system, something like /usr/local/lib/Python3.6

  • You may also want to edit the variables at the top of the 'constants.py' These will reflect what MIDI port you are using (e.g., on Linux, '/dev/snd/midiC1D0') and also the multicast port you will be broadcasting the metronome on (and the listeners listening on). Default is 8123.

Post-install SETUP:

  • YOU NEED TO SETUP YOUR COMPUTER FOR MULTICASTING VIA LOOPBACK.

Here's how it's done on Linux (I don't know about anywhere else, sorry):

    route add -net 224.0.0.0 netmask 240.0.0.0 dev lo

IF YOU DON'T DO THE ABOVE STEP, NO MIDI NOTES WILL BE TRIGGERED! The metronome (tempotrigger.py) is dependant on the network multicasting for functionality.

  • YOU NEED TO MAKE SURE YOUR MIDI INSTRUMENTS ARE RECEIVING.

Of course, set up your software (or hardware) synths to be listening on the same MIDI port you have set up pystepseq to push MIDI messages to. It is beyond the scope of this help to show you how to do that, since all synths differ. But as an example, you might set qjackctl to take the output of a virtual MIDI port (e.g. '/dev/snd/midiC1D0', which will show up in a tool like qjackctl as 'Virtual Raw Midi 1-0') and patch it to the MIDI input of the synth/sampler of your choice.

Running:

You should be fine simply starting the script and using the online help.

To start pystepseq, do the following from the commandline:

    pystepseq

You will see a prompt:

    pystepseq('h' for help)-->

This will create a new voice called 'a' if you type what is after the prompt:

    pystepseq('h' for help)--> =a

This will start 'a' playing after a brief pause until the clock is lined up to a certain beat start:

    pystepseq('h' for help)--> a/

This will stop 'a' playing after all its current cycle is exhausted:

    pystepseq('h' for help)--> a\

The online help will give you a hang of the rest of the commands. The system is designed to be succint, in that all the commands have been designed to minimize typing, and are usually a single character, or two-character mnemonic. So for instance, "Take voice 'a' and randomize its volume sequence" would be:

    pystepseq('h' for help)--> arv

...which stands for " 'a' random volumes "

Much more sense will be had once you play with it via the online help.

Enjoy!

Aaron Krister Johnson

Please report bugs and successes to akjmicro@gmail.com

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pystepseq-1.0.1.tar.gz (24.9 kB view details)

Uploaded Source

Built Distribution

pystepseq-1.0.1-py3-none-any.whl (27.8 kB view details)

Uploaded Python 3

File details

Details for the file pystepseq-1.0.1.tar.gz.

File metadata

  • Download URL: pystepseq-1.0.1.tar.gz
  • Upload date:
  • Size: 24.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

File hashes

Hashes for pystepseq-1.0.1.tar.gz
Algorithm Hash digest
SHA256 3e5c26253b645ae5035f6ee0520b19b7d6fdf6ced6310bf2e0b714826d8467eb
MD5 f3f20d4f12c864655d16ee9903725d72
BLAKE2b-256 2c8807aa47b770821344deb80c2bba2384373221c1866d4343ef207f9b93b20b

See more details on using hashes here.

File details

Details for the file pystepseq-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: pystepseq-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 27.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

File hashes

Hashes for pystepseq-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6a0e4f777bb0373087992bde7bbda3aa492acd631a3a4381649767c5c6389ef6
MD5 85fc8bc1786d852bc746d1dee9ebb96d
BLAKE2b-256 8723520760b691bd57c8a6a04dcc5950c20994a05d67aaf706f5de725dc4e094

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page