Blocking All notes, and Letting only 2 notes go in?
-
Hey folks,
Could you please help me here?
I need only note 48 and note 64 to go throw, and Block other notes
Appreciate your help -
This only lets note 48 go in,
Message.ignoreEvent(Message.getNoteNumber() != 48);
What about the second note?
-
@Natan said in Blocking All notes, and Letting only 2 notes go in?:
Message.ignoreEvent(Message.getNoteNumber() != 48);
if(Message.getNoteNumber() == 48 || Message.getNoteNumber() ==64 ) { //do something }else{ Message.ignoreEvent(); }
or
if(Message.getNoteNumber() != 48 && Message.getNoteNumber() != 64 ) Message.ignoreEvent();
-
@Lindon Cheers to you mate