• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Coreaudio-api Digest, Vol 4, Issue 283
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Basic CoreMIDI setup (was Re: Coreaudio-api Digest, Vol 4, Issue 283)
      • From: Kurt Revis <email@hidden>
  • Prev by Date: Re: Ring buffer design for MP3 (et. al.) playback
  • Next by Date: Re: Is it possible to translate old session data?
  • Previous by thread: hao can i get Audio's informations
  • Next by thread: Basic CoreMIDI setup (was Re: Coreaudio-api Digest, Vol 4, Issue 283)
  • Index(es):
    • Date
    • Thread