Actually, you will want to use the AUMIDISynth audio unit. AUSampler can only play one MIDI instrument (i.e. one track) at a time.
-DS > On Jun 3, 2016, at 4:18 AM, Albin Stigö <[email protected]> wrote: > > Hi, > > You can't "convert" a midi to a wav/mp3 but you can use a synthesizer > to "render" it to audio. On osx/ios you can use the AUSampler audio > unit and then write it's output to a file. > > https://developer.apple.com/library/mac/technotes/tn2283/_index.html > > --Albin > > > > On Fri, Jun 3, 2016 at 12:53 PM, Einstin <[email protected]> wrote: >> Hi List, >> >> is there any way to convert MIDI track or sequence to MP3/Wav audio? which >> framework should to use? >> >> Thanks >> Einstin >> _______________________________________________ >> Do not post admin requests to the list. They will be ignored. >> Coreaudio-api mailing list ([email protected]) >> Help/Unsubscribe/Update your Subscription: >> https://lists.apple.com/mailman/options/coreaudio-api/albin.stigo%40gmail.com >> >> This email sent to [email protected] > _______________________________________________ > Do not post admin requests to the list. They will be ignored. > Coreaudio-api mailing list ([email protected]) > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/coreaudio-api/douglas_scott%40apple.com > > This email sent to [email protected] _______________________________________________ Do not post admin requests to the list. They will be ignored. Coreaudio-api mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/coreaudio-api/archive%40mail-archive.com This email sent to [email protected]
