Crates.io | loopers-jack |
lib.rs | loopers-jack |
version | 0.1.2 |
source | src |
created_at | 2020-11-29 22:17:26.640316 |
updated_at | 2021-02-09 05:33:50.732489 |
description | Loopers is graphical live looper, designed for ease of use and rock-solid stability |
homepage | https://github.com/mwylde/loopers |
repository | https://github.com/mwylde/loopers |
max_upload_size | |
id | 317993 |
size | 74,232 |
Loopers is graphical live looper, written in Rust, designed for ease of use and rock-solid stability. It can be used as a practice tool, compositional aid, or for performing looped works in a live setting.
Currently it runs only on Linux as a standalone Jack application, which allows it to interface with other Jack clients like effect racks, software instruments, and DAWs.
The system is modeled as a series of hardware loop units (like the Boss Loop Station) which are synchronized with a single time control. The number of loop units is limited only by your display size, and loop lengths are limited only by available memory.
To build loopers, you will need jack and sdl2.
For Ubuntu/Debian these can be installed with:
$ sudo apt install jackd2 libjack-jackd2-dev libgl1-mesa-dev libsdl2-dev
Now you're ready to install loopers itself. First get a rust toolchain installed (https://rustup.rs), then:
$ cargo install loopers-jack
Then start it with the command
$ loopers-jack
(If you get an error about Jack not running, you will need to start the Jack server first. See the Jack documentation for details).
This will create a Jack client, which can be hooked up to your inputs/outputs/effects with any number of tools (I recommend Claudia from KXStudio).
Loopers has just had its initial release, 0.1. The software is usable and should be quite stable, but likely still has some bugs. It's also missing some key features like undo/redo, time shifting, and a GUI midi configurator and currently runs only on Linux with Jack.
The UI is divided into two parts: the top contains the set of loopers, while the bottom contains controls and settings for the engine. Hovering over each looper shows controls for that looper, including setting the parts the looper is part of and controlling the mode.
Each looper displays some key information to allow the performer to quickly understand its state:
Hovering over the looper produces controls for the looper (although most performers will prefer to use hardware buttons)
At the bottom we find the engine controls
At any given time each looper can be in one of several modes, each identified in the UI by a color:
In addition to those exclusive modes, a looper can have one or more of the following modifiers:
The modes and modifiers can be controlled via the UI or by sending a midi command.
When using multiple loopers, it is generally desirable that they be synchronized together. In Loopers, this is accomplished by having a single time control which is used across all loopers. It is also key that loops have lengths which are exact multiples of each other (for example, you might have a bass loop that is 4 times as long as your rhythm loop). If the length is off by even a few milliseconds, it will quickly be noticeable after a few repeats.
To help performers get loop lengths exactly in sync, Loopers provide a quantization feature. This allows you to synchronize commands (for example, stopping recording and thus setting loop length) to certain metric events.
It supports three quantization modes, set via buttons at the bottom of the UI:
Some commands are affected by quantization, and some take effect immediately. See the commands reference for more.
Every aspect of the system can be controlled via commands, both in the UI and via midi. For details on configuring midi controls, see settings.
There are two kinds of commands: looper commands, which are applied to one or more loopers, and engine commands which apply to the system as a whole. Commands can take parameters which control the behavior of the command.
Looper commands all take a first parameter that determines which looper will be targeted:
Select*Looper
commandsOther commands may also take parameters which control their behavior.
Commands also differ in how they are affected by quantization:
Command | Parameters | Quantization | Description |
---|---|---|---|
Record | Looper Targets | Quantized | Moves the selected loopers to the Record mode |
Overdub | Looper Targets | Quantized | Moves the selected loopers to the Overdub mode |
Play | Looper Targets | Quantized | Moves the selected loopers to the Play mode |
RecordOverdubPlay | Looper Targets | Quantizedâ‘ | Cycles from Record -> Overdub -> Play -> Overdub |
Mute | Looper Targets | Immediate | Toggles the mute modifier on the selected loopers |
Solo | Looper Targets | Immediate | Toggles the solo modifier on the selected loopers |
Delete | Looper Targets | Immediate | Deletes the selected loopers |
Clear | Looper Targets | Quantized | Clears all samples from the selected loopers |
SetPan | Looper Targets, a pan value from -1 (fully left) to 1 (fully right) | Immediate | Sets the pan for the looper |
SetLevel | Looper Targets, a level value from 0 (silent) to 1 (full volume) | Immediate | Sets the output level for the looper |
â‘ RecordOverdubPlay is quantized from Record -> Overdub and Overdub -> Play, but queued from Play -> Overdub.
Command | Parameters | Quantization | Description |
---|---|---|---|
Start | None | Immediate | Starts the engine |
Stop | None | Immediate | Stops the engine, resetting the time |
StartStop | None | Immediate | Starts the engine if it is stopped, otherwise stops it |
PlayPause | None | Immediate | Pauses the engine if it is active, otherwise restarts it |
Pause | None | Immediate | Stops the engine but does not reset the time |
Reset | None | Immediate | Resets the engine time |
SetTime | Time (in samples) | Immediate | Sets the time to the specified number of samples |
AddLooper | None | Immediate | Adds a looper to the end of the current part |
SelectLooperById | Looper Id | Immediate | Selects the looper with the given id |
SelectLooperByIndex | Index | Immediate | Selects the looper at the given index in the current part (starting from 0) |
SelectPreviousLooper | None | Queued | Selects the previous looper in the current part, wrapping around from the first to the last |
SelectNextLooper | None | Queued | Selects the next looper in the current part, wrapping around from the last to the first |
PreviousPart | None | Quantized | Goes to the previous part, skipping those parts with no loopers |
NextPart | None | Quantized | Goes to the next part, skipping those parts with no loopers |
GoToPart | One of A , B , C , or D |
Quantized | Goes to the specified part |
SetQuantizationMode | One of Free , Beat , or Measure |
Immediate | Sets the quantization mode for the engine |
SetMetronomeLevel | 0-100 | Immediate | Sets the metronome volume to the given percentage |
SetTempoBPM | bpm (float) | Immediate | Sets the engine's tempo to the given BPM value |
SetTimeSignature | upper, lower | Immediate | Sets the engine's time signature according to the parameters (e.g. 3, 4) |
SaveSession | Path | Immediate | Saves the current session to the given path |
LoadSession | Path | Immediate | Loads a session from the given path, replacing the existing one |
Configuration is stored the standard system user config location
(typically this will be ~/.config/loopers/). Currently the configuration
consists of a set of mappings from midi messages to loopers
commands. These should be placed in a file called midi_mappings.tsv
in that config directory, which will be automatically created after loopers
is run for the first time.
Each non-empty line of this file should contain the following tab-separated columns:
*
for any channel or a channel number)*
for any data, a single value like 50
,
or a range like 0-100
)$data
can be used in the place of certain numerical arguments to
use the data value of the midi event, for example for use with an expression
pedal)The midi values (channel, controller, data) can be thought of as filters for incoming midi events; for each event all matching commands will fire.
An example for configuring for use with the Behringer FCB1010 (an excellent pedalboard):
Channel Controller Data Command Arg1 Arg2 Arg3
* 22 127 RecordOverdubPlay Selected
* 22 0 RecordOverdubPlay Selected
* 23 127 SelectNextLooper
* 23 0 SelectNextLooper
* 24 127 NextPart
* 24 0 NextPart
* 25 127 Clear Selected
* 25 0 Clear Selected
* 26 127 PlayPause
* 26 0 PlayPause
* 27 0-127 SetPan Selected $data