DragAndDrop midi
DragAndDrop midi
- Subject: DragAndDrop midi
- From: Mark Hamlin <email@hidden>
- Date: Tue, 29 May 2007 15:58:51 +0100
My application manages multiple MIDI "chunks" primarily for output in
real time. These chunks are summarised in a TableView. I need to be
able to drag chunks from the TableView to another host, such Apple
Logic, Ableton Live.
Save chunk to file is already implemented by creating a MusicSequence
and using its MusicSequenceSaveSMFData and CFDataRef 's writeToFile
method.
Question) In this context with DragAndDrop, is the CFDataRef the
"right" way to go or is there an easier way.
Question) I assume there is no need to actually writeToFile.
Question) The way my application works, it seems logical to use the
Promise mechanism - as much of the midi is generated programmatically
- e.g. from an arpegiattor. However, some of the documentation leads
me to believe this is significantly more complicated. Efficiency is
secondary in this case, a typical chunk when saved to a file comes
out at less than 5k and takes a fraction of a second to generate. A
quick hack will do just fine ;c)
Request) This is my first use of the DragAndDrop interface and I'm
struggling to say the least. Any and all help will be much
appreciated. A summary of tasks, types, examples or an Open Source
application which does similar would of course be a great help.
Thanks,
Mark
_______________________________________________
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