Search in sources :

Example 6 with ModelSetup

use of de.mossgrabers.framework.daw.ModelSetup in project DrivenByMoss by git-moss.

the class LaunchkeyMk3ControllerSetup method createModel.

/**
 * {@inheritDoc}
 */
@Override
protected void createModel() {
    final ModelSetup ms = new ModelSetup();
    ms.setHasFlatTrackList(true);
    ms.setHasFullFlatTrackList(this.configuration.areMasterTracksIncluded());
    ms.setNumParamPages(16);
    ms.setNumScenes(2);
    ms.setNumSends(2);
    this.model = this.factory.createModel(this.configuration, this.colorManager, this.valueChanger, this.scales, ms);
    this.model.getTrackBank().setIndication(true);
}
Also used : ModelSetup(de.mossgrabers.framework.daw.ModelSetup)

Example 7 with ModelSetup

use of de.mossgrabers.framework.daw.ModelSetup in project DrivenByMoss by git-moss.

the class GenericFlexiControllerSetup method createModel.

/**
 * {@inheritDoc}
 */
@Override
protected void createModel() {
    final ModelSetup ms = new ModelSetup();
    ms.enableDrumDevice(false);
    ms.setNumMarkers(8);
    ms.enableDevice(DeviceID.EQ);
    this.model = this.factory.createModel(this.configuration, this.colorManager, this.valueChanger, this.scales, ms);
}
Also used : ModelSetup(de.mossgrabers.framework.daw.ModelSetup)

Example 8 with ModelSetup

use of de.mossgrabers.framework.daw.ModelSetup in project DrivenByMoss by git-moss.

the class BeatstepControllerSetup method createModel.

/**
 * {@inheritDoc}
 */
@Override
protected void createModel() {
    final ModelSetup ms = new ModelSetup();
    this.model = this.factory.createModel(this.configuration, this.colorManager, this.valueChanger, this.scales, ms);
    this.model.getTrackBank().addSelectionObserver((index, value) -> this.handleTrackChange(value));
}
Also used : ModelSetup(de.mossgrabers.framework.daw.ModelSetup)

Example 9 with ModelSetup

use of de.mossgrabers.framework.daw.ModelSetup in project DrivenByMoss by git-moss.

the class SLMkIIIControllerSetup method createModel.

/**
 * {@inheritDoc}
 */
@Override
protected void createModel() {
    final ModelSetup ms = new ModelSetup();
    ms.setHasFlatTrackList(true);
    ms.setHasFullFlatTrackList(true);
    ms.setNumScenes(2);
    ms.setNumSends(8);
    this.model = this.factory.createModel(this.configuration, this.colorManager, this.valueChanger, this.scales, ms);
    this.model.getTrackBank().setIndication(true);
}
Also used : ModelSetup(de.mossgrabers.framework.daw.ModelSetup)

Example 10 with ModelSetup

use of de.mossgrabers.framework.daw.ModelSetup in project DrivenByMoss by git-moss.

the class Kontrol1ControllerSetup method createModel.

/**
 * {@inheritDoc}
 */
@Override
protected void createModel() {
    final ModelSetup ms = new ModelSetup();
    ms.setNumDrumPadLayers(128);
    this.model = this.factory.createModel(this.configuration, this.colorManager, this.valueChanger, this.scales, ms);
    this.model.getDrumDevice().getDrumPadBank().setIndication(true);
}
Also used : ModelSetup(de.mossgrabers.framework.daw.ModelSetup)

Aggregations

ModelSetup (de.mossgrabers.framework.daw.ModelSetup)11 ITrackBank (de.mossgrabers.framework.daw.data.bank.ITrackBank)1