Re: CoreMIDI and Core Data?
Re: CoreMIDI and Core Data?
- Subject: Re: CoreMIDI and Core Data?
- From: work <email@hidden>
- Date: Mon, 05 Jan 2009 00:14:53 +1100
Have a look at the Music Player and Sequencer services (<AudioToolbox/
MusicPlayer.h>)
There's also a simple example (PlaySequence) that should help you get
started
Bill
On Dec 20, 2008, at 3:27 AM, Kevin Schlei wrote:
Hello,
This may be a beginner's programming question, but I hope a little
guidance earlier in the learning process will go a long way.
I'm working on an app that has MIDI sequencing, and learning Cocoa
programming as I go. The lure of having much of the glue code taken
care of by using Core Data is strong, but I'm wondering if it's the
best environment for dealing with so many MIDI structures.
I've written a simple app that uses entities as 'wrappers' for
things like MIDINoteMessage's. They have properties like note
number, velocity, duration, etc., and each one has a custom
implementation that also sets that value in a MIDINoteMessage (an
instance variable in my custom class). For every property I'm
writing code that is separate from the Core Data environment. It
works - but I'd like to know if there is a better way.
My question is: is this a smart direction to go? Or should I be
working without the added layer of Core Data? Am I missing the
right way to make a MIDI structure (like MIDINoteMessage) a
functioning property in a Core Data entity?
Any guidance would be greatly appreciated,
Kevin
_______________________________________________
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
_______________________________________________
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