Search in sources :

Example 6 with Scales

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);
}
Also used : Scales(de.mossgrabers.framework.scale.Scales)

Example 7 with Scales

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);
}
Also used : Scales(de.mossgrabers.framework.scale.Scales)

Example 8 with Scales

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);
}
Also used : Scales(de.mossgrabers.framework.scale.Scales)

Example 9 with Scales

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);
}
Also used : Scales(de.mossgrabers.framework.scale.Scales)

Example 10 with Scales

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();
}
Also used : ITextDisplay(de.mossgrabers.framework.controller.display.ITextDisplay) Scales(de.mossgrabers.framework.scale.Scales)

Aggregations

Scales (de.mossgrabers.framework.scale.Scales)26 ICursorDevice (de.mossgrabers.framework.daw.ICursorDevice)3 ViewManager (de.mossgrabers.framework.view.ViewManager)3 PlayView (de.mossgrabers.controller.ni.maschine.mk3.view.PlayView)2 ITextDisplay (de.mossgrabers.framework.controller.display.ITextDisplay)2 ITrack (de.mossgrabers.framework.daw.data.ITrack)2 INoteMode (de.mossgrabers.framework.mode.INoteMode)2 AbstractSequencerView (de.mossgrabers.framework.view.AbstractSequencerView)2 View (de.mossgrabers.framework.view.View)2 DrumView (de.mossgrabers.launchpad.view.DrumView)2 PlayView (de.mossgrabers.launchpad.view.PlayView)2 RaindropsView (de.mossgrabers.launchpad.view.RaindropsView)2 SequencerView (de.mossgrabers.launchpad.view.SequencerView)2 OscAddressSpace (com.bitwig.extension.api.opensoundcontrol.OscAddressSpace)1 OscModule (com.bitwig.extension.api.opensoundcontrol.OscModule)1 ControllerHost (com.bitwig.extension.controller.api.ControllerHost)1 GenericFlexiConfiguration (de.mossgrabers.controller.generic.GenericFlexiConfiguration)1 FlexiHandlerException (de.mossgrabers.controller.generic.flexihandler.utils.FlexiHandlerException)1 MaschineConfiguration (de.mossgrabers.controller.ni.maschine.mk3.MaschineConfiguration)1 DrumView (de.mossgrabers.controller.ni.maschine.mk3.view.DrumView)1