Re: Communicate with AudioUnit from C program?
Re: Communicate with AudioUnit from C program?
- Subject: Re: Communicate with AudioUnit from C program?
- From: Igor Clark <email@hidden>
- Date: Fri, 30 Mar 2018 17:08:44 +0100
Hey, thanks Paul, that's great. I'm looking at the Ardour Github repo
now, obviously it's pretty large - would you be able to point me to any
particularly relevant parts to dig into? Especially where the MIDI
aspects are concerned?
Cheers!
On 30/03/2018 15:22, Paul Davis wrote:
The "headless" version of Ardour (all the functionality, no GUI)
certainly does this. Its not a problem. We don't use XCode or any
Apple tools except their somewhat ancient "utility libs" which are
just wrappers around AU to make it slightly more C++ idiomatic.
On Fri, Mar 30, 2018 at 9:10 AM, Igor Clark <email@hidden
<mailto:email@hidden>> wrote:
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
<mailto:email@hidden>)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
<mailto:email@hidden>
_______________________________________________
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