home *** CD-ROM | disk | FTP | other *** search
/ Sound Sensations! / sound_sensations.iso / midifile / edit201 / proteus.tem < prev    next >
Text File  |  1991-01-07  |  34KB  |  717 lines

  1. ; Edit 2.0
  2. ;   Template for E-mu Proteus - Preset Patch
  3. ;
  4.  
  5. ; Edit is a file editor driven by a text-based screen and database
  6. ; definition.  It currently handles "files" of only one record, which is
  7. ; just fine for single Sysex patches.  The template file (this file, for
  8. ; example) defines the screen layout (fields, literals, messages) and the
  9. ; data buffer (positions of data within the file).
  10.  
  11. ; In general, blank lines and lines starting with a semicolon are comment
  12. ; lines.  Lines starting with a period are command lines, and the rest are
  13. ; data lines.  WARNING: THE CURRENT VERSION OF EDIT DOES NOT HAVE FAILSAFE
  14. ; EDITING FEATURES... FOLLOW THE RULES CAREFULLY.
  15.  
  16. ; Screen definition
  17.  
  18. ; A template file has two basic sections: the screen definition section
  19. ; and the data definition section.  The screen definition section defines
  20. ; the layout of fields and literals on the screen.  Currently, Edit only
  21. ; handles a single screen and only 150 input-capable fields.  This is
  22. ; enough for the synthesizers I am currently working with (the Proteus and
  23. ; the Kawai K4), but will be expanded as time goes on.  The screen definition
  24. ; section is bracketed by the dot-commands .SCREEN and .ENDSCREEN; be sure to
  25. ; enter these commands or unpredicted results will occur.
  26.  
  27. .SCREEN
  28.  
  29. .VIDEO
  30. ;@MODE 0     ;Remove the comment on this line for monochrome monitors
  31. .ENDVIDEO
  32.  
  33. ; The first section of a template file defines the literals that will
  34. ; display on the screen.  These are normally prompts.  Each literal has
  35. ; three parameters:
  36. ;
  37. ;           Row......:  The row where the literal will display
  38. ;                       (rows 1 and 24 are reserved for Edit)
  39. ;           Column...:  The column where the literal will display
  40. ;           Literal..:  The literal string enclosed in double quotes.
  41. ;                       There is no way to display a double quote at this
  42. ;                       time.
  43. ;
  44. ; The literal section is bracketed by the dot-commands .LITERALS and
  45. ; .ENDLITERALS; be sure to enter these commands or unpredicted results
  46. ; will occur.
  47.  
  48. .LITERALS
  49. 3,1,"Preset Number:"
  50. 3,21,"Preset Name:"
  51. 3,51,"Preset Links:"
  52. 4,51,"Low Key:"
  53. 5,51,"High Key:"
  54. 7,1,"Primary"
  55. 8,1,"Secndry"
  56. 10,1,"Crossfade......"
  57. 11,1,"LFO 1.........."
  58. 12,1,"LFO 2.........."
  59. 13,1,"Auxiliary......"
  60. 14,1,"Key/Vol Source."
  61. 15,1,"Key/Vol Dest..."
  62. 16,1,"Key/Vol Amount."
  63. 17,1,"Realtime Source"
  64. 18,1,"Realtime Dest.."
  65. 20,1,"Footswitch Dest:"
  66. 20,39,"Controller Amount:"
  67. 21,1,"Pressure Amount:"
  68. 21,27,"Pitch Bend Range:"
  69. 21,58,"Velocity Curve:"
  70. 22,1,"Keyboard Center:"
  71. 22,33,"Mix Output:"
  72. 22,57,"Keyboard Tuning:"
  73. .ENDLITERALS
  74.  
  75. ; The second section defines the input capable fields as they will appear
  76. ; on the screen.  Each field is assigned a number, a location, field type
  77. ; and length, and message numbers.  The field number is used by the data
  78. ; section and is the only link between the two sections.  It must be unique
  79. ; for each field.  The field number also determines the sequence that fields
  80. ; are cycled through via the cursor movement keys.  The message numbers are
  81. ; used to display help text on line 24.  One or two message numbers may be
  82. ; specified; these message numbers relate to the numbers specified in the
  83. ; message section below.  The messages are concatenated and displayed on
  84. ; line 24.  Optional minimum and maximum values can be placed after the
  85. ; second message number (enter "0" for the secon message number if only one
  86. ; message is used).  The parameters for a field, then, are as follows:
  87. ;
  88. ;       Field Number......:     The reference number for this field
  89. ;       Row...............:     The row this field is displayed on
  90. ;       Column............:     The column this field is displayed on
  91. ;       Type..............:     A=Alpha, D=Decimal (numeric)
  92. ;       Message Number 1..:     First message number for help text
  93. ;       Message Number 2..:     Optional second message number
  94. ;       Minimum Value.....:     Optional minimum value
  95. ;       Maximum Value.....:     Optional maximum value
  96. ;
  97. ; After each field definition, you may include optional editing clauses.
  98. ; Edit commands are "at-sign-commands", which start with the "@" character.
  99. ; The currently supported clauses are @VALID and @RANGE, as follows:
  100. ;
  101. ; Valid values list:
  102. ; ------------------
  103. ; @VALID row,col,0,{value:"text"}
  104. ; @VALID row,col,fieldnum
  105. ;
  106. ; The @VALID statement allows the user access (via F4) to a popup window of
  107. ; valid values.  The current value is highlighted, and the user may use the
  108. ; cursor keys to position to the desired value (or use the highlighted letter).
  109. ; Note that the first upper-case letter is the select character.  The first
  110. ; form specifies the values and corresponding text for each value (see field
  111. ; number 055 below for an example).  The second form allows the user to point
  112. ; to another field's valid clause (thus eliminating alot of keying).  Please
  113. ; make sure to put the "0" in the third parameter of the first form.  The row
  114. ; and column parameters specify the upper left hand corner of the popup window.
  115. ; ONLY AVAILABLE FOR NUMERIC PARAMETERS.
  116. ;
  117. ; Range checking
  118. ; --------------
  119. ; @RANGE low,high
  120. ;
  121. ; Specifies the high and low values available for this field.  ONLY AVAILABLE
  122. ; FOR NUMERIC PARAMETERS.  Note that high and low can also be set using the
  123. ; minimum and maximum values on the field definition.
  124. ;
  125. ; Note also that comments are allowed after the field parameters.  This
  126. ; allows better readability.  The field definitions are bracketed by the
  127. ; dot-commands .FIELDS and .ENDFIELDS; be sure to enter these commands
  128. ; or unpredicted results will occur.
  129.     
  130. .FIELDS
  131. 001,03,16,D,03,01,00            ; Preset Number     (Uses low,high from @RANGE)
  132. @RANGE 64,127
  133. 002,03,34,A,12,02,00            ; Preset Name     
  134. 003,03,65,D,03,04,07,-1,191     ; Link 1 Preset     (Uses minimum and maximum)
  135. 004,03,69,D,03,05,07,-1,191     ; Link 2 Preset
  136. 005,03,73,D,03,06,07,-1,191     ; Link 3 Preset
  137. 006,04,61,D,03,03,08            ; Link 0 High Key   (Uses a validation list)
  138. @VALID 4,1,0,000:"C -2",001:"C#-2",002:"D -2",003:"D#-2",004:"E -2",005:"F -2"-
  139.              006:"F#-2",007:"G -2",008:"G#-2",009:"A -2",010:"A#-2",011:"B -2"-
  140.              012:"C -1",013:"C#-1",014:"D -1",015:"D#-1",016:"E -1",017:"F -1"-
  141.              018:"F#-1",019:"G -1",020:"G#-1",021:"A -1",022:"A#-1",023:"B -1"-
  142.              024:"C  0",025:"C# 0",026:"D  0",027:"D# 0",028:"E  0",029:"F  0"-
  143.              030:"F# 0",031:"G  0",032:"G# 0",033:"A  0",033:"A# 0",034:"B  0"-
  144.              036:"C  1",037:"C# 1",038:"D  1",039:"D# 1",039:"E  1",040:"F  1"-
  145.              042:"F# 1",043:"G  1",044:"G# 1",045:"A  1",045:"A# 1",046:"B  1"-
  146.              048:"C  2",049:"C# 2",050:"D  2",051:"D# 2",052:"E  2",053:"F  2"-
  147.              054:"F# 2",055:"G  2",056:"G# 2",057:"A  2",058:"A# 2",059:"B  2"-
  148.              060:"C  3",061:"C# 3",062:"D  3",063:"D# 3",064:"E  3",065:"F  3"-
  149.              066:"F# 3",067:"G  3",068:"G# 3",069:"A  3",070:"A# 3",071:"B  3"-
  150.              072:"C  4",073:"C# 4",074:"D  4",075:"D# 4",076:"E  4",077:"F  4"-
  151.              078:"F# 4",079:"G  4",080:"G# 4",081:"A  4",082:"A# 4",083:"B  4"-
  152.              084:"C  5",085:"C# 5",086:"D  5",087:"D# 5",088:"E  5",089:"F  5"-
  153.              090:"F# 5",091:"G  5",092:"G# 5",093:"A  5",094:"A# 5",095:"B  5"-
  154.              096:"C  6",097:"C# 6",098:"D  6",099:"D# 6",100:"E  6",101:"F  6"-
  155.              102:"F# 6",103:"G  6",104:"G# 6",105:"A  6",106:"A# 6",107:"B  6"-
  156.              108:"C  7",109:"C# 7",110:"D  7",111:"D# 7",112:"E  7",113:"F  7"-
  157.              114:"F# 7",115:"G  7",116:"G# 7",117:"A  7",118:"A# 7",119:"B  7"-
  158.              120:"C  8",121:"C# 8",122:"D  8",123:"D# 8",124:"E  8",125:"F  8"-
  159.              126:"F# 8",127:"G  8"
  160. 007,04,65,D,03,04,08,0,127      ; Link 1 High Key
  161. @VALID 4,1,6
  162. 008,04,69,D,03,05,08,0,127      ; Link 2 High Key
  163. @VALID 4,1,6
  164. 009,04,73,D,03,06,08,0,127      ; Link 3 High Key
  165. @VALID 4,1,6
  166. 010,05,61,D,03,03,09,0,127      ; Link 0 Low Key
  167. @VALID 5,1,6
  168. 011,05,65,D,03,04,09,0,127      ; Link 1 Low Key
  169. @VALID 5,1,6
  170. 012,05,69,D,03,05,09,0,127      ; Link 2 Low Key
  171. @VALID 5,1,6
  172. 013,05,73,D,03,06,09,0,127      ; Link 3 Low Key
  173. @VALID 5,1,6
  174. 014,07,09,D,03,28,10,0,125      ; Primary Instrument
  175. @VALID 0,0,0,000:"None      ",001:"Piano     ",002:"PianoPad  ",003:"LoosePiano"-
  176.              004:"TightPiano",005:"Strings   ",006:"LongString",007:"SlowString"-
  177.              008:"DarkString",009:"Voices    ",010:"SlowVoices",011:"DarkChoir "-
  178.              012:"SynthFlute",013:"SoftFlute ",014:"AltoSax   ",015:"TenorSax  "-
  179.              016:"BariSax   ",017:"DarkSax   ",018:"SoftTrump ",019:"DrkSftTrmp"-
  180.              020:"HardTrump ",021:"DrkHrdTrmp",022:"HornFalls ",023:"Trombone1 "-
  181.              024:"Trombone2 ",025:"FrenchHorn",026:"Brass1    ",027:"Brass2    "-
  182.              028:"Brass3    ",029:"Tromb/Sax ",030:"GuitarMute",031:"ElecGuitar"-
  183.              032:"AcouGuitar",033:"RockBass  ",034:"StoneBass ",035:"FlintBass "-
  184.              036:"FunkSlap  ",037:"FunkPop   ",038:"Harmonics ",039:"Rock/Harm "-
  185.              040:"Stone/Harm",041:"NoseBass  ",042:"BassSynth1",043:"BassSynth2"-
  186.              044:"SynthPad  ",045:"MedEnvPad ",046:"LongEnvPad",047:"DarkSynth "-
  187.              048:"PercOrgan ",049:"Marimba   ",050:"Vibraphone",051:"BalncPerc "-
  188.              052:"UnbalPerc ",053:"StdPerc1  ",054:"StdPerc2  ",055:"StdPerc3  "-
  189.              056:"Kicks     ",057:"Snares    ",058:"Toms      ",059:"Cymbals   "-
  190.              060:"LatinDrums",061:"LatinPerc ",062:"AgogoBell ",063:"Woodblock "-
  191.              064:"Conga     ",065:"Timbale   ",066:"RideCymbal",067:"PercFX1   "-
  192.              068:"PercFX2   ",069:"Metal     ",070:"Oct1(Sine)",071:"Oct2All   "-
  193.              072:"Oct3All   ",073:"Oct4All   ",074:"Oct5All   ",075:"Oct6All   "-
  194.              076:"Oct7All   ",077:"Oct2Odd   ",078:"Oct3Odd   ",079:"Oct4Odd   "-
  195.              080:"Oct5Odd   ",081:"Oct6Odd   ",082:"Oct7Odd   ",083:"Oct2Even  "-
  196.              084:"Oct3Even  ",085:"Oct4Even  ",086:"Oct5Even  ",087:"Oct6Even  "-
  197.              088:"Oct7Even  ",089:"LowOdds   ",090:"LowEvens  ",091:"FourOcts  "-
  198.              092:"SynthCyc1 ",083:"SynthCyc2 ",094:"SynthCyc3 ",095:"SynthCyc4 "-
  199.              096:"FundGone1 ",097:"FundGone2 ",098:"BiteCycle ",099:"BuzzyCycle"-
  200.              100:"Metalphon1",101:"Metalphon2",102:"Metalphon3",103:"Metalphon4"-
  201.              104:"DuckCycle1",105:"DuckCycle2",106:"DuckCycle3",107:"WindCycle1"-
  202.              108:"WindCycle2",109:"WindCycle3",110:"WindCycle4",111:"OrganCyc1 "-
  203.              112:"OrganCyc2 ",113:"Noise     ",114:"StrayVoic1",115:"StrayVoic2"-
  204.              116:"StrayVoic3",117:"StrayVoic4",118:"SynthStr1 ",119:"SynthStr2 "-
  205.              120:"Animals   ",121:"Reed      ",122:"Pluck1    ",123:"Pluck2    "-
  206.              124:"Mallet1   ",125:"Mallet2   "
  207. 015,07,13,D,03,28,11,0,127      ; Primary Sample Start
  208. 016,07,17,D,03,28,12,-36,36     ; Primary Coarse Tuning
  209. 017,07,21,D,03,28,13,-64,64     ; Primary Fine Tuning
  210. 018,07,25,D,03,28,14,0,127      ; Primary Volume
  211. 019,07,29,D,03,28,15,-7,7       ; Primary Pan
  212. 020,07,33,D,03,28,16,0,127      ; Primary Delay
  213. 021,07,37,D,03,28,17            ; Primary Low Key
  214. @VALID 7,1,6
  215. 022,07,41,D,03,28,18            ; Primary High Key
  216. @VALID 7,1,6
  217. 023,07,45,D,03,28,19,0,99       ; Primary Alternate Attack
  218. 024,07,49,D,03,28,20,0,99       ; Primary Alternate Hold
  219. 025,07,53,D,03,28,21,0,99       ; Primary Alternate Decay
  220. 026,07,57,D,03,28,22,0,99       ; Primary Alternate Sustain
  221. 027,07,61,D,03,28,23,0,99       ; Primary Alternate Release
  222. 028,07,65,D,03,28,24            ; Primary Alternate Envelope Enable
  223. @VALID 08,57,0,0:"Disable",1:"Enable"
  224. 029,07,69,D,03,28,25            ; Primary Solo Mode
  225. @VALID 08,59,0,0:"Normal",1:"Solo Mode"
  226. 030,07,73,D,03,28,26            ; Primary Chorus
  227. @VALID 08,63,0,0:"No Chorus",1:"Chorus"
  228. 031,07,77,D,03,28,27            ; Primary Reverse Sound
  229. @VALID 08,66,0,0:"No Reverse",1:"Reverse"
  230. 032,08,09,D,03,29,10,0,125      ; Secondary Instrument
  231. @VALID 0,0,14
  232. 033,08,13,D,03,29,11,0,127      ; Secondary Sample Start
  233. 034,08,17,D,03,29,12,-36,36     ; Secondary Coarse Tuning
  234. 035,08,21,D,03,29,13,-64,64     ; Secondary Fine Tuning
  235. 036,08,25,D,03,29,14,0,127      ; Secondary Volume
  236. 037,08,29,D,03,29,15,-7,7       ; Secondary Pan
  237. 038,08,33,D,03,29,16,0,127      ; Secondary Delay
  238. 039,08,37,D,03,29,17            ; Secondary Low Key
  239. @VALID 8,1,6
  240. 040,08,41,D,03,29,18            ; Secondary High Key
  241. @VALID 8,1,6
  242. 041,08,45,D,03,29,19,0,99       ; Secondary Alternate Attack
  243. 042,08,49,D,03,29,20,0,99       ; Secondary Alternate Hold
  244. 043,08,53,D,03,29,21,0,99       ; Secondary Alternate Decay
  245. 044,08,57,D,03,29,22,0,99       ; Secondary Alternate Sustain
  246. 045,08,61,D,03,29,23,0,99       ; Secondary Alternate Release
  247. 046,08,65,D,03,29,24            ; Secondary Alternate Envelope Enable
  248. @VALID 08,57,28
  249. 047,08,69,D,03,29,25            ; Secondary Solo Mode
  250. @VALID 08,59,29
  251. 048,08,73,D,03,29,26            ; Secondary Chorus
  252. @VALID 08,63,30
  253. 049,08,77,D,03,29,27            ; Secondary Reverse Sound
  254. @VALID 08,66,31
  255. 050,10,17,D,03,30,00            ; Crossfade Mode
  256. @VALID 09,20,0,0:"Off",1:"crossFade",2:"crossSwitch"
  257. 051,10,21,D,03,31,00            ; Crossfade Direction
  258. @VALID 09,24,0,0:"Primary to Secondary",1:"Secondary to Primary"
  259. 052,10,25,D,03,32,00,0,127      ; Crossfade Balance
  260. 053,10,29,D,03,33,00,0,255      ; Crossfade Amount
  261. 054,10,33,D,03,34,00,0,127      ; Crossfade Switch Point
  262. 055,11,17,D,03,40,35            ; LFO 1 Shape
  263. @VALID 08,20,0,0:"Random",1:"Triangle",2:"Sine",3:"saWtooth",4:"sQuare"
  264. 056,11,21,D,03,40,36,0,127      ; LFO 1 Frequency
  265. 057,11,25,D,03,40,37,0,127      ; LFO 1 Delay
  266. 058,11,29,D,03,40,38,0,127      ; LFO 1 Variation
  267. 059,11,33,D,03,40,39,-128,127   ; LFO 1 Amount
  268. 060,12,17,D,03,41,35            ; LFO 2 Shape
  269. @VALID 09,20,055
  270. 061,12,21,D,03,41,36,0,127      ; LFO 2 Frequency
  271. 062,12,25,D,03,41,37,0,127      ; LFO 2 Delay
  272. 063,12,29,D,03,41,38,0,127      ; LFO 2 Variation
  273. 064,12,33,D,03,41,39,-128,127   ; LFO 2 Amount
  274. 065,13,17,D,03,43,16,0,127      ; Auxiliary Delay
  275. 066,13,21,D,03,43,19,0,99       ; Auxiliary Attack
  276. 067,13,25,D,03,43,20,0,99       ; Auxiliary Hold
  277. 068,13,29,D,03,43,21,0,99       ; Auxiliary Decay
  278. 069,13,33,D,03,43,22,0,99       ; Auxiliary Sustain
  279. 070,13,37,D,03,43,23,0,99       ; Auxiliary Release
  280. 071,13,41,D,03,43,42,-128,127   ; Auxiliary Amount
  281. 072,14,17,D,03,44,50            ; Key/Velocity Patch 1 Source
  282. @VALID 11,20,0,0:"Key",1:"Velocity"
  283. 073,14,21,D,03,45,50            ; Key/Velocity Patch 2 Source
  284. @VALID 11,24,072
  285. 074,14,25,D,03,46,50            ; Key/Velocity Patch 3 Source
  286. @VALID 11,28,072
  287. 075,14,29,D,03,47,50            ; Key/Velocity Patch 4 Source
  288. @VALID 11,32,072
  289. 076,14,33,D,03,48,50            ; Key/Velocity Patch 5 Source
  290. @VALID 11,36,072
  291. 077,14,37,D,03,49,50            ; Key/Velocity Patch 6 Source
  292. @VALID 11,40,072
  293. 078,15,17,D,03,44,51            ; Key/Velocity Patch 1 Destination
  294. @VALID 2,5,0,00:"None"-
  295.              01:"Pitch         ",02:"Pri Pitch     ",03:"Sec Pitch     "-
  296.              04:"Volume        ",05:"Pri Volume    ",06:"Sec Volume    "-
  297.              07:"Attack        ",08:"Pri Attack    ",09:"Sec Attack    "-
  298.              10:"Decay         ",11:"Pri Decay     ",12:"Sec Decay     "-
  299.              13:"Release       ",14:"Pri Release   ",15:"Sec Release   "-
  300.              16:"Crossfade"-
  301.              17:"LFO 1 Amount  ",18:"LFO 1 Rate    ",19:"LFO 2 Amount  "-
  302.              20:"LFO 2 Rate    ",21:"AuxEnv Amount ",22:"AuxEnv Attack "-
  303.              23:"AuxEnv Decay  ",24:"AuxEnv Release",25:"AuxEnv Attack "-
  304.              26:"SampleStr     ",27:"Pri Sample Str",28:"Sec Sample Str"-
  305.              29:"Pan           ",30:"Pri Pan       ",31:"Sec Pan       "-
  306.              32:"Tone          ",33:"Pri Tone      ",34:"Sec Tone      "
  307. 079,15,21,D,03,45,51            ; Key/Velocity Patch 2 Destination
  308. @VALID 2,5,78
  309. 080,15,25,D,03,46,51            ; Key/Velocity Patch 3 Destination
  310. @VALID 2,5,78
  311. 081,15,29,D,03,47,51            ; Key/Velocity Patch 4 Destination
  312. @VALID 2,5,78
  313. 082,15,33,D,03,48,51            ; Key/Velocity Patch 5 Destination
  314. @VALID 2,5,78
  315. 083,15,37,D,03,49,51            ; Key/Velocity Patch 6 Destination
  316. @VALID 2,5,78
  317. 084,16,17,D,03,44,52,-128,127   ; Key/Velocity Patch 1 Amount
  318. 085,16,21,D,03,45,52,-128,127   ; Key/Velocity Patch 2 Amount
  319. 086,16,25,D,03,46,52,-128,127   ; Key/Velocity Patch 3 Amount
  320. 087,16,29,D,03,47,52,-128,127   ; Key/Velocity Patch 4 Amount
  321. 088,16,33,D,03,48,52,-128,127   ; Key/Velocity Patch 5 Amount
  322. 089,16,37,D,03,49,52,-128,127   ; Key/Velocity Patch 6 Amount
  323. 090,17,17,D,03,53,61            ; Realtime Patch 1 Source
  324. @VALID 08,20,0,0:"pitch Wheel",1:"control A",2:"control B",3:"control C"-
  325.                4:"control D",5:"Mono Pressure",6:"Poly Pressure"-
  326.                7:"lfo 1",8:"lfo 2",9:"auX Envelope"
  327. 091,17,21,D,03,54,61            ; Realtime Patch 2 Source
  328. @VALID 08,24,090
  329. 092,17,25,D,03,55,61            ; Realtime Patch 3 Source
  330. @VALID 08,28,090
  331. 093,17,29,D,03,56,61            ; Realtime Patch 4 Source
  332. @VALID 08,32,090
  333. 094,17,33,D,03,57,61            ; Realtime Patch 5 Source
  334. @VALID 08,36,090
  335. 095,17,37,D,03,58,61            ; Realtime Patch 6 Source
  336. @VALID 08,40,090
  337. 096,17,41,D,03,59,61            ; Realtime Patch 7 Source
  338. @VALID 08,44,090
  339. 097,17,45,D,03,60,61            ; Realtime Patch 8 Source
  340. @VALID 08,48,090
  341. 098,18,17,D,03,53,62            ; Realtime Patch 1 Destination
  342. @VALID 7,5,0,00:"None"-
  343.              01:"Pitch         ",02:"Pri Pitch     ",03:"Sec Pitch     "-
  344.              04:"Volume        ",05:"Pri Volume    ",06:"Sec Volume    "-
  345.              07:"Attack        ",08:"Pri Attack    ",09:"Sec Attack    "-
  346.              10:"Decay         ",11:"Pri Decay     ",12:"Sec Decay     "-
  347.              13:"Release       ",14:"Pri Release   ",15:"Sec Release   "-
  348.              16:"Crossfade"-
  349.              17:"LFO 1 Amount  ",18:"LFO 1 Rate    ",19:"LFO 2 Amount  "-
  350.              20:"LFO 2 Rate    ",21:"AuxEnv Amount ",22:"AuxEnv Attack "-
  351.              23:"AuxEnv Decay  ",24:"AuxEnv Release",25:"AuxEnv Attack "
  352. 099,18,21,D,03,54,62            ; Realtime Patch 2 Destination
  353. @VALID 7,5,98
  354. 100,18,25,D,03,55,62            ; Realtime Patch 3 Destination
  355. @VALID 7,5,98
  356. 101,18,29,D,03,56,62            ; Realtime Patch 4 Destination
  357. @VALID 7,5,98
  358. 102,18,33,D,03,57,62            ; Realtime Patch 5 Destination
  359. @VALID 7,5,98
  360. 103,18,37,D,03,58,62            ; Realtime Patch 6 Destination
  361. @VALID 7,5,98
  362. 104,18,41,D,03,59,62            ; Realtime Patch 7 Destination
  363. @VALID 7,5,98
  364. 105,18,45,D,03,60,62            ; Realtime Patch 8 Destination
  365. @VALID 7,5,98
  366. 106,20,19,D,03,63,66            ; Footswitch 1 Destination
  367. @VALID 12,5,0,0:"Sustain            ",1:"Primary Sustain    ",2:"Secondary Sustain  "-
  368.               3:"Alt Volume Envelope",4:"Pri Alt Volume Env ",5:"Sec Alt Volume Env "-
  369.               6:"Alt Volume Release ",7:"Pri Alt Volume Rel ",8:"Sec Alt Volume Rel "-
  370.               9:"Pri/Sec CrossSwitch"
  371. 107,20,23,D,03,64,66            ; Footswitch 2 Destination
  372. @VALID 12,5,106
  373. 108,20,27,D,03,65,66            ; Footswitch 3 Destination
  374. @VALID 12,5,106
  375. 109,20,58,D,04,67,71,-128,127   ; Controller A Amount
  376. 110,20,63,D,04,68,71,-128,127   ; Controller B Amount
  377. 111,20,68,D,04,69,71,-128,127   ; Controller C Amount
  378. 112,20,73,D,04,70,71,-128,127   ; Controller D Amount
  379. 113,21,18,D,04,72,00,-128,127   ; Pressure Amount
  380. 114,21,45,D,03,73,00,0,13       ; Pitch Bend Range
  381. 115,21,74,D,03,74,00,0,5        ; Velocity Curve
  382. 116,22,19,D,03,75,00            ; Keyboard Center
  383. @VALID 7,1,6
  384. 117,22,45,D,03,76,00            ; Mix Output
  385. @VALID 15,48,0,0:"Main",1:"Submix 1",2:"Submix 2"
  386. 118,22,74,D,03,77,00            ; Keyboard Tuning
  387. @VALID 12,52,0,0:"Equal",1:"Just C",2:"Valotti",3:"19-Tone",4:"Gamelan",5:"User"
  388. .ENDFIELDS
  389.  
  390. ; The message section simply defines the messages that are used to display
  391. ; help text for each field on line 24.  Note that two messages can be
  392. ; concatenated.  For instance, field 3 specifies messages 4 and 7, which
  393. ; have the literals "Link 0 - " and "Preset Number (0 to 191)".  This causes
  394. ; the message "Link 0 - Preset Number (0 to 191)" to be displayed for field
  395. ; number 3.  This can significantly reduce the unmber of messages required.
  396. ; The layout of the message section is:
  397. ;
  398. ;       Message number....:     Message number
  399. ;       Message text......:     Message text, enclosed in double quotes
  400. ;
  401. ; The message section is bracketed by the dot-commands .MESSAGES and
  402. ; .ENDMESSAGES; be sure these commands are entered or unpredicted results
  403. ; will occur.
  404.  
  405. .MESSAGES
  406. 01,"Preset Number (64-127)"
  407. 02,"Preset Name (12 characters)"
  408. 03,"Link 0 - "
  409. 04,"Link 1 - "
  410. 05,"Link 2 - "
  411. 06,"Link 3 - "
  412. 07,"Preset Number (-1 to 191) [see PROTEUS.DOC for detail]"
  413. 08,"Low Key (0 [C-2] to 127 [G8])"
  414. 09,"High Key (0 [C-2] to 127 [G8])"
  415. 10,"Instrument (0 to 125)"
  416. 11,"Sample Start (0 to 127)"
  417. 12,"Coarse Tuning (-36 to 36 [+1 is a half-step sharp])"
  418. 13,"Fine Tuning (-64 to 64 [+64 is a half-step sharp])"
  419. 14,"Volume (0 to 127)"
  420. 15,"Pan (-7 [hard left] to 7 [hard right])"
  421. 16,"Delay (0 to 127)"
  422. 17,"Low Key (0 [C-2] to 127 [G8])"
  423. 18,"High Key (0 [C-2] to 127 [G8])"
  424. 19,"Alternate Attack (0 to 99)"
  425. 20,"Alternate Hold (0 to 99)"
  426. 21,"Alternate Decay (0 to 99)"
  427. 22,"Alternate Sustain (0 to 99)"
  428. 23,"Alternate Release (0 to 99)"
  429. 24,"Alternate Envelope Enable [0=Disable, 1=Enable]"
  430. 25,"Solo Mode [0=Normal, 1=Solo Mode]"
  431. 26,"Chorus [0=No Chorus, 1=Chorus]"
  432. 27,"Reverse Sound [0=Normal, 1=Reverse Sound]"
  433. 28,"Primary - "
  434. 29,"Secondary - "
  435. 30,"Crossfade Mode [0=Off, 1=Xfade, 2=Xswitch]"
  436. 31,"Crossfade Direction [0=Pri->Sec, 1=Sec->Pri]"
  437. 32,"Crossfade Balance (0 to 127)"
  438. 33,"Crossfade Amount (0 to 255)"
  439. 34,"Crossfade Switch Point (0 to 127)"
  440. 35,"Shape [0=Random, 1=Tri, 2=Sine, 3=Saw, 4=Square]"
  441. 36,"Frequency (0 to 127)"
  442. 37,"Delay (0 to 127)"
  443. 38,"Variation (0 to 127)"
  444. 39,"Amount (-128 to 127)"
  445. 40,"LFO 1 - "
  446. 41,"LFO 2 - "
  447. 42,"Amount (-128 to 127)"
  448. 43,"Auxiliary Envelope - "
  449. 44,"Key/Velocity Patch 1 "
  450. 45,"Key/Velocity Patch 2 "
  451. 46,"Key/Velocity Patch 3 "
  452. 47,"Key/Velocity Patch 4 "
  453. 48,"Key/Velocity Patch 5 "
  454. 49,"Key/Velocity Patch 6 "
  455. 50,"Source [0=Key, 1=Volume]"
  456. 51,"Destination (0 to 34)"
  457. 52,"Amount (-128 to 127)"
  458. 53,"Realtime Patch 1 "
  459. 54,"Realtime Patch 2 "
  460. 55,"Realtime Patch 3 "
  461. 56,"Realtime Patch 4 "
  462. 57,"Realtime Patch 5 "
  463. 58,"Realtime Patch 6 "
  464. 59,"Realtime Patch 7 "
  465. 60,"Realtime Patch 8 "
  466. 61,"Source (0 to 9)"
  467. 62,"Destination (0 to 25)"
  468. 63,"Footswitch 1 "
  469. 64,"Footswitch 2 "
  470. 65,"Footswitch 3 "
  471. 66,"Destination (0-10)"
  472. 67,"Controller A "
  473. 68,"Controller B "
  474. 69,"Controller C "
  475. 70,"Controller D "
  476. 71,"Amount (-128 to 127)"
  477. 72,"Pressure Amount (-128 to 127)"
  478. 73,"Pitch Bend Range (0 to 12 semitones, 13=Global)"
  479. 74,"Velocity Curve (0=Off, 1 to 4, 5=Global)"
  480. 75,"Keyboard Center"
  481. 76,"Mix Output"
  482. 77,"Keyboard Tuning"
  483. .ENDMESSAGES
  484. .ENDSCREEN
  485.  
  486. ; Data Definition
  487.  
  488. ; The second section of the template file is the data definition section.
  489. ; Currently, Edit only process a single-record file, so this section is
  490. ; not very complex.  There is a file definition section, which defines the
  491. ; characteristics of the file, and a record definition section, which
  492. ; defines the layout of the data record.  The data definition section is
  493. ; bracketed by the dot-commands .DATA and .ENDDATA; be sure that these
  494. ; commands are entered or unpredicted results will occur.
  495.  
  496. .DATA
  497.  
  498. ; The file definition section currently allows only one line with two
  499. ; parameters:
  500. ;
  501. ;       Record length.......:   The length of the data record
  502. ;                               (Note that in version 1.0 of Edit, this
  503. ;                               is also the file length, since there is
  504. ;                               only one record in a file)
  505. ;       Default extension...:   This is the default extension that
  506. ;                               appears in the Open Patch prompt.
  507. ;
  508. ; The file definition section is bracketed by the dot-commands .FILE and
  509. ; .ENDFILE; be sure these commands are entered or unpredicted results will
  510. ; occur.
  511.  
  512. .FILE
  513. 265,SYX
  514. .ENDFILE
  515.  
  516. ; The record definition section defines the layout of the buffer.  In
  517. ; general, each line defines an offset into the buffer and the value to
  518. ; place at that offset.  The value can be a constant, a field from the
  519. ; screen, or a checksum.  The layout is as follows:
  520. ;
  521. ;       Offset..........:  The offset into the buffer.  Should be from zero
  522. ;                          to the record length minus one.
  523. ;       Type of value...:  A1 = One-byte alpha
  524. ;                          A2 = Two-byte alpha
  525. ;                          HX = Hex value, stored MSB to LSB
  526. ;                          HR = Reverse hex value, stored LSB to MSB
  527. ;                          CO = One-byte constant
  528. ;                          CS = Checksum
  529. ;       Field length....:  The length of the field in the buffer.
  530. ;       Parameter 1.....:  For A1, A2, HX, HR = field number
  531. ;                          For CO = constant
  532. ;                          For checksum = checksum type
  533. ;       Parameter 2.....:  For HX, HR = operator: 1=+|2=-|3=*|4=/|5=<<|6=>>.
  534. ;                          For checksum = "From" offset.
  535. ;       Parameter 3.....:  For HX, HR = operand.
  536. ;                          For checksum = "To" offset.
  537. ;       Parameter 4.....:  For checksum = modifier.
  538. ;
  539. ; One byte alpha values are stored in the buffer one byte per character,
  540. ; starting at the buffer offset specified.  Two-byte alpha values are stored
  541. ; in the buffer two bytes per character, the first byte being the character
  542. ; and the second being zero, starting at the buffer offset specified.  One-
  543. ; byte constants are stored at the buffer offset, as are one-byte hex values.
  544. ; The operator and operand that can be used on HX and HR fields allows an
  545. ; almost unlimited capability for converting buffer values to and from display
  546. ; values.
  547. ;
  548. ; For a better example of the use of operators and operands, please refer
  549. ; to MT32PAT.TEM and MT32TIM.TEM.
  550. ;
  551. ; Checksum is a special type of field.  Currently, there is only one type of
  552. ; checksum calculation offered, although others will be defined as they are
  553. ; needed.  Type 01 sums all the values in the buffer between the "from" and
  554. ; "to" offsets, adds the modifier value, and then places the low-order seven
  555. ; bits (the total modulo 128) into the buffer at the offset specified.
  556. ;
  557. ; The record definition section is bracketed by the dot-commands .RECORD and
  558. ; .ENDRECORD; be sure these commands are entered or unpredicted results will
  559. ; occur.
  560.  
  561. .RECORD
  562. @LENGTH 265
  563. 000,CO,01,240            ; $F0
  564. 001,CO,01,024            ; $18
  565. 002,CO,01,004            ; $04
  566. 003,CO,01,000            ; $00   (device ID forced to 1 for now)
  567. 004,CO,01,001            ; $01
  568. 005,HR,02,001            ; Preset Number
  569. 007,A2,10,002            ; Preset Name (special Proteus alpha storage)
  570. 031,HR,02,003            ; Link 1 Preset
  571. 033,HR,02,004            ; Link 2 Preset
  572. 035,HR,02,005            ; Link 3 Preset
  573. 037,HR,02,006            ; Link 0 High Key
  574. 039,HR,02,007            ; Link 1 High Key
  575. 041,HR,02,008            ; Link 2 High Key
  576. 043,HR,02,009            ; Link 3 High Key
  577. 045,HR,02,010            ; Link 0 Low Key
  578. 047,HR,02,011            ; Link 1 Low Key
  579. 049,HR,02,012            ; Link 2 Low Key
  580. 051,HR,02,013            ; Link 3 Low Key
  581. 053,HR,02,014            ; Primary Instrument
  582. 055,HR,02,015            ; Primary Sample Start
  583. 057,HR,02,016            ; Primary Coarse Tuning
  584. 059,HR,02,017            ; Primary Fine Tuning
  585. 061,HR,02,018            ; Primary Volume
  586. 063,HR,02,019            ; Primary Pan
  587. 065,HR,02,020            ; Primary Delay
  588. 067,HR,02,021            ; Primary Low Key
  589. 069,HR,02,022            ; Primary High Key
  590. 071,HR,02,023            ; Primary Alternate Attack
  591. 073,HR,02,024            ; Primary Alternate Hold
  592. 075,HR,02,025            ; Primary Alternate Decay
  593. 077,HR,02,026            ; Primary Alternate Sustain
  594. 079,HR,02,027            ; Primary Alternate Release
  595. 081,HR,02,028            ; Primary Alternate Envelope Enable
  596. 083,HR,02,029            ; Primary Solo Mode
  597. 085,HR,02,030            ; Primary Chorus
  598. 087,HR,02,031            ; Primary Reverse Sound
  599. 089,HR,02,032            ; Secondary Instrument
  600. 091,HR,02,033            ; Secondary Sample Start
  601. 093,HR,02,034            ; Secondary Coarse Tuning
  602. 095,HR,02,035            ; Secondary Fine Tuning
  603. 097,HR,02,036            ; Secondary Volume
  604. 099,HR,02,037            ; Secondary Pan
  605. 101,HR,02,038            ; Secondary Delay
  606. 103,HR,02,039            ; Secondary Low Key
  607. 105,HR,02,040            ; Secondary High Key
  608. 107,HR,02,041            ; Secondary Alternate Attack
  609. 109,HR,02,042            ; Secondary Alternate Hold
  610. 111,HR,02,043            ; Secondary Alternate Decay
  611. 113,HR,02,044            ; Secondary Alternate Sustain
  612. 115,HR,02,045            ; Secondary Alternate Release
  613. 117,HR,02,046            ; Secondary Alternate Envelope Enable
  614. 119,HR,02,047            ; Secondary Solo Mode
  615. 121,HR,02,048            ; Secondary Chorus
  616. 123,HR,02,049            ; Secondary Reverse Sound
  617. 125,HR,02,050            ; Crossfade Mode
  618. 127,HR,02,051            ; Crossfade Direction
  619. 129,HR,02,052            ; Crossfade Balance
  620. 131,HR,02,053            ; Crossfade Amount
  621. 133,HR,02,054            ; Crossfade Switch Point
  622. 135,HR,02,055            ; LFO 1 Shape
  623. 137,HR,02,056            ; LFO 1 Frequency
  624. 139,HR,02,057            ; LFO 1 Delay
  625. 141,HR,02,058            ; LFO 1 Variation
  626. 143,HR,02,059            ; LFO 1 Amount
  627. 145,HR,02,060            ; LFO 2 Shape
  628. 147,HR,02,061            ; LFO 2 Frequency
  629. 149,HR,02,062            ; LFO 2 Delay
  630. 151,HR,02,063            ; LFO 2 Variation
  631. 153,HR,02,064            ; LFO 2 Amount
  632. 155,HR,02,065            ; Auxiliary Delay
  633. 157,HR,02,066            ; Auxiliary Attack
  634. 159,HR,02,067            ; Auxiliary Hold
  635. 161,HR,02,068            ; Auxiliary Decay
  636. 163,HR,02,069            ; Auxiliary Sustain
  637. 165,HR,02,070            ; Auxiliary Release
  638. 167,HR,02,071            ; Auxiliary Amount
  639. 169,HR,02,072            ; Key/Velocity Patch 1 Source
  640. 171,HR,02,073            ; Key/Velocity Patch 2 Source
  641. 173,HR,02,074            ; Key/Velocity Patch 3 Source
  642. 175,HR,02,075            ; Key/Velocity Patch 4 Source
  643. 177,HR,02,076            ; Key/Velocity Patch 5 Source
  644. 179,HR,02,077            ; Key/Velocity Patch 6 Source
  645. 181,HR,02,078            ; Key/Velocity Patch 1 Destination
  646. 183,HR,02,079            ; Key/Velocity Patch 2 Destination
  647. 185,HR,02,080            ; Key/Velocity Patch 3 Destination
  648. 187,HR,02,081            ; Key/Velocity Patch 4 Destination
  649. 189,HR,02,082            ; Key/Velocity Patch 5 Destination
  650. 191,HR,02,083            ; Key/Velocity Patch 6 Destination
  651. 193,HR,02,084            ; Key/Velocity Patch 1 Amount
  652. 195,HR,02,085            ; Key/Velocity Patch 2 Amount
  653. 197,HR,02,086            ; Key/Velocity Patch 3 Amount
  654. 199,HR,02,087            ; Key/Velocity Patch 4 Amount
  655. 201,HR,02,088            ; Key/Velocity Patch 5 Amount
  656. 203,HR,02,089            ; Key/Velocity Patch 6 Amount
  657. 205,HR,02,090            ; Realtime Patch 1 Source
  658. 207,HR,02,091            ; Realtime Patch 2 Source
  659. 209,HR,02,092            ; Realtime Patch 3 Source
  660. 211,HR,02,093            ; Realtime Patch 4 Source
  661. 213,HR,02,094            ; Realtime Patch 5 Source
  662. 215,HR,02,095            ; Realtime Patch 6 Source
  663. 217,HR,02,096            ; Realtime Patch 7 Source
  664. 219,HR,02,097            ; Realtime Patch 8 Source
  665. 221,HR,02,098            ; Realtime Patch 1 Destination
  666. 223,HR,02,099            ; Realtime Patch 2 Destination
  667. 225,HR,02,100            ; Realtime Patch 3 Destination
  668. 227,HR,02,101            ; Realtime Patch 4 Destination
  669. 229,HR,02,102            ; Realtime Patch 5 Destination
  670. 231,HR,02,103            ; Realtime Patch 6 Destination
  671. 233,HR,02,104            ; Realtime Patch 7 Destination
  672. 235,HR,02,105            ; Realtime Patch 8 Destination
  673. 237,HR,02,106            ; Footswitch 1 Destination
  674. 239,HR,02,107            ; Footswitch 2 Destination
  675. 241,HR,02,108            ; Footswitch 3 Destination
  676. 243,HR,02,109            ; Controller A Amount
  677. 245,HR,02,110            ; Controller B Amount
  678. 247,HR,02,111            ; Controller C Amount
  679. 249,HR,02,112            ; Controller D Amount
  680. 251,HR,02,113            ; Pressure Amount
  681. 253,HR,02,114            ; Pitch Bend Range
  682. 255,HR,02,115            ; Velocity Curve
  683. 257,HR,02,116            ; Keyboard Center
  684. 259,HR,02,117            ; Submix
  685. 261,HR,02,118            ; Keyboard Tuning
  686. 263,CS,01,01,006,262,000 ; Checksum: Type from 6 to 263, no offset
  687. 264,CO,01,247            ; $F7
  688. .ENDRECORD
  689. .ENDDATA
  690.  
  691. ; MIDI Definition
  692.  
  693. ; The next section is the MIDI interface section.  Currently, the only
  694. ; subsection is the DUMPREQ subsection, which defines the format of the
  695. ; dump request.
  696. ;
  697. ; Dump requests look much like buffer fields, except that some (the HR type
  698. ; fields) have a minimum, maximum, prompt, and optional operator and operand.
  699. ;
  700. ; For a better example of the use of operators and operands, please refer
  701. ; to MT32PAT.TEM and MT32TIM.TEM.
  702.  
  703.  
  704. .MIDI
  705. .DUMPREQ
  706. @LENGTH 8
  707. 0,CO,01,240
  708. 1,CO,01,24
  709. 2,CO,01,4
  710. 3,HR,01,0,15,"Device ID (0-15)"
  711. 4,CO,01,0
  712. 5,HR,02,0,191,"Patch Number"
  713. 7,CO,01,247
  714. .ENDDUMPREQ
  715. .ENDMIDI
  716.  
  717.