Experiencing issues with CauGui
-
- KVRer
- 10 posts since 5 Nov, 2007
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
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
- u-he
- 30213 posts since 8 Aug, 2002 from Berlin
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
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,
-
- KVRer
- Topic Starter
- 10 posts since 5 Nov, 2007
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
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
- u-he
- 30213 posts since 8 Aug, 2002 from Berlin
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
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,
-
- KVRer
- 1 posts since 2 Jan, 2008
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
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
