From James Duncan's blog:
As I wrote before, PerlObjCBridge is available in Mac OS X's system perl to provide a calling bridge between Perl, and Objective-C. It ships also with Foundation, which is Apple's fundamental elements of Cocoa library.
However, having access to Foundation doesn't buy you very much, but luckily everything you need to be able to load other frameworks is present.
The trick is using NSBundle to load the frameworks at run time.
my $frameworkPath = NSString->stringWithCString('/path/to/a/framework');
my $framework = NSBundle->alloc->init->initWithPath_($frameworkPath);
Once this has been done the classes in the framework are available to you, however, you need to perform one last bit of magic to really use them. You need to declare the class in Perl and have it inherit from PerlObjCBridge to have messages passed along.
use base qw( PerlObjCBridge );
And hey presto! You should have access to the class you want.
I *think* this means I ought to be able to load the necessary Cocoa classes and CoreAudio into Perl, thereby getting a pretty GUI, the synthesis code, and being able to use Sean's chime code without having to change it.
Copied here so I don't have to look at the comment spam, which makes my eyes bleed.