Instrument 2 is an exact copy of Instrument 1. However, it starts two measures after Instrument 1 starts.
Copy and paste the ppq-status-data1-data2 columns from 07Lab2 into 07Lab3 at A1.
Change all status bytes to MIDI channel 1. Change 80 to 81 and 90 to 91.
Because Instrument 2 is an exact copy of Instrument 1 you only need to change the first PPQ time. All other PPQ times will be correct.
Instrument 2 starts in measure 3. The millisecond time at the beginning of measure 3 is 8000 (given the starting time of zero). You need to convert 8000 into PPQs.
This is the formula :
PPQ(8000) = 8000*480/1000 = 3840.
Another way to look at it is that 8 quarter notes must pass before Instrument 2 can start. Because each quarter note lasts 480 PPQ, an equivalent formula would be:
PPQ(8000) = 8 * 480 = 3840
Enter 3840 in cell A2. All other PPQ times remain unchanged.
Continue with 07Lab4.
Revised John Ellinger, January - September 2013