Skip to content

Commit f838702

Browse files
committed
Updated manual. Removed MPE settings update delay.
1 parent d89d9d1 commit f838702

File tree

4 files changed

+13
-12
lines changed

4 files changed

+13
-12
lines changed

DrivenByMoss-Manual.pdf

6.7 KB
Binary file not shown.

src/main/java/de/mossgrabers/controller/ableton/push/PushControllerSetup.java

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,7 @@ protected void createObservers ()
494494

495495
if (this.pushVersion == PushVersion.VERSION_3)
496496
{
497-
this.configuration.addSettingObserver (AbstractConfiguration.ENABLED_MPE_ZONES, () -> surface.scheduleTask ( () -> {
497+
this.configuration.addSettingObserver (AbstractConfiguration.ENABLED_MPE_ZONES, () -> {
498498

499499
final INoteInput input = surface.getMidiInput ().getDefaultNoteInput ();
500500
final IMidiOutput output = surface.getMidiOutput ();
@@ -504,9 +504,9 @@ protected void createObservers ()
504504
input.enableMPE (mpeEnabled);
505505
surface.enableMPE (mpeEnabled);
506506

507-
}, 2000));
507+
});
508508

509-
this.configuration.addSettingObserver (AbstractConfiguration.MPE_PITCHBEND_RANGE, () -> surface.scheduleTask ( () -> {
509+
this.configuration.addSettingObserver (AbstractConfiguration.MPE_PITCHBEND_RANGE, () -> {
510510

511511
final INoteInput input = surface.getMidiInput ().getDefaultNoteInput ();
512512
final IMidiOutput output = surface.getMidiOutput ();
@@ -516,31 +516,31 @@ protected void createObservers ()
516516
input.setMPEPitchBendSensitivity (mpePitchBendRange);
517517
output.sendMPEPitchbendRange (AbstractMidiOutput.ZONE_1, mpePitchBendRange);
518518

519-
}, 2000));
519+
});
520520

521-
this.configuration.addSettingObserver (PushConfiguration.PER_PAD_PITCHBEND, () -> surface.scheduleTask ( () -> {
521+
this.configuration.addSettingObserver (PushConfiguration.PER_PAD_PITCHBEND, () -> {
522522

523523
surface.enablePerPadPitchbend (this.configuration.isPerPadPitchbend ());
524524

525-
}, 2000));
525+
});
526526

527-
this.configuration.addSettingObserver (PushConfiguration.IN_TUNE_LOCATION, () -> surface.scheduleTask ( () -> {
527+
this.configuration.addSettingObserver (PushConfiguration.IN_TUNE_LOCATION, () -> {
528528

529529
surface.setInTuneLocation (this.configuration.getInTuneLocation ());
530530

531-
}, 2000));
531+
});
532532

533-
this.configuration.addSettingObserver (PushConfiguration.IN_TUNE_WIDTH, () -> surface.scheduleTask ( () -> {
533+
this.configuration.addSettingObserver (PushConfiguration.IN_TUNE_WIDTH, () -> {
534534

535535
surface.setInTuneWidth (this.configuration.getInTuneWidth ());
536536

537-
}, 2000));
537+
});
538538

539-
this.configuration.addSettingObserver (PushConfiguration.IN_TUNE_SLIDE_HEIGHT, () -> surface.scheduleTask ( () -> {
539+
this.configuration.addSettingObserver (PushConfiguration.IN_TUNE_SLIDE_HEIGHT, () -> {
540540

541541
surface.setSlideHeight (this.configuration.getInTuneSlideHeight ());
542542

543-
}, 2000));
543+
});
544544
}
545545

546546
this.createScaleObservers (this.configuration);

src/main/java/de/mossgrabers/controller/generic/GenericFlexiControllerSetup.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -345,6 +345,7 @@ private void registerHandlers (final GenericFlexiControlSurface surface)
345345
}
346346

347347

348+
/** {@inheritDoc} */
348349
@Override
349350
protected void handleTrackChange (final boolean isSelected)
350351
{
6.7 KB
Binary file not shown.

0 commit comments

Comments
 (0)