DPF icon indicating copy to clipboard operation
DPF copied to clipboard

AU plugin support

Open nobodo opened this issue 9 years ago • 16 comments

Hi, AU plugin support would be great to have someday. I know it's not going to happen in near future, but one can always hope..

nobodo avatar Oct 25 '16 09:10 nobodo

@nobodo do you have an example AU plugin in source code form that I could study? Which version of AU would be best to target?

zamaudio avatar Apr 09 '18 09:04 zamaudio

Hello. Maybe this could help:

https://github.com/olilarkin/wdl-ol

I remember doing my first plugin test based on that. Also it seems that it's going through some refactoring at the moment, but I think the basics for AU could be learned from there if you happen to know any other plugin format.

nobodo avatar Apr 09 '18 17:04 nobodo

is there opensource example AU plugins? something that implements the basic "gain" plugin as many plugin standards have...

falkTX avatar Apr 09 '18 19:04 falkTX

Maybe this:

https://github.com/Lax/iOS-Swift-Demos/tree/master/AudioUnit

nobodo avatar Apr 10 '18 11:04 nobodo

AU support has been started in the "au" branch. Builds a valid AU plugin (see Parameters example), but does not do any processing, parameter changes, state or include UI. Basically just the code setup to get something to build and show up as a valid plugin (which was already a big PITA)

Attaching files as proof :)

scr708

d_parameters.component.zip

falkTX avatar Jan 24 '19 15:01 falkTX

Wow! This is great news. One of the most common requests I get from Mac users is to release an AU version of my plugin; I never did have the gumption to ask for DPF to support AU.

michaelwillis avatar Jan 24 '19 15:01 michaelwillis

Excellent! Keep up the good work..

nobodo avatar Jan 24 '19 16:01 nobodo

Let's collect all useful links regarding AU in this ticket.

1st, official docs, https://developer.apple.com/library/archive/documentation/MusicAudio/Conceptual/AudioUnitProgrammingGuide/Introduction/Introduction.html

falkTX avatar Jan 29 '19 09:01 falkTX

Custom UI: https://developer.apple.com/library/archive/documentation/MusicAudio/Conceptual/AudioUnitProgrammingGuide/TheAudioUnitView/TheAudioUnitView.html#//apple_ref/doc/uid/TP40003278-CH13-SW7

zamaudio avatar Jan 29 '19 10:01 zamaudio

10.7 changed how AUs rsrc is defined https://developer.apple.com/library/archive/technotes/tn2276/_index.html

falkTX avatar Jan 29 '19 12:01 falkTX

Regarding UI, this is what host code looks like: https://github.com/RogueAmoeba/Soundflower-Original/blob/53a2bc01b43fcc93e72fa326492846e6550cb729/Soundfly/1.0.2/SFCommon.m

falkTX avatar Jan 31 '19 13:01 falkTX

More useful code https://github.com/grame-cncm/faust/tree/master-dev/architecture

falkTX avatar Feb 01 '19 11:02 falkTX

More documentation links:

  • https://developer.apple.com/documentation/audiounit
  • https://developer.apple.com/library/archive/documentation/General/Conceptual/ExtensibilityPG/AudioUnit.html

SpotlightKid avatar Aug 13 '19 15:08 SpotlightKid

Interesting code we can take ideas from https://github.com/blurkk/symbiosis-au-vst-2/blob/develop/Symbiosis.mm#L3163

zamaudio avatar Oct 06 '19 03:10 zamaudio

https://github.com/WeAreROLI/JUCE/blob/master/modules/juce_audio_plugin_client/AU/juce_AU_Wrapper.mm This has pretty much everything we are missing in AUv2

zamaudio avatar Dec 26 '19 10:12 zamaudio

wrl has some more info/research on AU https://gist.github.com/wrl/3806a344ec2f034697c66e6696ffd6cf leaving it here so we do not forget about this link

falkTX avatar Aug 05 '20 22:08 falkTX