No worries, thanks for the info, appreciate it. > On 30 Mar 2018, at 17:43, Paul Davis <[email protected]> wrote: > > Sorry, that's not really feasible. I wasn't citing Ardour as a sensible place > to find example code - it's a huge program. I was just citing as proof that > using AU's in a command-line GUI-less application works fine. > > If you really want to look, libs/ardour/audio_unit.cc is where 99% of our > interaction with the DSP side of an AU plugin happens, but I still don't > think you'll find it easy to locate the stuff you want. > >> On Fri, Mar 30, 2018 at 12:08 PM, Igor Clark <[email protected]> wrote: >> 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 protected]> 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 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 protected]) >>>> Help/Unsubscribe/Update your Subscription: >>>> https://lists.apple.com/mailman/options/coreaudio-api/paul%40linuxaudiosystems.com >>>> >>>> This email sent to [email protected] >>>> >>> >> >
_______________________________________________ Do not post admin requests to the list. They will be ignored. Coreaudio-api mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/coreaudio-api/archive%40mail-archive.com
This email sent to [email protected]
