MIDIPlayer || Need Note Events .
-
Im trying to get a print out of the note events that are currently loaded in a MIDIPlayer.
Does anyone have any advice for how to do this properly? From what I've found in the documentation, I thought this would work but Im doing something wrong obviously. Help? -
@Chazrox That indicates the message list is an array of objects. So inside your loop, try printing
trace(e)
-
@d-healey I get this...
-
C Chazrox marked this topic as a question
-
@Chazrox try this
for (e in messageList) Console.print(e.dump());
-
-
@Chazrox If you knew what you were looking for, it's right there in the docs
It's like you have to know the answer, to look up the answer
Message Holder
This object mirrors the functionality of the Message class, but operates on an arbitrary event.
This can be useful for one of these occasions:
• MIDI file processing (MidiPlayer.getEventList() will return an array of objects of this type.
• ..
• Debugging (dump() prints out a nice string that contains useful information) -
@dannytaurus said in MIDIPlayer || Need Note Events .:
It's like you have to know the answer, to look up the answer
I seriously feel like that sometimes. hahahahahah
-
C Chazrox has marked this topic as solved