PPQ times are the time format used in Standard MIDI files. You'll use millisecond times when creating your midterm project. You'll convert millisecond times to PPQ times as one of the final steps in your midterm project when you create the Standard MIDI file.
PPQ is an acronym for Parts Per Quarter note. It is referred to as PPQ or PPQN. A standard PPQ value is 480 which means a quarter note is subdivided into 480 parts. All other notes receive a proportion of 480.
PPQ times are independent of the the tempo. In order to calculate the duration of a PPQ value in milliseconds, you need to know the tempo. This chart shows the PPQ value for different note types based on a quarter note equals 480. Remember, dotted notes are equal to the un-dotted note value plus half of that value. For example, a dotted quarter note is equal in duration to a quarter note plus an eighth note. All PPQ values are integers.
Note Value | PPQ value |
Whole | 1760 |
Dotted Half | 1440 |
Half |
960 |
Dotted Quarter | 720 |
Quarter | 480 |
Dotted Eighth | 360 |
Eighth | 240 |
Dotted 16th | 180 |
16th | 120 |
Dotted 32nd | 90 |
32nd | 60 |
Dotted 64th | 45 |
64th | 30 |
Dotted 128th | 22 or 23 |
128th | 15 |
Select and copy all data from 03Lab2. Open 03Lab3 and paste the data into cell A1.
Select the entire column B by clicking on the letter B above cell B1. Press the Delete key to the right of the Backspace key and the contents of column B should be erased. Change the label to ppq.
Always keep chronological time in column A. That way you'll have a reference back to your score. Conversion to PPQ times is normally one of the last steps done in Excel when creating the Standard MIDI File.
Put PPQ times in column B using a PPQ value of 480. These are the formulas assuming the first Ms time is in A2.
Enter formula for the first PPQ time in B2.
Enter the formula for the second PPQ time in B3.
Copy the B3 formula into B4:B59. You should get these results. Note the PPQ pairs 384 followed by 96. The sum of 384+96 equals 480, the PPQ value of one quarter note at any tempo.
Copy cells B1:E59 and paste them into MIDIDisplay.
Set the Time Base to PPQ. Set the PPQ value to 480.
Click Play. Set the tempo to your liking.
Set the tempo to 60, the PPQ value to 480, and Play. You should hear one note per second.
Set the tempo to 60, the PPQ value to 960, and Play. You should hear two
notes per second.
Can you explain why?
Set the tempo to 60, the PPQ value to 3840, and Play. You should hear eight
notes per second.
Can you explain why?
Set the tempo to 60, the PPQ value to 240, and Play. You should hear one
note every two seconds.
Can you explain why?
Continue with 03Lab4.
Revised John Ellinger, January - September 2013