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