Store
Store logo
Community
Forum logo
Algo



Overview
In Hapax, algo (algorithms) are operations that are not performed in real time, but rather applied "offline", directly on the sequences you programmed or recorded.

When working in  Step  or  Autom  modes, press  algo  to enter this submode.

Select the algorithm by scrolling the top–left encoder and Press it to apply the algorithm on the pattern you are working on. The other encoders let you configure the algorithm parameters.

Some parameters have a secondary value that can be accessed with a Hold + Rotate of the associated encoder.

 Tip  Make a selection before applying an algorithm to only alter the selected zone.
Generator
Availability:
 Step  POLY tracks
 Step  DRUM tracks


This algorithm replaces the existing notes with a new randomized pattern. Generated notes are quantized to the specified grid. The min & max pitch, velocity and length of the new notes can also be adjusted. Lastly, it is possible to set the amount of events (density %) and to decide whether the generated notes are monophonic or chords (mono ... poly 4).
 QUANTIZE   1/1   ...   1/64 
Rotate the Quantize encoder to set the grid on which the generator will place the generated notes.
 LENGTH   1   ...   64 
Rotate the Length encoder to set the maximum note length of generated notes, in steps.
Hold + Rotate this encoder to set the minimum note length.
 VELOCITY MIN/MAX   0   ...   127 
Rotate the Velocity encoder to set the maximum velocity of generated notes.
Hold + Rotate this encoder to set the minimum velocity.
 DENSITY   0%   ...   100% 
Rotate the Density encoder to set the density of notes in the generated pattern.
Hold + Rotate this encoder to define the polyphony:
 Mono  Only one note can be created per time division.
 Poly 2 / 3 / 4  Enables chord generation (polyphony).
 PITCH   C0   ...   G10 
Rotate the Keys encoder to set the maximum pitch of generated notes.
Hold + Rotate this encoder to set the minimum pitch.
 Note  This option can only be accessed from POLY tracks.
Curves
Availability:
 Step  POLY tracks
 Step  DRUM tracks
 Autom  mode


This algorithm modifies note parameters by applying a curve on their values. The waveform (sine, triangle...), its min & max amplitude and its rate can be adjusted. By default, the modified note attribute is the velocity, but other destinations can be set (length, chance...).

For example, a ramp applied on velocity will result in a "velocity fade in".
 WAVE   SINE   TRI   RAMP   SQUA   RAND   PERLI 
Rotate the Wave encoder to set the waveform of the curve. The last parameters RANDOM and PERLIN, which are two types of random generators, have extra parameters that are described below.
 AMPLITUDE   Depends on destination 
Rotate the Amplitude encoder to set the upper value of the curve amplitude.
Hold + Rotate this encoder to set the lower value of the curve amplitude.
 DESTINATION 
Rotate the Dest encoder to set the note parameter to modulate:
 KEYS  Keys
 VELO  Velocity
 LENG  Length
 CHAN  Chance
 ROLL  Roll
 MATH  Math condition
 uTIME  Micro timing
 REPEAT   x1   ...   x128 
Rotate the Repeat encoder to set the number of repetitions of the selected waveform in the selected zone.
 STEPS   INF   1   ...   256 
Rotate the Steps encoder to downsample the curve using a fixed number of steps. INF has the best definition, calculating new values for each steps.
 ⨁ PHASE   -180°   ...      ...   +180° 
 Note  Click on REPEAT to access this parameter.
Rotate the Phase encoder to offset the curve by adjusting its phase.
 ⨁ SEED   ––   0   ...   9999 
 Note  If RANDOM or PERLIN selected, click the Steps encoder to access this parameter.
Rotate this encoder to choose a seed for the random curve. A specific seed will always produce the same curve, that can be reused to obtain the same controlled random modulation.
 ⨁ VALLEYS   0   ...   100 
 Note  If PERLIN selected, click the Steps encoder twice to access this parameter.
Rotate this encoder to adjust the level of peaks and valleys to the curve.
Shuffle
Availability:
 Step  POLY tracks


This algorithm shuffles the notes in several ways. There is a mode where you can shuffle individual notes or note parameters between themselves called  STEP . The other mode, called  PART , segments the notes in equally spaced partitions and shuffles them. In both mode, there is a probability parameter that controls the probability of each note or interval to be shuffled, allowing for partial shuffling.

As usual, selecting a zone before applying the algorithm will only shuffle the selected zone. In the  PART  mode, the interval starts at the selection start. Events at the end and outside a whole multiple of the partition size, will not be shuffled. In addition, the algorithm doesn't take into consideration the micro time parameter, which means that negative micro timing at the very start of a partition will be considered as in the previous partition.
 MODE 
Rotate encoder Mode to toggle between the two modes.
 STEP  Sets mode to shuffle individual notes or note parameters.
 PART  Sets mode to shuffle note segments.
 PROBABILITY   0%   ...   100% 
Rotate the Proba encoder to set the probability of each note or segment to be shuffled.
 DESTINATION 
 Note  This parameter is only available in  STEP  mode.
Rotate the Dest encoder to set the note parameter to shuffle.
 ALL  Shuffles all note attributes simultaneously.
 KEYS  Keys
 VELO  Velocity
 LENG  Length
 CHAN  Chance
 ROLL  Roll
 MATH  Math condition
 INTERVAL   8BARS   ...   1/64 
 Note  This parameter is only available in  PART  mode.
Rotate the Interval encoder to set the interval at which notes will be shuffled.
Symmetry
Availability:
 Step  POLY tracks


This algorithm flips events horizontally (time) or vertically (pitch). The original events can either be kept or replaced.
 MODE   TIME   KEYS 
Rotate the Mode encoder to toggle between horizontal (time) and vertical (keys = notes) symmetry.
 DUPLICATE   OFF   ON 
Rotate the Duplicate encoder to enable the superposition of the generated notes onto the original notes.
Every N
Availability:
 Step  DRUM tracks


This algorithm creates evenly spread notes with accents and ghost notes, based on the N parameter. Very powerful for sequencing drum sounds. Beware of the wild grooves you'll end up with.
 GRID   1/1   ...   1/64 
Rotate the Grid encoder to adjust the grid on which the generated notes will be placed.
 N   1   ...   16 
Rotate the N encoder to set the accent placements on the grid.
With N = 2, every second note in the pattern will be accentuated.
 ACCENT VELOCITY MIN/MAX   0   ...   127 
Rotate the Accent encoder to adjust the maximum velocity for each accent.Hold + Rotate this encoder to set the minimum velocity.
 GHOST VELOCITY MIN/MAX   0   ...   127 
Rotate the Ghost encoder to adjust the maximum velocity for each ghost note.Hold + Rotate this encoder to set the minimum velocity.