COCKOS
CONFEDERATED FORUMS
Cockos : REAPER : NINJAM : Forums
Forum Home : Register : FAQ : Members List : Search :
Old 10-13-2017, 04:02 AM   #1
1eqinfinity
Human being with feelings
 
Join Date: Apr 2014
Posts: 84
Default Logic mindf

Hi everybody,
I've build my AU, it passed auval in Logic, but when I want to add my plugin to the track, I cannot find it anywhere. Other people confirm the same problem. What metadata do I miss?
__________________
soundcloud.com/crimsonbrain
1eqinfinity is offline   Reply With Quote
Old 10-16-2017, 03:07 AM   #2
1eqinfinity
Human being with feelings
 
Join Date: Apr 2014
Posts: 84
Default

I've compared my resource.h and .plist files with that of IPlug AUs that do show up and I can not find where the problem is.

One thing that I don't get is that auval logs "00316569" instead of my manufacturer id.


Here's my resource.h

Code:
#define PLUG_MFR "Eugene Yakshin"
#define PLUG_NAME "Ribs"

#define PLUG_CLASS_NAME Ribs

#define BUNDLE_MFR "Eugene_Yakshin"
#define BUNDLE_NAME "Ribs"

#define PLUG_ENTRY Ribs_Entry
#define PLUG_VIEW_ENTRY Ribs_ViewEntry

#define PLUG_ENTRY_STR "Ribs_Entry"
#define PLUG_VIEW_ENTRY_STR "Ribs_ViewEntry"

#define VIEW_CLASS Ribs_View
#define VIEW_CLASS_STR "Ribs_View"

#define BETA_VERSION
#define PLUG_VER 0x00010100
#define VST3_VER_STR "1.1.0"


// http://service.steinberg.de/databases/plugin.nsf/plugIn?openForm
// 4 chars, single quotes. At least one capital letter
#define PLUG_UNIQUE_ID 'Ribs'
// make sure this is not the same as BUNDLE_MFR
#define PLUG_MFR_ID '1ei'
// apple mfr id for auvaltool 00316569

// ProTools stuff

#if (defined(AAX_API) || defined(RTAS_API)) && !defined(_PIDS_)
  #define _PIDS_
  const int PLUG_TYPE_IDS[2] = {'EFN1', 'EFN2'};
  const int PLUG_TYPE_IDS_AS[2] = {'EFA1', 'EFA2'}; // AudioSuite
#endif

#define PLUG_MFR_PT "Eugene_Yakshin\nEugene_Yakshin\n1ei"
#define PLUG_NAME_PT "Ribs\nRibs"
#define PLUG_TYPE_PT "Effect"
#define PLUG_DOES_AUDIOSUITE 1


//#define PLUG_CHANNEL_IO "1-1 2-2"

#if (defined(AAX_API) || defined(RTAS_API))
#define PLUG_CHANNEL_IO "64-2"
#else
//
#define PLUG_CHANNEL_IO "64-2"
#endif

#define PLUG_LATENCY 0
#define PLUG_IS_INST 0 // if 1 will pass the incoming audio through

// if this is 0 RTAS can't get tempo info
#define PLUG_DOES_MIDI 1

#define PLUG_DOES_STATE_CHUNKS 1

// Unique IDs for each image resource.
#define BG_ID                    101
// etc etc ...


// Image resource locations for this plug.
#define BG_FN                    "resources/img/bg.png"
// etc etc ...


// GUI default dimensions
#define GUI_WIDTH 815
#define GUI_HEIGHT 550

// on MSVC, you must define SA_API in the resource editor preprocessor macros as well as the c++ ones
#if defined(SA_API) && !defined(OS_IOS)
#include "app_wrapper/app_resource.h"
#endif

// vst3 stuff
#define MFR_URL "https://soundcloud.com/crimsonbrain"
#define MFR_EMAIL "ribsey@yandex.ru"
#define EFFECT_TYPE_VST3 "Fx|Instrument"
and here's .plist

Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>CFBundleDevelopmentRegion</key>
	<string>English</string>
	<key>CFBundleExecutable</key>
	<string>${BINARY_NAME}</string>
	<key>CFBundleGetInfoString</key>
	<string>1.1.0, Copyright Eugene_Yakshin, 2017</string>
	<key>CFBundleIdentifier</key>
	<string>com.Eugene_Yakshin.audiounit.${BINARY_NAME}</string>
	<key>CFBundleInfoDictionaryVersion</key>
	<string>6.0</string>
	<key>CFBundleName</key>
	<string>${BINARY_NAME}</string>
	<key>CFBundlePackageType</key>
	<string>BNDL</string>
	<key>CFBundleShortVersionString</key>
	<string>1.1.0</string>
	<key>CFBundleSignature</key>
	<string>Eugene_Yakshin</string>
	<key>CFBundleVersion</key>
	<string>1.1.0</string>
	<key>LSMinimumSystemVersion</key>
	<string>10.5.0</string>
	<key>NSPrincipalClass</key>
	<string>Ribs_View</string>
</dict>
</plist>
__________________
soundcloud.com/crimsonbrain
1eqinfinity is offline   Reply With Quote
Old 10-16-2017, 03:12 AM   #3
JonOsterman
Human being with feelings
 
Join Date: Aug 2017
Posts: 50
Default

Have you tried with another DAW ?
JonOsterman is offline   Reply With Quote
Old 10-16-2017, 03:15 AM   #4
1eqinfinity
Human being with feelings
 
Join Date: Apr 2014
Posts: 84
Default

Yes, it works fine in Reaper, for example.
Logic sees it in Preferences > Plug-in manager. It has a type "MIDI-controlled effect" there, and is successfully validated.
__________________
soundcloud.com/crimsonbrain
1eqinfinity is offline   Reply With Quote
Old 10-16-2017, 03:39 AM   #5
1eqinfinity
Human being with feelings
 
Join Date: Apr 2014
Posts: 84
Default

AU Lab doesn't show my plugin too.
__________________
soundcloud.com/crimsonbrain
1eqinfinity is offline   Reply With Quote
Old 10-16-2017, 11:06 AM   #6
Tale
Human being with feelings
 
Tale's Avatar
 
Join Date: Jul 2008
Location: The Netherlands
Posts: 3,645
Default

Quote:
Originally Posted by 1eqinfinity View Post
One thing that I don't get is that auval logs "00316569" instead of my manufacturer id.
Probably useless info, but who knows, maybe it will help somehow:

Code:
0x31 == '1'
0x65 == 'e'
0x69 == 'i'
So this does look like your ID, but with the space missing, and an extra '\0' before it...
Tale is offline   Reply With Quote
Old 10-17-2017, 01:38 AM   #7
1eqinfinity
Human being with feelings
 
Join Date: Apr 2014
Posts: 84
Default

@Tale Thank you, yesterday I found one of your older answers about PLUG_MFR_ID in another thread and tried changing it to 4 letters. The auval log shows the right ID, all tests are passed but unfortunately it still doesn't show up in Logic and AU Lab.
__________________
soundcloud.com/crimsonbrain
1eqinfinity is offline   Reply With Quote
Old 10-17-2017, 01:56 AM   #8
Youlean
Human being with feelings
 
Youlean's Avatar
 
Join Date: May 2015
Location: Serbia
Posts: 654
Default

Try making plug and bundle mfr the same. Also check xconfig file and set up binary name too.
__________________
Website | Facebook Page | IPlug-Youlean
Youlean is offline   Reply With Quote
Old 10-17-2017, 01:58 AM   #9
Youlean
Human being with feelings
 
Youlean's Avatar
 
Join Date: May 2015
Location: Serbia
Posts: 654
Default

All 3 should match if remember correctly.
__________________
Website | Facebook Page | IPlug-Youlean
Youlean is offline   Reply With Quote
Old 10-17-2017, 02:44 AM   #10
1eqinfinity
Human being with feelings
 
Join Date: Apr 2014
Posts: 84
Default

I tried to set PLUG_MFR and BUNDLE_MFR the same, no result. But BINARY_NAME cannot match these.

Also, this "Midi-controlled effect" description in Logic looks suspicious Is it generated by Logic itself based on resource.h contents?
__________________
soundcloud.com/crimsonbrain
1eqinfinity is offline   Reply With Quote
Old 10-17-2017, 05:31 AM   #11
Youlean
Human being with feelings
 
Youlean's Avatar
 
Join Date: May 2015
Location: Serbia
Posts: 654
Default

Why binary can't match these?
__________________
Website | Facebook Page | IPlug-Youlean
Youlean is offline   Reply With Quote
Old 10-17-2017, 05:49 AM   #12
1eqinfinity
Human being with feelings
 
Join Date: Apr 2014
Posts: 84
Default

Correct me if I'm wrong, but BINARY_NAME in .xcconfig is the name of a plugin, not the name of its creator. At least this is the way these constants are used in IPlug examples.
__________________
soundcloud.com/crimsonbrain
1eqinfinity is offline   Reply With Quote
Old 10-18-2017, 01:05 PM   #13
olilarkin
Human being with feelings
 
Join Date: Apr 2009
Location: Berlin, Germany
Posts: 1,248
Default

Just a thought are you deafly looking in the right place for midi controlled fx ? If I remember correctly they show up in the instruments tracks rather than Fx tracks in logic. you need four characters in your manufacture ID
__________________
VirtualCZ | Endless Series | iPlug2 | Linkedin | Facebook
olilarkin is offline   Reply With Quote
Old 10-18-2017, 02:36 PM   #14
Youlean
Human being with feelings
 
Youlean's Avatar
 
Join Date: May 2015
Location: Serbia
Posts: 654
Default

Quote:
Originally Posted by 1eqinfinity View Post
Correct me if I'm wrong, but BINARY_NAME in .xcconfig is the name of a plugin, not the name of its creator. At least this is the way these constants are used in IPlug examples.
Sorry my bad.

Your CFBundleSignature should be 4 letters long. https://developer.apple.com/library/...lications.html
__________________
Website | Facebook Page | IPlug-Youlean
Youlean is offline   Reply With Quote
Old 10-18-2017, 11:35 PM   #15
1eqinfinity
Human being with feelings
 
Join Date: Apr 2014
Posts: 84
Default

I've changed PLUG_MFR_ID to 4 letters. Also, I've changed the space in PLUG_MFR to the underscore, so it's Eugene_Yakshin now.
I'm comparing the resulting files in .components, and cant't find the problem there. On the right is the correct and visible IPlugControls https://yadi.sk/i/ptKH34eg3NswwC

I've tried adding on both audio and instrument tracks: https://yadi.sk/i/f0-6jWrK3NswwG On instrument tracks I've searched in the list of instruments too (IPlugPolySynth is there).
Since I'm a noob in Logic, I've asked a guy who uses Logic daily to test it, and he has the same situation - visible in Plug-in Manager, invisible anywhere else in the program.

Btw, I forgot: my Logic version is 10.2.1.

One more interesting thing. I've tried the following: duplicated IPlugPolySynth with my BUNDLE_MFR, changed PLUG_MFR_ID to EuYa, and it shows up in Logic, but this time the manufacturer in the Logic's description is Eugene_Yakshin, with the underscore. The problematic AU still has a space there.
Is there some AU cache in Logic? I thought there is and tried deleting my .component, launching Logic without it and then rebuilding again, but the description in Plug-in Manager always stayed the same and the AU wasn't visible. I've also cleaned the XCode project before building with the updated constants.

I kind of could duplicate, copy/replace and reconfigure all the stuff, but that's a lot, and that's bruteforce. Also, that wouldn't fix my other old AUs that have the same problem.
__________________
soundcloud.com/crimsonbrain
1eqinfinity is offline   Reply With Quote
Old 10-19-2017, 12:24 AM   #16
mibes
Human being with feelings
 
Join Date: Apr 2017
Posts: 36
Default

Sorry to reiterate what has already been mentioned, but this puzzled me for a while:

If it's been recognised as a midi controlled effect it won't show up when looking in the plugin effects strip. It'll only be accessible from the point where you would load an instrument into the channel.

Logic is rubbish with midi controlled effects. It expects you to have midi controlled effects as their own instruments and then side-chain audio in. Lame.


Last edited by mibes; 10-19-2017 at 12:33 AM.
mibes is offline   Reply With Quote
Old 10-19-2017, 12:37 AM   #17
1eqinfinity
Human being with feelings
 
Join Date: Apr 2014
Posts: 84
Default

Do you mean that I have to look for the instrument selection menu in the strip? If yes, then I tried that, but there's only IPlugPolySynth and my freshly duplicated TestSynth https://yadi.sk/i/DabhH7MJ3Nt7QL
__________________
soundcloud.com/crimsonbrain
1eqinfinity is offline   Reply With Quote
Old 10-19-2017, 12:41 AM   #18
mibes
Human being with feelings
 
Join Date: Apr 2017
Posts: 36
Default

Quote:
Originally Posted by 1eqinfinity View Post
Do you mean that I have to look for the instrument selection menu in the strip? If yes, then I tried that, but there's only IPlugPolySynth and my freshly duplicated TestSynth https://yadi.sk/i/DabhH7MJ3Nt7QL
Sometimes when trying to load a stereo only plugin into a mono channel it won't show up too.
mibes is offline   Reply With Quote
Old 10-19-2017, 03:05 AM   #19
Youlean
Human being with feelings
 
Youlean's Avatar
 
Join Date: May 2015
Location: Serbia
Posts: 654
Default

Did you try to reset and rescan the plugin in logic?
__________________
Website | Facebook Page | IPlug-Youlean
Youlean is offline   Reply With Quote
Old 10-19-2017, 03:10 AM   #20
Bobflip
Human being with feelings
 
Join Date: Nov 2016
Posts: 341
Default

Quote:
Originally Posted by 1eqinfinity View Post
Is there some AU cache in Logic?
Yep, go to <Username>/Library/Caches and it's in there, I'm not at my machine right now but it's a folder called something very similar to Audiounit Cache. You'll need to view hidden folders to see the Library folder. Delete that and all the plugins will be rescanned next time you open Logic.
Bobflip is offline   Reply With Quote
Old 10-19-2017, 03:22 AM   #21
1eqinfinity
Human being with feelings
 
Join Date: Apr 2014
Posts: 84
Default

@mibes thanks for your info. It seems that that instr strip is a stereo one. At least it has a stereo output. What's the logic of all these artificial restrictions? Pun intended :/

@Youlean yep, I do it every time I build it with new .plist or resource.h contents. Auval log reflects the changes.

@Bobflip aha, interesting. Thanks, I'll try to clean it and see if it helps.
__________________
soundcloud.com/crimsonbrain
1eqinfinity is offline   Reply With Quote
Old 10-19-2017, 04:42 AM   #22
1eqinfinity
Human being with feelings
 
Join Date: Apr 2014
Posts: 84
Default Solved

With manual cache cleaning (I have found 3 different locations) at least I don't feel that Mac swindles

However, the problem appered to be in PLUG_CHANNEL_IO. AU showed up only after I added 4-2 and 2-2 to it. This is strange because I can route in all 32 stereo inputs later anyway.

Also, PLUG_MFR with spaces appears to be fine.
And no matter what I did with these constants I couldn't make it show up in AULab.

Thanks for all your support!
__________________
soundcloud.com/crimsonbrain

Last edited by 1eqinfinity; 10-19-2017 at 04:49 AM.
1eqinfinity is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 02:55 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.