Tranches is a midi-controlled multi-(inputs/outputs) live beat repeat/redirect tool for the jack sound server on GNU/Linux. There's a command-line and a GUI version. It is released under the GNU General Public Licence.
Here are some key features of "Tranches":
· live beat repeat ("slice") using midi CC or midi note
· multi-inputs (real-time selection of the input using midi CC)
· multi-outputs (real-time selection of the slice output using midi CC)
· uses jack transport to locate beats
· midi controllable slice frequency
· reverse mode
· configuration in a .tra file (xml syntax)
· lash support
· For the GUI version:
· usable and "good-looking" gui
· reload/reset function (no need to restart the program when editing the .tra file)
· For the command-line version:
· command-line menu
· Tranches uses the SCons build system.
· If you use the GUI version, you'll also need FLTK.
To build Tranches, do the following (replace tranches by tranches-no-gui if you use the command-line version):
tar zxf tranches-0.0.x.tar.gz
scons install ( you need to be root, tranches will be installed in /usr/bin)
How it works:
Make sure you have the jack server running and that a program (try seq24 for example) is the transport master (tempo set), otherwise Tranches won't work. You must specify a .tra file with the command-line version. Just cd to the tranches directory and type: ./tranches example.tra or if you installed it in /usr/bin , just type: tranches example.tra (replace tranches by tranches-no-gui if you use the command-line version)
Tranches allows you to take a part ("slice") of an input stream and loop it. The slice is redirected to the output port of your choice. You can create as many input ports as you want, you then select the input you want to slice with a midi CC, and if the value sent to the program is higher than the number of input ports, it will process all the inputs at the same time. Tranches creates a dry output for each input so when you are not slicing an input, it is directly sent to the corresponding dry output. When you toggle the slice mode with a midi CC or note, tranches plays (on the selected output) and records simultaneously the selected input starting from the upcoming beat for a period that is called the slice frequency. This frequency can also be controlled by midi CC and it ranges from 1/32 beat to 1 beat to as many beats as you want (midi value 5 corresponds to 1 beat , 4 to 1/2 beat, and 6 to 2 beats). Then Tranches loops the slice until you release the midi note. During this time, you can of course change the selected output, and you can increase the frequency (reduce the slice size). You can create as many outputs as you want and for example have an output going to a filter effect, one going to a pitch ... Notice that if you choose a long slice size, the program behaves as if it was just redirecting the selected input(s) to a different output, so you can put an effect on an entire input stream.
Just take a look at the example.tra file int the tranches directory to see a simple configuration.