Re: Coreaudio-api Digest, Vol 4, Issue 283
Re: Coreaudio-api Digest, Vol 4, Issue 283
- Subject: Re: Coreaudio-api Digest, Vol 4, Issue 283
- From: "Morgan Harris" <email@hidden>
- Date: Wed, 17 Oct 2007 22:24:29 +1000
Hi all,
I'm a complete n00b when it comes to Core MIDI, and C in general. I've used Obj-C for a little while and am pretty comfortable in C# and PHP, so the basics of C are not alien to me.
The Core MIDI documentation escapes me. I have no idea what I'm supposed to do. I tried to setup a basic thing to give me the number of devices attached to the system (as an intro to the whole thing) but even those two lines of code didn't work. Incidentally, they were:
UInt32 foo = MIDIGetNumberOfExternalDevices();
NSLog([NSString stringWithFormat:@"Num devices: %1i", foo]);
in a Cocoa (obj-c) project. The method consistently returned 0. I don't even know what the MIDI Client is, if I'm supposed to create one or if there is already one, and if it somehow pertains to accessing the devices. So, can someone point me in the direction of some good sample code or give me a rundown of how the whole thing hangs together, or tell me what I'm doing wrong?
By the way, the eventual idea is to create something like a very stripped back version of Ableton Live, where I trigger MIDI events (which will then get sent to Reason) by pressing buttons. This should not be too hard, I think.
Thanks in advance
-Morgan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden