]> ruin.nu Git - moosique.git/blobdiff - MooNote.java
sets and gets the channel..
[moosique.git] / MooNote.java
index 2774c3052090a98bfadfc76a6156aba485189e6e..d942de93a6e1e7c6dd455f153833bfbe73fa5e26 100644 (file)
@@ -62,7 +62,8 @@ public class MooNote extends MidiEvent {
                try {
                        noteOnMsg.setMessage(noteOnMsg.getCommand(), (byte)channel, noteOnMsg.getData1(), noteOnMsg.getData2());
                        noteOffMsg.setMessage(noteOffMsg.getCommand(), (byte)channel, noteOffMsg.getData1(), noteOffMsg.getData2());
-               } catch (InvalidMidiDataException e) {}
+               } catch (Exception e) {}
+               //} catch (InvalidMidiDataException e) {}
        }
 
        /** 
@@ -144,4 +145,4 @@ public class MooNote extends MidiEvent {
        public boolean hasNoteOffEvent() {
                return noteOffEvent != null;
        }
-}
\ No newline at end of file
+}