Get access to over 100 FireMonkey cross platform samples for Android, IOS, OSX, Windows, and Linux!

AppmethodCode SnippetDelphiDemoFiremonkeyIOS

Access A MIDI Keyboard Using CoreMIDI With Delphi XE5 Firemonkey On IOS

Delphi XE5 Firemonkey IOS Midi Keyboard USB API ConnectionDeveloper Pavel Jiri Strnad has a post up on his blog on how to access a MIDI keyboard using Delphi XE5 Firemonkey on IOS. He wrote a special translation utility to convert Apple .h (header) files to .pas files. There are four converted header files that he makes available and they are CoreAudio, CoreMidi, AudioUnit, and AudioToolbox (you can access those 4 files here). He used the Ipad Camera Connection Kit to connect the MIDI keyboard to an Iphone device and then used the CoreMidi library to talk to it. The keyboard gets it’s power from the Ipod via the USB cable.He then translated some Obj-C code to Object Pascal which gave him access to the keypresses from the MIDI keyboard. The code snippet for accessing the MIDI keyboard device is available on his site for free. The code should probably also run without too many changes on Delphi XE6 and AppMethod.

Head over and check out the full blog post plus source code for accessing a MIDI keyboard with Delphi XE5 Firemonkey.


Have Delphi Firemonkey questions? Ask and get answers on StackOverflow.

Related posts

FireMonkey 10.4.2 Features Updated iOS 14, Android 11, And macOS 11 Support Plus Hundreds Of Fixes


Ryzen 9 5950x: One Billion Lines Of Delphi Code Compiled In ~5 Minutes On 16 Cores


DelphiCon 2020 FireMonkey Sessions Available Starting November 19


Powerful Commercial Gorilla3D Framework Upgraded For Delphi FireMonkey On Windows And Android

Sign up for our Newsletter and
stay informed

Leave a Reply