MUSC 108. Introduction to Music Technology - Fall 2013

05Lab6 - SMF Track 3 (MTrk)

[Overview] [Syllabus]

The Oboe Track On MIDI Channel 2

Track 3 is the Oboe track. Open the SMF Template Tab and copy A29:D44.

Select data for track 3

Open the SMF tab and paste at the end of the Track2 Data. Change the label to Track 3 - Oboe.

Added Track 3 to SMF

MTrk Header

The MTrk header and the Track Length data are already filled in for you.

Track 3 MIDI Status Bytes

All status bytes for the oboe are on MIDI channel 2.

Reset All Controllers Message

The first MIDI message in a track should be the Reset All Controllers control message.

Use a delta time of 0. Enter the Reset All Controllers message: Bn 121 0, where n is the zero based MIDI channel number.

CC121 begin

Volume Control Message

Use a delta time of 0. Enter the Volume Control message: Bn 7 100, where n is the zero based MIDI channel number.

CC7 volume

Pan Control Message

Use a delta time of 0. Enter the Pan Control message: Bn 10 64, where n is the zero based MIDI channel number.

CC10 pan

Patch Change Message

Use a delta time of 0. Enter the Patch Change message: Cn 68, where n is the zero based MIDI channel number.

Patch change

Important: The real patch change message uses only one data byte.

Patch Change

Look up the patch change number for the Oboe. Enter the Patch Change message: Cn pp, where n is the zero based MIDI channel number, and pp is the patch number. Use a delta time of 0.

Patch change

Important: The real patch change message uses only one data byte.

Copy The PPQ Data From The Oboe Tab

Open the Oboe tab and copy the Oboe PPQ-status-data1-dat2 messages.

Do not copy:

Return to the SMF tab and paste the data after the Patch change message. Here's the beginning of Track 3 - Oboe.

05Lab6 Oboe begine NON data

Add The Final Reset All Controllers And End Of Track Messages

Open the SMF Template tab and copy A45:D48, the final Reset All Controllers and End Of Track messages. Switch back to the SMF tab and paste at the end of the Track 3 data. Enter the Reset All Controllers message. Use a Delta Time of 480 (quarter note) and the appropriate MIDI channel. The End Of Track meta event is filled in for you.

Track 3 End of track message

Save Often

Copy A1:H154. Some of the meta events extend to column H.

MIDIDisplay

Open MIDIDisplay, paste the data and choose Export Standard MIDI File from the Options menu. When the Save As dialog appears navigate to the Desktop and save the file as 05FluteOboe.mid.

Save

OOPS: You may be greeted by another error message.

Error number of tracks in header do not match actual number of tracks

Fix the error in in the MThd section in Excel. Try the export again. If the export was successful you'll see an 05FluteOboe.mid icon on the Desktop.

Play The SMF

Select the 05FluteOboe.mid icon and press the space bar. You should hear the Flute and Oboe parts playing together. When it sounds correct continue with 05Lab7.

[Overview] [Syllabus]

Revised John Ellinger, January - September 2013