Communicate with AudioUnit from C program?
Communicate with AudioUnit from C program?
- Subject: Communicate with AudioUnit from C program?
- From: Igor Clark <email@hidden>
- Date: Fri, 30 Mar 2018 14:10:41 +0100
Hi all,
Is it possible to load an existing AudioUnit MIDI plugin and interact it
with it from a CLI program written in C? I'd like to be able to use
commercial plug-ins in my MIDI processing app.
I'm comfortable with how to communicate between C & C++ using 'extern'
etc, so that's not the main issue. Rather, I'm wondering whether it's
possible to have a C CLI app that loads the AU and sends MIDI passages
to it, so that the AU processes the data (ideally async) and then
returns its result back to the C app. I guess it's effectively writing
an AU host app, but does that all have to be done in Xcode, or is it
possible to do it as a straight C/C++ program using clang/llvm at the shell?
Also, the AU Hosting Guide docs
<https://developer.apple.com/library/content/documentation/MusicAudio/Conceptual/AudioUnitHostingGuide_iOS/Introduction/Introduction.html>
talk about I/O, Mixer and Effect units - is there any other material
that focuses on how to do MIDI in AU? Or is a adaptor/translator layer
necessary?
Thanks for any pointers,
Igor
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden