<!--
    Dave Smith Instruments Prophet 08 / Tetr4 synth profile

    Changed: 13Apr2013
  -->

<MIDISynthProfile
   id="dsi_prophet_08"
   caption="Dave Smith Instruments Prophet 08"
   >

  <cc id=osc1freq     ctl=20 caption="Osc 1 Frequency"/>
  <cc id=osc1freqfine ctl=21 caption="Osc 1 Freq Fine"/>
  <cc id=osc1shape    ctl=22 caption="Osc 1 Shape"/>
  <cc id=glide1       ctl=23 caption="Glide 1"/>
  <cc id=osc2freq     ctl=24 caption="Osc 2 Frequency"/>
  <cc id=osc2freqfine ctl=25 caption="Osc 2 Freq Fine"/>
  <cc id=osc2shape    ctl=26 caption="Osc 2 Shape"/>
  <cc id=glide2       ctl=27 caption="Glide 2"/>
  <cc id=oscmix       ctl=28 caption="Osc Mix"/>
  <cc id=noiselevel   ctl=29 caption="Noise Level"/>

  <cc id=subosc1level ctl=30 caption="SubOsc1 Level (tetr4)"/>
  <cc id=subosc2level ctl=31 caption="SubOsc2 Level (tetr4)"/>

  <cc id=feedbackvol  ctl=52 caption="Feedback Volume (tetr4)"/>
  <cc id=feedbackgain ctl=53 caption="Feedback Gain (tetr4)"/>

  <cc id=fltfreq      ctl=102 caption="Filter Frequency"/>
  <cc id=fltres       ctl=103 caption="Resonance"/>
  <cc id=fltkeyamt    ctl=104 caption="Filter Key Amount"/>
  <cc id=fltaudiomod  ctl=105 caption="Filter Audio Mod"/>
  <cc id=fltenvamt    ctl=106 caption="Filter Envelope Amount"/>
  <cc id=fltvelamt    ctl=107 caption="Filter Envelope Velocity Amount"/>
  <cc id=fltdelay     ctl=108 caption="Filter Envelope Delay"/>
  <cc id=fltattack    ctl=109 caption="Filter Envelope Attack"/>
  <cc id=fltdecay     ctl=110 caption="Filter Envelope Decay"/>
  <cc id=fltsustain   ctl=111 caption="Filter Envelope Sustain"/>
  <cc id=fltrelease   ctl=112 caption="Filter Envelope Release"/>

  <cc id=vcalevel     ctl=113 caption="VCA Level"/>
  <cc id=panspread    ctl=114 caption="Pan Spread"/>
  <cc id=ampenvamt    ctl=115 caption="Amp Envelope Amount"/>
  <cc id=ampvelamt    ctl=116 caption="Amp Envelope Velocity Amount"/>
  <cc id=ampdelay     ctl=117 caption="Amp Envelope Delay"/>
  <cc id=ampattack    ctl=118 caption="Amp Envelope Attack"/>
  <cc id=ampdecay     ctl=119 caption="Amp Envelope Decay"/>
  <cc id=ampsustain   ctl=75  caption="Amp Envelope Sustain"/>
  <cc id=amprelease   ctl=76  caption="Amp Envelope Release"/>
  
  <cc id=env3dest     ctl=85  caption="Envelope 3 Destination"/>
  <cc id=env3amt      ctl=86  caption="Envelope 3 Amount"/>
  <cc id=env3velamt   ctl=87  caption="Envelope 3 Velocity Amount"/>
  <cc id=env3delay    ctl=88  caption="Envelope 3 Delay"/>
  <cc id=env3attack   ctl=89  caption="Envelope 3 Attack"/>
  <cc id=env3decay    ctl=90  caption="Envelope 3 Decay"/>
  <cc id=env3sustain  ctl=77  caption="Envelope 3 Sustain"/>
  <cc id=env3release  ctl=78  caption="Envelope 3 Release"/>

  <cc id=bpm          ctl=14  caption="BPM"/>
  <cc id=clkdiv       ctl=15  caption="Clock Divide"/>


  <!-- global -->
  <nrpn id=mastertranspose  nr=384  caption="Master transpose" min=0 max=24
	info="0=-12, 12=0, 24=+12"
	/>
  <nrpn id=masterfinetune   nr=385  caption="Master Fine Tune" min=0 max=100
	info="0=-50 cents, 50=, 100=+50 cents"
	/>
  <nrpn id=midich           nr=386  caption="MIDI Channel" min=0 max=16
	info="0=all, 1..16"
	/>
  <nrpn id=polychain        nr=387  caption="Poly Chain" min=0 max=7
	info="0=Off, 1=Out 1, 2=Out 4, 3=Out 8, 4=Out 12, 5=In End, 6=InOut4, 7=InOut8"
	/>
  <nrpn id=midiclksel       nr=388  caption="MIDI clock select" min=0 max=3
	info="0=internal/don't send, 1=internal/send, 2=MIDI clock in, 3=MIDI clock in/retransmit"
	/>
  <nrpn id=localctl         nr=389  caption="Local control on/off" min=0 max=1/>
  <nrpn id=paramsend        nr=390  caption="Parameter Send" min=0 max=2
	info="0=NRPN, 1=CC, 2=Off"
	/>
  <nrpn id=paramrecv        nr=391  caption="Parameter Receive" min=0 max=3
	info="0=All, 1=NRPN only, 2=CC only, 3=Off"
	/>
  <nrpn id=midiprog         nr=392  caption="MIDI Program Send/Receive Off/On" min=0 max=1/>
  <nrpn id=midipressure     nr=393  caption="MIDI Pressure Send/Receive Off/On" min=0 max=1/>
  <nrpn id=midicc           nr=394  caption="MIDI Controller Send/Receive Off/On" min=0 max=1/>
  <nrpn id=midisysex        nr=395  caption="MIDI SysEx Send/Receive Off/On" min=0 max=1/>
  <nprn id=pedaldest        nr=396  caption="Pedal Destination" min=0 max=5
	info="0=Foot Control, 1=Breath Control, 2=Expression, 3=Volume, 4=FltFreq, 5=FltFreq/2"
	/>
  <nrpn id=damperpolarity   nr=397  caption="Damper Polarity" min=0 max=1
	info="0=normally open, 1=normally closed"
	/>
  <nrpn id=velocurve        nr=398  caption="Velocity Curve" min=0 max=3/>
  <nrpn id=pressurecurve    nr=399  caption="Pressure Curve" min=0 max=3/>

  <!-- layers -->
  <nrpn id=a_osc1freq       nr=0    caption="Layer A Oscillator 1 Frequency" min=0 max=120/>
  <nrpn id=b_osc1freq       nr=200  caption="Layer B Oscillator 1 Frequency" min=0 max=120/>

  <nrpn id=a_osc1finetune   nr=1    caption="Layer A Oscillator 1 Fine Tune" min=0 max=100/>
  <nrpn id=b_osc1finetune   nr=201  caption="Layer B Oscillator 1 Fine Tune" min=0 max=100/>

  <nrpn id=a_osc1shape      nr=2    caption="Layer A Oscillator 1 Shape" min=0 max=103/>
  <nrpn id=b_osc1shape      nr=202  caption="Layer B Oscillator 1 Shape" min=0 max=103/>

  <nrpn id=a_osc1glide      nr=3    caption="Layer A Oscillator 1 Glide" min=0 max=127/>
  <nrpn id=b_osc1glide      nr=203  caption="Layer B Oscillator 1 Glide" min=0 max=127/>
  
  <nrpn id=a_osc1kbd        nr=4    caption="Layer A Oscillator 1 Keyboard Off/On" min=0 max=1/>
  <nrpn id=b_osc1kbd        nr=204  caption="Layer B Oscillator 1 Keyboard Off/On" min=0 max=1/>

  <nrpn id=a_osc2freq       nr=5    caption="Layer A Oscillator 1 Frequency" min=0 max=120/>
  <nrpn id=b_osc2freq       nr=205  caption="Layer B Oscillator 1 Frequency" min=0 max=120/>

  <nrpn id=a_osc2finetune   nr=6    caption="Layer A Oscillator 1 Fine Tune" min=0 max=100/>
  <nrpn id=b_osc2finetune   nr=206  caption="Layer B Oscillator 1 Fine Tune" min=0 max=100/>

  <nrpn id=a_osc2shape      nr=7    caption="Layer A Oscillator 1 Shape" min=0 max=103/>
  <nrpn id=b_osc2shape      nr=207  caption="Layer B Oscillator 1 Shape" min=0 max=103/>

  <nrpn id=a_osc2glide      nr=8    caption="Layer A Oscillator 1 Glide" min=0 max=127/>
  <nrpn id=b_osc2glide      nr=208  caption="Layer B Oscillator 1 Glide" min=0 max=127/>
  
  <nrpn id=a_osc2kbd        nr=9    caption="Layer A Oscillator 1 Keyboard Off/On" min=0 max=1/>
  <nrpn id=b_osc2kbd        nr=209  caption="Layer B Oscillator 1 Keyboard Off/On" min=0 max=1/>

  <nrpn id=a_sync           nr=10   caption="Layer A Oscillator Sync Off/On" min=0 max=1/>
  <nrpn id=b_sync           nr=210  caption="Layer B Oscillator Sync Off/On" min=0 max=1/>

  <nrpn id=a_glidemode      nr=11   caption="Layer A Glide Mode" min=0 max=3
	info="0=fixed rate, 1=fixed rate auto, 2=fixed time, 3=fixed time auto"
	/>
  <nrpn id=b_glidemode      nr=211  caption="Layer B Glide Mode" min=0 max=3
	info="0=fixed rate, 1=fixed rate auto, 2=fixed time, 3=fixed time auto"
	/>
  
  <nrpn id=a_oscslop        nr=12   caption="Layer A Oscillator Slop" min=0 max=5/>
  <nrpn id=b_oscslop        nr=212  caption="Layer B Oscillator Slop" min=0 max=5/>

  <nrpn id=a_oscmix         nr=13   caption="Layer A Oscillator Mix" min=0 max=127/>
  <nrpn id=b_oscmix         nr=213  caption="Layer B Oscillator Mix" min=0 max=127/>

  <nrpn id=a_noiselevel     nr=14   caption="Layer A Noise Level" min=0 max=127/>
  <nrpn id=b_noiselevel     nr=214  caption="Layer B Noise Level" min=0 max=127/>

  <nrpn id=a_fltfreq        nr=15   caption="Layer A Filter Frequency" min=0 max=164
	info="(semitones)"
	/>
  <nrpn id=b_fltfreq        nr=215  caption="Layer B Filter Frequency" min=0 max=164
	info="(semitones)"
	/>

  <nrpn id=a_fltres         nr=16   caption="Layer A Filter Resonance" min=0 max=127/>
  <nrpn id=b_fltres         nr=216  caption="Layer B Filter Resonance" min=0 max=127/>

  <nrpn id=a_fltkeyamt      nr=17   caption="Layer A Filter Key Amount" min=0 max=127/>
  <nrpn id=b_fltkeyamt      nr=217  caption="Layer B Filter Key Amount" min=0 max=127/>

  <nrpn id=a_fltaudiomod    nr=18   caption="Layer A Filter Audio Modulation" min=0 max=127/>
  <nrpn id=b_fltaudiomod    nr=218  caption="Layer B Filter Audio Modulation" min=0 max=127/>

  <nrpn id=a_fltpole        nr=19   caption="Layer A Filter Poles" min=0 max=1
	info="0=2 pole, 1=4 pole"
	/>
  <nrpn id=b_fltpole        nr=219  caption="Layer B Filter Poles" min=0 max=1
	info="0=2 pole, 1=4 pole"
	/>

  <nrpn id=a_fltenvamt      nr=20   caption="Layer A Filter Envelope Amount" min=0 max=127/>
  <nrpn id=b_fltenvamt      nr=220  caption="Layer B Filter Envelope Amount" min=0 max=127/>

  <nrpn id=a_fltvelamt      nr=21   caption="Layer A Filter Envelope Velocity Amount" min=0 max=127/>
  <nrpn id=b_fltvelamt      nr=221  caption="Layer B Filter Envelope Velocity Amount" min=0 max=127/>

  <nrpn id=a_fltdelay       nr=22   caption="Layer A Filter Envelope Delay" min=0 max=127/>
  <nrpn id=b_fltdelay       nr=222  caption="Layer B Filter Envelope Delay" min=0 max=127/>

  <nrpn id=a_fltattack      nr=23   caption="Layer A Filter Envelope Attack" min=0 max=127/>
  <nrpn id=b_fltattack      nr=223  caption="Layer B Filter Envelope Attack" min=0 max=127/>

  <nrpn id=a_fltdecay       nr=24   caption="Layer A Filter Envelope Decay" min=0 max=127/>
  <nrpn id=b_fltdecay       nr=224  caption="Layer B Filter Envelope Decay" min=0 max=127/>

  <nrpn id=a_fltsustain     nr=25   caption="Layer A Filter Envelope Sustain" min=0 max=127/>
  <nrpn id=b_fltsustain     nr=225  caption="Layer B Filter Envelope Sustain" min=0 max=127/>

  <nrpn id=a_fltrelease     nr=26   caption="Layer A Filter Envelope Release" min=0 max=127/>
  <nrpn id=b_fltrelease     nr=226  caption="Layer B Filter Envelope Release" min=0 max=127/>

  <nrpn id=a_vcalevel       nr=27   caption="Layer A VCA Initial Level" min=0 max=127/>
  <nrpn id=b_vcalevel       nr=227  caption="Layer B VCA Initial Level" min=0 max=127/>

  <nrpn id=a_panspread      nr=28   caption="Layer A Output Spread" min=0 max=127/>
  <nrpn id=b_panspread      nr=228  caption="Layer B Output Spread" min=0 max=127/>

  <nrpn id=a_voicevol       nr=29   caption="Layer A Voice Volume" min=0 max=127/>
  <nrpn id=b_voicevol       nr=229  caption="Layer B Voice Volume" min=0 max=127/>

  <nrpn id=a_vcaenvamt      nr=30   caption="Layer A VCA Envelope Amount" min=0 max=127/>
  <nrpn id=a_vcaenvamt      nr=230  caption="Layer B VCA Envelope Amount" min=0 max=127/>

  <nrpn id=a_vcavelamt      nr=31   caption="Layer A VCA Envelope Velocity Amount" min=0 max=127/>
  <nrpn id=b_vcavelamt      nr=231  caption="Layer B VCA Envelope Velocity Amount" min=0 max=127/>

  <nrpn id=a_vcaenvdelay    nr=32   caption="Layer A VCA Envelope Delay" min=0 max=127/>
  <nrpn id=b_vcaenvdelay    nr=232  caption="Layer B VCA Envelope Delay" min=0 max=127/>

  <nrpn id=a_vcaenvattack   nr=33   caption="Layer A VCA Envelope Attack" min=0 max=127/>
  <nrpn id=b_vcaenvattack   nr=233  caption="Layer B VCA Envelope Attack" min=0 max=127/>

  <nrpn id=a_vcaenvdecay    nr=34   caption="Layer A VCA Envelope Decay" min=0 max=127/>
  <nrpn id=b_vcaenvdecay    nr=234  caption="Layer B VCA Envelope Decay" min=0 max=127/>

  <nrpn id=a_vcaenvsustain  nr=35   caption="Layer A VCA Envelope Sustain" min=0 max=127/>
  <nrpn id=b_vcaenvsustain  nr=235  caption="Layer B VCA Envelope Sustain" min=0 max=127/>

  <nrpn id=a_vcaenvrelease  nr=36   caption="Layer A VCA Envelope Release" min=0 max=127/>
  <nrpn id=b_vcaenvrelease  nr=236  caption="Layer B VCA Envelope Release" min=0 max=127/>

  <nrpn id=a_lfo1freq       nr=37   caption="Layer A LFO 1 Frequency" min=0 max=166/>
  <nrpn id=b_lfo1freq       nr=237  caption="Layer B LFO 1 Frequency" min=0 max=166/>

  <nrpn id=a_lfo1shape      nr=38   caption="Layer A LFO 1 Shape" min=0 max=4
	info="0=tri, 1=revsaw, 2=saw, 3=pulse, 4=rand"
	/>
  <nrpn id=b_lfo1shape      nr=238  caption="Layer B LFO 1 Shape" min=0 max=4
	info="0=tri, 1=revsaw, 2=saw, 3=pulse, 4=rand"
	/>

  <nrpn id=a_lfo1amt        nr=39   caption="Layer A LFO 1 Amount" min=0 max=127/>
  <nrpn id=b_lfo1amt        nr=239  caption="Layer B LFO 1 Amount" min=0 max=127/>

  <nrpn id=a_lfo1dest       nr=40   caption="Layer A LFO 1 Mod Destination" min=0 max=43/>
  <nrpn id=b_lfo1dest       nr=240  caption="Layer B LFO 1 Mod Destination" min=0 max=43/>

  <nrpn id=a_lfo1keysync    nr=41   caption="Layer A LFO 1 Key Sync Off/On" min=0 max=1/>
  <nrpn id=b_lfo1keysync    nr=241  caption="Layer B LFO 1 Key Sync Off/On" min=0 max=1/>

  <nrpn id=a_lfo2freq       nr=42   caption="Layer A LFO 2 Frequency" min=0 max=166/>
  <nrpn id=b_lfo2freq       nr=242  caption="Layer B LFO 2 Frequency" min=0 max=166/>

  <nrpn id=a_lfo2shape      nr=43   caption="Layer A LFO 2 Shape" min=0 max=4
	info="0=tri, 1=revsaw, 2=saw, 3=pulse, 4=rand"
	/>
  <nrpn id=b_lfo2shape      nr=243  caption="Layer B LFO 2 Shape" min=0 max=4
	info="0=tri, 1=revsaw, 2=saw, 3=pulse, 4=rand"
	/>

  <nrpn id=a_lfo2amt        nr=44   caption="Layer A LFO 2 Amount" min=0 max=127/>
  <nrpn id=b_lfo2amt        nr=244  caption="Layer B LFO 2 Amount" min=0 max=127/>

  <nrpn id=a_lfo2dest       nr=45   caption="Layer A LFO 2 Mod Destination" min=0 max=43/>
  <nrpn id=b_lfo2dest       nr=245  caption="Layer B LFO 2 Mod Destination" min=0 max=43/>

  <nrpn id=a_lfo2keysync    nr=46   caption="Layer A LFO 2 Key Sync Off/On" min=0 max=1/>
  <nrpn id=b_lfo2keysync    nr=246  caption="Layer B LFO 2 Key Sync Off/On" min=0 max=1/>

  <nrpn id=a_lfo3freq       nr=47   caption="Layer A LFO 3 Frequency" min=0 max=166/>
  <nrpn id=b_lfo3freq       nr=247  caption="Layer B LFO 3 Frequency" min=0 max=166/>

  <nrpn id=a_lfo3shape      nr=48   caption="Layer A LFO 3 Shape" min=0 max=4
	info="0=tri, 1=revsaw, 2=saw, 3=pulse, 4=rand"
	/>
  <nrpn id=b_lfo3shape      nr=248  caption="Layer B LFO 3 Shape" min=0 max=4
	info="0=tri, 1=revsaw, 2=saw, 3=pulse, 4=rand"
	/>

  <nrpn id=a_lfo3amt        nr=49   caption="Layer A LFO 3 Amount" min=0 max=127/>
  <nrpn id=b_lfo3amt        nr=249  caption="Layer B LFO 3 Amount" min=0 max=127/>

  <nrpn id=a_lfo3dest       nr=50   caption="Layer A LFO 3 Mod Destination" min=0 max=43/>
  <nrpn id=b_lfo3dest       nr=250  caption="Layer B LFO 3 Mod Destination" min=0 max=43/>

  <nrpn id=a_lfo3keysync    nr=51   caption="Layer A LFO 3 Key Sync Off/On" min=0 max=1/>
  <nrpn id=b_lfo3keysync    nr=251  caption="Layer B LFO 3 Key Sync Off/On" min=0 max=1/>

  <nrpn id=a_lfo4freq       nr=52   caption="Layer A LFO 4 Frequency" min=0 max=166/>
  <nrpn id=b_lfo4freq       nr=252  caption="Layer B LFO 4 Frequency" min=0 max=166/>

  <nrpn id=a_lfo4shape      nr=53   caption="Layer A LFO 4 Shape" min=0 max=4
	info="0=tri, 1=revsaw, 2=saw, 3=pulse, 4=rand"
	/>
  <nrpn id=b_lfo4shape      nr=253  caption="Layer B LFO 4 Shape" min=0 max=4
	info="0=tri, 1=revsaw, 2=saw, 3=pulse, 4=rand"
	/>

  <nrpn id=a_lfo4amt        nr=54   caption="Layer A LFO 4 Amount" min=0 max=127/>
  <nrpn id=b_lfo4amt        nr=254  caption="Layer B LFO 4 Amount" min=0 max=127/>

  <nrpn id=a_lfo4dest       nr=55   caption="Layer A LFO 4 Mod Destination" min=0 max=43/>
  <nrpn id=b_lfo4dest       nr=255  caption="Layer B LFO 4 Mod Destination" min=0 max=43/>

  <nrpn id=a_lfo4keysync    nr=56   caption="Layer A LFO 4 Key Sync Off/On" min=0 max=1/>
  <nrpn id=b_lfo4keysync    nr=256  caption="Layer B LFO 4 Key Sync Off/On" min=0 max=1/>

  <nrpn id=a_env3dest       nr=57   caption="Layer A Envelope 3 Mod Destination" min=0 max=43/>
  <nrpn id=b_env3dest       nr=257  caption="Layer B Envelope 3 Mod Destination" min=0 max=43/>

  <nrpn id=a_env3amt        nr=58   caption="Layer A Envelope 3 Amount" min=0 max=127/>
  <nrpn id=b_env3amt        nr=258  caption="Layer B Envelope 3 Amount" min=0 max=127/>

  <nrpn id=a_env3velamt     nr=59   caption="Layer A Envelope 3 Velocity Amount" min=0 max=127/>
  <nrpn id=b_env3velamt     nr=259  caption="Layer B Envelope 3 Velocity Amount" min=0 max=127/>

  <nrpn id=a_env3delay      nr=60   caption="Layer A Envelope 3 Delay" min=0 max=127/>
  <nrpn id=b_env3delay      nr=260  caption="Layer B Envelope 3 Delay" min=0 max=127/>

  <nrpn id=a_env3attack     nr=61   caption="Layer A Envelope 3 Attack" min=0 max=127/>
  <nrpn id=b_env3attack     nr=261  caption="Layer B Envelope 3 Attack" min=0 max=127/>

  <nrpn id=a_env3decay      nr=62   caption="Layer A Envelope 3 Decay" min=0 max=127/>
  <nrpn id=b_env3decay      nr=262  caption="Layer B Envelope 3 Decay" min=0 max=127/>

  <nrpn id=a_env3sustain    nr=63   caption="Layer A Envelope 3 Sustain" min=0 max=127/>
  <nrpn id=b_env3sustain    nr=263  caption="Layer B Envelope 3 Sustain" min=0 max=127/>

  <nrpn id=a_env3release    nr=64   caption="Layer A Envelope 3 Release" min=0 max=127/>
  <nrpn id=b_env3release    nr=264  caption="Layer B Envelope 3 Release" min=0 max=127/>

  <nrpn id=a_mod1src        nr=65   caption="Layer A Mod 1 Source" min=0 max=20/>
  <nrpn id=b_mod1src        nr=265  caption="Layer B Mod 1 Source" min=0 max=20/>

  <nrpn id=a_mod1amt        nr=66   caption="Layer A Mod 1 Amount" min=0 max=254/>
  <nrpn id=b_mod1amt        nr=266  caption="Layer B Mod 1 Amount" min=0 max=254/>

  <nrpn id=a_mod1dest       nr=67   caption="Layer A Mod 1 Destination" min=0 max=43/>
  <nrpn id=b_mod1dest       nr=267  caption="Layer B Mod 1 Destination" min=0 max=43/>

  <nrpn id=a_mod2src        nr=68   caption="Layer A Mod 2 Source" min=0 max=20/>
  <nrpn id=b_mod2src        nr=268  caption="Layer B Mod 2 Source" min=0 max=20/>

  <nrpn id=a_mod2amt        nr=69   caption="Layer A Mod 2 Amount" min=0 max=254/>
  <nrpn id=b_mod2amt        nr=269  caption="Layer B Mod 2 Amount" min=0 max=254/>

  <nrpn id=a_mod2dest       nr=70   caption="Layer A Mod 2 Destination" min=0 max=43/>
  <nrpn id=b_mod2dest       nr=270  caption="Layer B Mod 2 Destination" min=0 max=43/>

  <nrpn id=a_mod3src        nr=71   caption="Layer A Mod 3 Source" min=0 max=20/>
  <nrpn id=b_mod3src        nr=271  caption="Layer B Mod 3 Source" min=0 max=20/>

  <nrpn id=a_mod3amt        nr=72   caption="Layer A Mod 3 Amount" min=0 max=254/>
  <nrpn id=b_mod3amt        nr=272  caption="Layer B Mod 3 Amount" min=0 max=254/>

  <nrpn id=a_mod3dest       nr=73   caption="Layer A Mod 3 Destination" min=0 max=43/>
  <nrpn id=b_mod3dest       nr=273  caption="Layer B Mod 3 Destination" min=0 max=43/>

  <nrpn id=a_mod4src        nr=74   caption="Layer A Mod 4 Source" min=0 max=20/>
  <nrpn id=b_mod4src        nr=274  caption="Layer B Mod 4 Source" min=0 max=20/>

  <nrpn id=a_mod4amt        nr=75   caption="Layer A Mod 4 Amount" min=0 max=254/>
  <nrpn id=b_mod4amt        nr=275  caption="Layer B Mod 4 Amount" min=0 max=254/>

  <nrpn id=a_mod4dest       nr=76   caption="Layer A Mod 4 Destination" min=0 max=43/>
  <nrpn id=b_mod4dest       nr=276  caption="Layer B Mod 4 Destination" min=0 max=43/>

  <nrpn id=a_seq1dest       nr=77   caption="Layer A Seq 1 Destination" min=0 max=43/>
  <nrpn id=b_seq1dest       nr=277  caption="Layer B Seq 1 Destination" min=0 max=43/>

  <nrpn id=a_seq2dest       nr=78   caption="Layer A Seq 2 Destination" min=0 max=43/>
  <nrpn id=b_seq2dest       nr=278  caption="Layer B Seq 2 Destination" min=0 max=43/>

  <nrpn id=a_seq3dest       nr=79   caption="Layer A Seq 3 Destination" min=0 max=43/>
  <nrpn id=b_seq3dest       nr=279  caption="Layer B Seq 3 Destination" min=0 max=43/>

  <nrpn id=a_seq4dest       nr=80   caption="Layer A Seq 4 Destination" min=0 max=43/>
  <nrpn id=b_seq4dest       nr=280  caption="Layer B Seq 4 Destination" min=0 max=43/>

  <nrpn id=a_modwheelamt    nr=81   caption="Layer A ModWheel Amount" min=0 max=254/>
  <nrpn id=b_modwheelamt    nr=281  caption="Layer B ModWheel Amount" min=0 max=254/>

  <nrpn id=a_modwheeldest   nr=82   caption="Layer A ModWheel Destination" min=0 max=43/>
  <nrpn id=b_modwheeldest   nr=282  caption="Layer B ModWheel Destination" min=0 max=43/>

  <nrpn id=a_pressureamt    nr=83   caption="Layer A Pressure Amount" min=0 max=254/>
  <nrpn id=b_pressureamt    nr=283  caption="Layer B Pressure Amount" min=0 max=254/>

  <nrpn id=a_pressuredest   nr=84   caption="Layer A Pressure Destination" min=0 max=43/>
  <nrpn id=b_pressuredest   nr=284  caption="Layer B Pressure Destination" min=0 max=43/>

  <nrpn id=a_breathamt      nr=85   caption="Layer A Breath Amount" min=0 max=254/>
  <nrpn id=b_breathamt      nr=285  caption="Layer B Breath Amount" min=0 max=254/>

  <nrpn id=a_breathdest     nr=86   caption="Layer A Breath Destination" min=0 max=43/>
  <nrpn id=b_breathdest     nr=286  caption="Layer B Breath Destination" min=0 max=43/>

  <nrpn id=a_velocityamt    nr=87   caption="Layer A Velocity Amount" min=0 max=254/>
  <nrpn id=b_velocityamt    nr=287  caption="Layer B Velocity Amount" min=0 max=254/>

  <nrpn id=a_velocitydest   nr=88   caption="Layer A Velocity Destination" min=0 max=43/>
  <nrpn id=b_velocitydest   nr=288  caption="Layer B Velocity Destination" min=0 max=43/>

  <nrpn id=a_footamt        nr=89   caption="Layer A Foot Control Amount" min=0 max=254/>
  <nrpn id=b_footamt        nr=289  caption="Layer B Foot Control Amount" min=0 max=254/>

  <nrpn id=a_footdest       nr=90   caption="Layer A Foot Control Destination" min=0 max=43/>
  <nrpn id=b_footdest       nr=290  caption="Layer B Foot Control Destination" min=0 max=43/>

  <nrpn id=a_bpm            nr=91   caption="Layer A BPM" min=30 max=250/>
  <nrpn id=b_bpm            nr=291  caption="Layer B BPM" min=30 max=250/>

  <nrpn id=a_clockdiv       nr=92   caption="Layer A Clock Divide" min=0 max=12/>
  <nrpn id=b_clockdiv       nr=292  caption="Layer B Clock Divide" min=0 max=12/>

  <nrpn id=a_pbrange        nr=93   caption="Layer A Pitchbend Range" min=0 max=12/>
  <nrpn id=b_pbrange        nr=293  caption="Layer B Pitchbend Range" min=0 max=12/>

  <nrpn id=a_seqtrig        nr=94   caption="Layer A Sequence Trigger" min=0 max=4
	info="0=normal, 1=normal/no rst, 2=no gate, 3=no gate/no rst, 4=key step" />
  <nrpn id=b_seqtrig        nr=294  caption="Layer B Sequence Trigger" min=0 max=4
	info="0=normal, 1=normal/no rst, 2=no gate, 3=no gate/no rst, 4=key step"
	/>

  <nrpn id=a_keymode        nr=95   caption="Layer A Key Mode" min=0 max=5
	info="0=Low note, 1=Low note/retrig, 2=High note, 3=High note/retrig, 4=Last note, 5=Last note/retrig"
	/>
  <nrpn id=b_keymode        nr=295  caption="Layer B Key Mode" min=0 max=5
	info="0=Low note, 1=Low note/retrig, 2=High note, 3=High note/retrig, 4=Last note, 5=Last note/retrig"
	/>

  <nrpn id=a_unisonmode     nr=96   caption="Layer A Unison Mode" min=0 max=4
	info="0=1 Voice, 1=All Voices, 2=All Voice detune1, 3=All Voice detune2, 4=All Voice detune3"
	/>
  <nrpn id=b_unisonmode     nr=296  caption="Layer B Unison Mode" min=0 max=4
	info="0=1 Voice, 1=All Voices, 2=All Voice detune1, 3=All Voice detune2, 4=All Voice detune3"
	/>

  <nrpn id=a_arpmode        nr=97   caption="Layer A Arpeggiator Mode" min=0 max=3
	info="0=Up, 1=Down, 2=Up/Down, 3=Assign"
	/>
  <nrpn id=b_arpmode        nr=297  caption="Layer B Arpeggiator Mode" min=0 max=3
	info="0=Up, 1=Down, 2=Up/Down, 3=Assign"
	/>

  <nrpn id=a_env3repmode    nr=98   caption="Layer A Envelope 3 Repeat Mode Off/On" min=0 max=1/>
  <nrpn id=b_env3repmode    nr=298  caption="Layer B Envelope 3 Repeat Mode Off/On" min=0 max=1/>

  <nrpn id=a_unisonsw       nr=99   caption="Layer A Unison Off/On" min=0 max=1/>
  <nrpn id=b_unisonsw       nr=299  caption="Layer B Unison Off/On" min=0 max=1/>

  <nrpn id=a_arpsw          nr=100  caption="Layer A Arpeggiator Off/On" min=0 max=1/>
  <nrpn id=b_arpsw          nr=300  caption="Layer B Arpeggiator Off/On" min=0 max=1/>

  <nrpn id=a_gatedarpsw     nr=101  caption="Layer A Gated Arpeggiator Off/On" min=0 max=1/>
  <nrpn id=b_gatedarpsw     nr=301  caption="Layer B Gated Arpeggiator Off/On" min=0 max=1/>

  <nrpn id=assignparam1     nr=105  caption="Assignable Param #1 (tetr4)" min=0 max=183/>
  <nrpn id=assignparam2     nr=106  caption="Assignable Param #2 (tetr4)" min=0 max=183/>
  <nrpn id=assignparam3     nr=107  caption="Assignable Param #3 (tetr4)" min=0 max=183/>
  <nrpn id=assignparam4     nr=108  caption="Assignable Param #4 (tetr4)" min=0 max=183/>

  <nrpn id=a_feedbackgain   nr=110  caption="Layer A Feedback Gain (tetr4)" min=0 max=127/>
  <nrpn id=b_feedbackgain   nr=310  caption="Layer B Feedback Gain (tetr4)" min=0 max=127/>

  <nrpn id=a_pushitnote     nr=111  caption="Layer A Push It Note (tetr4)" min=0 max=127/>
  <nrpn id=b_pushitnote     nr=311  caption="Layer B Push It Note (tetr4)" min=0 max=127/>

  <nrpn id=a_pushitvel      nr=112  caption="Layer A Push It Velocity (tetr4)" min=0 max=127/>
  <nrpn id=b_pushitvel      nr=312  caption="Layer B Push It Velocity (tetr4)" min=0 max=127/>

  <nrpn id=a_pushitmode     nr=113  caption="Layer A Push It Mode (tetr4)" min=0 max=1
	info="0=normal, 1=toggle"
	/>
  <nrpn id=b_pushitmode     nr=313  caption="Layer A Push It Mode (tetr4)" min=0 max=1
	info="0=normal, 1=toggle"
	/>

  <nrpn id=a_subosc1level   nr=114  caption="Layer A Sub Oscillator 1 Level (tetr4)" min=0 max=127/>
  <nrpn id=b_subosc1level   nr=314  caption="Layer B Sub Oscillator 1 Level (tetr4)" min=0 max=127/>

  <nrpn id=a_subosc2level   nr=115  caption="Layer A Sub Oscillator 2 Level (tetr4)" min=0 max=127/>
  <nrpn id=b_subosc2level   nr=315  caption="Layer B Sub Oscillator 2 Level (tetr4)" min=0 max=127/>

  <nrpn id=a_feedbacklevel  nr=116  caption="Layer A Feedback Level (tetr4)" min=0 max=127/>
  <nrpn id=b_feedbacklevel  nr=316  caption="Layer B Feedback Level (tetr4)" min=0 max=127/>

  <nrpn id=editorbyte       nr=117  caption="Editor byte (tetr4)" min=0 max=127/>

  <nrpn id=splitpoint       nr=118  caption="Split Point" min=0 max=127
	info="60=C3"
	/>
  <nrpn id=kbdmode          nr=119  caption="Keyboard Mode" min=0 max=2
	info="0=Normal, 1=Stack, 2=Split"
	/>

  <nrpn id=seqtrk1stp1      nr=120  caption="Sequence Track 1 Step 1" min=0 max=127
	info="126=reset, 127=rest"
	/>
  <nrpn id=seqtrk1stp2      nr=121  caption="Sequence Track 1 Step 2" min=0 max=127
	info="126=reset, 127=rest"
	/>
  <nrpn id=seqtrk1stp3      nr=122  caption="Sequence Track 1 Step 3" min=0 max=127
	info="126=reset, 127=rest"
	/>
  <nrpn id=seqtrk1stp4      nr=123  caption="Sequence Track 1 Step 4" min=0 max=127
	info="126=reset, 127=rest"
	/>
  <nrpn id=seqtrk1stp5      nr=124  caption="Sequence Track 1 Step 5" min=0 max=127
	info="126=reset, 127=rest"
	/>
  <nrpn id=seqtrk1stp6      nr=125  caption="Sequence Track 1 Step 6" min=0 max=127
	info="126=reset, 127=rest"
	/>
  <nrpn id=seqtrk1stp7      nr=126  caption="Sequence Track 1 Step 7" min=0 max=127
	info="126=reset, 127=rest"
	/>
  <nrpn id=seqtrk1stp8      nr=127  caption="Sequence Track 1 Step 8" min=0 max=127
	info="126=reset, 127=rest"
	/>
  <nrpn id=seqtrk1stp9      nr=128  caption="Sequence Track 1 Step 9" min=0 max=127
	info="126=reset, 127=rest"
	/>
  <nrpn id=seqtrk1stp10     nr=129  caption="Sequence Track 1 Step 10" min=0 max=127
	info="126=reset, 127=rest"
	/>
  <nrpn id=seqtrk1stp11     nr=130  caption="Sequence Track 1 Step 11" min=0 max=127
	info="126=reset, 127=rest"
	/>
  <nrpn id=seqtrk1stp12     nr=131  caption="Sequence Track 1 Step 12" min=0 max=127
	info="126=reset, 127=rest"
	/>
  <nrpn id=seqtrk1stp13     nr=132  caption="Sequence Track 1 Step 13" min=0 max=127
	info="126=reset, 127=rest"
	/>
  <nrpn id=seqtrk1stp14     nr=133  caption="Sequence Track 1 Step 14" min=0 max=127
	info="126=reset, 127=rest"
	/>
  <nrpn id=seqtrk1stp15     nr=134  caption="Sequence Track 1 Step 15" min=0 max=127
	info="126=reset, 127=rest"
	/>
  <nrpn id=seqtrk1stp16     nr=135  caption="Sequence Track 1 Step 16" min=0 max=127
	info="126=reset, 127=rest"
	/>

  <nrpn id=seqtrk2stp1      nr=136  caption="Sequence Track 2 Step 1" min=0 max=126
	info="126=reset"
	/>
  <nrpn id=seqtrk2stp2      nr=137  caption="Sequence Track 2 Step 2 (126=reset)" min=0 max=126
	info="126=reset"
	/>
  <nrpn id=seqtrk2stp3      nr=138  caption="Sequence Track 2 Step 3 (126=reset)" min=0 max=126
	info="126=reset"
	/>
  <nrpn id=seqtrk2stp4      nr=139  caption="Sequence Track 2 Step 4 (126=reset)" min=0 max=126
	info="126=reset"
	/>
  <nrpn id=seqtrk2stp5      nr=140  caption="Sequence Track 2 Step 5 (126=reset)" min=0 max=126
	info="126=reset"
	/>
  <nrpn id=seqtrk2stp6      nr=141  caption="Sequence Track 2 Step 6 (126=reset)" min=0 max=126
	info="126=reset"
	/>
  <nrpn id=seqtrk2stp7      nr=142  caption="Sequence Track 2 Step 7 (126=reset)" min=0 max=126
	info="126=reset"
	/>
  <nrpn id=seqtrk2stp8      nr=143  caption="Sequence Track 2 Step 8 (126=reset)" min=0 max=126
	info="126=reset"
	/>
  <nrpn id=seqtrk2stp9      nr=144  caption="Sequence Track 2 Step 9 (126=reset)" min=0 max=126
	info="126=reset"
	/>
  <nrpn id=seqtrk2stp10     nr=145  caption="Sequence Track 2 Step 10 (126=reset)" min=0 max=126
	info="126=reset"
	/>
  <nrpn id=seqtrk2stp11     nr=146  caption="Sequence Track 2 Step 11 (126=reset)" min=0 max=126
	info="126=reset"
	/>
  <nrpn id=seqtrk2stp12     nr=147  caption="Sequence Track 2 Step 12 (126=reset)" min=0 max=126
	info="126=reset"
	/>
  <nrpn id=seqtrk2stp13     nr=148  caption="Sequence Track 2 Step 13 (126=reset)" min=0 max=126
	info="126=reset"
	/>
  <nrpn id=seqtrk2stp14     nr=149  caption="Sequence Track 2 Step 14 (126=reset)" min=0 max=126
	info="126=reset"
	/>
  <nrpn id=seqtrk2stp15     nr=150  caption="Sequence Track 2 Step 15 (126=reset)" min=0 max=126
	info="126=reset"
	/>
  <nrpn id=seqtrk2stp16     nr=151  caption="Sequence Track 2 Step 16 (126=reset)" min=0 max=126
	info="126=reset"
	/>

  <nrpn id=seqtrk3stp1      nr=152  caption="Sequence Track 3 Step 1" min=0 max=126
	info="126=reset"
	/>
  <nrpn id=seqtrk3stp2      nr=153  caption="Sequence Track 3 Step 2" min=0 max=126
	info="126=reset"
	/>
  <nrpn id=seqtrk3stp3      nr=154  caption="Sequence Track 3 Step 3" min=0 max=126
	info="126=reset"
	/>
  <nrpn id=seqtrk3stp4      nr=155  caption="Sequence Track 3 Step 4" min=0 max=126
	info="126=reset"
	/>
  <nrpn id=seqtrk3stp5      nr=156  caption="Sequence Track 3 Step 5" min=0 max=126
	info="126=reset"
	/>
  <nrpn id=seqtrk3stp6      nr=157  caption="Sequence Track 3 Step 6" min=0 max=126
	info="126=reset"
	/>
  <nrpn id=seqtrk3stp7      nr=158  caption="Sequence Track 3 Step 7" min=0 max=126
	info="126=reset"
	/>
  <nrpn id=seqtrk3stp8      nr=159  caption="Sequence Track 3 Step 8" min=0 max=126
	info="126=reset"
	/>
  <nrpn id=seqtrk3stp9      nr=160  caption="Sequence Track 3 Step 9" min=0 max=126
	info="126=reset"
	/>
  <nrpn id=seqtrk3stp10     nr=161  caption="Sequence Track 3 Step 10" min=0 max=126
	info="126=reset"
	/>
  <nrpn id=seqtrk3stp11     nr=162  caption="Sequence Track 3 Step 11" min=0 max=126
	info="126=reset"
	/>
  <nrpn id=seqtrk3stp12     nr=163  caption="Sequence Track 3 Step 12" min=0 max=126
	info="126=reset"
	/>
  <nrpn id=seqtrk3stp13     nr=164  caption="Sequence Track 3 Step 13" min=0 max=126
	info="126=reset"
	/>
  <nrpn id=seqtrk3stp14     nr=165  caption="Sequence Track 3 Step 14" min=0 max=126
	info="126=reset"
	/>
  <nrpn id=seqtrk3stp15     nr=166  caption="Sequence Track 3 Step 15" min=0 max=126
	info="126=reset"
	/>
  <nrpn id=seqtrk3stp16     nr=167  caption="Sequence Track 3 Step 16" min=0 max=126
	info="126=reset"
	/>

  <nrpn id=seqtrk4stp1      nr=168  caption="Sequence Track 4 Step 1" min=0 max=126
	info="126=reset"
	/>
  <nrpn id=seqtrk4stp2      nr=169  caption="Sequence Track 4 Step 2" min=0 max=126
	info="126=reset"
	/>
  <nrpn id=seqtrk4stp3      nr=170  caption="Sequence Track 4 Step 3" min=0 max=126
	info="126=reset"
	/>
  <nrpn id=seqtrk4stp4      nr=171  caption="Sequence Track 4 Step 4" min=0 max=126
	info="126=reset"
	/>
  <nrpn id=seqtrk4stp5      nr=172  caption="Sequence Track 4 Step 5" min=0 max=126
	info="126=reset"
	/>
  <nrpn id=seqtrk4stp6      nr=173  caption="Sequence Track 4 Step 6" min=0 max=126
	info="126=reset"
	/>
  <nrpn id=seqtrk4stp7      nr=174  caption="Sequence Track 4 Step 7" min=0 max=126
	info="126=reset"
	/>
  <nrpn id=seqtrk4stp8      nr=175  caption="Sequence Track 4 Step 8" min=0 max=126
	info="126=reset"
	/>
  <nrpn id=seqtrk4stp9      nr=176  caption="Sequence Track 4 Step 9" min=0 max=126
	info="126=reset"
	/>
  <nrpn id=seqtrk4stp10     nr=177  caption="Sequence Track 4 Step 10" min=0 max=126
	info="126=reset"
	/>
  <nrpn id=seqtrk4stp11     nr=178  caption="Sequence Track 4 Step 11" min=0 max=126
	info="126=reset"
	/>
  <nrpn id=seqtrk4stp12     nr=179  caption="Sequence Track 4 Step 12" min=0 max=126
	info="126=reset"
	/>
  <nrpn id=seqtrk4stp13     nr=180  caption="Sequence Track 4 Step 13" min=0 max=126
	info="126=reset"
	/>
  <nrpn id=seqtrk4stp14     nr=181  caption="Sequence Track 4 Step 14" min=0 max=126
	info="126=reset"
	/>
  <nrpn id=seqtrk4stp15     nr=182  caption="Sequence Track 4 Step 15" min=0 max=126
	info="126=reset"
	/>
  <nrpn id=seqtrk4stp16     nr=183  caption="Sequence Track 4 Step 16" min=0 max=126
	info="126=reset"
	/>

  <nrpn id=name1            nr=184  caption="Patch name Char #1" min=32 max=127/>
  <nrpn id=name2            nr=185  caption="Patch name Char #2" min=32 max=127/>
  <nrpn id=name3            nr=186  caption="Patch name Char #3" min=32 max=127/>
  <nrpn id=name4            nr=187  caption="Patch name Char #4" min=32 max=127/>
  <nrpn id=name5            nr=188  caption="Patch name Char #5" min=32 max=127/>
  <nrpn id=name6            nr=189  caption="Patch name Char #6" min=32 max=127/>
  <nrpn id=name7            nr=190  caption="Patch name Char #7" min=32 max=127/>
  <nrpn id=name8            nr=191  caption="Patch name Char #8" min=32 max=127/>
  <nrpn id=name9            nr=192  caption="Patch name Char #9" min=32 max=127/>
  <nrpn id=name10           nr=193  caption="Patch name Char #10" min=32 max=127/>
  <nrpn id=name11           nr=194  caption="Patch name Char #11" min=32 max=127/>
  <nrpn id=name12           nr=195  caption="Patch name Char #12" min=32 max=127/>
  <nrpn id=name13           nr=196  caption="Patch name Char #13" min=32 max=127/>
  <nrpn id=name14           nr=197  caption="Patch name Char #14" min=32 max=127/>
  <nrpn id=name15           nr=198  caption="Patch name Char #15" min=32 max=127/>
  <nrpn id=name16           nr=199  caption="Patch name Char #16" min=32 max=127/>

</MIDISynthProfile>
