Experiencing issues with CauGui

Official support for: u-he.com
Post Reply New Topic
RELATED
PRODUCTS

Post

Hi All

I am developing my first Audio Unit.

The DSP seems to work correctly (though it could be improved) but I am experiencing issues with the custom view.
I first tried to use the AUCarbonViewBase supplied with Developer tools but it doesn't seems to be very useful to make some personal drawings (Actually I need internal parameters indicator in the view).

So I started using CAUGui (or tried to). First I can't build CAUGUIDemo (I am on Leopard with Xcode 3.0). it seems to come from slight changes in the CoreAudio API since 2003 or 2004. I tried to get through it but I didn't manage.
Anyway, I tried to make a very tiny part of my view with CAUGui based on the code in CAUGuiDemoAUView.cpp

The Unit builds without problem, but when I load it in my Host (Ableton Live 6), no window open and ableton crashes a few seconds after). When I comment the GetComponentUIDesc function (to get back to the generic view), my plug-in works fine.

I don't think to be the only person on earth that have this kind of issues, so does anybody can help me to troubleshoot all this ? Is there somewhere a copy of CAUGuiDemo that suit to the 2007 Developer Tools ?

PS : I am using CAUGuiSDK 1.0 from Urs WebSite.

Regards
Rémi Thébault

Post

When it crashes before the gui opens, I suppose the Bundle Identifier is not correct. An AU component is a "Bundle". Each Bundle has an Identifier in its info.plist. This Identifier is used to access the images from within the resource path. If the Identifier used in the target settings doesn't match the one used in the CAUGui config file, a crash will result.

Other than that (and update sto AUParameterInfo struct) you'll have to update things for the possibility of Compositing Windows and replace deprecated things (i.e. use Unicode for text input rather than ascii).

If anyone would take over responsibility and put it up on sf.net, I'll happily put it under a BSD license or something similarly relaxed.

Cheers,

;) Urs

Post

Thanks

It works better now (the slider doesn't show but i'll probably find out).
When i'll get my AU working as I want it to, I don't mind about updating a bit CAUGuiSDK.

The thing is that I don't know a lot about CoreGraphics (I am new in mac development) so it will take a bit of time.

Cheers
Rémi

Post

Cool!

The most important issue is, if a Window has the compositing attribute set, all coordinates change from window-global to parent-relative. This complicates stuff that's embedded in sub-panes...

The CoreGraphics stuff hasn't changed much, that's a non-issue.

Cheers & Good Luck,

;) Urs

Post

Hello.

I'm developing AU on Mac OSX Leopard with CAUGuiSDK too.
but I can't build CAUGuiSDK well and I can't understand how to make carbon view.
I'm very suffering from this problem.

Because, I can't find Audio Unit Sample code with Carbon view.

Is there anything to learn about Carbon with AudioUnit development?

Cheers,
mirrorboy

Post

i seem to recall a buddy saying he had to use IB from xcode 2.5 to get cagui to work on leopard. i may be totally wrong tho. i usually am.

Post Reply

Return to “u-he”