• 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
DragAndDrop midi
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Changing an AudioUnit's sample rate in an AUGraph
  • Next by Date: Re: Changing an AudioUnit's sample rate in an AUGraph
  • Previous by thread: Re: Changing an AudioUnit's sample rate in an AUGraph
  • Next by thread: 'pass through' audio units
  • Index(es):
    • Date
    • Thread