Avatar

Please consider registering
Guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed sp_TopicIcon
Step 4: Editing the AU Files for your next Plug-Ins
No permission to create posts
December 27, 2014
11:30 pm
Avatar
W Pirkle
Admin
Forum Posts: 140
Member Since:
January 28, 2017
sp_UserOnlineSmall Online

This wrapper project works fine by itself, but when you want to create new projects, you will need to edit a few of the AU files. This is also where you setup your codes for AU Validation, covered in the next topic.

1) to copy the wrapper, just copy the folder and change the name to the new project. Then, open XCode and change the project name by clicking on it to edit it directly (it is in the File Group tab, and says "1 target, OS X SDK " --- this will change the name of your .xcodeproj file too.

2) OPTIONAL: change the name of the RAFX CPlugIn derived object in the .h and .cpp files you edited above. You can also change the name of the .h and .cpp files by editing them directly in XCode. Depending on the book project, you might also need to add more files to the project. You will need to create them manually in XCode.

--- IN THE RackAFX2AUFilter.cpp FILE: ---
3) change the #include "RafxToAuWrap.h" to whatever your new files are named if you changed them

4) in the constructor, change the instantiation line to your new object name
// *RAFX*
m_pRAFXPlugIn = new CRafxToAUWrap; // <--- change to your new object, if you changed the name

--- IN THE RackAFX2AUFilter.r FILE: ---
5) change the following lines to something new for backwards compatibility with older AU clients; you will need to reuse these same strings in the steps later:

// --- the 4-letter plugin code name
#define COMP_SUBTYPE 'RAFX'

// --- the 4-letter manufacturer name (note the RUSH song - change this to your own company code)
#define COMP_MANUF 'XYYZ'

// NOTE this needs to be in the format ": "
#define NAME "Your Name: RafxToAUWrap"

When you open your AU Client, the company will be "Your Name" and the Plug-In name is after the : in the line above; change this to your own company/plugin name like

"YYZ Plugins: Volume In dB"

--- IN THE Info.plist FILE: ---
6) here is the post OSX 10.7 way of setting up your company name and identifier strings.

Open the Info.plist file and expand the dictionary named AudioComponents.

Expand Item 0 beneath that.

Edit the attributes identically to the values you used in the .r file above:

manufacturer XYYZ <--- your 4-letter manufacturer code
name Your Name: RafxToAUWrap
subtype RAFX <--- your 4-letter plugin code

Last Topic: validating your new plugins

Forum Timezone: America/New_York

Most Users Ever Online: 36

Currently Online: W Pirkle
3 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Skyler: 47

Derek: 41

Peter: 41

clau_ste: 39

Frodson: 38

Gwen: 32

EZB: 24

lppier: 23

Msaldaña: 18

Jorge: 17

Member Stats:

Guest Posters: 1

Members: 478

Moderators: 1

Admins: 4

Forum Stats:

Groups: 11

Forums: 29

Topics: 479

Posts: 1870

Newest Members:

certvalue111, sobhana s, sam, annaharris, Marie Weaver, kev, Steven, Mr Anderson, mguy, omelc

Moderators: W Pirkle: 140

Administrators: Tom: 65, JD Young: 80, Will Pirkle: 0, W Pirkle: 140