The Scale Remap module will make whatever you play to stick to the scale.
Scale can be either one of the predefined or Custom. To use a Custom scale it has to be recorded first.
Record Scale — click this button and play all notes of the desired scale. Notes can be repeated and their order matters. Once a recording is done, Scale Remap will map any input note to the new scale.
A recording will continue as long as at least one note is playing. It will automatically stop otherwise.
TIP: press the Sustain Pedal to keep recording even when notes are no longer playing.