use of de.mossgrabers.framework.scale.Scales in project DrivenByMoss by git-moss.
the class BeatstepControllerSetup method createScales.
/**
* {@inheritDoc}
*/
@Override
protected void createScales() {
this.scales = new Scales(this.valueChanger, 36, 52, 8, 2);
this.scales.setDrumMatrix(DRUM_MATRIX);
this.scales.setDrumNoteEnd(52);
}
use of de.mossgrabers.framework.scale.Scales in project DrivenByMoss by git-moss.
the class SLControllerSetup method createScales.
/**
* {@inheritDoc}
*/
@Override
protected void createScales() {
this.scales = new Scales(this.valueChanger, 36, 52, 8, 2);
this.scales.setDrumMatrix(DRUM_MATRIX);
this.scales.setDrumNoteEnd(52);
}
use of de.mossgrabers.framework.scale.Scales in project DrivenByMoss by git-moss.
the class LaunchkeyMiniMk3ControllerSetup method createScales.
/**
* {@inheritDoc}
*/
@Override
protected void createScales() {
this.scales = new Scales(this.valueChanger, 36, 52, 8, 2);
this.scales.setDrumMatrix(DRUM_MATRIX);
this.scales.setDrumNoteEnd(52);
}
use of de.mossgrabers.framework.scale.Scales in project DrivenByMoss by git-moss.
the class LaunchkeyMk3ControllerSetup method createScales.
/**
* {@inheritDoc}
*/
@Override
protected void createScales() {
this.scales = new Scales(this.valueChanger, 36, 52, 8, 2);
this.scales.setDrumMatrix(DRUM_MATRIX);
this.scales.setDrumNoteEnd(52);
}
use of de.mossgrabers.framework.scale.Scales in project DrivenByMoss by git-moss.
the class PlayConfigurationMode method updateDisplay.
/**
* {@inheritDoc}
*/
@Override
public void updateDisplay() {
final ITextDisplay d = this.surface.getTextDisplay().clear();
final Scales scales = this.model.getScales();
d.setBlock(0, 0, this.mark("Scale", 0)).setBlock(1, 0, scales.getScale().getName());
d.setCell(0, 3, this.mark("Base", 3)).setCell(1, 3, Scales.BASES.get(scales.getScaleOffset()));
d.setBlock(0, 2, this.mark("Layout", 4)).setBlock(1, 2, StringUtils.optimizeName(scales.getScaleLayout().getName(), 12));
d.setCell(0, 6, this.mark("In-Key", 6)).setCell(1, 6, scales.isChromatic() ? "Off" : "On");
final int octave = scales.getOctave();
d.setCell(0, 7, this.mark("Octave", 7)).setCell(1, 7, (octave > 0 ? "+" : "") + Integer.toString(octave));
d.allDone();
}
Aggregations