Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Chirone

macrumors 6502
Original poster
Mar 2, 2009
279
0
NZ
I have to create a music track based on user input and decided that the MIDI route would be suitable.
However I have a problem.
I found this thread here
http://stackoverflow.com/questions/...nce-to-mid-file-using-musicsequencefilecreate
This guy says he made a music track but couldn't save it to disk properly, so I took his code and corrected that part but I get an error -10846, which I think is an invalid track. The .mid file is invalid too.

Does anyone know how to create a valid MusicSequence in code?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.