teq
A library implementing a jack midi client for sequencing purposes. The organization of the musical data is tracker-like, i.e. patterns with columns.
Known Limitations
- Jack transport support is severely limited and will always remain so, since the jack_transport API is broken. This means: BBT information is ignored except for the beats_per_minute field and for the mapping of frametime to ticks it is furthermore assumed that the BPM is constant.
Requirements
- A C++11 compatible compiler
- libboost-python for the python module
- python2 C library for the python module
Building
mkdir build cd build cmake .. make cd ..
If you have python3 installed in parallel to python2, you can try altering some cmake variables: Substitute this command for cmake ..
above:
cmake -DPYTHON_LIBRARY=/usr/lib/libpython2.7.so -DPYTHON_INCLUDE_DIR=/usr/include/python2.7
Change the exact names and locations to your python2 install. This is nessecary if you get e.g. linker errors when running
PYTHONPATH=./build:./src LD_LIBARY_PATH=./build/ python2 example.py
API Docs
The C++ API should be documented here:
If you find these to be out of date, use
doxygen
to generate up to date documentation.
The Python API is generated from the file python.cc
. So take a look at that file to see which functions and classes are exposed. Also take a look at test_teq.py
. That file should serve as an example of how to use the API from a python program.