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
Hi all, this is a long shot but does anyone know how to write a midi file and give it an instrument from a soundfont?

I've called methods like
NewMusicSequence
MusicSequenceGetTempoTrack
MusicTrackNewExtendedTempoEvent
MusicSequenceNewTrack

to create the track

and MusicSequenceFileCreateData to turn it into data so it can be written out.
but when I write it out, it always appears to have no music instrument.

how does one write a midi file with a music instrument?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.