@@ -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 );
0 commit comments