[Mono-osx] CoreAudio bindings

Bart Masschelein masschel.others at gmail.com
Thu Jun 10 13:13:15 EDT 2010


Miguel,

I think the only framework within the CoreAudio framework that is required to play MIDI notes is the AudioToolbox.framework, based on the follow (simple) reasoning. I'm not too familiar with the OSX internals, but I don't think I'm way off.
 

On http://homepage.mac.com/psychesine/.Public/Core%20Audio%20Frameworks.txt are all the frameworks within the CoreAudio frameworks. In there is the AudioToolbox.framework which contains the Music Player API (MusicPlayer.h, Defines the interface used to manage and play event tracks in music sequences.) This is required, as can be seen in

http://developer.apple.com/iphone/library/documentation/musicaudio/Conceptual/CoreAudioOverview/ARoadmaptoCommonTasks/ARoadmaptoCommonTasks.html

in the "Handling Midi Data in Mac OS part.". A MIDI sequence must be associated with a particular audio processing graph, which can be found in the Audio Processing Graph API (AUGraph.h, Defines the interface used to create and use audio processing graphs).

And that should do the trick, me thinks... or is at least a good starting point.

Regards,

Bart



On 9-jun-2010, at 23:55, miguel.novell wrote:

> We have CoreAudio bindings done for MonoMac, but we have not checked them into SVN yet.
> 
> 
> That being said, I don't remember seeing any MIDI Apis in there.   Is there one API that you have on mid that you need?   That would help me determine what is missing
> 
> 
> 
> On Jun 9, 2010, at 11:55, "Bart Masschelein" <masschel.others at gmail.com> wrote:
> 
>> Hi,
>> 
>> I was wondering if there is some bridge out there that wraps the OSX CoreAudio API for access from .NET, like Cocoa? I'm especially interested in MIDI support.
>> 
>> I know there is Monobjc, Mobjc, Cocoa#, Nobjective and the newly announced MonoMac, but my impression is that they focus especially on Cocoa and more popular libraries like WebKit, but I didn't see any that clearly states support for the CoreAudio library.
>> 
>> Anyone that knows of such an existence?
>> 
>> Thanks in advance,
>> 
>> Bart
>> 
>> PS: I asked the same question two weeks before on this list, but I didn't see it passing yet. I guess it's because I used another mail address than the one I use for the list subscription. Sorry for any double mail, if the other pops up.
>> 
>> 
>> _______________________________________________
>> Mono-osx mailing list
>> Mono-osx at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-osx

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-osx/attachments/20100610/d8de3349/attachment.html 


More information about the Mono-osx mailing list