< Back to IRCAM Forum

Extract MIDI data

I am trying to get pitch bend data that is contained in a MIDI file so I can implement that in Max. Detonate appears to not be able to parse that info out. How can I implement this in OM?

Hello,

The more general function to extract and process MIDI events from a MIDI file (or a musical obkect) is get-midievents

http://support.ircam.fr/docs/om/om6-manual/co/MIDIEvent.html

You can also extract specific controllers (such as PitchBend) in the form of a MIDIControl object with get-continuous-ctrl

http://support.ircam.fr/docs/om/om6-manual/co/MIDIContainer.html

Jean