if (InstSetXML.SelectedIndex == 0) { AddBlankInstruments(6); } else if (InstSetXML.SelectedIndex == 1) { AddBlankInstruments(9); } else if (InstSetXML.SelectedIndex == 2) { AddBlankInstruments(3); } else if (InstSetXML.SelectedIndex == 3) { AddBlankInstruments(0x0a); } else if (InstSetXML.SelectedIndex == 4) { AddBlankInstruments(0x10); } else if (InstSetXML.SelectedIndex == 5) { AddBlankInstruments(0x10); } else if (InstSetXML.SelectedIndex == 6) { AddBlankInstruments(0x10); } else if (InstSetXML.SelectedIndex == 7) { AddBlankInstruments(0x0f); } else if (InstSetXML.SelectedIndex == 8) { AddBlankInstruments(0x1b); } else if (InstSetXML.SelectedIndex == 9) { AddBlankInstruments(7); } else if (InstSetXML.SelectedIndex == 10) { AddBlankInstruments(0x18); } else if (InstSetXML.SelectedIndex == 11) { AddInstrument("00 - Nylon Acoustic Guitar"); AddInstrument("01 - Accordion"); AddInstrument("02 - Accordion"); AddInstrument("03 - Accordion"); AddInstrument("04 - Accordion"); AddInstrument("05 - Accordion"); AddInstrument("06 - Tuba"); AddInstrument("07 - Tuba"); AddInstrument("08 - Tuba"); AddInstrument("09 - Tuba"); AddInstrument("10 - Crash Cymbal"); AddInstrument("11 - Tambourine"); AddInstrument("General Percussion"); } else if (InstSetXML.SelectedIndex == 12) { AddInstrument("00 - Nylon Acoustic Guitar"); AddInstrument("01 - Nylon Acoustic Guitar"); AddInstrument("02 - Nylon Acoustic Guitar"); AddInstrument("03 - Nylon Acoustic Guitar"); AddInstrument("04 - Nylon Acoustic Guitar"); AddInstrument("05 - Nylon Acoustic Guitar"); AddInstrument("06 - Electric Bass"); AddInstrument("07 - Recorder"); AddInstrument("08 - Recorder"); AddInstrument("09 - Recorder"); AddInstrument("10 - Recorder"); AddInstrument("11 - Clash Cymbal"); AddInstrument("12 - Acoustic Snare Drum"); AddInstrument("13 - Triangle"); AddInstrument("14 - Triangle"); AddInstrument("15 - Sine Wave"); AddInstrument("General Percussion"); } else if (InstSetXML.SelectedIndex == 13) { AddInstrument("00 - Banjo"); AddInstrument("01 - Banjo"); AddInstrument("02 - Fiddle"); AddInstrument("03 - Fiddle"); AddInstrument("04 - Whistle"); AddInstrument("05 - Steel Acoustic Guitar"); AddInstrument("06 - Acoustic Bass"); AddInstrument("07 - Acoustic Bass"); AddInstrument("08 - Acoustic Bass"); AddInstrument("09 - Acoustic Bass"); AddInstrument("10 - Crash Cymbal"); AddInstrument("11 - Clash Cymbal"); AddInstrument("12 - Acoustic Snare Drum"); AddInstrument("General Percussion"); } else if (InstSetXML.SelectedIndex == 14) { AddInstrument("00 - Strings"); AddInstrument("01 - Strings"); AddInstrument("02 - Strings"); AddInstrument("03 - Pizzicato Strings"); AddInstrument("04 - Bassoon"); AddInstrument("05 - Electric Piano"); AddInstrument("06 - Electric Piano"); AddInstrument("General Percussion"); } else if (InstSetXML.SelectedIndex == 15) { AddInstrument("00 - Percussion Loop"); AddInstrument("01 - Voice Echo"); AddInstrument("02 - Sitar"); AddInstrument("03 - Pungi"); AddInstrument("General Percussion"); } else if (InstSetXML.SelectedIndex == 16) { AddInstrument("00 - Breath Noise"); AddInstrument("01 - Breath Noise"); AddInstrument("02 - Low Cowbell"); AddInstrument("03 - Low Cowbell"); AddInstrument("04 - High Cowbell"); AddInstrument("05 - High Cowbell"); AddInstrument("06 - High Cowbell"); AddInstrument("07 - High Cowbell"); AddInstrument("08 - High Cowbell"); AddInstrument("09 - High Cowbell"); AddInstrument("General Percussion"); } else if (InstSetXML.SelectedIndex == 17) { AddInstrument("00 - Snare Drum"); AddInstrument("01 - Electric Bass"); AddInstrument("02 - Electric Bass"); AddInstrument("03 - Percussive Organ"); AddInstrument("04 - Steel Drum"); AddInstrument("05 - Equivalent Trumpets"); AddInstrument("06 - Slap Bass"); AddInstrument("07 - Synth Voice"); AddInstrument("08 - Clavinet"); AddInstrument("09 - Clavinet"); AddInstrument("10 - Crash Cymbal"); AddInstrument("11 - Clash Cymbal"); AddInstrument("12 - Acoustic Snare Drum"); AddInstrument("13 - Triangle"); AddInstrument("General Percussion"); } else if (InstSetXML.SelectedIndex == 18) { AddInstrument("00 - Synth Guitar"); AddInstrument("01 - Distortion Guitar"); AddInstrument("02 - Distortion Guitar"); AddInstrument("03 - Orchestra Hit"); AddInstrument("04 - Recorder"); AddInstrument("05 - Recorder"); AddInstrument("06 - Strings"); AddInstrument("07 - Strings"); AddInstrument("08 - Gunshot Drum"); AddInstrument("09 - Gunshot Drum"); AddInstrument("10 - Crash Cymbal"); AddInstrument("11 - Clash Cymbal"); AddInstrument("General Percussion"); } else if (InstSetXML.SelectedIndex == 19) { AddInstrument("00 - Strings"); AddInstrument("01 - Strings"); AddInstrument("02 - Strings"); AddInstrument("03 - Strings"); AddInstrument("04 - Strings"); AddInstrument("05 - Strings"); AddInstrument("06 - Electric Bass"); AddInstrument("07 - Electric Bass"); AddInstrument("08 - Electric Bass"); AddInstrument("09 - Electric Bass"); AddInstrument("10 - Crash Cymbal"); AddInstrument("11 - Clash Cymbal"); AddInstrument("12 - Clash Cymbal"); AddInstrument("13 - Clash Cymbal"); AddInstrument("14 - Electric Piano"); AddInstrument("15 - Electric Piano"); AddInstrument("General Percussion"); } else if (InstSetXML.SelectedIndex == 20) { AddInstrument("00 - Music Box"); AddInstrument("01 - Music Box"); AddInstrument("02 - Music Box"); AddInstrument("03 - Music Box"); AddInstrument("04 - Music Box"); AddInstrument("General Percussion"); } else if (InstSetXML.SelectedIndex == 21) { AddInstrument("00 - Melodic Tom"); AddInstrument("01 - Triangle"); AddInstrument("02 - Electric Bass"); AddInstrument("03 - Slap Bass"); AddInstrument("04 - Electric Bass"); AddInstrument("05 - Steel Acoustic Guitar"); AddInstrument("06 - Melodic Tom"); AddInstrument("07 - Voice Echo"); AddInstrument("08 - Voice Echo"); AddInstrument("09 - Voice Echo"); AddInstrument("General Percussion"); } else if (InstSetXML.SelectedIndex == 22) { AddInstrument("00 - Choir 'Ahhs'"); AddInstrument("01 - Choir 'Ahhs'"); AddInstrument("General Percussion"); } else if (InstSetXML.SelectedIndex == 23) { AddInstrument("00 - Nylon Acoustic Guitar"); AddInstrument("01 - Acoustic Bass"); AddInstrument("02 - Strings"); AddInstrument("03 - Strings"); AddInstrument("04 - Electric Piano"); AddInstrument("05 - Electric Piano"); AddInstrument("06 - Electric Piano"); AddInstrument("07 - Electric Piano"); AddInstrument("08 - Electric Piano"); AddInstrument("09 - Electric Piano"); AddInstrument("10 - Crash Cymbal"); AddInstrument("11 - Clash Cymbal"); AddInstrument("12 - Triangle"); AddInstrument("General Percussion"); } else if (InstSetXML.SelectedIndex == 24) { AddInstrument("00 - Percussive Organ"); AddInstrument("01 - Synth Bass"); AddInstrument("02 - Square Wave"); AddInstrument("03 - Orchestra Hit"); AddInstrument("04 - Orchestra Hit"); AddInstrument("05 - Orchestra Hit"); AddInstrument("06 - Orchestra Hit"); AddInstrument("07 - Orchestra Hit"); AddInstrument("08 - Orchestra Hit"); AddInstrument("09 - Orchestra Hit"); AddInstrument("10 - Crash Cymbal"); AddInstrument("11 - Crash Cymbal"); AddInstrument("12 - Triangle"); AddInstrument("13 - Acoustic Snare Drum"); AddInstrument("14 - Snare Drum"); AddInstrument("General Percussion"); } else if (InstSetXML.SelectedIndex == 25) { AddInstrument("00 - Voice Echo"); AddInstrument("01 - Equivalent Trumpets"); AddInstrument("02 - Strings"); AddInstrument("03 - Sitar"); AddInstrument("04 - Orchestra Hit"); AddInstrument("05 - Percussion Loop"); AddInstrument("06 - Equivalent Trumpets"); AddInstrument("07 - Voice Echo"); AddInstrument("08 - Voice Echo"); AddInstrument("09 - Voice Echo"); AddInstrument("10 - Snare Drum"); AddInstrument("11 - Clash Cymbal"); AddInstrument("12 - Timpani"); AddInstrument("General Percussion"); } else if (InstSetXML.SelectedIndex == 26) { AddInstrument("00 - Trumpet"); AddInstrument("01 - Trombone"); AddInstrument("02 - Tuba"); AddInstrument("03 - High Strings"); AddInstrument("04 - Equivalent Trumpets"); AddInstrument("05 - Electric Piano"); AddInstrument("06 - Electric Piano"); AddInstrument("07 - Electric Piano"); AddInstrument("08 - Electric Piano"); AddInstrument("09 - Electric Piano"); AddInstrument("10 - Timpani"); AddInstrument("11 - Clash Cymbal"); AddInstrument("12 - Snare Drum"); AddInstrument("General Percussion"); } else if (InstSetXML.SelectedIndex == 27) { AddInstrument("00 - High Strings"); AddInstrument("01 - High Strings"); AddInstrument("02 - Tuba"); AddInstrument("03 - Trumpet"); AddInstrument("04 - High Strings"); AddInstrument("05 - High Strings"); AddInstrument("06 - High Strings"); AddInstrument("07 - Timpani"); AddInstrument("08 - Snare Drum"); AddInstrument("09 - Snare Drum"); AddInstrument("10 - Snare Drum"); AddInstrument("11 - Clash Cymbal"); AddInstrument("General Percussion"); } else if (InstSetXML.SelectedIndex == 28) { AddInstrument("00 - Music Box"); AddInstrument("01 - Music Box"); AddInstrument("02 - Music Box"); AddInstrument("03 - Music Box"); AddInstrument("04 - High Strings"); AddInstrument("05 - High Strings"); AddInstrument("06 - High Strings"); AddInstrument("General Percussion"); } else if (InstSetXML.SelectedIndex == 29) { AddInstrument("00 - Church Organ"); AddInstrument("01 - Church Organ"); AddInstrument("02 - Church Organ"); AddInstrument("03 - Church Organ"); AddInstrument("04 - Church Organ"); AddInstrument("05 - Voice Echo"); AddInstrument("General Percussion"); } else if (InstSetXML.SelectedIndex == 30) { AddInstrument("00 - Harpsichord"); AddInstrument("01 - Harpsichord"); AddInstrument("02 - Strings"); AddInstrument("03 - Strings"); AddInstrument("General Percussion"); } else if (InstSetXML.SelectedIndex == 31) { AddInstrument("00 - Accordion"); AddInstrument("01 - Accordion"); AddInstrument("02 - Accordion"); AddInstrument("03 - Accordion"); AddInstrument("04 - Accordion"); AddInstrument("05 - Accordion"); AddInstrument("06 - Accordion"); AddInstrument("07 - Accordion"); AddInstrument("08 - Accordion"); AddInstrument("09 - Accordion"); AddInstrument("10 - Accordion"); AddInstrument("11 - Tambourine"); AddInstrument("12 - Snare Drum"); AddInstrument("General Percussion"); } else if (InstSetXML.SelectedIndex == 32) { AddInstrument("00 - Tuba"); AddInstrument("01 - Tuba"); AddInstrument("02 - Tuba"); AddInstrument("03 - Tuba"); AddInstrument("04 - Tuba"); AddInstrument("05 - Tuba"); AddInstrument("06 - Tuba"); AddInstrument("07 - Tuba"); AddInstrument("08 - Strings"); AddInstrument("General Percussion"); } else if (InstSetXML.SelectedIndex == 33) { AddInstrument("00 - Accordion"); AddInstrument("01 - Accordion"); AddInstrument("02 - Accordion"); AddInstrument("03 - Electric Piano"); AddInstrument("General Percussion"); } else if (InstSetXML.SelectedIndex == 34) { AddInstrument("00 - Equivalent Trumpets"); AddInstrument("01 - Equivalent Trumpets"); AddInstrument("02 - Equivalent Trumpets"); AddInstrument("03 - Equivalent Trumpets"); AddInstrument("04 - Equivalent Trumpets"); AddInstrument("05 - Equivalent Trumpets"); AddInstrument("06 - Slap Bass"); AddInstrument("07 - Synth Voice"); AddInstrument("08 - Clavinet"); AddInstrument("09 - Clavinet"); AddInstrument("10 - Timpani"); AddInstrument("11 - Crash Cymbal"); AddInstrument("12 - Clash Cymbal"); AddInstrument("General Percussion"); } else if (InstSetXML.SelectedIndex == 35) { AddInstrument("00 - Strings"); AddInstrument("01 - Strings"); AddInstrument("02 - Strings"); AddInstrument("03 - Strings"); AddInstrument("04 - Strings"); AddInstrument("05 - Electric Piano"); AddInstrument("06 - Electric Piano"); AddInstrument("07 - Harpsichord"); AddInstrument("General Percussion"); } else if (InstSetXML.SelectedIndex == 36) { AddInstrument("00 - Pan Flute"); AddInstrument("01 - Pan Flute"); AddInstrument("02 - High Strings"); AddInstrument("03 - Voice Echo"); AddInstrument("04 - Voice Echo"); AddInstrument("05 - Voice Echo"); AddInstrument("06 - Voice Echo"); AddInstrument("07 - Voice Echo"); AddInstrument("08 - Voice Echo"); AddInstrument("09 - Voice Echo"); AddInstrument("General Percussion"); } else if (InstSetXML.SelectedIndex == 37) { AddInstrument("00 - Accordion"); AddInstrument("01 - Slap Bass"); AddInstrument("02 - Clavinet"); AddInstrument("03 - Electric Piano"); AddInstrument("04 - Grand Piano"); AddInstrument("05 - Tuba"); AddInstrument("06 - Pan Flute"); AddInstrument("07 - Strings"); AddInstrument("08 - Electric Piano"); AddInstrument("09 - Electric Piano"); AddInstrument("10 - Crash Cymbal"); AddInstrument("11 - Clash Cymbal"); AddInstrument("12 - Triangle"); AddInstrument("13 - Triangle"); AddInstrument("14 - Accordion"); AddInstrument("15 - Pizzicato Strings"); AddInstrument("General Percussion"); }