AU development URGENT HELP NEEDED Gen~ projects wont validate
AU development URGENT HELP NEEDED Gen~ projects wont validate
hello,
i am trying to create some simple AU plugins using gen~ for use in logic for my final project at university, i have however been running into problem after problem. i have come to the conclusion there is either an issue with the software or more likely im doing something fundamentally wrong, i have extensively read over the information online regarding this topic and posted on the forums on a few occasions but im really starting to run out of time and i cant even get a volume slider to pass validation in any DAW.
• i can create gen~ patches fine that work in max no problem.
• i can compile the software with the basic edits to the .r file and the info.plist
*(edit since ticket sent to support) iv even managed to get a plugin that loads in live and validates in logic however when you load the plugin it crashes logic. and auvaltool throws an error as the 3 letter manuf code spins it out…. but somehow makes logic like it which it didnt before :/
however the only program that will load the plugins usually if logic fails (and it does, often) is live, and even then it usually either crashes or reacts in unwanted unexplainable ways. a dsp algorithm that works in max rarely will work in the plugin format on any daw. and the one exception i have i cannot tell why its different from my previous attempts that makes live like it at least.
i have created a crude left right crossfader (the plugin that works in live) to test controlling two parts of the software with one parameter and it works fine in max. im hoping you can tell me why it is that the plugin never loads. i must be doing something wrong.
Details:
xphd.r:-
#include
#include "XPHDConstants.h"
#define RES_ID 1000
#define COMP_TYPE ‘aufx’
#define COMP_SUBTYPE ‘xpdd’
#define COMP_MANUF ‘JTFX’
#define VERSION XPHD_VERSION
// To work correctly with the generic view, the value for NAME must follow a specific pattern:
// :
#define NAME "JTFX: XPHD Plugin"
#define DESCRIPTION "description"
#define ENTRY_POINT "XPHDPluginEntry"
#include "AUResources.r"
.plist changes
manufacturer String JTFX
name String XPHD Plugin
subtype String xpdd
type String aufx
version Number 65537
i read somewhere that if you use a 3 character manuf string it helps with AUvaltool but it did nothing in my case so i kept 4 letters in the section as thats what i ideally want it to be. here is the output of auvaltool :-
--------------------------------------------------
VALIDATING AUDIO UNIT: 'aufx' - 'xpdd' - 'JFX '
--------------------------------------------------
2015-04-25 16:29:07.797 auvaltool[4237:401989] 16:29:07.797 WARNING: >compload> AudioComponentPluginLoader.cpp:445: ParseInfoPlistArray: XPHD.component -- file:///Users/jamestruscott/Library/Audio/Plug-Ins/Components/: trouble parsing Info.plist's AudioComponents; entry: {type = mutable dict, count = 7,
entries =>
2 : {contents = "manufacturer"} = {contents = "JFX"}
7 : {contents = "factoryFunction"} = {contents = "FilterFactory"}
8 : {contents = "subtype"} = {contents = "xpdd"}
9 : {contents = "description"} = {contents = "Filter AU"}
10 : {contents = "type"} = {contents = "aufx"}
11 : {contents = "name"} = {contents = "XPHD Plugin"}
12 : {contents = "version"} = {value = +65536, type = kCFNumberSInt64Type}
}
ERROR: Cannot get Component's Name strings
ERROR: Error from retrieving Component Version: -50
* * FAIL
--------------------------------------------------
TESTING OPEN TIMES:
FATAL ERROR: didn't find the component
Example Patcher Code:
the main project i am working on is here :-
– PASTED MAX PATCH, CLICK TO EXPAND. –
System and Max Version:
MacOsx 10.10.3
MacBook Pro (Retina, 15-inch, Mid 2014)
2.8 GHz Intel Core i7
16 GB 1600 MHz DDR3
using Xcode v6.3 for development
max support info and version number
{
"version" : "Version 7.0.3 (1caa69f) (32-bit mac)",
This thread seemed to help:
https://cycling74.com/forums/exporting-gen-to-au/
It came down to how the .plist was configured in Xcode.
My AU plugin now loads in Reaper but I am unable to change the parameters on the GUI (in Reaper) - they seem to 'snap to zero.'
Working from this template also seems to help:
http://designingsound.org/2013/04/a-tremolo-au-plugin-with-max/#comment-406235