Hi, thanks for your quick anwser. So, if two tracks use the same channel, I should just play them both on the NotePlayer representing that channel, and not on 2 different NotePlayers?
Thanks, Maarten On 10/08/06, stephane richard <[EMAIL PROTECTED]> wrote:
Hi again Maarten, Therre's MIDI files type 0, 1 and 2 actually number 2 being an asynchroneous multi track format. There's nothing in the standard that says you can't send the same note on more than one track. In fact, each MIDI event is the event type and the channel. so you could send 16 consecutive message on each channel without a problem. In a typical scenario however, you have MIDI gear setup, one on each channel (track) atleast most software planned it that way, though some do allow to work differently. since it's very likely that you'd want to play the 16 notes with the same instrument. you would typically have the setup the bank/programs each time you send a message to a given track since the MIDI gear connected to it would change setup each time you want a different instrument to be played. So you could do it, but you be probably sending much more information (messages) over the MIDI network to get the job done rather than when you setup one instrument / one track setup. And since MIDI gear today is typilcally GM, GM2, Roland or Yamaha compliant, they are all extensions of the GM standard hence work the same way give or take manufacturer specific features like RPNs and NRPN which is all done through sysex essentially. Hope this helps clarify things. Stephane RIchard ----- Original Message ----- From: "Maarten de Vries" <[EMAIL PROTECTED]> To: "REALbasic NUG" <[email protected]> Sent: Thursday, August 10, 2006 6:10 AM Subject: MIDI type 1 > Ok, so the difference between a MIDI file of type 0 and 1 is that type one > can have multiple tracks. Those tracks are all played at the same time. > But > is it possible for one track to play things on more than one channel? Or > better put, is it supported? Or is there a rule not to do that? And lets > say > you got an array of 16 NotePlayers (MIDI has 16 channels), how would you > load a MIDI type 1 file? Just merge all the tracks into one? Or could that > give trouble? > > Thanks in advance, > Maarten
_______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives of this list here: <http://support.realsoftware.com/listarchives/lists.html>
