ios - Get MusicSequence callback from MIDI Playback -
i have musicplayer contains musicsequence set of musictracks hold midi information. want know when midi note starts reproducing , when ends, listener of playback of midi.
i looking , think of maybe using musicsequencesetusercallback don't know how work. has idea on how accomplish this?
there's tutorial on how capture midi events musicsequence
here (such note on/off): http://www.deluge.co/?q=midi-driven-animation-core-audio-objective-c
in brief, method call mididestinationcreate
create own midi endpoint handle midi messages, , point musicsequence
@ musicsequencesetmidiendpoint
.
Comments
Post a Comment