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
DelphiDemoFiremonkeyIOSLinuxOSXWindows

Bring OpenAI Agents, Vision, Audio, And Realtime AI To Firemonkey

DelphiIDEWindows

Add AI Pair Programming, Refactoring, And Multi-LLM Workflows To RAD Studio

DelphiDemoFiremonkeyLibraryWindows

Bring OpenAI, Local LLMs, And AI Assistants To FMX Apps

DelphiFiremonkeyLibrary

DelphiGemini Brings Native Google Gemini AI Integration To Delphi

Sign up for our Newsletter and
stay informed
[mailpoet_form id="1"]

Leave a Reply