• 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
Re: MusicPlayer and MusicSequence channelizing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MusicPlayer and MusicSequence channelizing


  • Subject: Re: MusicPlayer and MusicSequence channelizing
  • From: William Stewart <email@hidden>
  • Date: Fri, 6 May 2005 17:07:59 -0700


You can have the sequence when its created from a midi file, pre parsed into a sequence track per midi channel in the file (thats a flag you pass into MusicSequenceLoadSMFWIthFlags)


For transpositions (or any other data manipulation), yes, this is the way you'd generally do it

Bill

On 06/05/2005, at 10:43 AM, Robert Martin wrote:

I'm doing some housekeeping on an old app, and am looking forward to ripping out my home brewed MIDI File player and replacing it with the CoreAudio MusicPlayer/MusicSequencer.

What I can't seem to figure out is how to hook into the event stream in order to channelize and transpose while the sequence is playing. The only callback I can find is for UserEvents.

Is there a simple way to do this? Or do I have to do it manually - eg:
Iterate through all the tracks in the sequence
Get each event
Apply channel mask and transposition
Stuff the event into a MIDIPacket and adjust the timestamp for tempo
Send it to the MIDI Server queue?




_______________________________________________
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


--
mailto:email@hidden
tel: +1 408 974 4056
________________________________________________________________________ __
"Much human ingenuity has gone into finding the ultimate Before.
The current state of knowledge can be summarized thus:
In the beginning, there was nothing, which exploded" - Terry Pratchett
________________________________________________________________________ __


_______________________________________________
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


References: 
 >MusicPlayer and MusicSequence channelizing (From: Robert Martin <email@hidden>)

  • Prev by Date: Re: Audio Unit synth how-to
  • Next by Date: Re: Audio Unit synth how-to
  • Previous by thread: MusicPlayer and MusicSequence channelizing
  • Next by thread: kAudioUnitErr_TooManyFramesToProcess
  • Index(es):
    • Date
    • Thread